db-vendo-client/p/nahsh/products.js

87 lines
1.2 KiB
JavaScript
Raw Normal View History

2022-05-07 16:17:37 +02:00
const products = [
2018-03-21 01:42:13 +01:00
{
id: 'nationalExpress',
2018-03-21 01:42:13 +01:00
mode: 'train',
bitmasks: [1],
2018-03-14 14:54:08 +01:00
name: 'High-speed rail',
short: 'ICE/HSR',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{
id: 'national',
mode: 'train',
bitmasks: [2],
2018-03-14 14:54:08 +01:00
name: 'InterCity & EuroCity',
short: 'IC/EC',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{ // todo: also includes EN?
id: 'interregional',
mode: 'train',
bitmasks: [4],
2018-03-14 14:54:08 +01:00
name: 'Interregional',
short: 'IR',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{
id: 'regional',
mode: 'train',
bitmasks: [8],
2018-03-14 14:54:08 +01:00
name: 'Regional & RegionalExpress',
short: 'RB/RE',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{
id: 'suburban',
mode: 'train',
bitmasks: [16],
2018-03-14 14:54:08 +01:00
name: 'S-Bahn',
short: 'S',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{
id: 'bus',
mode: 'bus',
bitmasks: [32],
2018-03-14 14:54:08 +01:00
name: 'Bus',
short: 'B',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{
id: 'ferry',
mode: 'watercraft',
bitmasks: [64],
2018-03-14 14:54:08 +01:00
name: 'Ferry',
short: 'F',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{
id: 'subway',
mode: 'train',
bitmasks: [128],
2018-03-14 14:54:08 +01:00
name: 'U-Bahn',
short: 'U',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{
id: 'tram',
mode: 'train',
bitmasks: [256],
2018-03-14 14:54:08 +01:00
name: 'Tram',
short: 'T',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
},
2018-03-21 01:42:13 +01:00
{
id: 'onCall',
mode: 'bus', // todo: is this correct?
2018-03-21 01:42:13 +01:00
bitmasks: [512],
2018-03-14 14:54:08 +01:00
name: 'On-call transit',
short: 'on-call',
2018-03-21 01:42:13 +01:00
default: true
2018-03-14 14:54:08 +01:00
}
]
2022-05-07 16:17:37 +02:00
export {
products,
}