@opentripplanner/core-utils 11.4.2 → 11.4.3-mobility-profile

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.
Files changed (58) hide show
  1. package/lib/__tests__/__mocks__/bike-rental-itinerary.json +863 -0
  2. package/lib/__tests__/__mocks__/config.json +54 -0
  3. package/lib/__tests__/__mocks__/fare-products-itinerary.json +1299 -0
  4. package/lib/__tests__/__mocks__/routes.json +107 -0
  5. package/lib/__tests__/__mocks__/tnc-itinerary.json +1726 -0
  6. package/lib/bike-rental-itinerary.json +863 -0
  7. package/lib/config.json +54 -0
  8. package/lib/core-utils.story.d.ts +0 -1
  9. package/lib/core-utils.story.d.ts.map +1 -1
  10. package/lib/fare-products-itinerary.json +1299 -0
  11. package/lib/index.d.ts +2 -0
  12. package/lib/index.d.ts.map +1 -1
  13. package/lib/index.js +10 -0
  14. package/lib/index.js.map +1 -1
  15. package/lib/otpSchema.json +13383 -0
  16. package/lib/planQuery.graphql +283 -0
  17. package/lib/query-gen.d.ts +2 -1
  18. package/lib/query-gen.d.ts.map +1 -1
  19. package/lib/query-gen.js +5 -3
  20. package/lib/query-gen.js.map +1 -1
  21. package/lib/routes.json +107 -0
  22. package/lib/suspense.d.ts +8 -0
  23. package/lib/suspense.d.ts.map +1 -0
  24. package/lib/suspense.js +26 -0
  25. package/lib/suspense.js.map +1 -0
  26. package/lib/tnc-itinerary.json +1726 -0
  27. package/package.json +1 -1
  28. package/src/index.ts +2 -0
  29. package/src/otpSchema.json +10 -0
  30. package/src/planQuery.graphql +2 -0
  31. package/src/query-gen.ts +5 -2
  32. package/src/suspense.tsx +19 -0
  33. package/tsconfig.json +1 -2
  34. package/esm/graphql.d.js +0 -2
  35. package/esm/graphql.d.js.map +0 -1
  36. package/esm/index.js +0 -24
  37. package/esm/index.js.map +0 -1
  38. package/esm/itinerary.js +0 -688
  39. package/esm/itinerary.js.map +0 -1
  40. package/esm/map.js +0 -53
  41. package/esm/map.js.map +0 -1
  42. package/esm/profile.js +0 -172
  43. package/esm/profile.js.map +0 -1
  44. package/esm/query-gen.js +0 -233
  45. package/esm/query-gen.js.map +0 -1
  46. package/esm/query-params.js +0 -786
  47. package/esm/query-params.js.map +0 -1
  48. package/esm/query.js +0 -538
  49. package/esm/query.js.map +0 -1
  50. package/esm/route.js +0 -460
  51. package/esm/route.js.map +0 -1
  52. package/esm/storage.js +0 -46
  53. package/esm/storage.js.map +0 -1
  54. package/esm/time.js +0 -94
  55. package/esm/time.js.map +0 -1
  56. package/esm/ui.js +0 -48
  57. package/esm/ui.js.map +0 -1
  58. package/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,54 @@
1
+ {
2
+ "homeTimezone": "America/New_York",
3
+ "routingTypes": [
4
+ {
5
+ "key": "ITINERARY",
6
+ "text": "Exact Time"
7
+ }
8
+ ],
9
+ "modes": {
10
+ "transitModes": [
11
+ {
12
+ "mode": "BUS",
13
+ "label": "Bus"
14
+ },
15
+ {
16
+ "mode": "RAIL",
17
+ "label": "Rail"
18
+ },
19
+ {
20
+ "mode": "SUBWAY",
21
+ "label": "Subway"
22
+ },
23
+ {
24
+ "mode": "TRAM",
25
+ "label": "Trolleys"
26
+ }
27
+ ],
28
+ "accessModes": [
29
+ {
30
+ "mode": "BICYCLE",
31
+ "label": "Transit + Personal bike"
32
+ },
33
+ {
34
+ "mode": "BICYCLE_RENT",
35
+ "label": "Transit + Bikeshare"
36
+ }
37
+ ],
38
+ "exclusiveModes": ["WALK", "BICYCLE"],
39
+ "bicycleModes": [
40
+ {
41
+ "mode": "BICYCLE",
42
+ "label": "Own Bike"
43
+ },
44
+ {
45
+ "mode": "BICYCLE_RENT",
46
+ "label": "Bikeshare"
47
+ }
48
+ ]
49
+ },
50
+ "dateTime": {
51
+ "timeFormat": "h:mm a",
52
+ "dateFormat": "MM/DD/YYYY"
53
+ }
54
+ }