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

87 lines
1.2 KiB
JavaScript
Raw Normal View History

2022-05-07 16:17:37 +02:00
const products = [
2018-03-16 14:23:27 +01:00
{
id: 'nationalExpress',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [1],
2017-12-26 00:58:12 +01:00
name: 'InterCityExpress & RailJet',
short: 'ICE/RJ',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'national',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [2, 4],
2017-12-26 00:58:12 +01:00
name: 'InterCity & EuroCity',
short: 'IC/EC',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'interregional',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [8, 4096],
2017-12-26 00:58:12 +01:00
name: 'Durchgangszug & EuroNight',
short: 'D/EN',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'regional',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [16],
2017-12-26 00:58:12 +01:00
name: 'Regional & RegionalExpress',
short: 'R/REX',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'suburban',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [32],
2017-12-26 00:58:12 +01:00
name: 'S-Bahn',
short: 'S',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'bus',
2018-03-16 14:23:27 +01:00
mode: 'bus',
bitmasks: [64],
2017-12-18 23:24:11 +01:00
name: 'Bus',
2017-12-26 00:58:12 +01:00
short: 'B',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'ferry',
2018-03-16 14:23:27 +01:00
mode: 'watercraft',
bitmasks: [128],
2017-12-26 00:58:12 +01:00
name: 'Ferry',
short: 'F',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'subway',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [256],
2017-12-26 00:58:12 +01:00
name: 'U-Bahn',
short: 'U',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'tram',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [512],
2017-12-18 23:24:11 +01:00
name: 'Tram',
2017-12-26 00:58:12 +01:00
short: 'T',
default: true,
2017-12-26 00:58:12 +01:00
},
2018-03-16 14:23:27 +01:00
{
2018-03-16 17:06:32 +01:00
id: 'onCall',
2018-03-16 14:23:27 +01:00
mode: null, // todo
bitmasks: [2048],
2020-06-10 14:59:20 +02:00
name: 'on-call transit, lifts, etc',
short: 'on-call/lift',
default: true,
},
];
2022-05-07 16:17:37 +02:00
export {
products,
};