@opentripplanner/types 1.2.2 → 2.0.1
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/lib/index.d.ts +295 -59
- package/lib/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +327 -59
- package/tsconfig.tsbuildinfo +33 -7
package/lib/index.d.ts
CHANGED
|
@@ -3,20 +3,21 @@
|
|
|
3
3
|
* used across more than one package in this repo.
|
|
4
4
|
*/
|
|
5
5
|
import React, { FunctionComponent, ReactElement } from "react";
|
|
6
|
+
declare type ZeroOrOne = 0 | 1;
|
|
6
7
|
/**
|
|
7
8
|
* Shape for a transportation company.
|
|
8
9
|
*/
|
|
9
|
-
export
|
|
10
|
+
export declare type Company = {
|
|
10
11
|
id: string;
|
|
11
12
|
label: string;
|
|
12
13
|
/** a comma-separated string listing the modes that this company has */
|
|
13
14
|
modes: string;
|
|
14
|
-
}
|
|
15
|
+
};
|
|
15
16
|
/**
|
|
16
17
|
* Describes some options to help display data about a transit agency that is
|
|
17
18
|
* configured in an opentripplanner instance.
|
|
18
19
|
*/
|
|
19
|
-
export
|
|
20
|
+
export declare type TransitOperator = {
|
|
20
21
|
agencyId: string;
|
|
21
22
|
defaultRouteColor?: string;
|
|
22
23
|
defaultRouteTextColor?: string;
|
|
@@ -25,19 +26,19 @@ export interface TransitOperator {
|
|
|
25
26
|
longNameSplitter?: string;
|
|
26
27
|
name?: string;
|
|
27
28
|
order?: number;
|
|
28
|
-
}
|
|
29
|
+
};
|
|
29
30
|
/**
|
|
30
31
|
* Describes a map entity to be rendered.
|
|
31
32
|
*/
|
|
32
|
-
export
|
|
33
|
+
export declare type LayerEntity = {
|
|
33
34
|
id: string;
|
|
34
35
|
lat: number;
|
|
35
36
|
lon: number;
|
|
36
|
-
}
|
|
37
|
-
|
|
37
|
+
};
|
|
38
|
+
declare type SymbolComponentBaseProps = {
|
|
38
39
|
entity: LayerEntity;
|
|
39
40
|
zoom: number;
|
|
40
|
-
}
|
|
41
|
+
};
|
|
41
42
|
/**
|
|
42
43
|
* The symbol-representing component to draw; with the signature
|
|
43
44
|
* ({ entity: object; zoom: number }) => Element
|
|
@@ -48,7 +49,7 @@ declare type SymbolComponent = React.ComponentType<SymbolComponentBaseProps>;
|
|
|
48
49
|
* Defines which symbol to render based on a zoom level; and optionally by entity type.
|
|
49
50
|
* (Only one symbol is rendered for any zoom level.)
|
|
50
51
|
*/
|
|
51
|
-
export
|
|
52
|
+
export declare type ZoomBasedSymbol = {
|
|
52
53
|
/**
|
|
53
54
|
* A function with the signature (entity: object) => string
|
|
54
55
|
* that determines the type of an entity.
|
|
@@ -75,11 +76,11 @@ export interface ZoomBasedSymbol {
|
|
|
75
76
|
symbolByType?: {
|
|
76
77
|
[name: string]: SymbolComponent;
|
|
77
78
|
};
|
|
78
|
-
}
|
|
79
|
+
};
|
|
79
80
|
/**
|
|
80
81
|
* Describes the objects from the real-time vehicle service.
|
|
81
82
|
*/
|
|
82
|
-
export
|
|
83
|
+
export declare type TransitVehicle = {
|
|
83
84
|
routeShortName?: string;
|
|
84
85
|
routeLongName?: string;
|
|
85
86
|
routeType?: string;
|
|
@@ -94,7 +95,7 @@ export interface TransitVehicle {
|
|
|
94
95
|
lat?: number;
|
|
95
96
|
lon?: number;
|
|
96
97
|
heading?: number;
|
|
97
|
-
}
|
|
98
|
+
};
|
|
98
99
|
export declare type VehicleRentalMapOverlaySymbol = {
|
|
99
100
|
dockStrokeColor?: string;
|
|
100
101
|
fillColor?: string;
|
|
@@ -107,13 +108,14 @@ export declare type VehicleRentalMapOverlaySymbol = {
|
|
|
107
108
|
*
|
|
108
109
|
* Note: this is an incomplete type mapping.
|
|
109
110
|
*/
|
|
110
|
-
export
|
|
111
|
+
export declare type Config = {
|
|
111
112
|
companies?: Company[];
|
|
112
113
|
dateTime: {
|
|
113
114
|
timeFormat?: string;
|
|
114
115
|
dateFormat?: string;
|
|
115
116
|
longDateFormat?: string;
|
|
116
117
|
};
|
|
118
|
+
modes: ConfiguredModes;
|
|
117
119
|
map?: {
|
|
118
120
|
overlays?: {
|
|
119
121
|
/**
|
|
@@ -148,31 +150,31 @@ export interface Config {
|
|
|
148
150
|
}[];
|
|
149
151
|
};
|
|
150
152
|
transitOperators?: TransitOperator[];
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
+
};
|
|
154
|
+
declare type FeedScopedId = {
|
|
153
155
|
agencyId?: string;
|
|
154
156
|
id?: string;
|
|
155
|
-
}
|
|
156
|
-
export
|
|
157
|
+
};
|
|
158
|
+
export declare type EncodedPolyline = {
|
|
157
159
|
length: number;
|
|
158
160
|
points: string;
|
|
159
|
-
}
|
|
160
|
-
declare type ElevationData = {
|
|
161
|
+
};
|
|
162
|
+
export declare type ElevationData = {
|
|
161
163
|
first: number;
|
|
162
164
|
second: number;
|
|
163
165
|
}[];
|
|
164
|
-
export
|
|
166
|
+
export declare type Alert = {
|
|
165
167
|
alertHeaderText?: string;
|
|
166
168
|
alertDescriptionText?: string;
|
|
167
169
|
alertUrl?: string;
|
|
168
170
|
effectiveStartDate?: number;
|
|
169
|
-
}
|
|
171
|
+
};
|
|
170
172
|
/**
|
|
171
173
|
* Represents steps in a leg in an itinerary of an OTP plan response. These are
|
|
172
174
|
* only for non-transit modes.
|
|
173
175
|
* See documentation here: http://otp-docs.ibi-transit.com/api/json_WalkStep.html
|
|
174
176
|
*/
|
|
175
|
-
export
|
|
177
|
+
export declare type Step = {
|
|
176
178
|
absoluteDirection?: string;
|
|
177
179
|
alerts?: Alert[];
|
|
178
180
|
area: boolean;
|
|
@@ -184,11 +186,11 @@ export interface Step {
|
|
|
184
186
|
relativeDirection: string;
|
|
185
187
|
stayOn: boolean;
|
|
186
188
|
streetName: string;
|
|
187
|
-
}
|
|
189
|
+
};
|
|
188
190
|
/**
|
|
189
191
|
* Describe an origin, destination, or intermediate location in an itinerary.
|
|
190
192
|
*/
|
|
191
|
-
export
|
|
193
|
+
export declare type Place = {
|
|
192
194
|
address?: string;
|
|
193
195
|
arrival?: number;
|
|
194
196
|
bikeShareId?: string;
|
|
@@ -203,28 +205,29 @@ export interface Place {
|
|
|
203
205
|
stopSequence?: number;
|
|
204
206
|
vertexType: string;
|
|
205
207
|
zoneId?: string;
|
|
206
|
-
}
|
|
208
|
+
};
|
|
207
209
|
/**
|
|
208
210
|
* Holds contact info and lead time for flex transit bookings.
|
|
209
211
|
* The information is optional and is for reminding the end-user
|
|
210
212
|
* of any advance reservations required prior to travel.
|
|
211
213
|
*/
|
|
212
|
-
export
|
|
214
|
+
export declare type FlexBookingInfo = {
|
|
213
215
|
contactInfo?: {
|
|
214
216
|
phoneNumber: string;
|
|
215
217
|
};
|
|
216
218
|
latestBookingTime?: {
|
|
217
219
|
daysPrior: number;
|
|
218
220
|
};
|
|
219
|
-
|
|
221
|
+
message?: string;
|
|
222
|
+
};
|
|
220
223
|
/** Dropoff-specific flex booking information */
|
|
221
|
-
|
|
224
|
+
declare type FlexDropOffBookingInfo = {
|
|
222
225
|
dropOffMessage?: string;
|
|
223
|
-
}
|
|
226
|
+
} & FlexBookingInfo;
|
|
224
227
|
/** Pickup-specific flex booking information */
|
|
225
|
-
|
|
228
|
+
declare type FlexPickupBookingInfo = {
|
|
226
229
|
pickupMessage?: string;
|
|
227
|
-
}
|
|
230
|
+
} & FlexBookingInfo;
|
|
228
231
|
/**
|
|
229
232
|
* Represents a leg in an itinerary of an OTP plan response. Each leg represents
|
|
230
233
|
* a portion of the overall itinerary that is done until either reaching the
|
|
@@ -232,7 +235,7 @@ interface FlexPickupBookingInfo extends FlexBookingInfo {
|
|
|
232
235
|
* documentation here:
|
|
233
236
|
* http://otp-docs.ibi-transit.com/api/json_Leg.html
|
|
234
237
|
*/
|
|
235
|
-
export
|
|
238
|
+
export declare type Leg = {
|
|
236
239
|
accessibilityScore?: number;
|
|
237
240
|
agencyBrandingUrl?: string;
|
|
238
241
|
agencyId?: string;
|
|
@@ -240,6 +243,8 @@ export interface Leg {
|
|
|
240
243
|
agencyTimeZoneOffset: number;
|
|
241
244
|
agencyUrl?: string;
|
|
242
245
|
alerts?: Alert[];
|
|
246
|
+
boardRule?: string;
|
|
247
|
+
alightRule?: string;
|
|
243
248
|
arrivalDelay: number;
|
|
244
249
|
averageWait?: number;
|
|
245
250
|
departureDelay: number;
|
|
@@ -285,11 +290,11 @@ export interface Leg {
|
|
|
285
290
|
tripBlockId?: string;
|
|
286
291
|
tripId?: string;
|
|
287
292
|
walkingBike?: boolean;
|
|
288
|
-
}
|
|
293
|
+
};
|
|
289
294
|
/**
|
|
290
295
|
* Describes the cost of an itinerary leg.
|
|
291
296
|
*/
|
|
292
|
-
|
|
297
|
+
export declare type Money = {
|
|
293
298
|
cents: number;
|
|
294
299
|
currency: {
|
|
295
300
|
defaultFractionDigits: number;
|
|
@@ -297,11 +302,19 @@ interface Money {
|
|
|
297
302
|
symbol: string;
|
|
298
303
|
currency: string;
|
|
299
304
|
};
|
|
300
|
-
}
|
|
305
|
+
};
|
|
301
306
|
/**
|
|
302
307
|
* Describes a fare id or route to which a fare applies.
|
|
303
308
|
*/
|
|
304
309
|
declare type ApplicableId = string | FeedScopedId;
|
|
310
|
+
export declare type FareDetail = {
|
|
311
|
+
fareId?: ApplicableId;
|
|
312
|
+
isTransfer?: boolean;
|
|
313
|
+
legIndex?: number;
|
|
314
|
+
price: Money;
|
|
315
|
+
routes?: ApplicableId[];
|
|
316
|
+
};
|
|
317
|
+
export declare type FareDetails = Record<string, FareDetail[]>;
|
|
305
318
|
/**
|
|
306
319
|
* Represents the fare component of an itinerary of an OTP plan response. See
|
|
307
320
|
* detailed documentation in OTP webservice documentation here:
|
|
@@ -310,24 +323,16 @@ declare type ApplicableId = string | FeedScopedId;
|
|
|
310
323
|
* NOTE: so far the fare includes ONLY a fare encountered on public transit and
|
|
311
324
|
* not any bike rental or TNC rental fees.
|
|
312
325
|
*/
|
|
313
|
-
export
|
|
314
|
-
details
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
price: Money;
|
|
318
|
-
routes: ApplicableId[];
|
|
319
|
-
}[];
|
|
320
|
-
};
|
|
321
|
-
fare?: {
|
|
322
|
-
[name: string]: Money;
|
|
323
|
-
};
|
|
324
|
-
}
|
|
326
|
+
export declare type Fare = {
|
|
327
|
+
details?: FareDetails;
|
|
328
|
+
fare?: Record<string, Money>;
|
|
329
|
+
};
|
|
325
330
|
/**
|
|
326
331
|
* Represents an itinerary of an OTP plan response. See detailed documentation
|
|
327
332
|
* in OTP webservice documentation here:
|
|
328
333
|
* http://otp-docs.ibi-transit.com/api/json_Itinerary.html
|
|
329
334
|
*/
|
|
330
|
-
export
|
|
335
|
+
export declare type Itinerary = {
|
|
331
336
|
duration: number;
|
|
332
337
|
elevationGained: number;
|
|
333
338
|
elevationLost: number;
|
|
@@ -342,32 +347,263 @@ export interface Itinerary {
|
|
|
342
347
|
walkDistance: number;
|
|
343
348
|
walkLimitExceeded: boolean;
|
|
344
349
|
walkTime: number;
|
|
345
|
-
}
|
|
350
|
+
};
|
|
351
|
+
export declare type ElevationProfile = {
|
|
352
|
+
maxElev: number;
|
|
353
|
+
minElev: number;
|
|
354
|
+
points: number[];
|
|
355
|
+
traversed: number;
|
|
356
|
+
gain: number;
|
|
357
|
+
loss: number;
|
|
358
|
+
};
|
|
346
359
|
/**
|
|
347
360
|
* Used to model a location that is used in planning a trip.
|
|
348
361
|
*/
|
|
349
|
-
export
|
|
362
|
+
export declare type Location = {
|
|
350
363
|
lat: number;
|
|
351
364
|
lon: number;
|
|
352
|
-
name
|
|
365
|
+
name?: string;
|
|
353
366
|
/**
|
|
354
367
|
* This is only used location that a user has saved. Can be either:
|
|
355
|
-
*
|
|
368
|
+
* One of: 'home', 'work', 'stop' or 'recent'
|
|
356
369
|
*/
|
|
357
|
-
type?: string;
|
|
358
|
-
|
|
370
|
+
type?: "home" | "work" | "stop" | "recent" | string;
|
|
371
|
+
category?: string;
|
|
372
|
+
/**
|
|
373
|
+
* This represents the last time that this location was selected in a
|
|
374
|
+
* search
|
|
375
|
+
*/
|
|
376
|
+
timestamp?: number;
|
|
377
|
+
main?: string;
|
|
378
|
+
secondary?: string;
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* Alias for a commonly used basic type
|
|
382
|
+
*/
|
|
383
|
+
export declare type LatLngArray = [number, number];
|
|
359
384
|
/**
|
|
360
385
|
* Describes a transit stop entity to be rendered on the map.
|
|
361
386
|
*/
|
|
362
|
-
export
|
|
387
|
+
export declare type StopLayerStop = LayerEntity & {
|
|
363
388
|
name: string;
|
|
364
|
-
}
|
|
389
|
+
};
|
|
365
390
|
/**
|
|
391
|
+
* This models data about a stop and it's associated routes that is obtained
|
|
392
|
+
* from a transit index API.
|
|
393
|
+
*/
|
|
394
|
+
export declare type Stop = {
|
|
395
|
+
/**
|
|
396
|
+
* The stop code if the stop has one
|
|
397
|
+
*/
|
|
398
|
+
code?: string;
|
|
399
|
+
dist?: number;
|
|
400
|
+
lat: number;
|
|
401
|
+
lon: number;
|
|
402
|
+
name: string;
|
|
403
|
+
routes?: Route[];
|
|
404
|
+
};
|
|
405
|
+
export declare type Agency = {
|
|
406
|
+
id: string;
|
|
407
|
+
name?: string;
|
|
408
|
+
url?: string;
|
|
409
|
+
timezone?: string;
|
|
410
|
+
lang?: string;
|
|
411
|
+
phone?: string;
|
|
412
|
+
fareUrl?: string;
|
|
413
|
+
};
|
|
414
|
+
export declare type Route = {
|
|
415
|
+
agency: Agency;
|
|
416
|
+
agencyId?: string | number;
|
|
417
|
+
agencyName?: string | number;
|
|
418
|
+
shortName: string;
|
|
419
|
+
longName?: string;
|
|
420
|
+
mode?: string;
|
|
421
|
+
id: string;
|
|
422
|
+
type?: number;
|
|
423
|
+
color?: string;
|
|
424
|
+
textColor?: string;
|
|
425
|
+
routeBikesAllowed?: ZeroOrOne;
|
|
426
|
+
bikesAllowed?: ZeroOrOne;
|
|
427
|
+
sortOrder: number;
|
|
428
|
+
eligibilityRestricted?: ZeroOrOne;
|
|
429
|
+
sortOrderSet: boolean;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* Used to help display the time of day within the context of a particular itinerary.
|
|
366
433
|
* Describes time options, including time format and timezone-related offset.
|
|
434
|
+
* @deprecated
|
|
435
|
+
*/
|
|
436
|
+
export declare type TimeOptions = {
|
|
437
|
+
/**
|
|
438
|
+
* A format string template to be used to display a date using moment.js
|
|
439
|
+
*/
|
|
440
|
+
format: string;
|
|
441
|
+
offset: number;
|
|
442
|
+
};
|
|
443
|
+
export declare type TransitivePlace = {
|
|
444
|
+
placeId: string;
|
|
445
|
+
type: string;
|
|
446
|
+
};
|
|
447
|
+
export declare type TransitiveJourney = {
|
|
448
|
+
journey_id: string;
|
|
449
|
+
journey_name: string;
|
|
450
|
+
segments: {
|
|
451
|
+
arc?: boolean;
|
|
452
|
+
from: TransitivePlace;
|
|
453
|
+
patterns?: {
|
|
454
|
+
pattern_id: string;
|
|
455
|
+
from_stop_index: number;
|
|
456
|
+
to_stop_index: number;
|
|
457
|
+
}[];
|
|
458
|
+
streetEdges: number[];
|
|
459
|
+
to: TransitivePlace;
|
|
460
|
+
type: string;
|
|
461
|
+
}[];
|
|
462
|
+
};
|
|
463
|
+
export declare type TransitivePattern = {
|
|
464
|
+
pattern_id: string;
|
|
465
|
+
pattern_name: string;
|
|
466
|
+
route_id: string;
|
|
467
|
+
stops: {
|
|
468
|
+
geometry?: string;
|
|
469
|
+
stop_id: string;
|
|
470
|
+
}[];
|
|
471
|
+
};
|
|
472
|
+
export declare type TransitiveRoute = {
|
|
473
|
+
agency_id: string;
|
|
474
|
+
route_id: string;
|
|
475
|
+
route_short_name: string;
|
|
476
|
+
route_long_name: string;
|
|
477
|
+
route_type: number;
|
|
478
|
+
route_color?: string;
|
|
479
|
+
};
|
|
480
|
+
export declare type TransitiveStop = {
|
|
481
|
+
stop_id: string;
|
|
482
|
+
stop_name: string;
|
|
483
|
+
stop_lat: number;
|
|
484
|
+
stop_lon: number;
|
|
485
|
+
};
|
|
486
|
+
export declare type TransitiveStreetEdge = {
|
|
487
|
+
edge_id: number;
|
|
488
|
+
geometry: EncodedPolyline;
|
|
489
|
+
};
|
|
490
|
+
export declare type TransitiveData = {
|
|
491
|
+
journeys: TransitiveJourney[];
|
|
492
|
+
patterns: TransitivePattern[];
|
|
493
|
+
places: TransitivePlace[];
|
|
494
|
+
routes: TransitiveRoute[];
|
|
495
|
+
stops: TransitiveStop[];
|
|
496
|
+
streetEdges: TransitiveStreetEdge[];
|
|
497
|
+
};
|
|
498
|
+
export declare type Station = {
|
|
499
|
+
bikesAvailable?: number;
|
|
500
|
+
id: string;
|
|
501
|
+
isFloatingBike?: boolean;
|
|
502
|
+
isFloatingCar?: boolean;
|
|
503
|
+
isFloatingVehicle?: boolean;
|
|
504
|
+
name?: string;
|
|
505
|
+
networks: string[];
|
|
506
|
+
spacesAvailable?: number;
|
|
507
|
+
x: number;
|
|
508
|
+
y: number;
|
|
509
|
+
};
|
|
510
|
+
export declare type ModeOption = {
|
|
511
|
+
id: string;
|
|
512
|
+
selected?: boolean;
|
|
513
|
+
showTitle?: boolean;
|
|
514
|
+
text: JSX.Element;
|
|
515
|
+
title?: string;
|
|
516
|
+
};
|
|
517
|
+
export declare type ModeSelectorOptions = {
|
|
518
|
+
primary: ModeOption;
|
|
519
|
+
secondary?: ModeOption[];
|
|
520
|
+
tertiary?: ModeOption[];
|
|
521
|
+
};
|
|
522
|
+
export declare type ConfiguredMode = string | {
|
|
523
|
+
mode: string;
|
|
524
|
+
label: string;
|
|
525
|
+
company?: string;
|
|
526
|
+
};
|
|
527
|
+
export declare type ConfiguredModes = {
|
|
528
|
+
transitModes: ConfiguredMode[];
|
|
529
|
+
accessModes: ConfiguredMode[];
|
|
530
|
+
exlcusiveModes: ConfiguredMode[];
|
|
531
|
+
bicycleModes: ConfiguredMode[];
|
|
532
|
+
micromobilityModes: ConfiguredMode[];
|
|
533
|
+
};
|
|
534
|
+
export declare type ConfiguredCompany = {
|
|
535
|
+
/**
|
|
536
|
+
* The id of the company. This is typically in all-caps.
|
|
537
|
+
*/
|
|
538
|
+
id: string;
|
|
539
|
+
/**
|
|
540
|
+
* A human readable text value that can be displayed to users.
|
|
541
|
+
*/
|
|
542
|
+
label: string;
|
|
543
|
+
/**
|
|
544
|
+
* A comma-separated list of applicable modes of travel that the company
|
|
545
|
+
* offers.
|
|
546
|
+
*/
|
|
547
|
+
modes: string;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Depending on the geocoder that is used, more properties than just the `label`
|
|
551
|
+
* property might be provided by the geocoder. For example, with the Pelias
|
|
552
|
+
* geocoder, properties such as `id`, `layer`, `source` are also included.
|
|
553
|
+
*/
|
|
554
|
+
export declare type GeocodedFeature = {
|
|
555
|
+
geometry: {
|
|
556
|
+
coordinates: LatLngArray;
|
|
557
|
+
type: string;
|
|
558
|
+
};
|
|
559
|
+
properties: {
|
|
560
|
+
label: string;
|
|
561
|
+
layer?: string;
|
|
562
|
+
source?: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
export declare type TncFare = {
|
|
566
|
+
maxTNCFare: number;
|
|
567
|
+
minTNCFare: number;
|
|
568
|
+
tncCurrencyCode: string;
|
|
569
|
+
};
|
|
570
|
+
export declare type UserPosition = {
|
|
571
|
+
coords?: {
|
|
572
|
+
latitude: number;
|
|
573
|
+
longitude: number;
|
|
574
|
+
};
|
|
575
|
+
error?: {
|
|
576
|
+
message: string;
|
|
577
|
+
} | string;
|
|
578
|
+
fetching?: boolean;
|
|
579
|
+
};
|
|
580
|
+
/**
|
|
581
|
+
* Describes a user location such as "home", "work" etc.
|
|
582
|
+
*/
|
|
583
|
+
export interface UserLocation extends Location {
|
|
584
|
+
icon?: string;
|
|
585
|
+
id?: string;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Associates a location with a type string.
|
|
589
|
+
*/
|
|
590
|
+
export interface UserLocationAndType {
|
|
591
|
+
location: UserLocation;
|
|
592
|
+
type: string;
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* Parameters for "clear location" event handlers.
|
|
596
|
+
*/
|
|
597
|
+
export interface ClearLocationArg {
|
|
598
|
+
locationType: string;
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Parameters for location actions/event handlers.
|
|
367
602
|
*/
|
|
368
|
-
export interface
|
|
369
|
-
|
|
370
|
-
|
|
603
|
+
export interface MapLocationActionArg {
|
|
604
|
+
location: UserLocation;
|
|
605
|
+
locationType: string;
|
|
606
|
+
reverseGeocode?: boolean;
|
|
371
607
|
}
|
|
372
608
|
/**
|
|
373
609
|
* Supports leg icons for itinerary body and printable itinerary.
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,wBAAwB;IAChC,MAAM,EAAE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AC;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH;;;GAGG;AACH,oBAAY,YAAY,GAAG,MAAM,CAC/B,MAAM,EACN;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,YAAY,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CACtD,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -5,21 +5,23 @@
|
|
|
5
5
|
|
|
6
6
|
import React, { FunctionComponent, ReactElement } from "react";
|
|
7
7
|
|
|
8
|
+
type ZeroOrOne = 0 | 1;
|
|
9
|
+
|
|
8
10
|
/**
|
|
9
11
|
* Shape for a transportation company.
|
|
10
12
|
*/
|
|
11
|
-
export
|
|
13
|
+
export type Company = {
|
|
12
14
|
id: string;
|
|
13
15
|
label: string;
|
|
14
16
|
/** a comma-separated string listing the modes that this company has */
|
|
15
17
|
modes: string;
|
|
16
|
-
}
|
|
18
|
+
};
|
|
17
19
|
|
|
18
20
|
/**
|
|
19
21
|
* Describes some options to help display data about a transit agency that is
|
|
20
22
|
* configured in an opentripplanner instance.
|
|
21
23
|
*/
|
|
22
|
-
export
|
|
24
|
+
export type TransitOperator = {
|
|
23
25
|
agencyId: string;
|
|
24
26
|
defaultRouteColor?: string;
|
|
25
27
|
defaultRouteTextColor?: string;
|
|
@@ -28,21 +30,21 @@ export interface TransitOperator {
|
|
|
28
30
|
longNameSplitter?: string;
|
|
29
31
|
name?: string;
|
|
30
32
|
order?: number;
|
|
31
|
-
}
|
|
33
|
+
};
|
|
32
34
|
|
|
33
35
|
/**
|
|
34
36
|
* Describes a map entity to be rendered.
|
|
35
37
|
*/
|
|
36
|
-
export
|
|
38
|
+
export type LayerEntity = {
|
|
37
39
|
id: string;
|
|
38
40
|
lat: number;
|
|
39
41
|
lon: number;
|
|
40
|
-
}
|
|
42
|
+
};
|
|
41
43
|
|
|
42
|
-
|
|
44
|
+
type SymbolComponentBaseProps = {
|
|
43
45
|
entity: LayerEntity;
|
|
44
46
|
zoom: number;
|
|
45
|
-
}
|
|
47
|
+
};
|
|
46
48
|
|
|
47
49
|
/**
|
|
48
50
|
* The symbol-representing component to draw; with the signature
|
|
@@ -55,7 +57,7 @@ type SymbolComponent = React.ComponentType<SymbolComponentBaseProps>;
|
|
|
55
57
|
* Defines which symbol to render based on a zoom level; and optionally by entity type.
|
|
56
58
|
* (Only one symbol is rendered for any zoom level.)
|
|
57
59
|
*/
|
|
58
|
-
export
|
|
60
|
+
export type ZoomBasedSymbol = {
|
|
59
61
|
/**
|
|
60
62
|
* A function with the signature (entity: object) => string
|
|
61
63
|
* that determines the type of an entity.
|
|
@@ -82,12 +84,12 @@ export interface ZoomBasedSymbol {
|
|
|
82
84
|
symbolByType?: {
|
|
83
85
|
[name: string]: SymbolComponent;
|
|
84
86
|
};
|
|
85
|
-
}
|
|
87
|
+
};
|
|
86
88
|
|
|
87
89
|
/**
|
|
88
90
|
* Describes the objects from the real-time vehicle service.
|
|
89
91
|
*/
|
|
90
|
-
export
|
|
92
|
+
export type TransitVehicle = {
|
|
91
93
|
routeShortName?: string;
|
|
92
94
|
routeLongName?: string;
|
|
93
95
|
routeType?: string;
|
|
@@ -105,7 +107,7 @@ export interface TransitVehicle {
|
|
|
105
107
|
lat?: number;
|
|
106
108
|
lon?: number;
|
|
107
109
|
heading?: number;
|
|
108
|
-
}
|
|
110
|
+
};
|
|
109
111
|
|
|
110
112
|
export type VehicleRentalMapOverlaySymbol =
|
|
111
113
|
| {
|
|
@@ -122,13 +124,14 @@ export type VehicleRentalMapOverlaySymbol =
|
|
|
122
124
|
*
|
|
123
125
|
* Note: this is an incomplete type mapping.
|
|
124
126
|
*/
|
|
125
|
-
export
|
|
127
|
+
export type Config = {
|
|
126
128
|
companies?: Company[];
|
|
127
129
|
dateTime: {
|
|
128
130
|
timeFormat?: string;
|
|
129
131
|
dateFormat?: string;
|
|
130
132
|
longDateFormat?: string;
|
|
131
133
|
};
|
|
134
|
+
modes: ConfiguredModes;
|
|
132
135
|
// TODO: add full typing
|
|
133
136
|
map?: {
|
|
134
137
|
overlays?: {
|
|
@@ -164,36 +167,36 @@ export interface Config {
|
|
|
164
167
|
}[];
|
|
165
168
|
};
|
|
166
169
|
transitOperators?: TransitOperator[];
|
|
167
|
-
}
|
|
170
|
+
};
|
|
168
171
|
|
|
169
|
-
|
|
172
|
+
type FeedScopedId = {
|
|
170
173
|
agencyId?: string;
|
|
171
174
|
id?: string;
|
|
172
|
-
}
|
|
175
|
+
};
|
|
173
176
|
|
|
174
|
-
export
|
|
177
|
+
export type EncodedPolyline = {
|
|
175
178
|
length: number;
|
|
176
179
|
points: string;
|
|
177
|
-
}
|
|
180
|
+
};
|
|
178
181
|
|
|
179
|
-
type ElevationData = {
|
|
182
|
+
export type ElevationData = {
|
|
180
183
|
first: number;
|
|
181
184
|
second: number;
|
|
182
185
|
}[];
|
|
183
186
|
|
|
184
|
-
export
|
|
187
|
+
export type Alert = {
|
|
185
188
|
alertHeaderText?: string;
|
|
186
189
|
alertDescriptionText?: string;
|
|
187
190
|
alertUrl?: string;
|
|
188
191
|
effectiveStartDate?: number;
|
|
189
|
-
}
|
|
192
|
+
};
|
|
190
193
|
|
|
191
194
|
/**
|
|
192
195
|
* Represents steps in a leg in an itinerary of an OTP plan response. These are
|
|
193
196
|
* only for non-transit modes.
|
|
194
197
|
* See documentation here: http://otp-docs.ibi-transit.com/api/json_WalkStep.html
|
|
195
198
|
*/
|
|
196
|
-
export
|
|
199
|
+
export type Step = {
|
|
197
200
|
absoluteDirection?: string;
|
|
198
201
|
alerts?: Alert[];
|
|
199
202
|
area: boolean;
|
|
@@ -205,12 +208,12 @@ export interface Step {
|
|
|
205
208
|
relativeDirection: string;
|
|
206
209
|
stayOn: boolean;
|
|
207
210
|
streetName: string;
|
|
208
|
-
}
|
|
211
|
+
};
|
|
209
212
|
|
|
210
213
|
/**
|
|
211
214
|
* Describe an origin, destination, or intermediate location in an itinerary.
|
|
212
215
|
*/
|
|
213
|
-
export
|
|
216
|
+
export type Place = {
|
|
214
217
|
address?: string;
|
|
215
218
|
arrival?: number;
|
|
216
219
|
bikeShareId?: string;
|
|
@@ -225,31 +228,32 @@ export interface Place {
|
|
|
225
228
|
stopSequence?: number;
|
|
226
229
|
vertexType: string;
|
|
227
230
|
zoneId?: string;
|
|
228
|
-
}
|
|
231
|
+
};
|
|
229
232
|
|
|
230
233
|
/**
|
|
231
234
|
* Holds contact info and lead time for flex transit bookings.
|
|
232
235
|
* The information is optional and is for reminding the end-user
|
|
233
236
|
* of any advance reservations required prior to travel.
|
|
234
237
|
*/
|
|
235
|
-
export
|
|
238
|
+
export type FlexBookingInfo = {
|
|
236
239
|
contactInfo?: {
|
|
237
240
|
phoneNumber: string;
|
|
238
241
|
};
|
|
239
242
|
latestBookingTime?: {
|
|
240
243
|
daysPrior: number;
|
|
241
244
|
};
|
|
242
|
-
|
|
245
|
+
message?: string;
|
|
246
|
+
};
|
|
243
247
|
|
|
244
248
|
/** Dropoff-specific flex booking information */
|
|
245
|
-
|
|
249
|
+
type FlexDropOffBookingInfo = {
|
|
246
250
|
dropOffMessage?: string;
|
|
247
|
-
}
|
|
251
|
+
} & FlexBookingInfo;
|
|
248
252
|
|
|
249
253
|
/** Pickup-specific flex booking information */
|
|
250
|
-
|
|
254
|
+
type FlexPickupBookingInfo = {
|
|
251
255
|
pickupMessage?: string;
|
|
252
|
-
}
|
|
256
|
+
} & FlexBookingInfo;
|
|
253
257
|
|
|
254
258
|
/**
|
|
255
259
|
* Represents a leg in an itinerary of an OTP plan response. Each leg represents
|
|
@@ -258,7 +262,7 @@ interface FlexPickupBookingInfo extends FlexBookingInfo {
|
|
|
258
262
|
* documentation here:
|
|
259
263
|
* http://otp-docs.ibi-transit.com/api/json_Leg.html
|
|
260
264
|
*/
|
|
261
|
-
export
|
|
265
|
+
export type Leg = {
|
|
262
266
|
accessibilityScore?: number;
|
|
263
267
|
agencyBrandingUrl?: string;
|
|
264
268
|
agencyId?: string;
|
|
@@ -266,6 +270,8 @@ export interface Leg {
|
|
|
266
270
|
agencyTimeZoneOffset: number;
|
|
267
271
|
agencyUrl?: string;
|
|
268
272
|
alerts?: Alert[];
|
|
273
|
+
boardRule?: string;
|
|
274
|
+
alightRule?: string;
|
|
269
275
|
arrivalDelay: number;
|
|
270
276
|
averageWait?: number;
|
|
271
277
|
departureDelay: number;
|
|
@@ -311,12 +317,12 @@ export interface Leg {
|
|
|
311
317
|
tripBlockId?: string;
|
|
312
318
|
tripId?: string;
|
|
313
319
|
walkingBike?: boolean;
|
|
314
|
-
}
|
|
320
|
+
};
|
|
315
321
|
|
|
316
322
|
/**
|
|
317
323
|
* Describes the cost of an itinerary leg.
|
|
318
324
|
*/
|
|
319
|
-
|
|
325
|
+
export type Money = {
|
|
320
326
|
cents: number;
|
|
321
327
|
currency: {
|
|
322
328
|
defaultFractionDigits: number;
|
|
@@ -324,13 +330,23 @@ interface Money {
|
|
|
324
330
|
symbol: string;
|
|
325
331
|
currency: string;
|
|
326
332
|
};
|
|
327
|
-
}
|
|
333
|
+
};
|
|
328
334
|
|
|
329
335
|
/**
|
|
330
336
|
* Describes a fare id or route to which a fare applies.
|
|
331
337
|
*/
|
|
332
338
|
type ApplicableId = string | FeedScopedId;
|
|
333
339
|
|
|
340
|
+
export type FareDetail = {
|
|
341
|
+
fareId?: ApplicableId;
|
|
342
|
+
isTransfer?: boolean;
|
|
343
|
+
legIndex?: number;
|
|
344
|
+
price: Money;
|
|
345
|
+
routes?: ApplicableId[];
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
export type FareDetails = Record<string, FareDetail[]>;
|
|
349
|
+
|
|
334
350
|
/**
|
|
335
351
|
* Represents the fare component of an itinerary of an OTP plan response. See
|
|
336
352
|
* detailed documentation in OTP webservice documentation here:
|
|
@@ -339,25 +355,17 @@ type ApplicableId = string | FeedScopedId;
|
|
|
339
355
|
* NOTE: so far the fare includes ONLY a fare encountered on public transit and
|
|
340
356
|
* not any bike rental or TNC rental fees.
|
|
341
357
|
*/
|
|
342
|
-
export
|
|
343
|
-
details
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
price: Money;
|
|
347
|
-
routes: ApplicableId[];
|
|
348
|
-
}[];
|
|
349
|
-
};
|
|
350
|
-
fare?: {
|
|
351
|
-
[name: string]: Money;
|
|
352
|
-
};
|
|
353
|
-
}
|
|
358
|
+
export type Fare = {
|
|
359
|
+
details?: FareDetails;
|
|
360
|
+
fare?: Record<string, Money>;
|
|
361
|
+
};
|
|
354
362
|
|
|
355
363
|
/**
|
|
356
364
|
* Represents an itinerary of an OTP plan response. See detailed documentation
|
|
357
365
|
* in OTP webservice documentation here:
|
|
358
366
|
* http://otp-docs.ibi-transit.com/api/json_Itinerary.html
|
|
359
367
|
*/
|
|
360
|
-
export
|
|
368
|
+
export type Itinerary = {
|
|
361
369
|
duration: number;
|
|
362
370
|
elevationGained: number;
|
|
363
371
|
elevationLost: number;
|
|
@@ -372,35 +380,295 @@ export interface Itinerary {
|
|
|
372
380
|
walkDistance: number;
|
|
373
381
|
walkLimitExceeded: boolean;
|
|
374
382
|
walkTime: number;
|
|
375
|
-
}
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
export type ElevationProfile = {
|
|
386
|
+
maxElev: number;
|
|
387
|
+
minElev: number;
|
|
388
|
+
points: number[];
|
|
389
|
+
traversed: number;
|
|
390
|
+
gain: number;
|
|
391
|
+
loss: number;
|
|
392
|
+
};
|
|
376
393
|
|
|
377
394
|
/**
|
|
378
395
|
* Used to model a location that is used in planning a trip.
|
|
379
396
|
*/
|
|
380
|
-
export
|
|
397
|
+
export type Location = {
|
|
381
398
|
lat: number;
|
|
382
399
|
lon: number;
|
|
383
|
-
name
|
|
400
|
+
name?: string;
|
|
384
401
|
/**
|
|
385
402
|
* This is only used location that a user has saved. Can be either:
|
|
386
|
-
*
|
|
403
|
+
* One of: 'home', 'work', 'stop' or 'recent'
|
|
387
404
|
*/
|
|
388
|
-
type?: string;
|
|
389
|
-
|
|
405
|
+
type?: "home" | "work" | "stop" | "recent" | string;
|
|
406
|
+
category?: string;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* This represents the last time that this location was selected in a
|
|
410
|
+
* search
|
|
411
|
+
*/
|
|
412
|
+
timestamp?: number;
|
|
413
|
+
|
|
414
|
+
/* Sometimes used for displaying subinfo */
|
|
415
|
+
main?: string;
|
|
416
|
+
secondary?: string;
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Alias for a commonly used basic type
|
|
421
|
+
*/
|
|
422
|
+
export type LatLngArray = [number, number];
|
|
390
423
|
|
|
391
424
|
/**
|
|
392
425
|
* Describes a transit stop entity to be rendered on the map.
|
|
393
426
|
*/
|
|
394
|
-
export
|
|
427
|
+
export type StopLayerStop = LayerEntity & {
|
|
395
428
|
name: string;
|
|
396
|
-
}
|
|
429
|
+
};
|
|
397
430
|
|
|
398
431
|
/**
|
|
432
|
+
* This models data about a stop and it's associated routes that is obtained
|
|
433
|
+
* from a transit index API.
|
|
434
|
+
*/
|
|
435
|
+
export type Stop = {
|
|
436
|
+
/**
|
|
437
|
+
* The stop code if the stop has one
|
|
438
|
+
*/
|
|
439
|
+
code?: string;
|
|
440
|
+
dist?: number;
|
|
441
|
+
lat: number;
|
|
442
|
+
lon: number;
|
|
443
|
+
name: string;
|
|
444
|
+
routes?: Route[];
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
export type Agency = {
|
|
448
|
+
id: string;
|
|
449
|
+
name?: string;
|
|
450
|
+
url?: string;
|
|
451
|
+
timezone?: string;
|
|
452
|
+
lang?: string;
|
|
453
|
+
phone?: string;
|
|
454
|
+
fareUrl?: string;
|
|
455
|
+
};
|
|
456
|
+
export type Route = {
|
|
457
|
+
agency: Agency;
|
|
458
|
+
agencyId?: string | number;
|
|
459
|
+
agencyName?: string | number;
|
|
460
|
+
shortName: string;
|
|
461
|
+
longName?: string;
|
|
462
|
+
mode?: string;
|
|
463
|
+
id: string;
|
|
464
|
+
// TS TODO: route type enum
|
|
465
|
+
type?: number;
|
|
466
|
+
color?: string;
|
|
467
|
+
textColor?: string;
|
|
468
|
+
routeBikesAllowed?: ZeroOrOne;
|
|
469
|
+
bikesAllowed?: ZeroOrOne;
|
|
470
|
+
sortOrder: number;
|
|
471
|
+
eligibilityRestricted?: ZeroOrOne;
|
|
472
|
+
sortOrderSet: boolean;
|
|
473
|
+
};
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Used to help display the time of day within the context of a particular itinerary.
|
|
399
477
|
* Describes time options, including time format and timezone-related offset.
|
|
478
|
+
* @deprecated
|
|
479
|
+
*/
|
|
480
|
+
export type TimeOptions = {
|
|
481
|
+
/**
|
|
482
|
+
* A format string template to be used to display a date using moment.js
|
|
483
|
+
*/
|
|
484
|
+
format: string;
|
|
485
|
+
/*
|
|
486
|
+
* The timezone offset in milliseconds if any should be added. This is
|
|
487
|
+
* typically calculated using the itinerary.js#getTimeZoneOffset function.
|
|
488
|
+
*/
|
|
489
|
+
offset: number;
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
export type TransitivePlace = {
|
|
493
|
+
placeId: string;
|
|
494
|
+
type: string;
|
|
495
|
+
};
|
|
496
|
+
export type TransitiveJourney = {
|
|
497
|
+
journey_id: string;
|
|
498
|
+
journey_name: string;
|
|
499
|
+
segments: {
|
|
500
|
+
arc?: boolean;
|
|
501
|
+
from: TransitivePlace;
|
|
502
|
+
patterns?: {
|
|
503
|
+
pattern_id: string;
|
|
504
|
+
from_stop_index: number;
|
|
505
|
+
to_stop_index: number;
|
|
506
|
+
}[];
|
|
507
|
+
streetEdges: number[];
|
|
508
|
+
to: TransitivePlace;
|
|
509
|
+
type: string;
|
|
510
|
+
}[];
|
|
511
|
+
};
|
|
512
|
+
export type TransitivePattern = {
|
|
513
|
+
pattern_id: string;
|
|
514
|
+
pattern_name: string;
|
|
515
|
+
route_id: string;
|
|
516
|
+
stops: {
|
|
517
|
+
geometry?: string;
|
|
518
|
+
stop_id: string;
|
|
519
|
+
}[];
|
|
520
|
+
};
|
|
521
|
+
export type TransitiveRoute = {
|
|
522
|
+
agency_id: string;
|
|
523
|
+
route_id: string;
|
|
524
|
+
route_short_name: string;
|
|
525
|
+
route_long_name: string;
|
|
526
|
+
route_type: number;
|
|
527
|
+
route_color?: string;
|
|
528
|
+
};
|
|
529
|
+
export type TransitiveStop = {
|
|
530
|
+
stop_id: string;
|
|
531
|
+
stop_name: string;
|
|
532
|
+
stop_lat: number;
|
|
533
|
+
stop_lon: number;
|
|
534
|
+
};
|
|
535
|
+
|
|
536
|
+
export type TransitiveStreetEdge = {
|
|
537
|
+
edge_id: number;
|
|
538
|
+
geometry: EncodedPolyline;
|
|
539
|
+
};
|
|
540
|
+
|
|
541
|
+
export type TransitiveData = {
|
|
542
|
+
journeys: TransitiveJourney[];
|
|
543
|
+
patterns: TransitivePattern[];
|
|
544
|
+
places: TransitivePlace[];
|
|
545
|
+
routes: TransitiveRoute[];
|
|
546
|
+
stops: TransitiveStop[];
|
|
547
|
+
streetEdges: TransitiveStreetEdge[];
|
|
548
|
+
};
|
|
549
|
+
|
|
550
|
+
export type Station = {
|
|
551
|
+
bikesAvailable?: number;
|
|
552
|
+
id: string;
|
|
553
|
+
isFloatingBike?: boolean;
|
|
554
|
+
isFloatingCar?: boolean;
|
|
555
|
+
isFloatingVehicle?: boolean;
|
|
556
|
+
name?: string;
|
|
557
|
+
networks: string[];
|
|
558
|
+
spacesAvailable?: number;
|
|
559
|
+
// TS TODO coordinate type
|
|
560
|
+
x: number;
|
|
561
|
+
y: number;
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
export type ModeOption = {
|
|
565
|
+
id: string;
|
|
566
|
+
selected?: boolean;
|
|
567
|
+
showTitle?: boolean;
|
|
568
|
+
text: JSX.Element;
|
|
569
|
+
title?: string;
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
export type ModeSelectorOptions = {
|
|
573
|
+
primary: ModeOption;
|
|
574
|
+
secondary?: ModeOption[];
|
|
575
|
+
tertiary?: ModeOption[];
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
export type ConfiguredMode =
|
|
579
|
+
| string
|
|
580
|
+
| {
|
|
581
|
+
mode: string;
|
|
582
|
+
label: string;
|
|
583
|
+
company?: string;
|
|
584
|
+
};
|
|
585
|
+
|
|
586
|
+
export type ConfiguredModes = {
|
|
587
|
+
transitModes: ConfiguredMode[];
|
|
588
|
+
accessModes: ConfiguredMode[];
|
|
589
|
+
exlcusiveModes: ConfiguredMode[];
|
|
590
|
+
bicycleModes: ConfiguredMode[];
|
|
591
|
+
micromobilityModes: ConfiguredMode[];
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
export type ConfiguredCompany = {
|
|
595
|
+
/**
|
|
596
|
+
* The id of the company. This is typically in all-caps.
|
|
597
|
+
*/
|
|
598
|
+
id: string;
|
|
599
|
+
/**
|
|
600
|
+
* A human readable text value that can be displayed to users.
|
|
601
|
+
*/
|
|
602
|
+
label: string;
|
|
603
|
+
/**
|
|
604
|
+
* A comma-separated list of applicable modes of travel that the company
|
|
605
|
+
* offers.
|
|
606
|
+
*/
|
|
607
|
+
modes: string;
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Depending on the geocoder that is used, more properties than just the `label`
|
|
612
|
+
* property might be provided by the geocoder. For example, with the Pelias
|
|
613
|
+
* geocoder, properties such as `id`, `layer`, `source` are also included.
|
|
614
|
+
*/
|
|
615
|
+
export type GeocodedFeature = {
|
|
616
|
+
geometry: {
|
|
617
|
+
coordinates: LatLngArray;
|
|
618
|
+
type: string;
|
|
619
|
+
};
|
|
620
|
+
properties: {
|
|
621
|
+
label: string;
|
|
622
|
+
layer?: string;
|
|
623
|
+
source?: string;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
export type TncFare = {
|
|
628
|
+
maxTNCFare: number;
|
|
629
|
+
minTNCFare: number;
|
|
630
|
+
tncCurrencyCode: string;
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
export type UserPosition = {
|
|
634
|
+
coords?: {
|
|
635
|
+
latitude: number;
|
|
636
|
+
longitude: number;
|
|
637
|
+
};
|
|
638
|
+
error?: { message: string } | string;
|
|
639
|
+
fetching?: boolean;
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Describes a user location such as "home", "work" etc.
|
|
644
|
+
*/
|
|
645
|
+
export interface UserLocation extends Location {
|
|
646
|
+
icon?: string;
|
|
647
|
+
id?: string;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Associates a location with a type string.
|
|
652
|
+
*/
|
|
653
|
+
export interface UserLocationAndType {
|
|
654
|
+
location: UserLocation;
|
|
655
|
+
type: string;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Parameters for "clear location" event handlers.
|
|
660
|
+
*/
|
|
661
|
+
export interface ClearLocationArg {
|
|
662
|
+
locationType: string;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* Parameters for location actions/event handlers.
|
|
400
667
|
*/
|
|
401
|
-
export interface
|
|
402
|
-
|
|
403
|
-
|
|
668
|
+
export interface MapLocationActionArg {
|
|
669
|
+
location: UserLocation;
|
|
670
|
+
locationType: string;
|
|
671
|
+
reverseGeocode?: boolean;
|
|
404
672
|
}
|
|
405
673
|
|
|
406
674
|
/**
|
package/tsconfig.tsbuildinfo
CHANGED
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
"affectsGlobalScope": true
|
|
183
183
|
},
|
|
184
184
|
"./src/index.ts": {
|
|
185
|
-
"version": "
|
|
186
|
-
"signature": "
|
|
185
|
+
"version": "d7d36d1f8e64b5fb88c50bb648c10c5b1c8f9d00067b26961c6a7356c5586140",
|
|
186
|
+
"signature": "f647d8c48bc7bfe71ed6aa59b8a00080d3040099679881519a730a99330175e3",
|
|
187
187
|
"affectsGlobalScope": false
|
|
188
188
|
},
|
|
189
189
|
"../../node_modules/@babel/types/lib/index.d.ts": {
|
|
@@ -241,16 +241,16 @@
|
|
|
241
241
|
"signature": "117ffeecf6c55e25b6446f449ad079029b5e7317399b0a693858faaaea5ca73e",
|
|
242
242
|
"affectsGlobalScope": false
|
|
243
243
|
},
|
|
244
|
+
"../../node_modules/@types/estree/index.d.ts": {
|
|
245
|
+
"version": "7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db",
|
|
246
|
+
"signature": "7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db",
|
|
247
|
+
"affectsGlobalScope": false
|
|
248
|
+
},
|
|
244
249
|
"../../node_modules/@types/flat/index.d.ts": {
|
|
245
250
|
"version": "d9890ea8f1da57be3c2e2d3627b787cd4b4a463fd1747c823a0de24b240c8fe5",
|
|
246
251
|
"signature": "d9890ea8f1da57be3c2e2d3627b787cd4b4a463fd1747c823a0de24b240c8fe5",
|
|
247
252
|
"affectsGlobalScope": false
|
|
248
253
|
},
|
|
249
|
-
"../../node_modules/@types/geojson/index.d.ts": {
|
|
250
|
-
"version": "8c2e6e491e1a08855b8bf70820184ff66ae0d43f7cf0311fc680e6d860af211c",
|
|
251
|
-
"signature": "8c2e6e491e1a08855b8bf70820184ff66ae0d43f7cf0311fc680e6d860af211c",
|
|
252
|
-
"affectsGlobalScope": false
|
|
253
|
-
},
|
|
254
254
|
"../../node_modules/@types/node/assert/strict.d.ts": {
|
|
255
255
|
"version": "c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",
|
|
256
256
|
"signature": "c7bdc99177a2a94d25fb13722adaaf5b3291bf70b4d1b27584ba189dd3889ba3",
|
|
@@ -511,6 +511,16 @@
|
|
|
511
511
|
"signature": "30368d3789ec56ef3006c5f2115bd00faa21471aed6cbe6fec54a5683e5497ed",
|
|
512
512
|
"affectsGlobalScope": false
|
|
513
513
|
},
|
|
514
|
+
"../../node_modules/@types/fs-extra/index.d.ts": {
|
|
515
|
+
"version": "6435575b4feae200831d37df9f871de6e695c64d3148611fe1b4d714d648ea24",
|
|
516
|
+
"signature": "6435575b4feae200831d37df9f871de6e695c64d3148611fe1b4d714d648ea24",
|
|
517
|
+
"affectsGlobalScope": false
|
|
518
|
+
},
|
|
519
|
+
"../../node_modules/@types/geojson/index.d.ts": {
|
|
520
|
+
"version": "8c2e6e491e1a08855b8bf70820184ff66ae0d43f7cf0311fc680e6d860af211c",
|
|
521
|
+
"signature": "8c2e6e491e1a08855b8bf70820184ff66ae0d43f7cf0311fc680e6d860af211c",
|
|
522
|
+
"affectsGlobalScope": false
|
|
523
|
+
},
|
|
514
524
|
"../../node_modules/@types/minimatch/index.d.ts": {
|
|
515
525
|
"version": "95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2",
|
|
516
526
|
"signature": "95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2",
|
|
@@ -1076,6 +1086,11 @@
|
|
|
1076
1086
|
"signature": "3a1e165b22a1cb8df82c44c9a09502fd2b33f160cd277de2cd3a055d8e5c6b27",
|
|
1077
1087
|
"affectsGlobalScope": false
|
|
1078
1088
|
},
|
|
1089
|
+
"../../node_modules/@types/json-stable-stringify/index.d.ts": {
|
|
1090
|
+
"version": "626520302b2c8880e9eaa3a6a12022cc8b577a32e4d903aef85e3dd275063da4",
|
|
1091
|
+
"signature": "626520302b2c8880e9eaa3a6a12022cc8b577a32e4d903aef85e3dd275063da4",
|
|
1092
|
+
"affectsGlobalScope": false
|
|
1093
|
+
},
|
|
1079
1094
|
"../../node_modules/@types/json5/index.d.ts": {
|
|
1080
1095
|
"version": "96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538",
|
|
1081
1096
|
"signature": "96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538",
|
|
@@ -1354,6 +1369,10 @@
|
|
|
1354
1369
|
"../../node_modules/@types/color-convert/route.d.ts": [
|
|
1355
1370
|
"../../node_modules/@types/color-convert/conversions.d.ts"
|
|
1356
1371
|
],
|
|
1372
|
+
"../../node_modules/@types/fs-extra/index.d.ts": [
|
|
1373
|
+
"../../node_modules/@types/node/fs.d.ts",
|
|
1374
|
+
"../../node_modules/@types/node/index.d.ts"
|
|
1375
|
+
],
|
|
1357
1376
|
"../../node_modules/@types/glob/index.d.ts": [
|
|
1358
1377
|
"../../node_modules/@types/minimatch/index.d.ts",
|
|
1359
1378
|
"../../node_modules/@types/node/events.d.ts",
|
|
@@ -2201,6 +2220,10 @@
|
|
|
2201
2220
|
"../../node_modules/@types/color-convert/route.d.ts": [
|
|
2202
2221
|
"../../node_modules/@types/color-convert/conversions.d.ts"
|
|
2203
2222
|
],
|
|
2223
|
+
"../../node_modules/@types/fs-extra/index.d.ts": [
|
|
2224
|
+
"../../node_modules/@types/node/fs.d.ts",
|
|
2225
|
+
"../../node_modules/@types/node/index.d.ts"
|
|
2226
|
+
],
|
|
2204
2227
|
"../../node_modules/@types/glob/index.d.ts": [
|
|
2205
2228
|
"../../node_modules/@types/minimatch/index.d.ts",
|
|
2206
2229
|
"../../node_modules/@types/node/events.d.ts",
|
|
@@ -3029,7 +3052,9 @@
|
|
|
3029
3052
|
"../../node_modules/@types/color-convert/route.d.ts",
|
|
3030
3053
|
"../../node_modules/@types/color-name/index.d.ts",
|
|
3031
3054
|
"../../node_modules/@types/cookie/index.d.ts",
|
|
3055
|
+
"../../node_modules/@types/estree/index.d.ts",
|
|
3032
3056
|
"../../node_modules/@types/flat/index.d.ts",
|
|
3057
|
+
"../../node_modules/@types/fs-extra/index.d.ts",
|
|
3033
3058
|
"../../node_modules/@types/geojson/index.d.ts",
|
|
3034
3059
|
"../../node_modules/@types/glob/index.d.ts",
|
|
3035
3060
|
"../../node_modules/@types/graceful-fs/index.d.ts",
|
|
@@ -3069,6 +3094,7 @@
|
|
|
3069
3094
|
"../../node_modules/@types/jest/node_modules/pretty-format/build/types.d.ts",
|
|
3070
3095
|
"../../node_modules/@types/js-levenshtein/index.d.ts",
|
|
3071
3096
|
"../../node_modules/@types/json-schema/index.d.ts",
|
|
3097
|
+
"../../node_modules/@types/json-stable-stringify/index.d.ts",
|
|
3072
3098
|
"../../node_modules/@types/json5/index.d.ts",
|
|
3073
3099
|
"../../node_modules/@types/mdast/index.d.ts",
|
|
3074
3100
|
"../../node_modules/@types/minimatch/index.d.ts",
|