@opentripplanner/core-utils 11.4.0 → 11.4.2-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 (49) 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/otpSchema.json +13373 -0
  12. package/lib/planQuery.graphql +281 -0
  13. package/lib/query-gen.d.ts +3 -1
  14. package/lib/query-gen.d.ts.map +1 -1
  15. package/lib/query-gen.js +6 -2
  16. package/lib/query-gen.js.map +1 -1
  17. package/lib/routes.json +107 -0
  18. package/lib/suspense.js +26 -0
  19. package/lib/suspense.js.map +1 -0
  20. package/lib/tnc-itinerary.json +1726 -0
  21. package/package.json +2 -2
  22. package/src/otpSchema.json +10 -0
  23. package/src/planQuery.graphql +2 -0
  24. package/src/query-gen.ts +7 -1
  25. package/esm/graphql.d.js +0 -2
  26. package/esm/graphql.d.js.map +0 -1
  27. package/esm/index.js +0 -24
  28. package/esm/index.js.map +0 -1
  29. package/esm/itinerary.js +0 -688
  30. package/esm/itinerary.js.map +0 -1
  31. package/esm/map.js +0 -53
  32. package/esm/map.js.map +0 -1
  33. package/esm/profile.js +0 -172
  34. package/esm/profile.js.map +0 -1
  35. package/esm/query-gen.js +0 -231
  36. package/esm/query-gen.js.map +0 -1
  37. package/esm/query-params.js +0 -786
  38. package/esm/query-params.js.map +0 -1
  39. package/esm/query.js +0 -538
  40. package/esm/query.js.map +0 -1
  41. package/esm/route.js +0 -460
  42. package/esm/route.js.map +0 -1
  43. package/esm/storage.js +0 -46
  44. package/esm/storage.js.map +0 -1
  45. package/esm/time.js +0 -94
  46. package/esm/time.js.map +0 -1
  47. package/esm/ui.js +0 -48
  48. package/esm/ui.js.map +0 -1
  49. 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
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  };
@@ -1 +1 @@
1
- {"version":3,"file":"core-utils.story.d.ts","sourceRoot":"","sources":["../src/core-utils.story.tsx"],"names":[],"mappings":";;;;AAIA,wBAEE;AA2BF,eAAO,MAAM,gBAAgB;QAAO,WAAW;;;;;;;;;;;;;;CAkB9C,CAAC"}
1
+ {"version":3,"file":"core-utils.story.d.ts","sourceRoot":"","sources":["../src/core-utils.story.tsx"],"names":[],"mappings":";;;AAIA,wBAEE;AA2BF,eAAO,MAAM,gBAAgB;QAAO,WAAW;;;;;;;;;;;;;;CAkB9C,CAAC"}