@opentripplanner/core-utils 11.2.3-mobility-profile → 11.2.4

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.
@@ -1,720 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`query-params getCustomQueryParams should return queryParams with customizations 1`] = `
4
- Array [
5
- Object {
6
- "default": null,
7
- "itineraryRewrite": [Function],
8
- "name": "from",
9
- "profileRewrite": [Function],
10
- "routingTypes": Array [
11
- "ITINERARY",
12
- "PROFILE",
13
- ],
14
- },
15
- Object {
16
- "default": null,
17
- "itineraryRewrite": [Function],
18
- "name": "to",
19
- "profileRewrite": [Function],
20
- "routingTypes": Array [
21
- "ITINERARY",
22
- "PROFILE",
23
- ],
24
- },
25
- Object {
26
- "default": [Function],
27
- "name": "date",
28
- "routingTypes": Array [
29
- "ITINERARY",
30
- "PROFILE",
31
- ],
32
- },
33
- Object {
34
- "default": [Function],
35
- "name": "time",
36
- "routingTypes": Array [
37
- "ITINERARY",
38
- ],
39
- },
40
- Object {
41
- "default": "NOW",
42
- "itineraryRewrite": [Function],
43
- "name": "departArrive",
44
- "routingTypes": Array [
45
- "ITINERARY",
46
- ],
47
- },
48
- Object {
49
- "default": "07:00",
50
- "name": "startTime",
51
- "routingTypes": Array [
52
- "PROFILE",
53
- ],
54
- },
55
- Object {
56
- "default": "09:00",
57
- "name": "endTime",
58
- "routingTypes": Array [
59
- "PROFILE",
60
- ],
61
- },
62
- Object {
63
- "default": "WALK,TRANSIT",
64
- "name": "mode",
65
- "profileRewrite": [Function],
66
- "routingTypes": Array [
67
- "ITINERARY",
68
- "PROFILE",
69
- ],
70
- },
71
- Object {
72
- "default": true,
73
- "name": "showIntermediateStops",
74
- "routingTypes": Array [
75
- "ITINERARY",
76
- ],
77
- },
78
- Object {
79
- "applicable": [Function],
80
- "default": 1609,
81
- "label": "Max Walk Distance In Meters",
82
- "name": "maxWalkDistance",
83
- "options": Array [
84
- Object {
85
- "text": "200 m",
86
- "value": 200,
87
- },
88
- Object {
89
- "text": "500 m",
90
- "value": 500,
91
- },
92
- ],
93
- "routingTypes": Array [
94
- "ITINERARY",
95
- ],
96
- "selector": "DROPDOWN",
97
- },
98
- Object {
99
- "applicable": [Function],
100
- "default": 4828,
101
- "itineraryRewrite": [Function],
102
- "label": "Maximum Bike",
103
- "name": "maxBikeDistance",
104
- "options": Array [
105
- Object {
106
- "text": "1/4 mile",
107
- "value": 402.3,
108
- },
109
- Object {
110
- "text": "1/2 mile",
111
- "value": 804.7,
112
- },
113
- Object {
114
- "text": "3/4 mile",
115
- "value": 1207,
116
- },
117
- Object {
118
- "text": "1 mile",
119
- "value": 1609,
120
- },
121
- Object {
122
- "text": "2 miles",
123
- "value": 3219,
124
- },
125
- Object {
126
- "text": "3 miles",
127
- "value": 4828,
128
- },
129
- Object {
130
- "text": "5 miles",
131
- "value": 8047,
132
- },
133
- Object {
134
- "text": "10 miles",
135
- "value": 16093,
136
- },
137
- Object {
138
- "text": "20 miles",
139
- "value": 32187,
140
- },
141
- Object {
142
- "text": "30 miles",
143
- "value": 48280,
144
- },
145
- ],
146
- "routingTypes": Array [
147
- "ITINERARY",
148
- ],
149
- "selector": "DROPDOWN",
150
- },
151
- Object {
152
- "applicable": [Function],
153
- "default": "QUICK",
154
- "label": "Optimize for",
155
- "name": "optimize",
156
- "options": Array [
157
- Object {
158
- "text": "Speed",
159
- "value": "QUICK",
160
- },
161
- Object {
162
- "text": "Fewest Transfers",
163
- "value": "TRANSFERS",
164
- },
165
- ],
166
- "routingTypes": Array [
167
- "ITINERARY",
168
- ],
169
- "selector": "DROPDOWN",
170
- },
171
- Object {
172
- "applicable": [Function],
173
- "default": "SAFE",
174
- "itineraryRewrite": [Function],
175
- "label": "Optimize for",
176
- "name": "optimizeBike",
177
- "options": [Function],
178
- "routingTypes": Array [
179
- "ITINERARY",
180
- ],
181
- "selector": "DROPDOWN",
182
- },
183
- Object {
184
- "applicable": [Function],
185
- "default": 15,
186
- "label": "Max Walk Time",
187
- "name": "maxWalkTime",
188
- "options": Array [
189
- Object {
190
- "text": "5 minutes",
191
- "value": 5,
192
- },
193
- Object {
194
- "text": "10 minutes",
195
- "value": 10,
196
- },
197
- Object {
198
- "text": "15 minutes",
199
- "value": 15,
200
- },
201
- Object {
202
- "text": "20 minutes",
203
- "value": 20,
204
- },
205
- Object {
206
- "text": "30 minutes",
207
- "value": 30,
208
- },
209
- Object {
210
- "text": "45 minutes",
211
- "value": 45,
212
- },
213
- Object {
214
- "text": "1 hour",
215
- "value": 60,
216
- },
217
- ],
218
- "routingTypes": Array [
219
- "PROFILE",
220
- ],
221
- "selector": "DROPDOWN",
222
- },
223
- Object {
224
- "applicable": [Function],
225
- "high": 10,
226
- "label": "walk reluctance",
227
- "labelHigh": "More Transit",
228
- "labelLow": "More Walking",
229
- "low": 1,
230
- "name": "walkReluctance",
231
- "routingTypes": Array [
232
- "ITINERARY",
233
- "PROFILE",
234
- ],
235
- "selector": "SLIDER",
236
- "step": 0.5,
237
- },
238
- Object {
239
- "applicable": [Function],
240
- "default": 20,
241
- "label": "Max Bike Time",
242
- "name": "maxBikeTime",
243
- "options": Array [
244
- Object {
245
- "text": "5 minutes",
246
- "value": 5,
247
- },
248
- Object {
249
- "text": "10 minutes",
250
- "value": 10,
251
- },
252
- Object {
253
- "text": "15 minutes",
254
- "value": 15,
255
- },
256
- Object {
257
- "text": "20 minutes",
258
- "value": 20,
259
- },
260
- Object {
261
- "text": "30 minutes",
262
- "value": 30,
263
- },
264
- Object {
265
- "text": "45 minutes",
266
- "value": 45,
267
- },
268
- Object {
269
- "text": "1 hour",
270
- "value": 60,
271
- },
272
- ],
273
- "routingTypes": Array [
274
- "PROFILE",
275
- ],
276
- "selector": "DROPDOWN",
277
- },
278
- Object {
279
- "applicable": [Function],
280
- "default": 3.58,
281
- "label": "Bicycle Speed",
282
- "name": "bikeSpeed",
283
- "options": Array [
284
- Object {
285
- "text": "6 MPH",
286
- "value": 2.68,
287
- },
288
- Object {
289
- "text": "8 MPH",
290
- "value": 3.58,
291
- },
292
- Object {
293
- "text": "10 MPH",
294
- "value": 4.47,
295
- },
296
- Object {
297
- "text": "12 MPH",
298
- "value": 5.36,
299
- },
300
- ],
301
- "routingTypes": Array [
302
- "ITINERARY",
303
- "PROFILE",
304
- ],
305
- "selector": "DROPDOWN",
306
- },
307
- Object {
308
- "applicable": [Function],
309
- "default": 4828,
310
- "itineraryRewrite": [Function],
311
- "label": "Maximum E-scooter Distance",
312
- "name": "maxEScooterDistance",
313
- "options": Array [
314
- Object {
315
- "text": "1/4 mile",
316
- "value": 402.3,
317
- },
318
- Object {
319
- "text": "1/2 mile",
320
- "value": 804.7,
321
- },
322
- Object {
323
- "text": "3/4 mile",
324
- "value": 1207,
325
- },
326
- Object {
327
- "text": "1 mile",
328
- "value": 1609,
329
- },
330
- Object {
331
- "text": "2 miles",
332
- "value": 3219,
333
- },
334
- Object {
335
- "text": "3 miles",
336
- "value": 4828,
337
- },
338
- Object {
339
- "text": "5 miles",
340
- "value": 8047,
341
- },
342
- Object {
343
- "text": "10 miles",
344
- "value": 16093,
345
- },
346
- Object {
347
- "text": "20 miles",
348
- "value": 32187,
349
- },
350
- Object {
351
- "text": "30 miles",
352
- "value": 48280,
353
- },
354
- ],
355
- "routingTypes": Array [
356
- "ITINERARY",
357
- ],
358
- "selector": "DROPDOWN",
359
- },
360
- Object {
361
- "applicable": [Function],
362
- "default": 250,
363
- "itineraryRewrite": [Function],
364
- "label": "E-scooter Power",
365
- "name": "watts",
366
- "options": Array [
367
- Object {
368
- "text": "Kid's hoverboard (6mph)",
369
- "value": 125,
370
- },
371
- Object {
372
- "text": "Entry-level scooter (11mph)",
373
- "value": 250,
374
- },
375
- Object {
376
- "text": "Robust E-scooter (18mph)",
377
- "value": 500,
378
- },
379
- Object {
380
- "text": "Powerful E-scooter (24mph)",
381
- "value": 1500,
382
- },
383
- ],
384
- "routingTypes": Array [
385
- "ITINERARY",
386
- "PROFILE",
387
- ],
388
- "selector": "DROPDOWN",
389
- },
390
- Object {
391
- "default": false,
392
- "name": "ignoreRealtimeUpdates",
393
- "routingTypes": Array [
394
- "ITINERARY",
395
- ],
396
- },
397
- Object {
398
- "name": "companies",
399
- "routingTypes": Array [
400
- "ITINERARY",
401
- ],
402
- },
403
- Object {
404
- "applicable": [Function],
405
- "default": false,
406
- "icon": <ForwardRef(Wheelchair) />,
407
- "label": "Prefer Wheelchair Accessible Routes",
408
- "name": "wheelchair",
409
- "routingTypes": Array [
410
- "ITINERARY",
411
- "PROFILE",
412
- ],
413
- "selector": "CHECKBOX",
414
- },
415
- Object {
416
- "name": "bannedRoutes",
417
- "routingTypes": Array [
418
- "ITINERARY",
419
- ],
420
- },
421
- Object {
422
- "default": 3,
423
- "name": "numItineraries",
424
- "routingTypes": Array [
425
- "ITINERARY",
426
- ],
427
- },
428
- Object {
429
- "default": Array [],
430
- "itineraryRewrite": [Function],
431
- "name": "intermediatePlaces",
432
- "routingTypes": Array [
433
- "ITINERARY",
434
- ],
435
- },
436
- Object {
437
- "default": 900,
438
- "name": "otherThanPreferredRoutesPenalty",
439
- "routingTypes": Array [
440
- "ITINERARY",
441
- ],
442
- },
443
- Object {
444
- "name": "preferredRoutes",
445
- "routingTypes": Array [
446
- "ITINERARY",
447
- ],
448
- },
449
- Object {
450
- "name": "maxPreTransitTime",
451
- "routingTypes": Array [
452
- "ITINERARY",
453
- ],
454
- },
455
- Object {
456
- "name": "waitReluctance",
457
- "routingTypes": Array [
458
- "ITINERARY",
459
- ],
460
- },
461
- Object {
462
- "name": "driveDistanceReluctance",
463
- "routingTypes": Array [
464
- "ITINERARY",
465
- ],
466
- },
467
- Object {
468
- "name": "driveTimeReluctance",
469
- "routingTypes": Array [
470
- "ITINERARY",
471
- ],
472
- },
473
- Object {
474
- "name": "waitAtBeginningFactor",
475
- "routingTypes": Array [
476
- "ITINERARY",
477
- ],
478
- },
479
- Object {
480
- "name": "bikeSwitchTime",
481
- "routingTypes": Array [
482
- "ITINERARY",
483
- ],
484
- },
485
- Object {
486
- "name": "bikeSwitchCost",
487
- "routingTypes": Array [
488
- "ITINERARY",
489
- ],
490
- },
491
- Object {
492
- "name": "minTransferTime",
493
- "routingTypes": Array [
494
- "ITINERARY",
495
- ],
496
- },
497
- Object {
498
- "name": "preferredAgencies",
499
- "routingTypes": Array [
500
- "ITINERARY",
501
- ],
502
- },
503
- Object {
504
- "name": "unpreferredRoutes",
505
- "routingTypes": Array [
506
- "ITINERARY",
507
- ],
508
- },
509
- Object {
510
- "name": "unpreferredAgencies",
511
- "routingTypes": Array [
512
- "ITINERARY",
513
- ],
514
- },
515
- Object {
516
- "name": "walkBoardCost",
517
- "routingTypes": Array [
518
- "ITINERARY",
519
- ],
520
- },
521
- Object {
522
- "name": "bikeBoardCost",
523
- "routingTypes": Array [
524
- "ITINERARY",
525
- ],
526
- },
527
- Object {
528
- "name": "whiteListedRoutes",
529
- "routingTypes": Array [
530
- "ITINERARY",
531
- ],
532
- },
533
- Object {
534
- "name": "bannedAgencies",
535
- "routingTypes": Array [
536
- "ITINERARY",
537
- ],
538
- },
539
- Object {
540
- "name": "whiteListedAgencies",
541
- "routingTypes": Array [
542
- "ITINERARY",
543
- ],
544
- },
545
- Object {
546
- "name": "bannedTrips",
547
- "routingTypes": Array [
548
- "ITINERARY",
549
- ],
550
- },
551
- Object {
552
- "name": "bannedStops",
553
- "routingTypes": Array [
554
- "ITINERARY",
555
- ],
556
- },
557
- Object {
558
- "name": "bannedStopsHard",
559
- "routingTypes": Array [
560
- "ITINERARY",
561
- ],
562
- },
563
- Object {
564
- "name": "transferPenalty",
565
- "routingTypes": Array [
566
- "ITINERARY",
567
- ],
568
- },
569
- Object {
570
- "name": "nonpreferredTransferPenalty",
571
- "routingTypes": Array [
572
- "ITINERARY",
573
- ],
574
- },
575
- Object {
576
- "name": "maxTransfers",
577
- "routingTypes": Array [
578
- "ITINERARY",
579
- ],
580
- },
581
- Object {
582
- "name": "batch",
583
- "routingTypes": Array [
584
- "ITINERARY",
585
- ],
586
- },
587
- Object {
588
- "name": "startTransitStopId",
589
- "routingTypes": Array [
590
- "ITINERARY",
591
- ],
592
- },
593
- Object {
594
- "name": "startTransitTripId",
595
- "routingTypes": Array [
596
- "ITINERARY",
597
- ],
598
- },
599
- Object {
600
- "name": "clampInitialWait",
601
- "routingTypes": Array [
602
- "ITINERARY",
603
- ],
604
- },
605
- Object {
606
- "name": "reverseOptimizeOnTheFly",
607
- "routingTypes": Array [
608
- "ITINERARY",
609
- ],
610
- },
611
- Object {
612
- "name": "boardSlack",
613
- "routingTypes": Array [
614
- "ITINERARY",
615
- ],
616
- },
617
- Object {
618
- "name": "alightSlack",
619
- "routingTypes": Array [
620
- "ITINERARY",
621
- ],
622
- },
623
- Object {
624
- "name": "locale",
625
- "routingTypes": Array [
626
- "ITINERARY",
627
- ],
628
- },
629
- Object {
630
- "name": "disableRemainingWeightHeuristic",
631
- "routingTypes": Array [
632
- "ITINERARY",
633
- ],
634
- },
635
- Object {
636
- "name": "flexFlagStopBufferSize",
637
- "routingTypes": Array [
638
- "ITINERARY",
639
- ],
640
- },
641
- Object {
642
- "name": "flexUseReservationServices",
643
- "routingTypes": Array [
644
- "ITINERARY",
645
- ],
646
- },
647
- Object {
648
- "name": "flexUseEligibilityServices",
649
- "routingTypes": Array [
650
- "ITINERARY",
651
- ],
652
- },
653
- Object {
654
- "name": "flexIgnoreDrtAdvanceBookMin",
655
- "routingTypes": Array [
656
- "ITINERARY",
657
- ],
658
- },
659
- Object {
660
- "name": "maxHours",
661
- "routingTypes": Array [
662
- "ITINERARY",
663
- ],
664
- },
665
- Object {
666
- "name": "useRequestedDateTimeInMaxHours",
667
- "routingTypes": Array [
668
- "ITINERARY",
669
- ],
670
- },
671
- Object {
672
- "name": "disableAlertFiltering",
673
- "routingTypes": Array [
674
- "ITINERARY",
675
- ],
676
- },
677
- Object {
678
- "name": "geoidElevation",
679
- "routingTypes": Array [
680
- "ITINERARY",
681
- ],
682
- },
683
- Object {
684
- "name": "invalidDateStrategy",
685
- "routingTypes": Array [
686
- "ITINERARY",
687
- ],
688
- },
689
- Object {
690
- "name": "minTransitDistance",
691
- "routingTypes": Array [
692
- "ITINERARY",
693
- ],
694
- },
695
- Object {
696
- "name": "searchTimeout",
697
- "routingTypes": Array [
698
- "ITINERARY",
699
- ],
700
- },
701
- Object {
702
- "name": "pathComparator",
703
- "routingTypes": Array [
704
- "ITINERARY",
705
- ],
706
- },
707
- Object {
708
- "name": "onlyTransitTrips",
709
- "routingTypes": Array [
710
- "ITINERARY",
711
- ],
712
- },
713
- Object {
714
- "name": "minimumMicromobilitySpeed",
715
- "routingTypes": Array [
716
- "ITINERARY",
717
- ],
718
- },
719
- ]
720
- `;
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=query-params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query-params.d.ts","sourceRoot":"","sources":["../../src/__tests__/query-params.ts"],"names":[],"mappings":""}