@tiducto/spider-sdk-typescript 0.7.0 → 1.1.0
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 +1 -1
- package/dist/contract/routing/Leg.d.ts +3 -0
- package/dist/contract/routing/Leg.d.ts.map +1 -1
- package/dist/contract/routing/PlanConnectionStreamVariables.d.ts +5 -2
- package/dist/contract/routing/PlanConnectionStreamVariables.d.ts.map +1 -1
- package/dist/contract/routing/PlanConnectionVariables.d.ts +3 -0
- package/dist/contract/routing/PlanConnectionVariables.d.ts.map +1 -1
- package/dist/contract/routing/Reliability.d.ts +3 -0
- package/dist/contract/routing/Reliability.d.ts.map +1 -0
- package/dist/contract/routing/Reliability.js +2 -0
- package/dist/contract/routing/Reliability.js.map +1 -0
- package/dist/contract/routing/Route.d.ts +3 -0
- package/dist/contract/routing/Route.d.ts.map +1 -1
- package/dist/contract/routing/Stop.d.ts +2 -0
- package/dist/contract/routing/Stop.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesData.d.ts +3 -3
- package/dist/contract/routing/StopDeparturesData.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesRoute.d.ts +3 -0
- package/dist/contract/routing/StopDeparturesRoute.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesStop.d.ts +1 -5
- package/dist/contract/routing/StopDeparturesStop.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesStop2.d.ts +9 -0
- package/dist/contract/routing/StopDeparturesStop2.d.ts.map +1 -0
- package/dist/contract/routing/StopDeparturesStop2.js +2 -0
- package/dist/contract/routing/StopDeparturesStop2.js.map +1 -0
- package/dist/contract/routing/StopDeparturesStoptime.d.ts +16 -0
- package/dist/contract/routing/StopDeparturesStoptime.d.ts.map +1 -0
- package/dist/contract/routing/StopDeparturesStoptime.js +2 -0
- package/dist/contract/routing/StopDeparturesStoptime.js.map +1 -0
- package/dist/contract/routing/StopDeparturesTrip.d.ts +2 -0
- package/dist/contract/routing/StopDeparturesTrip.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesVariables.d.ts +2 -2
- package/dist/contract/routing/StopDeparturesVariables.d.ts.map +1 -1
- package/dist/contract/routing/Stoptime.d.ts +6 -3
- package/dist/contract/routing/Stoptime.d.ts.map +1 -1
- package/dist/contract/routing/TripRoute.d.ts +3 -0
- package/dist/contract/routing/TripRoute.d.ts.map +1 -1
- package/dist/contract/routing/TripStop.d.ts +2 -0
- package/dist/contract/routing/TripStop.d.ts.map +1 -1
- package/dist/contract/routing/TripTrip.d.ts +4 -2
- package/dist/contract/routing/TripTrip.d.ts.map +1 -1
- package/dist/contract/routing/index.d.ts +3 -1
- package/dist/contract/routing/index.d.ts.map +1 -1
- package/dist/contract.d.ts +0 -1
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +0 -12
- package/dist/contract.js.map +1 -1
- package/dist/contractVersion.d.ts +1 -1
- package/dist/contractVersion.js +1 -1
- package/dist/enums.d.ts +13 -4
- package/dist/enums.d.ts.map +1 -1
- package/dist/enums.js +43 -24
- package/dist/enums.js.map +1 -1
- package/dist/errors.d.ts +30 -10
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +55 -18
- package/dist/errors.js.map +1 -1
- package/dist/http.d.ts +14 -0
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +18 -30
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/location.d.ts +4 -0
- package/dist/location.d.ts.map +1 -1
- package/dist/location.js +4 -0
- package/dist/location.js.map +1 -1
- package/dist/persistedQueries.js +4 -4
- package/dist/realtime.d.ts +6 -2
- package/dist/realtime.d.ts.map +1 -1
- package/dist/realtime.js +21 -14
- package/dist/realtime.js.map +1 -1
- package/dist/routing.d.ts +103 -73
- package/dist/routing.d.ts.map +1 -1
- package/dist/routing.js +156 -145
- package/dist/routing.js.map +1 -1
- package/dist/sdk.d.ts +1 -1
- package/dist/sdkVersion.d.ts +1 -1
- package/dist/sdkVersion.js +1 -1
- package/dist/serviceDate.d.ts +6 -0
- package/dist/serviceDate.d.ts.map +1 -0
- package/dist/serviceDate.js +17 -0
- package/dist/serviceDate.js.map +1 -0
- package/dist/stops.d.ts +12 -1
- package/dist/stops.d.ts.map +1 -1
- package/dist/stops.js +15 -6
- package/dist/stops.js.map +1 -1
- package/package.json +1 -1
- package/dist/contract/routing/TripStoptime.d.ts +0 -13
- package/dist/contract/routing/TripStoptime.d.ts.map +0 -1
- package/dist/contract/routing/TripStoptime.js +0 -2
- package/dist/contract/routing/TripStoptime.js.map +0 -1
package/dist/realtime.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime.js","sourceRoot":"","sources":["../src/realtime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"realtime.js","sourceRoot":"","sources":["../src/realtime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAkE/C,sGAAsG;AACtG,MAAM,UAAU,QAAQ,CAAC,MAAkB,EAAE,MAAc,EAAE,WAAmB;IAC9E,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,KAAK,WAAW,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AC,CAAe;IAC/B,OAAO;QACL,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI;QAChB,KAAK,EAAE,CAAC,CAAC,KAAK,IAAI,IAAI;QACtB,MAAM,EAAE,CAAC,CAAC,MAAM,IAAI,IAAI;QACxB,aAAa,EAAE,CAAC,CAAC,aAAa,IAAI,IAAI;QACtC,UAAU,EAAE,CAAC,CAAC,UAAU,IAAI,IAAI;QAChC,eAAe,EAAE,CAAC,CAAC,eAAe,IAAI,IAAI;QAC1C,GAAG,EAAE,CAAC,CAAC,GAAG,IAAI,IAAI;QAClB,aAAa,EAAE,CAAC,CAAC,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACjD,YAAY,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC;YAClC,UAAU,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC;SAC/B,CAAC,CAAC;QACH,gBAAgB,EAAE,CAAC,CAAC,CAAC,gBAAgB,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACvD,QAAQ,EAAE,CAAC,CAAC,QAAQ,IAAI,IAAI;YAC5B,OAAO,EAAE,CAAC,CAAC,OAAO,IAAI,IAAI;YAC1B,MAAM,EAAE,CAAC,CAAC,MAAM,IAAI,IAAI;YACxB,MAAM,EAAE,CAAC,CAAC,MAAM,IAAI,IAAI;SACzB,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC"}
|
package/dist/routing.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { Transport } from './http.ts';
|
|
2
2
|
import type { SpiderResult } from './result.ts';
|
|
3
3
|
import type { SpiderError } from './errors.ts';
|
|
4
|
-
import type { BikesAllowed, TransitMode, WheelchairBoarding } from './enums.ts';
|
|
4
|
+
import type { BikesAllowed, InputField, RealtimeState, Reliability, RoutingErrorCode, TransitMode, WheelchairBoarding } from './enums.ts';
|
|
5
5
|
import type { Location, ViaLocation } from './location.ts';
|
|
6
|
-
import type { RoutingErrorCode, InputField, RealtimeState } from './contract/routing/index.ts';
|
|
7
6
|
export interface LatLon {
|
|
8
7
|
readonly lat: number;
|
|
9
8
|
readonly lon: number;
|
|
@@ -20,18 +19,34 @@ export interface Leg {
|
|
|
20
19
|
readonly startDelaySeconds: number | null;
|
|
21
20
|
/** Arrival schedule deviation in seconds (positive = late), when known; otherwise null. */
|
|
22
21
|
readonly endDelaySeconds: number | null;
|
|
22
|
+
/** Typical delay in seconds planned onto this leg's arrival at the requested `reliability`; null when none was requested or there is no history. */
|
|
23
|
+
readonly typicalArrivalDelaySeconds: number | null;
|
|
23
24
|
readonly isRealtime: boolean;
|
|
24
25
|
readonly realtimeState: RealtimeState | null;
|
|
25
|
-
/** GTFS service date this leg's trip runs on (`
|
|
26
|
+
/** GTFS service date this leg's trip runs on (ISO `YYYY-MM-DD`) — pass to realtime `delays` lookups. */
|
|
26
27
|
readonly serviceDate: string | null;
|
|
27
28
|
readonly fromName: string | null;
|
|
28
29
|
readonly toName: string | null;
|
|
30
|
+
/** Stop ids of the leg's endpoints; null for a coordinate endpoint. */
|
|
31
|
+
readonly fromGtfsId: string | null;
|
|
32
|
+
readonly toGtfsId: string | null;
|
|
33
|
+
readonly fromPlatformCode: string | null;
|
|
34
|
+
readonly toPlatformCode: string | null;
|
|
35
|
+
readonly fromZoneId: string | null;
|
|
36
|
+
readonly toZoneId: string | null;
|
|
37
|
+
readonly routeGtfsId: string | null;
|
|
29
38
|
readonly routeShortName: string | null;
|
|
30
39
|
readonly routeLongName: string | null;
|
|
40
|
+
/** Route colour as the feed gives it: GTFS hex without `#`, e.g. `FF0000`. */
|
|
41
|
+
readonly routeColor: string | null;
|
|
42
|
+
/** Route text colour as the feed gives it: GTFS hex without `#`, e.g. `FFFFFF`. */
|
|
43
|
+
readonly routeTextColor: string | null;
|
|
31
44
|
readonly headsign: string | null;
|
|
32
45
|
readonly distanceMeters: number | null;
|
|
33
46
|
readonly durationSeconds: number | null;
|
|
34
47
|
readonly tripGtfsId: string | null;
|
|
48
|
+
/** True when the rider stays on board from the previous leg as the vehicle continues as another trip; not counted as a transfer. */
|
|
49
|
+
readonly interlineWithPreviousLeg: boolean;
|
|
35
50
|
readonly bikesAllowed: BikesAllowed | null;
|
|
36
51
|
readonly accessibilityScore: number | null;
|
|
37
52
|
readonly fromWheelchair: WheelchairBoarding | null;
|
|
@@ -61,6 +76,10 @@ export interface RoutePageInfo {
|
|
|
61
76
|
export interface RoutingError {
|
|
62
77
|
readonly code: RoutingErrorCode;
|
|
63
78
|
readonly description: string;
|
|
79
|
+
/**
|
|
80
|
+
* The input the error is about, when there is one. A `LOCATION_NOT_FOUND` names `FROM` (origin), `TO`
|
|
81
|
+
* (destination) or `VIA` (a via stop id the environment doesn't know).
|
|
82
|
+
*/
|
|
64
83
|
readonly inputField: InputField | null;
|
|
65
84
|
}
|
|
66
85
|
export interface Route {
|
|
@@ -71,34 +90,24 @@ export interface Route {
|
|
|
71
90
|
}
|
|
72
91
|
/**
|
|
73
92
|
* One event from {@link SpiderRouting.planStream}. The router sweeps the search window forward and pushes
|
|
74
|
-
* itineraries as
|
|
75
|
-
*
|
|
93
|
+
* finalized itineraries as `result`s; a terminal `done` carries the continuation {@link RoutePageInfo}. A
|
|
94
|
+
* `failure` is terminal and takes the place of the rest.
|
|
76
95
|
*/
|
|
77
96
|
export type PlanStreamEvent = {
|
|
78
97
|
/** A batch of finalized itineraries as the search frontier advances (with realtime delays on their legs). */
|
|
79
|
-
readonly
|
|
80
|
-
/** How far (seconds from the search start) the window has swept. */
|
|
81
|
-
readonly frontierSeconds: number;
|
|
82
|
-
/** Running count of itineraries discovered so far. */
|
|
83
|
-
readonly found: number;
|
|
84
|
-
/** Count of itineraries committed (finalized) so far. */
|
|
85
|
-
readonly finalized: number;
|
|
98
|
+
readonly type: 'result';
|
|
86
99
|
readonly itineraries: readonly Itinerary[];
|
|
87
100
|
} | {
|
|
88
|
-
/**
|
|
89
|
-
|
|
101
|
+
/** Terminal: the continuation cursors, mirroring {@link Route.pageInfo}. Continue with
|
|
102
|
+
* {@link SpiderRouting.planStreamNext} (`endCursor`) or {@link SpiderRouting.planStreamPrevious}
|
|
103
|
+
* (`startCursor`), gated on `hasNextPage` / `hasPreviousPage`. */
|
|
104
|
+
readonly type: 'done';
|
|
90
105
|
readonly pageInfo: RoutePageInfo;
|
|
106
|
+
/** Why the sweep found nothing, mirroring {@link Route.routingErrors}; empty when there is nothing to report. */
|
|
107
|
+
readonly routingErrors: readonly RoutingError[];
|
|
91
108
|
} | {
|
|
92
|
-
/** Terminal
|
|
93
|
-
readonly
|
|
94
|
-
readonly iterations: number;
|
|
95
|
-
readonly windowSeconds: number;
|
|
96
|
-
readonly resultCount: number;
|
|
97
|
-
/** Why the sweep stopped (e.g. `targetResults` or `maxWindow`). */
|
|
98
|
-
readonly stoppedBy: string;
|
|
99
|
-
} | {
|
|
100
|
-
/** Terminal failure — a transport/HTTP problem, a decoding error, or a server `error` event. */
|
|
101
|
-
readonly kind: 'failure';
|
|
109
|
+
/** Terminal failure — a transport/HTTP problem, a decoding error, or a server `error` event (`bad_request` for malformed input). */
|
|
110
|
+
readonly type: 'failure';
|
|
102
111
|
readonly error: SpiderError;
|
|
103
112
|
};
|
|
104
113
|
export interface Departure {
|
|
@@ -106,11 +115,24 @@ export interface Departure {
|
|
|
106
115
|
readonly realtimeTimeEpochMs: number | null;
|
|
107
116
|
readonly isRealtime: boolean;
|
|
108
117
|
readonly realtimeState: RealtimeState | null;
|
|
118
|
+
/** Typical (median) delay in seconds at this stop for this trip on its service date's day type; null when there is no history. */
|
|
119
|
+
readonly typicalDelaySeconds: number | null;
|
|
109
120
|
readonly headsign: string | null;
|
|
110
121
|
readonly tripGtfsId: string | null;
|
|
122
|
+
/** GTFS service date the trip runs on (ISO `YYYY-MM-DD`) — pass it to {@link SpiderRouting.trip} and realtime `delays`. */
|
|
123
|
+
readonly serviceDate: string;
|
|
124
|
+
readonly routeGtfsId: string | null;
|
|
111
125
|
readonly routeShortName: string | null;
|
|
112
126
|
readonly routeLongName: string | null;
|
|
127
|
+
/** Route colour as the feed gives it: GTFS hex without `#`, e.g. `FF0000`. */
|
|
128
|
+
readonly routeColor: string | null;
|
|
129
|
+
/** Route text colour as the feed gives it: GTFS hex without `#`, e.g. `FFFFFF`. */
|
|
130
|
+
readonly routeTextColor: string | null;
|
|
113
131
|
readonly mode: TransitMode | null;
|
|
132
|
+
/** The stop this departure leaves from: the board's own stop, or one of a station's platforms. */
|
|
133
|
+
readonly stopGtfsId: string | null;
|
|
134
|
+
readonly platformCode: string | null;
|
|
135
|
+
readonly wheelchairAccessible: WheelchairBoarding | null;
|
|
114
136
|
}
|
|
115
137
|
export interface TripStop {
|
|
116
138
|
readonly gtfsId: string;
|
|
@@ -122,16 +144,28 @@ export interface TripStop {
|
|
|
122
144
|
readonly realtimeArrivalEpochMs: number | null;
|
|
123
145
|
readonly realtimeDepartureEpochMs: number | null;
|
|
124
146
|
readonly isRealtime: boolean;
|
|
147
|
+
/** Typical (median) delay in seconds at this stop for this trip on its service date's day type; null when there is no history. */
|
|
148
|
+
readonly typicalDelaySeconds: number | null;
|
|
125
149
|
readonly wheelchairBoarding: WheelchairBoarding | null;
|
|
150
|
+
readonly platformCode: string | null;
|
|
151
|
+
readonly zoneId: string | null;
|
|
126
152
|
}
|
|
127
153
|
export interface TripDetails {
|
|
128
154
|
readonly gtfsId: string;
|
|
155
|
+
/** GTFS service date of this trip instance (ISO `YYYY-MM-DD`); null when the trip has no stop times on it. */
|
|
156
|
+
readonly serviceDate: string | null;
|
|
157
|
+
readonly routeGtfsId: string | null;
|
|
129
158
|
readonly routeShortName: string | null;
|
|
130
159
|
readonly routeLongName: string | null;
|
|
160
|
+
/** Route colour as the feed gives it: GTFS hex without `#`, e.g. `FF0000`. */
|
|
161
|
+
readonly routeColor: string | null;
|
|
162
|
+
/** Route text colour as the feed gives it: GTFS hex without `#`, e.g. `FFFFFF`. */
|
|
163
|
+
readonly routeTextColor: string | null;
|
|
131
164
|
readonly mode: TransitMode | null;
|
|
132
165
|
readonly headsign: string | null;
|
|
133
166
|
readonly directionId: string | null;
|
|
134
167
|
readonly bikesAllowed: BikesAllowed | null;
|
|
168
|
+
readonly wheelchairAccessible: WheelchairBoarding | null;
|
|
135
169
|
readonly stops: readonly TripStop[];
|
|
136
170
|
readonly geometry: readonly LatLon[];
|
|
137
171
|
}
|
|
@@ -143,32 +177,22 @@ export interface PlanOptions {
|
|
|
143
177
|
readonly via?: readonly ViaLocation[];
|
|
144
178
|
/** Restrict routing to these transit modes. Undefined/empty = no filter (all modes); WALK/UNKNOWN drop out. */
|
|
145
179
|
readonly allowedTransitModes?: readonly TransitMode[];
|
|
146
|
-
/**
|
|
180
|
+
/** Most transfers in any itinerary (0 = direct only), up to the environment's limit. Undefined = that limit. */
|
|
147
181
|
readonly maxTransfers?: number;
|
|
148
182
|
/**
|
|
149
|
-
* Search window in minutes (default 60). Always sent, deliberately not
|
|
150
|
-
* window — predictable cost + paging. Widen for sparse/intercity routes.
|
|
183
|
+
* Search window in minutes (default 60), up to the environment's limit. Always sent, deliberately not a
|
|
184
|
+
* dynamic route-dependent window — predictable cost + paging. Widen for sparse/intercity routes.
|
|
151
185
|
*/
|
|
152
186
|
readonly searchWindowMinutes?: number;
|
|
153
187
|
/** Prefer wheelchair-accessible routing. */
|
|
154
188
|
readonly wheelchairAccessible?: boolean;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
export interface PlanStreamOptions extends PlanOptions {
|
|
158
|
-
/** Stop once ~this many itineraries have been collected (soft — the window that reaches it is yielded whole). */
|
|
159
|
-
readonly targetResults?: number;
|
|
160
|
-
/** Stop after stepping through this much total time (default 360 = 6h). `searchWindowMinutes` is the step size. */
|
|
161
|
-
readonly maxTraversalMinutes?: number;
|
|
162
|
-
}
|
|
163
|
-
/** Bounds for the streaming continuations `planNextUntil` / `planPreviousUntil` (the step is fixed from `prev`). */
|
|
164
|
-
export interface PlanStreamPageOptions {
|
|
165
|
-
readonly targetResults?: number;
|
|
166
|
-
readonly maxTraversalMinutes?: number;
|
|
189
|
+
/** Plan arrivals with typical delays at this level. Undefined = plan on the timetable. */
|
|
190
|
+
readonly reliability?: Reliability;
|
|
167
191
|
}
|
|
168
192
|
/**
|
|
169
|
-
* Options for {@link SpiderRouting.planStream} — the server-push SSE stream
|
|
170
|
-
*
|
|
171
|
-
*
|
|
193
|
+
* Options for {@link SpiderRouting.planStream} and its continuations — the server-push SSE stream that opens one
|
|
194
|
+
* long-lived Server-Sent Events request and pushes itineraries (with realtime delays) as the router sweeps the
|
|
195
|
+
* window forward. The continuation methods take these same options plus a raw cursor string.
|
|
172
196
|
*/
|
|
173
197
|
export interface PlanStreamRequestOptions {
|
|
174
198
|
readonly origin: Location;
|
|
@@ -179,17 +203,23 @@ export interface PlanStreamRequestOptions {
|
|
|
179
203
|
readonly allowedTransitModes?: readonly TransitMode[];
|
|
180
204
|
readonly maxTransfers?: number;
|
|
181
205
|
readonly wheelchairAccessible?: boolean;
|
|
182
|
-
/**
|
|
183
|
-
readonly
|
|
184
|
-
/**
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
206
|
+
/** Plan arrivals with typical delays at this level. Undefined = plan on the timetable. */
|
|
207
|
+
readonly reliability?: Reliability;
|
|
208
|
+
/**
|
|
209
|
+
* Soft floor: the sweep keeps going until at least this many itineraries are found. From 1 up to the
|
|
210
|
+
* environment's result count.
|
|
211
|
+
*/
|
|
212
|
+
readonly targetResults: number;
|
|
213
|
+
/**
|
|
214
|
+
* How far the sweep may search, in minutes: at least 120 (2 h), up to the environment's search-window limit.
|
|
215
|
+
* A smaller value fails as `bad_request` on `maxWindow` before any request.
|
|
216
|
+
*/
|
|
217
|
+
readonly maxWindowMinutes: number;
|
|
190
218
|
}
|
|
191
219
|
export interface DeparturesOptions {
|
|
220
|
+
/** Departures from this time on (default now). */
|
|
192
221
|
readonly startTime?: number | Date;
|
|
222
|
+
/** How far ahead to look, in seconds: above 0, up to 86400 (24 h, the default). */
|
|
193
223
|
readonly timeRangeSeconds?: number;
|
|
194
224
|
}
|
|
195
225
|
export declare class SpiderRouting {
|
|
@@ -199,38 +229,38 @@ export declare class SpiderRouting {
|
|
|
199
229
|
/**
|
|
200
230
|
* Streams itineraries over Server-Sent Events as the router sweeps the search window forward, emitting them
|
|
201
231
|
* as they finalize instead of one batched page. Lazy and cancellable: iteration opens the request, and
|
|
202
|
-
* `break`ing out of the `for await` cancels the underlying stream. Each `
|
|
203
|
-
* with realtime delays already on their legs; a `
|
|
204
|
-
*
|
|
205
|
-
*
|
|
232
|
+
* `break`ing out of the `for await` cancels the underlying stream. Each `result` event carries itineraries
|
|
233
|
+
* with realtime delays already on their legs; a terminal `done` event then carries the continuation
|
|
234
|
+
* {@link RoutePageInfo} and any `routingErrors` (or a terminal `failure`). Never throws — transport, HTTP and
|
|
235
|
+
* request errors surface as a `failure` event.
|
|
206
236
|
*
|
|
207
|
-
* `targetResults`
|
|
208
|
-
*
|
|
209
|
-
*
|
|
237
|
+
* `targetResults` (a soft floor the sweep aims to reach) and `maxWindowMinutes` (how far it may search, at
|
|
238
|
+
* least 2 h) are required. This opens a fresh stream; to continue, call {@link planStreamNext} with
|
|
239
|
+
* `done.pageInfo.endCursor` (when `hasNextPage`) or {@link planStreamPrevious} with `done.pageInfo.startCursor`
|
|
240
|
+
* (when `hasPreviousPage`). For a single batched page instead, use {@link plan}.
|
|
210
241
|
*/
|
|
211
242
|
planStream(options: PlanStreamRequestOptions): AsyncGenerator<PlanStreamEvent>;
|
|
243
|
+
/**
|
|
244
|
+
* Continues a stream forward from a prior `done` event's `endCursor`. Takes the same options as
|
|
245
|
+
* {@link planStream} (so `targetResults` / `maxWindowMinutes` can vary per continuation) plus the raw cursor.
|
|
246
|
+
* Call only when the prior `done.pageInfo.hasNextPage` was true.
|
|
247
|
+
*/
|
|
248
|
+
planStreamNext(options: PlanStreamRequestOptions, after: string): AsyncGenerator<PlanStreamEvent>;
|
|
249
|
+
/**
|
|
250
|
+
* Continues a stream backward from a prior `done` event's `startCursor`. Takes the same options as
|
|
251
|
+
* {@link planStream} plus the raw cursor. Call only when the prior `done.pageInfo.hasPreviousPage` was true.
|
|
252
|
+
*/
|
|
253
|
+
planStreamPrevious(options: PlanStreamRequestOptions, before: string): AsyncGenerator<PlanStreamEvent>;
|
|
254
|
+
private streamVariables;
|
|
212
255
|
private openPlanStream;
|
|
213
256
|
planNext(route: Route): Promise<SpiderResult<Route> | null>;
|
|
214
257
|
planPrevious(route: Route): Promise<SpiderResult<Route> | null>;
|
|
215
258
|
/**
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* whole window in one search, so a busy window yields more — `targetResults` is a soft floor, the window
|
|
219
|
-
* that reaches it is yielded whole. Lazy: `for await ... break` stops stepping and skips the remaining OTP
|
|
220
|
-
* searches. Each yield is one step's `SpiderResult` (a terminal error ends the stream), matching the
|
|
221
|
-
* non-throwing poll helpers.
|
|
222
|
-
*
|
|
223
|
-
* The step is `searchWindowMinutes` and it is fixed for the whole walk — OTP locks the window into the
|
|
224
|
-
* paging cursor after the first search and ignores it thereafter, so a wider step means a wider
|
|
225
|
-
* `searchWindowMinutes` here, not on a continuation.
|
|
259
|
+
* Upcoming departures from a stop or station: `numberOfDepartures` (default 30, up to the environment's
|
|
260
|
+
* limit) within `options.timeRangeSeconds` (default 24 h) from `options.startTime` (default now).
|
|
226
261
|
*/
|
|
227
|
-
planUntil(options: PlanStreamOptions): AsyncGenerator<SpiderResult<Route>>;
|
|
228
|
-
/** Streaming form of `planNext`: steps forward from `prev`, one (fixed) search window per step. */
|
|
229
|
-
planNextUntil(prev: Route, options?: PlanStreamPageOptions): AsyncGenerator<SpiderResult<Route>>;
|
|
230
|
-
/** Streaming form of `planPrevious`: steps backward from `prev`, one (fixed) search window per step. */
|
|
231
|
-
planPreviousUntil(prev: Route, options?: PlanStreamPageOptions): AsyncGenerator<SpiderResult<Route>>;
|
|
232
|
-
private stepFrom;
|
|
233
262
|
departures(stopId: string, numberOfDepartures?: number, options?: DeparturesOptions): Promise<SpiderResult<Departure[]>>;
|
|
263
|
+
/** One trip on one service date (ISO `YYYY-MM-DD`, e.g. a {@link Departure.serviceDate}); undefined = today. */
|
|
234
264
|
trip(tripId: string, serviceDate?: string): Promise<SpiderResult<TripDetails>>;
|
|
235
265
|
private page;
|
|
236
266
|
private fetchPlan;
|
package/dist/routing.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../src/routing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../src/routing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI/C,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAS1I,OAAO,KAAK,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAwB3D,MAAM,WAAW,MAAM;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,GAAG;IAClB,QAAQ,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;I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