mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
87 lines
1.3 KiB
JavaScript
87 lines
1.3 KiB
JavaScript
// todo: https://gist.github.com/anonymous/d3323a5d2d6e159ed42b12afd0380434#file-haf_products-properties-L1-L95
|
|
const products = [
|
|
{
|
|
id: 'nationalExpress',
|
|
mode: 'train',
|
|
bitmasks: [1],
|
|
name: 'InterCityExpress',
|
|
short: 'ICE',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'national',
|
|
mode: 'train',
|
|
bitmasks: [2],
|
|
name: 'InterCity & EuroCity',
|
|
short: 'IC/EC',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'regionalExp', // todo: rename
|
|
mode: 'train',
|
|
bitmasks: [4],
|
|
name: 'RegionalExpress & InterRegio',
|
|
short: 'RE/IR',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'regional',
|
|
mode: 'train',
|
|
bitmasks: [8],
|
|
name: 'Regio',
|
|
short: 'RB',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'suburban',
|
|
mode: 'train',
|
|
bitmasks: [16],
|
|
name: 'S-Bahn',
|
|
short: 'S',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'bus',
|
|
mode: 'bus',
|
|
bitmasks: [32],
|
|
name: 'Bus',
|
|
short: 'B',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'ferry',
|
|
mode: 'watercraft',
|
|
bitmasks: [64],
|
|
name: 'Ferry',
|
|
short: 'F',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'subway',
|
|
mode: 'train',
|
|
bitmasks: [128],
|
|
name: 'U-Bahn',
|
|
short: 'U',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'tram',
|
|
mode: 'train',
|
|
bitmasks: [256],
|
|
name: 'Tram',
|
|
short: 'T',
|
|
default: true
|
|
},
|
|
{
|
|
id: 'taxi',
|
|
mode: 'taxi',
|
|
bitmasks: [512],
|
|
name: 'Group Taxi',
|
|
short: 'Taxi',
|
|
default: true
|
|
}
|
|
]
|
|
|
|
export {
|
|
products,
|
|
}
|