@opentripplanner/core-utils 13.0.0-alpha.4 → 13.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/README.md +0 -4
- package/esm/__mocks__/fake-route-data.story.json +5425 -0
- package/esm/__mocks__/fake-transit-operators.story.json +97 -0
- package/esm/__tests__/__mocks__/routes.json +234 -105
- package/esm/itinerary.js +4 -2
- package/esm/itinerary.js.map +1 -1
- package/esm/otpSchema.json +0 -12
- package/esm/profile.js +1 -1
- package/esm/profile.js.map +1 -1
- package/esm/query-gen.js +2 -4
- package/esm/query-gen.js.map +1 -1
- package/esm/query.js +1 -4
- package/esm/query.js.map +1 -1
- package/esm/route.js +36 -21
- package/esm/route.js.map +1 -1
- package/esm/routes.json +234 -105
- package/esm/storage.js +2 -6
- package/esm/storage.js.map +1 -1
- package/esm/time.js +10 -0
- package/esm/time.js.map +1 -1
- package/lib/__mocks__/fake-route-data.story.json +5425 -0
- package/lib/__mocks__/fake-transit-operators.story.json +97 -0
- package/lib/__tests__/__mocks__/routes.json +234 -105
- package/lib/itinerary.d.ts.map +1 -1
- package/lib/itinerary.js +4 -2
- package/lib/itinerary.js.map +1 -1
- package/lib/otpSchema.json +0 -12
- package/lib/profile.js +1 -1
- package/lib/profile.js.map +1 -1
- package/lib/query-gen.js +2 -2
- package/lib/query-gen.js.map +1 -1
- package/lib/query.js +1 -4
- package/lib/query.js.map +1 -1
- package/lib/route.d.ts +35 -1
- package/lib/route.d.ts.map +1 -1
- package/lib/route.js +38 -17
- package/lib/route.js.map +1 -1
- package/lib/storage.d.ts.map +1 -1
- package/lib/storage.js +2 -6
- package/lib/storage.js.map +1 -1
- package/lib/time.d.ts +7 -0
- package/lib/time.d.ts.map +1 -1
- package/lib/time.js +10 -1
- package/lib/time.js.map +1 -1
- package/package.json +4 -4
- package/src/__mocks__/fake-route-data.story.json +5425 -0
- package/src/__mocks__/fake-transit-operators.story.json +97 -0
- package/src/__snapshots__/core-utils.story.tsx.snap +8382 -0
- package/src/__tests__/__mocks__/routes.json +234 -105
- package/src/__tests__/__snapshots__/route.js.snap +285 -95
- package/src/__tests__/route.js +27 -55
- package/src/core-utils.story.tsx +201 -2
- package/src/itinerary.ts +3 -2
- package/src/otpSchema.json +0 -12
- package/src/profile.js +1 -1
- package/src/query-gen.ts +2 -2
- package/src/query.js +1 -4
- package/src/route.ts +41 -21
- package/src/storage.ts +5 -9
- package/src/time.ts +9 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"fakeTransitOperators": [
|
|
3
|
+
{
|
|
4
|
+
"feedId": "kcm",
|
|
5
|
+
"agencyId": "kcm:23",
|
|
6
|
+
"name": "City of Seattle",
|
|
7
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_4_City_of_Seattle.png"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"feedId": "CommTrans",
|
|
11
|
+
"agencyId": "CommTrans:29",
|
|
12
|
+
"name": "Community Transit",
|
|
13
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_community_transit.png"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"feedId": "97",
|
|
17
|
+
"agencyId": "97:97",
|
|
18
|
+
"name": "Everett Transit",
|
|
19
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_Everett_Transit.png"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"feedId": "19",
|
|
23
|
+
"agencyId": "19:0",
|
|
24
|
+
"name": "Intercity Transit",
|
|
25
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/intercity_transit_logo.jpg"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"feedId": "kcm",
|
|
29
|
+
"agencyId": "kcm:1",
|
|
30
|
+
"name": "King County Metro",
|
|
31
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_kcm.png"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"feedId": "Kitsap",
|
|
35
|
+
"agencyId": "Kitsap:kt",
|
|
36
|
+
"name": "Kitsap Transit",
|
|
37
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_Kitsap_Transit.png",
|
|
38
|
+
"order": 2
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"feedId": "3",
|
|
42
|
+
"agencyId": "3:3",
|
|
43
|
+
"name": "Pierce Transit",
|
|
44
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_pierce_transit.png"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"feedId": "Skagit",
|
|
48
|
+
"agencyId": "Skagit:e0e4541a-2714-487b-b30c-f5c6cb4a310f",
|
|
49
|
+
"name": "Skagit Transit",
|
|
50
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_Skagit.png"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"feedId": "96",
|
|
54
|
+
"agencyId": "96:96",
|
|
55
|
+
"name": "Seattle Center Monorail",
|
|
56
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_seattle_monorail.png"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"feedId": "40",
|
|
60
|
+
"agencyId": "40:40",
|
|
61
|
+
"name": "Sound Transit",
|
|
62
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_sound_transit.png",
|
|
63
|
+
"order": 1
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"feedId": "CommTrans",
|
|
67
|
+
"agencyId": "CommTrans:40",
|
|
68
|
+
"name": "Sound Transit",
|
|
69
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_sound_transit.png"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"feedId": "kcm",
|
|
73
|
+
"agencyId": "kcm:40",
|
|
74
|
+
"name": "Sound Transit",
|
|
75
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_sound_transit.png"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"feedId": "3",
|
|
79
|
+
"agencyId": "3:40",
|
|
80
|
+
"name": "Sound Transit",
|
|
81
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_sound_transit.png",
|
|
82
|
+
"order": 1
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"feedId": "95",
|
|
86
|
+
"agencyId": "95:95",
|
|
87
|
+
"name": "Washington State Ferries",
|
|
88
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_wash_state_ferry.png"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"feedId": "Whatcom",
|
|
92
|
+
"agencyId": "Whatcom:14",
|
|
93
|
+
"name": "Whatcom Transportation Authority",
|
|
94
|
+
"logo": "https://s3.amazonaws.com/datatools-production/branding/agency_2_wta.png"
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|