@tangledwires/uk-station-data 1.1.0 → 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/line.d.ts +5 -0
- package/dist/line.js +7 -0
- package/dist/station.d.ts +1236 -36
- package/dist/station.js +338 -44
- package/package.json +1 -1
package/dist/line.d.ts
CHANGED
|
@@ -116,6 +116,11 @@ export declare const Lines: {
|
|
|
116
116
|
readonly colour: "#ed1b00";
|
|
117
117
|
readonly toc: "tfl";
|
|
118
118
|
};
|
|
119
|
+
readonly thameslink: {
|
|
120
|
+
readonly displayName: "Thameslink";
|
|
121
|
+
readonly colour: "#ff5aa4";
|
|
122
|
+
readonly toc: "thameslink";
|
|
123
|
+
};
|
|
119
124
|
};
|
|
120
125
|
export type LineId = keyof typeof Lines;
|
|
121
126
|
export declare const lineIds: LineId[];
|
package/dist/line.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TOCs } from "./toc";
|
|
1
2
|
/**
|
|
2
3
|
* A list of all {@link Line}s
|
|
3
4
|
*/
|
|
@@ -109,5 +110,11 @@ export const Lines = {
|
|
|
109
110
|
colour: "#ed1b00",
|
|
110
111
|
toc: "tfl",
|
|
111
112
|
},
|
|
113
|
+
// Other TOCs
|
|
114
|
+
thameslink: {
|
|
115
|
+
displayName: TOCs.thameslink.displayName,
|
|
116
|
+
colour: TOCs.thameslink.colour,
|
|
117
|
+
toc: "thameslink"
|
|
118
|
+
},
|
|
112
119
|
};
|
|
113
120
|
export const lineIds = Object.keys(Lines);
|