2018-03-14 14:54:08 +01:00
|
|
|
'use strict'
|
|
|
|
|
2018-03-21 01:42:13 +01:00
|
|
|
const p = [
|
|
|
|
{
|
2019-02-01 14:58:18 +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',
|
2018-08-17 21:40:06 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
module.exports = p
|