@tangledwires/uk-station-data 3.1.0 → 4.0.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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/line.d.ts +14 -4
- package/dist/line.js +15 -4
- package/dist/station.d.ts +322 -58
- package/dist/station.js +87 -21
- package/dist/toc.d.ts +4 -0
- package/dist/toc.js +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/line.d.ts
CHANGED
|
@@ -126,9 +126,14 @@ export declare const Lines: {
|
|
|
126
126
|
readonly colour: "#b7007c";
|
|
127
127
|
readonly toc: "c2c";
|
|
128
128
|
};
|
|
129
|
-
readonly
|
|
130
|
-
readonly displayName: "
|
|
131
|
-
readonly colour: "#
|
|
129
|
+
readonly csLowlander: {
|
|
130
|
+
readonly displayName: "Lowlander Sleeper";
|
|
131
|
+
readonly colour: "#b26734";
|
|
132
|
+
readonly toc: "caledonianSleeper";
|
|
133
|
+
};
|
|
134
|
+
readonly csHighlander: {
|
|
135
|
+
readonly displayName: "Highlander Sleeper";
|
|
136
|
+
readonly colour: "#006984";
|
|
132
137
|
readonly toc: "caledonianSleeper";
|
|
133
138
|
};
|
|
134
139
|
readonly chiltern: {
|
|
@@ -252,10 +257,15 @@ export declare const Lines: {
|
|
|
252
257
|
readonly toc: "transportForWales";
|
|
253
258
|
};
|
|
254
259
|
readonly westMidlandsRailway: {
|
|
255
|
-
readonly displayName: "
|
|
260
|
+
readonly displayName: "West Midlands Railway";
|
|
256
261
|
readonly colour: "#ff8300";
|
|
257
262
|
readonly toc: "westMidlandsTrains";
|
|
258
263
|
};
|
|
264
|
+
readonly glasgowSubway: {
|
|
265
|
+
readonly displayName: "Glasgow Subway";
|
|
266
|
+
readonly colour: "#FF6200";
|
|
267
|
+
readonly toc: "glasgowSubway";
|
|
268
|
+
};
|
|
259
269
|
};
|
|
260
270
|
export type LineId = keyof typeof Lines;
|
|
261
271
|
export declare const lineIds: LineId[];
|
package/dist/line.js
CHANGED
|
@@ -122,9 +122,14 @@ export const Lines = {
|
|
|
122
122
|
colour: TOCs.c2c.colour,
|
|
123
123
|
toc: "c2c",
|
|
124
124
|
},
|
|
125
|
-
|
|
126
|
-
displayName:
|
|
127
|
-
colour:
|
|
125
|
+
csLowlander: {
|
|
126
|
+
displayName: "Lowlander Sleeper",
|
|
127
|
+
colour: "#b26734",
|
|
128
|
+
toc: "caledonianSleeper",
|
|
129
|
+
},
|
|
130
|
+
csHighlander: {
|
|
131
|
+
displayName: "Highlander Sleeper",
|
|
132
|
+
colour: "#006984",
|
|
128
133
|
toc: "caledonianSleeper",
|
|
129
134
|
},
|
|
130
135
|
chiltern: {
|
|
@@ -248,9 +253,15 @@ export const Lines = {
|
|
|
248
253
|
toc: "transportForWales",
|
|
249
254
|
},
|
|
250
255
|
westMidlandsRailway: {
|
|
251
|
-
displayName: "
|
|
256
|
+
displayName: "West Midlands Railway",
|
|
252
257
|
colour: "#ff8300",
|
|
253
258
|
toc: "westMidlandsTrains",
|
|
254
259
|
},
|
|
260
|
+
// other metro systems
|
|
261
|
+
glasgowSubway: {
|
|
262
|
+
displayName: "Glasgow Subway",
|
|
263
|
+
colour: "#FF6200",
|
|
264
|
+
toc: "glasgowSubway",
|
|
265
|
+
},
|
|
255
266
|
};
|
|
256
267
|
export const lineIds = Object.keys(Lines);
|