@tangledwires/uk-station-data 1.0.4 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/toc.d.ts ADDED
@@ -0,0 +1,120 @@
1
+ export type TOC = {
2
+ displayName: string;
3
+ colour: string;
4
+ };
5
+ export declare const TOCs: {
6
+ readonly avantiWestCoast: {
7
+ readonly displayName: "Avanti West Coast";
8
+ readonly colour: "#004354";
9
+ };
10
+ readonly c2c: {
11
+ readonly displayName: "C2C";
12
+ readonly colour: "#b7007c";
13
+ };
14
+ readonly caledonianSleeper: {
15
+ readonly displayName: "Caledonian Sleeper";
16
+ readonly colour: "#1d2e35";
17
+ };
18
+ readonly chiltern: {
19
+ readonly displayName: "Chiltern Railways";
20
+ readonly colour: "#00bfff";
21
+ };
22
+ readonly crossCountry: {
23
+ readonly displayName: "Cross Country";
24
+ readonly colour: "#660f21";
25
+ };
26
+ readonly eastMidlandsRailway: {
27
+ readonly displayName: "East Midlands Railway";
28
+ readonly colour: "#713563";
29
+ };
30
+ readonly gatwickExpress: {
31
+ readonly displayName: "Gatwick Express";
32
+ readonly colour: "#eb1e2d";
33
+ };
34
+ readonly grandCentral: {
35
+ readonly displayName: "Grand Central";
36
+ readonly colour: "#1d1d1b";
37
+ };
38
+ readonly greatNorthern: {
39
+ readonly displayName: "Great Northern";
40
+ readonly colour: "#00ABE6";
41
+ };
42
+ readonly greatWesternRailway: {
43
+ readonly displayName: "Great Western Railway";
44
+ readonly colour: "#0a493e";
45
+ };
46
+ readonly greaterAnglia: {
47
+ readonly displayName: "Greater Anglia";
48
+ readonly colour: "#d70428";
49
+ };
50
+ readonly heathrowExpress: {
51
+ readonly displayName: "Heathrow Express";
52
+ readonly colour: "#532e63";
53
+ };
54
+ readonly hullTrains: {
55
+ readonly displayName: "Hull Trains";
56
+ readonly colour: "#de005c";
57
+ };
58
+ readonly londonNorthEasternRailway: {
59
+ readonly displayName: "London North Eastern Railway";
60
+ readonly colour: "#ce0e2d";
61
+ };
62
+ readonly londonNorthwesternRailway: {
63
+ readonly displayName: "London Northwestern Railway";
64
+ readonly colour: "#00bf6f";
65
+ };
66
+ readonly lumo: {
67
+ readonly displayName: "Lumo";
68
+ readonly colour: "#2b6ef5";
69
+ };
70
+ readonly northernRail: {
71
+ readonly displayName: "Northern";
72
+ readonly colour: "#0f0d78";
73
+ };
74
+ readonly scotRail: {
75
+ readonly displayName: "ScotRail";
76
+ readonly colour: "#1e467d";
77
+ };
78
+ readonly southWesternRailway: {
79
+ readonly displayName: "South Western Railway";
80
+ readonly colour: "#24398c";
81
+ };
82
+ readonly southeastern: {
83
+ readonly displayName: "Southeastern";
84
+ readonly colour: "#389cff";
85
+ };
86
+ readonly southeasternHighSpeed: {
87
+ readonly displayName: "Southeastern High Speed";
88
+ readonly colour: "#1e1e50";
89
+ };
90
+ readonly southern: {
91
+ readonly displayName: "Southern";
92
+ readonly colour: "#8cc63e";
93
+ };
94
+ readonly stanstedExpress: {
95
+ readonly displayName: "Stansted Express";
96
+ readonly colour: "#6b717a";
97
+ };
98
+ readonly tfl: {
99
+ readonly displayName: "TfL";
100
+ readonly colour: "#0019a8";
101
+ };
102
+ readonly thameslink: {
103
+ readonly displayName: "Thameslink";
104
+ readonly colour: "#ff5aa4";
105
+ };
106
+ readonly transPennineExpress: {
107
+ readonly displayName: "TransPennine Express";
108
+ readonly colour: "#09a4ec";
109
+ };
110
+ readonly transportForWales: {
111
+ readonly displayName: "Transport for Wales";
112
+ readonly colour: "#ff0000";
113
+ };
114
+ readonly westMidlandsRailway: {
115
+ readonly displayName: "West Midlands Railway";
116
+ readonly colour: "#ff8300";
117
+ };
118
+ };
119
+ export type TOCId = keyof typeof TOCs;
120
+ export declare const tocIds: TOCId[];
package/dist/toc.js ADDED
@@ -0,0 +1,115 @@
1
+ export const TOCs = {
2
+ avantiWestCoast: {
3
+ displayName: "Avanti West Coast",
4
+ colour: "#004354"
5
+ },
6
+ c2c: {
7
+ displayName: "C2C",
8
+ colour: "#b7007c"
9
+ },
10
+ caledonianSleeper: {
11
+ displayName: "Caledonian Sleeper",
12
+ colour: "#1d2e35"
13
+ },
14
+ chiltern: {
15
+ displayName: "Chiltern Railways",
16
+ colour: "#00bfff"
17
+ },
18
+ crossCountry: {
19
+ displayName: "Cross Country",
20
+ colour: "#660f21"
21
+ },
22
+ eastMidlandsRailway: {
23
+ displayName: "East Midlands Railway",
24
+ colour: "#713563"
25
+ },
26
+ gatwickExpress: {
27
+ displayName: "Gatwick Express",
28
+ colour: "#eb1e2d"
29
+ },
30
+ grandCentral: {
31
+ displayName: "Grand Central",
32
+ colour: "#1d1d1b"
33
+ },
34
+ greatNorthern: {
35
+ displayName: "Great Northern",
36
+ colour: "#00ABE6"
37
+ },
38
+ greatWesternRailway: {
39
+ displayName: "Great Western Railway",
40
+ colour: "#0a493e"
41
+ },
42
+ greaterAnglia: {
43
+ displayName: "Greater Anglia",
44
+ colour: "#d70428"
45
+ },
46
+ heathrowExpress: {
47
+ displayName: "Heathrow Express",
48
+ colour: "#532e63"
49
+ },
50
+ hullTrains: {
51
+ displayName: "Hull Trains",
52
+ colour: "#de005c"
53
+ },
54
+ londonNorthEasternRailway: {
55
+ displayName: "London North Eastern Railway",
56
+ colour: "#ce0e2d"
57
+ },
58
+ londonNorthwesternRailway: {
59
+ displayName: "London Northwestern Railway",
60
+ colour: "#00bf6f"
61
+ },
62
+ lumo: {
63
+ displayName: "Lumo",
64
+ colour: "#2b6ef5"
65
+ },
66
+ northernRail: {
67
+ displayName: "Northern",
68
+ colour: "#0f0d78"
69
+ },
70
+ scotRail: {
71
+ displayName: "ScotRail",
72
+ colour: "#1e467d"
73
+ },
74
+ southWesternRailway: {
75
+ displayName: "South Western Railway",
76
+ colour: "#24398c"
77
+ },
78
+ southeastern: {
79
+ displayName: "Southeastern",
80
+ colour: "#389cff"
81
+ },
82
+ southeasternHighSpeed: {
83
+ displayName: "Southeastern High Speed",
84
+ colour: "#1e1e50"
85
+ },
86
+ southern: {
87
+ displayName: "Southern",
88
+ colour: "#8cc63e"
89
+ },
90
+ stanstedExpress: {
91
+ displayName: "Stansted Express",
92
+ colour: "#6b717a"
93
+ },
94
+ tfl: {
95
+ displayName: "TfL",
96
+ colour: "#0019a8",
97
+ },
98
+ thameslink: {
99
+ displayName: "Thameslink",
100
+ colour: "#ff5aa4"
101
+ },
102
+ transPennineExpress: {
103
+ displayName: "TransPennine Express",
104
+ colour: "#09a4ec"
105
+ },
106
+ transportForWales: {
107
+ displayName: "Transport for Wales",
108
+ colour: "#ff0000"
109
+ },
110
+ westMidlandsRailway: {
111
+ displayName: "West Midlands Railway",
112
+ colour: "#ff8300"
113
+ }
114
+ };
115
+ export const tocIds = Object.keys(TOCs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangledwires/uk-station-data",
3
- "version": "1.0.4",
3
+ "version": "1.2.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "TangledWires",