@tangledwires/uk-station-data 1.0.3 → 1.1.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/station.js CHANGED
@@ -1,15 +1,12 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.stationIds = exports.Stations = void 0;
4
1
  /**
5
2
  * A list of all {@link Station}s
6
3
  */
7
- exports.Stations = {
4
+ export const Stations = {
8
5
  abbeyRoad: { displayName: "Abbey Road", lines: ["dlr"] },
9
6
  abbeyWood: { displayName: "Abbey Wood", lines: ["elizabeth"] },
7
+ actonCentral: { displayName: "Acton Central", lines: ["mildmay"] },
10
8
  actonMainLine: { displayName: "Acton Main Line", lines: ["elizabeth"] },
11
9
  actonTown: { displayName: "Acton Town", lines: ["district", "piccadilly"] },
12
- actonCentral: { displayName: "Acton Central", lines: ["mildmay"] },
13
10
  addingtonVillage: { displayName: "Addington Village", lines: ["trams"] },
14
11
  addiscombe: { displayName: "Addiscombe", lines: ["trams"] },
15
12
  aldgate: { displayName: "Aldgate", lines: ["metropolitan", "circle"] },
@@ -20,8 +17,8 @@ exports.Stations = {
20
17
  ampereWay: { displayName: "Ampere Way", lines: ["trams"] },
21
18
  anerley: { displayName: "Anerly", lines: ["windrush"] },
22
19
  angel: { displayName: "Angel", lines: ["northern"] },
23
- arena: { displayName: "Arena", lines: ["trams"] },
24
20
  archway: { displayName: "Archway", lines: ["northern"] },
21
+ arena: { displayName: "Arena", lines: ["trams"] },
25
22
  arnosGrove: { displayName: "Arnos Grove", lines: ["piccadilly"] },
26
23
  arsenal: { displayName: "Arsenal", lines: ["piccadilly"] },
27
24
  avenueRoad: { displayName: "Avenue Road", lines: ["trams"] },
@@ -36,11 +33,11 @@ exports.Stations = {
36
33
  batterseaPark: { displayName: "Battersea Park", lines: ["windrush"] },
37
34
  batterseaPowerStation: { displayName: "Battersea Power Station", lines: ["northern"] },
38
35
  bayswater: { displayName: "Bayswater", lines: ["district", "circle"] },
39
- becontree: { displayName: "Becontree", lines: ["district"] },
40
36
  beckenhamJunction: { displayName: "Beckenham Junction", lines: ["trams"] },
41
37
  beckenhamRoad: { displayName: "Beckenham Road", lines: ["trams"] },
42
38
  beckton: { displayName: "Beckton", lines: ["dlr"] },
43
39
  becktonPark: { displayName: "Beckton Park", lines: ["dlr"] },
40
+ becontree: { displayName: "Becontree", lines: ["district"] },
44
41
  beddington: { displayName: "Beddington", lines: ["trams"] },
45
42
  belgraveWalk: { displayName: "Belgrave Walk", lines: ["trams"] },
46
43
  belsizePark: { displayName: "Belsize Park", lines: ["northern"] },
@@ -49,8 +46,8 @@ exports.Stations = {
49
46
  bethnalGreen2: { displayName: "Bethnal Green", lines: ["central"] },
50
47
  birkbeck: { displayName: "Birkbeck", lines: ["trams"] },
51
48
  blackfriars: { displayName: "Blackfriars", lines: ["district", "circle"] },
52
- blackhorseRoad: { displayName: "Blackhorse Road", lines: ["victoria", "suffragette"] },
53
49
  blackhorseLane: { displayName: "Blackhorse Lane", lines: ["trams"] },
50
+ blackhorseRoad: { displayName: "Blackhorse Road", lines: ["victoria", "suffragette"] },
54
51
  blackwall: { displayName: "Blackwall", lines: ["dlr"] },
55
52
  bondStreet: { displayName: "Bond Street", lines: ["central", "jubilee", "elizabeth"] },
56
53
  borough: { displayName: "Borough", lines: ["northern"] },
@@ -61,8 +58,8 @@ exports.Stations = {
61
58
  brentCross: { displayName: "Brent Cross", lines: ["northern"] },
62
59
  brentwood: { displayName: "Brentwood", lines: ["elizabeth"] },
63
60
  brixton: { displayName: "Brixton", lines: ["victoria"] },
64
- bromleyByBow: { displayName: "Bromley-by-Bow", lines: ["district", "hammersmithAndCity"] },
65
61
  brockley: { displayName: "Brockley", lines: ["windrush"] },
62
+ bromleyByBow: { displayName: "Bromley-by-Bow", lines: ["district", "hammersmithAndCity"] },
66
63
  brondesbury: { displayName: "Brondesbury", lines: ["mildmay"] },
67
64
  brondesburyPark: { displayName: "Brondesbury Park", lines: ["mildmay"] },
68
65
  bruceGrove: { displayName: "Bruce Grove", lines: ["weaver"] },
@@ -84,8 +81,8 @@ exports.Stations = {
84
81
  canonsPark: { displayName: "Canons Park", lines: ["jubilee"] },
85
82
  carpendersPark: { displayName: "Carpenders Park", lines: ["lioness"] },
86
83
  centrale: { displayName: "Centrale", lines: ["trams"] },
87
- chalfontAndLatimer: { displayName: "Chalfont & Latimer", lines: ["metropolitan"] },
88
84
  chadwellHeath: { displayName: "Chadwell Heath", lines: ["elizabeth"] },
85
+ chalfontAndLatimer: { displayName: "Chalfont & Latimer", lines: ["metropolitan"] },
89
86
  chalkFarm: { displayName: "Chalk Farm", lines: ["northern"] },
90
87
  chanceryLane: { displayName: "Chancery Lane", lines: ["central"] },
91
88
  charingCross: { displayName: "Charing Cross", lines: ["bakerloo", "northern"] },
@@ -108,8 +105,8 @@ exports.Stations = {
108
105
  coombeLane: { displayName: "Coombe Lane", lines: ["trams"] },
109
106
  coventGarden: { displayName: "Covent Garden", lines: ["piccadilly"] },
110
107
  crossharbour: { displayName: "Crossharbour", lines: ["dlr"] },
111
- croxley: { displayName: "Croxley", lines: ["metropolitan"] },
112
108
  crouchHill: { displayName: "Crouch Hill", lines: ["suffragette"] },
109
+ croxley: { displayName: "Croxley", lines: ["metropolitan"] },
113
110
  crystalPalace: { displayName: "Crystal Palace", lines: ["windrush"] },
114
111
  customHouse: { displayName: "Custom House", lines: ["elizabeth", "dlr"] },
115
112
  cuttySark: { displayName: "Cutty Sark for Maratime Greenwich", lines: ["dlr"] },
@@ -130,8 +127,8 @@ exports.Stations = {
130
127
  eastActon: { displayName: "East Acton", lines: ["central"] },
131
128
  eastCroydon: { displayName: "East Croydon", lines: ["trams"] },
132
129
  eastFinchley: { displayName: "East Finchley", lines: ["northern"] },
133
- eastIndia: { displayName: "East India", lines: ["dlr"] },
134
130
  eastHam: { displayName: "East Ham", lines: ["district", "hammersmithAndCity"] },
131
+ eastIndia: { displayName: "East India", lines: ["dlr"] },
135
132
  eastPutney: { displayName: "East Putney", lines: ["district"] },
136
133
  eastcote: { displayName: "Eastcote", lines: ["metropolitan", "piccadilly"] },
137
134
  edgware: { displayName: "Edgware", lines: ["northern"] },
@@ -139,13 +136,13 @@ exports.Stations = {
139
136
  edgwareRoad2: { displayName: "Edgware Road", lines: ["hammersmithAndCity", "district", "circle"] },
140
137
  edmontonGreen: { displayName: "Edmonton Green", lines: ["weaver"] },
141
138
  elephantAndCastle: { displayName: "Elephant & Castle", lines: ["northern", "bakerloo"] },
142
- elmersEnd: { displayName: "Elmers End", lines: ["trams"] },
143
139
  elmPark: { displayName: "Elm Park", lines: ["district"] },
140
+ elmersEnd: { displayName: "Elmers End", lines: ["trams"] },
144
141
  elversonRoad: { displayName: "Elverson Road", lines: ["dlr"] },
145
142
  embankment: { displayName: "Embankment", lines: ["district", "bakerloo", "northern", "circle"] },
146
143
  emersonPark: { displayName: "Emerson Park", lines: ["liberty"] },
147
- epping: { displayName: "Epping", lines: ["central"] },
148
144
  enfieldTown: { displayName: "Enfield Town", lines: ["weaver"] },
145
+ epping: { displayName: "Epping", lines: ["central"] },
149
146
  euston: { displayName: "Euston", lines: ["northern", "victoria", "lioness"] },
150
147
  eustonSquare: { displayName: "Euston Square", lines: ["metropolitan", "circle", "hammersmithAndCity"] },
151
148
  fairlop: { displayName: "Fairlop", lines: ["central"] },
@@ -158,8 +155,8 @@ exports.Stations = {
158
155
  forestGate: { displayName: "Forest Gate", lines: ["elizabeth"] },
159
156
  forestHill: { displayName: "Forest Hill", lines: ["windrush"] },
160
157
  fulhamBroadway: { displayName: "Fulham Broadway", lines: ["district"] },
161
- gantsHill: { displayName: "Gants Hill", lines: ["central"] },
162
158
  gallionsReach: { displayName: "Gallions Reach", lines: ["dlr"] },
159
+ gantsHill: { displayName: "Gants Hill", lines: ["central"] },
163
160
  georgeStreet: { displayName: "George Street", lines: ["trams"] },
164
161
  gideaPark: { displayName: "Gidea Park", lines: ["elizabeth"] },
165
162
  gloucesterRoad: { displayName: "Gloucester Road", lines: ["district", "piccadilly", "circle"] },
@@ -167,14 +164,14 @@ exports.Stations = {
167
164
  goldhawkRoad: { displayName: "Goldhawk Road", lines: ["hammersmithAndCity", "circle"] },
168
165
  goodgeStreet: { displayName: "Goodge Street", lines: ["northern"] },
169
166
  goodmayes: { displayName: "Goodmayes", lines: ["elizabeth"] },
167
+ gospelOak: { displayName: "Gospel Oak", lines: ["mildmay", "suffragette"] },
170
168
  grangeHill: { displayName: "Grange Hill", lines: ["central"] },
171
169
  gravelHill: { displayName: "Gravel Hill", lines: ["trams"] },
172
170
  greatPortlandStreet: { displayName: "Great Portland Street", lines: ["metropolitan", "circle", "hammersmithAndCity"] },
173
- greenford: { displayName: "Greenford", lines: ["central"] },
174
171
  greenPark: { displayName: "Green Park", lines: ["piccadilly", "victoria", "jubilee"] },
172
+ greenford: { displayName: "Greenford", lines: ["central"] },
175
173
  greenwich: { displayName: "Greenwich", lines: ["dlr"] },
176
174
  greenwichPeninsula: { displayName: "IFS Cloud Greenwich Peninsula", lines: ["cableCar"] },
177
- gospelOak: { displayName: "Gospel Oak", lines: ["mildmay", "suffragette"] },
178
175
  gunnersbury: { displayName: "Gunnersbury", lines: ["mildmay", "district"] },
179
176
  hackneyCentral: { displayName: "Hackney Central", lines: ["mildmay"] },
180
177
  hackneyDowns: { displayName: "Hackney Downs", lines: ["weaver"] },
@@ -197,16 +194,16 @@ exports.Stations = {
197
194
  hattonCross: { displayName: "Hatton Cross", lines: ["piccadilly"] },
198
195
  hayesAndHarlington: { displayName: "Hayes & Harlington", lines: ["elizabeth"] },
199
196
  headstoneLane: { displayName: "Headstone Lane", lines: ["lioness"] },
200
- heathrowTerminalsTwoAndThree: { displayName: "Heathrow Terminals 2 & 3", lines: ["piccadilly", "elizabeth"] },
201
- heathrowTerminalFour: { displayName: "Heathrow Terminal 4", lines: ["piccadilly", "elizabeth"] },
202
197
  heathrowTerminalFive: { displayName: "Heathrow Terminal 5", lines: ["piccadilly", "elizabeth"] },
198
+ heathrowTerminalFour: { displayName: "Heathrow Terminal 4", lines: ["piccadilly", "elizabeth"] },
199
+ heathrowTerminalsTwoAndThree: { displayName: "Heathrow Terminals 2 & 3", lines: ["piccadilly", "elizabeth"] },
203
200
  hendonCentral: { displayName: "Hendon Central", lines: ["northern"] },
204
201
  heronQuays: { displayName: "Heron Quays", lines: ["dlr"] },
205
202
  highBarnet: { displayName: "High Barnet", lines: ["northern"] },
203
+ highStreetKensington: { displayName: "High Street Kensington", lines: ["district", "circle"] },
206
204
  highamsPark: { displayName: "Highams Park", lines: ["weaver"] },
207
205
  highburyAndIslington: { displayName: "Highbury & Islington", lines: ["victoria", "mildmay", "windrush"] },
208
206
  highgate: { displayName: "Highgate", lines: ["northern"] },
209
- highStreetKensington: { displayName: "High Street Kensington", lines: ["district", "circle"] },
210
207
  hillingdon: { displayName: "Hillingdon", lines: ["metropolitan", "piccadilly"] },
211
208
  holborn: { displayName: "Holborn", lines: ["central", "piccadilly"] },
212
209
  hollandPark: { displayName: "Holland Park", lines: ["central"] },
@@ -214,14 +211,14 @@ exports.Stations = {
214
211
  homerton: { displayName: "Homerton", lines: ["mildmay"] },
215
212
  honorOakPark: { displayName: "Honor Oak Park", lines: ["windrush"] },
216
213
  hornchurch: { displayName: "Hornchurch", lines: ["district"] },
217
- hoxton: { displayName: "Hoxton", lines: ["windrush"] },
218
214
  hounslowCentral: { displayName: "Hounslow Central", lines: ["piccadilly"] },
219
215
  hounslowEast: { displayName: "Hounslow East", lines: ["piccadilly"] },
220
216
  hounslowWest: { displayName: "Hounslow West", lines: ["piccadilly"] },
217
+ hoxton: { displayName: "Hoxton", lines: ["windrush"] },
221
218
  hydeParkCorner: { displayName: "Hyde Park Corner", lines: ["piccadilly"] },
222
219
  ickenham: { displayName: "Ickenham", lines: ["metropolitan", "piccadilly"] },
223
- imperialWharf: { displayName: "Imperial Wharf", lines: ["mildmay"] },
224
220
  ilford: { displayName: "Ilford", lines: ["elizabeth"] },
221
+ imperialWharf: { displayName: "Imperial Wharf", lines: ["mildmay"] },
225
222
  islandGardens: { displayName: "Island Gardens", lines: ["dlr"] },
226
223
  iver: { displayName: "Iver", lines: ["elizabeth"] },
227
224
  kennington: { displayName: "Kennington", lines: ["northern"] },
@@ -237,8 +234,11 @@ exports.Stations = {
237
234
  kilburnPark: { displayName: "Kilburn Park", lines: ["bakerloo"] },
238
235
  kingGeorgeV: { displayName: "King George V", lines: ["dlr"] },
239
236
  kingHenrysDrive: { displayName: "King Henry's Drive", lines: ["trams"] },
237
+ kingsCrossStPancras: {
238
+ displayName: "King's Cross St Pancras",
239
+ lines: ["metropolitan", "northern", "piccadilly", "circle", "victoria", "hammersmithAndCity"]
240
+ },
240
241
  kingsbury: { displayName: "Kingsbury", lines: ["jubilee"] },
241
- kingsCrossStPancras: { displayName: "King's Cross St Pancras", lines: ["metropolitan", "northern", "piccadilly", "circle", "victoria", "hammersmithAndCity"] },
242
242
  knightsbridge: { displayName: "Knightsbridge", lines: ["piccadilly"] },
243
243
  ladbrokeGrove: { displayName: "Ladbroke Grove", lines: ["hammersmithAndCity", "circle"] },
244
244
  lambethNorth: { displayName: "Lambeth North", lines: ["bakerloo"] },
@@ -248,17 +248,20 @@ exports.Stations = {
248
248
  latimerRoad: { displayName: "Latimer Road", lines: ["hammersmithAndCity", "circle"] },
249
249
  lebanonRoad: { displayName: "Lebanon Road", lines: ["trams"] },
250
250
  leicesterSquare: { displayName: "Leicester Square", lines: ["piccadilly", "northern"] },
251
+ lewisham: { displayName: "Lewisham", lines: ["dlr"] },
251
252
  leyton: { displayName: "Leyton", lines: ["central"] },
252
- leytonstone: { displayName: "Leytonstone", lines: ["central"] },
253
253
  leytonMidlandRoad: { displayName: "Leyton Midland Road", lines: ["suffragette"] },
254
+ leytonstone: { displayName: "Leytonstone", lines: ["central"] },
254
255
  leytonstoneHighRoad: { displayName: "Leytostone High Road", lines: ["suffragette"] },
255
- lewisham: { displayName: "Lewisham", lines: ["dlr"] },
256
- liverpoolStreet: { displayName: "Liverpool Street", lines: ["metropolitan", "central", "circle", "hammersmithAndCity", "weaver", "elizabeth"] },
257
256
  limehouse: { displayName: "Limehouse", lines: ["dlr"] },
257
+ liverpoolStreet: {
258
+ displayName: "Liverpool Street",
259
+ lines: ["metropolitan", "central", "circle", "hammersmithAndCity", "weaver", "elizabeth"]
260
+ },
258
261
  lloydPark: { displayName: "Lloyd Park", lines: ["trams"] },
262
+ londonBridge: { displayName: "London Bridge", lines: ["northern", "jubilee"] },
259
263
  londonCityAirport: { displayName: "London City Airport", lines: ["dlr"] },
260
264
  londonFields: { displayName: "London Fields", lines: ["weaver"] },
261
- londonBridge: { displayName: "London Bridge", lines: ["northern", "jubilee"] },
262
265
  loughton: { displayName: "Loughton", lines: ["central"] },
263
266
  maidaVale: { displayName: "Maida Vale", lines: ["bakerloo"] },
264
267
  maidenhead: { displayName: "maidenhead", lines: ["elizabeth"] },
@@ -266,20 +269,20 @@ exports.Stations = {
266
269
  manorPark: { displayName: "Manor Park", lines: ["elizabeth"] },
267
270
  mansionHouse: { displayName: "Mansion House", lines: ["district", "circle"] },
268
271
  marbleArch: { displayName: "Marble Arch", lines: ["central"] },
269
- marylebone: { displayName: "Marylebone", lines: ["bakerloo"] },
270
272
  maryland: { displayName: "Maryland", lines: ["elizabeth"] },
273
+ marylebone: { displayName: "Marylebone", lines: ["bakerloo"] },
271
274
  mertonPark: { displayName: "Merton Park", lines: ["trams"] },
272
275
  mileEnd: { displayName: "Mile End", lines: ["district", "hammersmithAndCity", "central"] },
273
276
  millHillEast: { displayName: "Mill Hill East", lines: ["northern"] },
274
277
  mitcham: { displayName: "Mitcham", lines: ["trams"] },
275
278
  mitchamJunction: { displayName: "Mitcham Junction", lines: ["trams"] },
276
- mudchute: { displayName: "Mudchute", lines: ["dlr"] },
277
279
  monument: { displayName: "Monument", lines: ["district", "circle"] },
278
- moorgate: { displayName: "Moorgate", lines: ["metropolitan", "northern", "circle", "hammersmithAndCity"] },
279
280
  moorPark: { displayName: "Moor Park", lines: ["metropolitan"] },
281
+ moorgate: { displayName: "Moorgate", lines: ["metropolitan", "northern", "circle", "hammersmithAndCity"] },
280
282
  morden: { displayName: "Morden", lines: ["northern"] },
281
283
  mordenRoad: { displayName: "Morden Road", lines: ["trams"] },
282
284
  morningtonCrescent: { displayName: "Mornington Crescent", lines: ["northern"] },
285
+ mudchute: { displayName: "Mudchute", lines: ["dlr"] },
283
286
  neasden: { displayName: "Neasden", lines: ["jubilee"] },
284
287
  newAddington: { displayName: "New Addington", lines: ["trams"] },
285
288
  newCross: { displayName: "New Cross", lines: ["windrush"] },
@@ -295,8 +298,8 @@ exports.Stations = {
295
298
  northwickPark: { displayName: "Northwick Park", lines: ["metropolitan"] },
296
299
  northwood: { displayName: "Northwood", lines: ["metropolitan"] },
297
300
  northwoodHills: { displayName: "Northwood Hills", lines: ["metropolitan"] },
298
- nottingHillGate: { displayName: "Notting Hill Gate", lines: ["district", "central", "circle"] },
299
301
  norwoodJunction: { displayName: "Norwood Junction", lines: ["windrush"] },
302
+ nottingHillGate: { displayName: "Notting Hill Gate", lines: ["district", "central", "circle"] },
300
303
  oakwood: { displayName: "Oakwood", lines: ["piccadilly"] },
301
304
  oldStreet: { displayName: "Old Street", lines: ["northern"] },
302
305
  osterley: { displayName: "Osterley", lines: ["piccadilly"] },
@@ -305,23 +308,23 @@ exports.Stations = {
305
308
  paddington: { displayName: "Paddington", lines: ["district", "circle", "bakerloo", "hammersmithAndCity", "elizabeth"] },
306
309
  parkRoyal: { displayName: "Park Royal", lines: ["piccadilly"] },
307
310
  parsonsGreen: { displayName: "Parsons Green", lines: ["district"] },
311
+ peckhamRye: { displayName: "Peckham Rye", lines: ["windrush"] },
312
+ pengeWest: { displayName: "Penge West", lines: ["windrush"] },
308
313
  perivale: { displayName: "Perivale", lines: ["central"] },
309
314
  phippsBridge: { displayName: "Phipps Bridge", lines: ["trams"] },
310
315
  piccadillyCircus: { displayName: "Piccadilly Circus", lines: ["bakerloo", "piccadilly"] },
311
316
  pimlico: { displayName: "Pimlico", lines: ["victoria"] },
312
317
  pinner: { displayName: "Pinner", lines: ["metropolitan"] },
313
318
  plaistow: { displayName: "Plaistow", lines: ["district", "hammersmithAndCity"] },
314
- prestonRoad: { displayName: "Preston Road", lines: ["metropolitan"] },
315
- peckhamRye: { displayName: "Peckham Rye", lines: ["windrush"] },
316
- pengeWest: { displayName: "Penge West", lines: ["windrush"] },
317
319
  pontoonDock: { displayName: "Pontoon Dock", lines: ["dlr"] },
318
320
  poplar: { displayName: "Poplar", lines: ["dlr"] },
321
+ prestonRoad: { displayName: "Preston Road", lines: ["metropolitan"] },
319
322
  princeRegent: { displayName: "Prince Regent", lines: ["dlr"] },
320
323
  puddingMillLane: { displayName: "Pudding Mill Lane", lines: ["elizabeth"] },
321
324
  queensPark: { displayName: "Queen's Park", lines: ["bakerloo", "lioness"] },
325
+ queensRoadPeckham: { displayName: "Queens Road Peckham", lines: ["windrush"] },
322
326
  queensbury: { displayName: "Queensbury", lines: ["jubilee"] },
323
327
  queensway: { displayName: "Queensway", lines: ["central"] },
324
- queensRoadPeckham: { displayName: "Queens Road Peckham", lines: ["windrush"] },
325
328
  ravenscourtPark: { displayName: "Ravenscourt Park", lines: ["district"] },
326
329
  raynersLane: { displayName: "Rayners Lane", lines: ["metropolitan", "piccadilly"] },
327
330
  reading: { displayName: "Reading", lines: ["elizabeth"] },
@@ -343,10 +346,6 @@ exports.Stations = {
343
346
  ruislipManor: { displayName: "Ruislip Manor", lines: ["metropolitan", "piccadilly"] },
344
347
  russellSquare: { displayName: "Russell Square", lines: ["piccadilly"] },
345
348
  sandilands: { displayName: "Sandilands", lines: ["trams"] },
346
- stJamesStreet: { displayName: "St James Street", lines: ["weaver"] },
347
- stJamesPark: { displayName: "St James's Park", lines: ["district", "circle"] },
348
- stJohnsWood: { displayName: "St John's Wood", lines: ["jubilee"] },
349
- stPauls: { displayName: "St Paul's", lines: ["central"] },
350
349
  sevenKings: { displayName: "Seven Kings", lines: ["elizabeth"] },
351
350
  sevenSisters: { displayName: "Seven Sisters", lines: ["victoria", "weaver"] },
352
351
  shadwell: { displayName: "Shadwell", lines: ["windrush", "dlr"] },
@@ -354,28 +353,32 @@ exports.Stations = {
354
353
  shepherdsBush: { displayName: "Shepherd's Bush", lines: ["central", "mildmay"] },
355
354
  shepherdsBushMarket: { displayName: "Shepherd's Bush Market", lines: ["hammersmithAndCity", "circle"] },
356
355
  shoreditchHighStreet: { displayName: "Shoreditch High Street", lines: ["windrush"] },
356
+ silverStreet: { displayName: "Silver Street", lines: ["weaver"] },
357
357
  sloaneSquare: { displayName: "Sloane Square", lines: ["district", "circle"] },
358
358
  slough: { displayName: "Slough", lines: ["elizabeth"] },
359
359
  snaresbrook: { displayName: "Snaresbrook", lines: ["central"] },
360
- silverStreet: { displayName: "Silver Street", lines: ["weaver"] },
361
360
  southActon: { displayName: "South Acton", lines: ["mildmay"] },
362
- southall: { displayName: "Southall", lines: ["elizabeth"] },
363
361
  southEaling: { displayName: "South Ealing", lines: ["piccadilly"] },
364
362
  southHampstead: { displayName: "South Hampstead", lines: ["lioness"] },
365
363
  southHarrow: { displayName: "South Harrow", lines: ["piccadilly"] },
366
364
  southKensington: { displayName: "South Kensington", lines: ["district", "circle", "piccadilly"] },
367
365
  southKenton: { displayName: "South Kenton", lines: ["bakerloo", "lioness"] },
368
- southTottenham: { displayName: "South Tottenham", lines: ["suffragette"] },
369
- southbury: { displayName: "Southbury", lines: ["weaver"] },
370
366
  southQuay: { displayName: "South Quay", lines: ["dlr"] },
371
367
  southRuislip: { displayName: "South Ruislip", lines: ["central"] },
368
+ southTottenham: { displayName: "South Tottenham", lines: ["suffragette"] },
372
369
  southWimbledon: { displayName: "South Wimbledon", lines: ["northern"] },
373
370
  southWoodford: { displayName: "South Woodford", lines: ["central"] },
371
+ southall: { displayName: "Southall", lines: ["elizabeth"] },
372
+ southbury: { displayName: "Southbury", lines: ["weaver"] },
374
373
  southfields: { displayName: "Southfields", lines: ["district"] },
375
374
  southgate: { displayName: "Southgate", lines: ["piccadilly"] },
376
375
  southwark: { displayName: "Southwark", lines: ["jubilee"] },
377
- stamfordHill: { displayName: "Stamford Hill", lines: ["weaver"] },
376
+ stJamesPark: { displayName: "St James's Park", lines: ["district", "circle"] },
377
+ stJamesStreet: { displayName: "St James Street", lines: ["weaver"] },
378
+ stJohnsWood: { displayName: "St John's Wood", lines: ["jubilee"] },
379
+ stPauls: { displayName: "St Paul's", lines: ["central"] },
378
380
  stamfordBrook: { displayName: "Stamford Brook", lines: ["district"] },
381
+ stamfordHill: { displayName: "Stamford Hill", lines: ["weaver"] },
379
382
  stanmore: { displayName: "Stanmore", lines: ["jubilee"] },
380
383
  starLane: { displayName: "Star Lane", lines: ["dlr"] },
381
384
  stepneyGreen: { displayName: "Stepney Green", lines: ["district", "hammersmithAndCity"] },
@@ -388,38 +391,38 @@ exports.Stations = {
388
391
  sudburyHill: { displayName: "Sudbury Hill", lines: ["piccadilly"] },
389
392
  sudburyTown: { displayName: "Sudbury Town", lines: ["piccadilly"] },
390
393
  surreyQuays: { displayName: "Surrey Quays", lines: ["windrush"] },
391
- sydenham: { displayName: "Sydenham", lines: ["windrush"] },
392
394
  swissCottage: { displayName: "Swiss Cottage", lines: ["jubilee"] },
395
+ sydenham: { displayName: "Sydenham", lines: ["windrush"] },
393
396
  taplow: { displayName: "Taplow", lines: ["elizabeth"] },
394
397
  temple: { displayName: "Temple", lines: ["district", "circle"] },
395
- theydonBois: { displayName: "Theydon Bois", lines: ["central"] },
396
398
  theobaldsGrove: { displayName: "Theobalds Grove", lines: ["weaver"] },
397
399
  therapiaLane: { displayName: "Therapia Lane", lines: ["trams"] },
398
- turkeyStreet: { displayName: "Turkey Street", lines: ["weaver"] },
400
+ theydonBois: { displayName: "Theydon Bois", lines: ["central"] },
399
401
  tootingBec: { displayName: "Tooting Bec", lines: ["northern"] },
400
402
  tootingBroadway: { displayName: "Tooting Broadway", lines: ["northern"] },
401
403
  tottenhamCourtRoad: { displayName: "Tottenham Court Road", lines: ["northern", "central", "elizabeth"] },
402
404
  tottenhamHale: { displayName: "Tottenham Hale", lines: ["victoria"] },
403
405
  totteridgeAndWhetstone: { displayName: "Totteridge & Whetstone", lines: ["northern"] },
404
- towerHill: { displayName: "Tower Hill", lines: ["district", "circle"] },
405
406
  towerGateway: { displayName: "Tower Gateway", lines: ["dlr"] },
407
+ towerHill: { displayName: "Tower Hill", lines: ["district", "circle"] },
406
408
  tufnellPark: { displayName: "Tufnell Park", lines: ["northern"] },
409
+ turkeyStreet: { displayName: "Turkey Street", lines: ["weaver"] },
407
410
  turnhamGreen: { displayName: "Turnham Green", lines: ["district", "piccadilly"] },
408
411
  turnpikeLane: { displayName: "Turnpike Lane", lines: ["piccadilly"] },
409
412
  twyford: { displayName: "Twyford", lines: ["elizabeth"] },
410
413
  upminster: { displayName: "Upminster", lines: ["district", "liberty"] },
411
414
  upminsterBridge: { displayName: "Upminster Bridge", lines: ["district"] },
412
415
  upney: { displayName: "Upney", lines: ["district"] },
413
- uptonPark: { displayName: "Upton Park", lines: ["district"] },
414
416
  upperHolloway: { displayName: "Upper Holloway", lines: ["suffragette"] },
417
+ uptonPark: { displayName: "Upton Park", lines: ["district"] },
415
418
  uxbridge: { displayName: "Uxbridge", lines: ["metropolitan", "piccadilly"] },
416
419
  vauxhall: { displayName: "Vauxhall", lines: ["victoria"] },
417
420
  victoria: { displayName: "Victoria", lines: ["victoria", "district", "circle"] },
418
421
  waddonMarsh: { displayName: "Waddon Marsh", lines: ["trams"] },
419
422
  walthamstowCentral: { displayName: "Walthamstow Central", lines: ["victoria", "weaver"] },
420
423
  walthamstowQueensRoad: { displayName: "Walthamstow Queen's Road", lines: ["suffragette"] },
421
- wandsworthRoad: { displayName: "Wandsworth Road", lines: ["windrush"] },
422
424
  wandlePark: { displayName: "Wandle Park", lines: ["trams"] },
425
+ wandsworthRoad: { displayName: "Wandsworth Road", lines: ["windrush"] },
423
426
  wanstead: { displayName: "Wanstead", lines: ["central"] },
424
427
  wansteadPark: { displayName: "Wanstead Park", lines: ["suffragette"] },
425
428
  wapping: { displayName: "Wapping", lines: ["windrush"] },
@@ -433,7 +436,6 @@ exports.Stations = {
433
436
  wembleyCentral: { displayName: "Wembley Central", lines: ["bakerloo", "lioness"] },
434
437
  wembleyPark: { displayName: "Wembley Park", lines: ["metropolitan", "jubilee"] },
435
438
  westActon: { displayName: "West Acton", lines: ["central"] },
436
- westbrompton: { displayName: "West Brompton", lines: ["district", "mildmay"] },
437
439
  westCroydon: { displayName: "West Croydon", lines: ["windrush", "trams"] },
438
440
  westDrayton: { displayName: "West Drayton", lines: ["elizabeth"] },
439
441
  westEaling: { displayName: "West Ealing", lines: ["elizabeth"] },
@@ -444,24 +446,25 @@ exports.Stations = {
444
446
  westIndiaQuay: { displayName: "West India Quay", lines: ["dlr"] },
445
447
  westKensington: { displayName: "West Kensington", lines: ["district"] },
446
448
  westRuislip: { displayName: "West Ruislip", lines: ["central"] },
447
- westbournePark: { displayName: "Westbourne Park", lines: ["hammersmithAndCity", "circle"] },
448
- westminster: { displayName: "Westminster", lines: ["district", "circle", "jubilee"] },
449
449
  westSilvertown: { displayName: "West Silvertown", lines: ["dlr"] },
450
+ westbournePark: { displayName: "Westbourne Park", lines: ["hammersmithAndCity", "circle"] },
451
+ westbrompton: { displayName: "West Brompton", lines: ["district", "mildmay"] },
450
452
  westferry: { displayName: "Westferry", lines: ["dlr"] },
453
+ westminster: { displayName: "Westminster", lines: ["district", "circle", "jubilee"] },
451
454
  whiteCity: { displayName: "White City", lines: ["central"] },
452
- whitechapel: { displayName: "Whitechapel", lines: ["district", "hammersmithAndCity", "windrush", "elizabeth"] },
453
455
  whiteHartLane: { displayName: "White Hart Lane", lines: ["weaver"] },
456
+ whitechapel: { displayName: "Whitechapel", lines: ["district", "hammersmithAndCity", "windrush", "elizabeth"] },
454
457
  willesdenGreen: { displayName: "Willesden Green", lines: ["jubilee"] },
455
458
  willesdenJunction: { displayName: "Willesden Junction", lines: ["bakerloo", "lioness", "mildmay"] },
456
459
  wimbledon: { displayName: "Wimbledon", lines: ["district", "trams"] },
457
460
  wimbledonPark: { displayName: "Wimbledon Park", lines: ["district"] },
458
461
  woodGreen: { displayName: "Wood Green", lines: ["piccadilly"] },
459
- woodford: { displayName: "Woodford", lines: ["central"] },
460
462
  woodStreet: { displayName: "Wood Street", lines: ["weaver"] },
461
- woodside: { displayName: "Woodside", lines: ["trams"] },
463
+ woodford: { displayName: "Woodford", lines: ["central"] },
462
464
  woodgrangePark: { displayName: "Woodgrange Park", lines: ["suffragette"] },
465
+ woodside: { displayName: "Woodside", lines: ["trams"] },
463
466
  woodsidePark: { displayName: "Woodside Park", lines: ["northern"] },
464
467
  woolwich: { displayName: "Woolwich", lines: ["elizabeth"] },
465
468
  woolwichArsenal: { displayName: "Woolwich Arsenal", lines: ["dlr"] },
466
469
  };
467
- exports.stationIds = Object.keys(exports.Stations);
470
+ export const stationIds = Object.keys(Stations);
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.3",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": "TangledWires",