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

88 lines
1.3 KiB
JavaScript
Raw Normal View History

2018-03-16 14:23:27 +01:00
// todo: https://gist.github.com/anonymous/d3323a5d2d6e159ed42b12afd0380434#file-haf_products-properties-L1-L95
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],
name: 'InterCityExpress',
short: 'ICE',
default: true
},
{
2018-03-16 17:06:32 +01:00
id: 'national',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [2],
name: 'InterCity & EuroCity',
short: 'IC/EC',
default: true
},
{
id: 'regionalExpress',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [4],
name: 'RegionalExpress & InterRegio',
short: 'RE/IR',
default: true
},
{
2018-03-16 17:06:32 +01:00
id: 'regional',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [8],
name: 'Regio',
short: 'RB',
default: true
},
{
2018-03-16 17:06:32 +01:00
id: 'suburban',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [16],
name: 'S-Bahn',
short: 'S',
default: true
},
{
2018-03-16 17:06:32 +01:00
id: 'bus',
2018-03-16 14:23:27 +01:00
mode: 'bus',
bitmasks: [32],
name: 'Bus',
short: 'B',
default: true
},
{
2018-03-16 17:06:32 +01:00
id: 'ferry',
2018-03-16 14:23:27 +01:00
mode: 'watercraft',
bitmasks: [64],
name: 'Ferry',
short: 'F',
default: true
},
{
2018-03-16 17:06:32 +01:00
id: 'subway',
2018-03-16 14:23:27 +01:00
mode: 'train',
bitmasks: [128],
name: 'U-Bahn',
short: 'U',
default: true
},
{
2018-03-16 17:06:32 +01:00
id: 'tram',
2018-04-24 16:59:35 +02:00
mode: 'train',
2018-03-16 14:23:27 +01:00
bitmasks: [256],
name: 'Tram',
short: 'T',
default: true
},
{
2018-03-16 17:06:32 +01:00
id: 'taxi',
2018-03-16 14:23:27 +01:00
mode: 'taxi',
bitmasks: [512],
name: 'Group Taxi',
short: 'Taxi',
default: true
}
]
2022-05-07 16:17:37 +02:00
export {
products,
}