-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
products.js
71 lines (70 loc) · 1.1 KB
/
products.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
const products = [
// https://github.com/public-transport/hafas-client/issues/93#issuecomment-437868265
{
id: 'bus',
mode: 'bus',
bitmasks: [1, 16],
name: 'Bus',
short: 'Bus',
default: true, // the other `bus` has `false`
},
{
id: 'express-train',
mode: 'train',
bitmasks: [2],
name: 'High-speed train',
short: 'Train',
default: false,
},
{
id: 'regional-train',
mode: 'train',
bitmasks: [4],
name: 'Regional train',
short: 'Train',
default: false,
},
{
id: 'local-train',
mode: 'train',
bitmasks: [8],
name: 'Nahverkehrszug',
short: 'Zug',
default: true,
},
{
id: 'ferry',
mode: 'watercraft',
bitmasks: [32],
name: 'Ferry',
short: 'Ferry',
default: false,
},
{
id: 'subway',
mode: 'train',
bitmasks: [64],
name: 'Subway',
short: 'Subway',
default: false,
},
{
id: 'tram',
mode: 'train',
bitmasks: [128],
name: 'Tram',
short: 'Tram',
default: false,
},
{
id: 'on-demand',
mode: 'bus', // todo: correct?
bitmasks: [256],
name: 'On-demand traffic',
short: 'on demand',
default: false,
},
];
export {
products,
};