atriusmaps-node-sdk 3.3.1065 → 3.3.1066
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/dist/cjs/package.json.js
CHANGED
package/dist/package.json.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var a="3.3.
|
|
1
|
+
var a="3.3.1066",e={version:a};export{e as default,a as version};
|
|
@@ -85,6 +85,11 @@ export type BusDirectionsPayload = {
|
|
|
85
85
|
accessible?: boolean;
|
|
86
86
|
queueTypes?: string[];
|
|
87
87
|
};
|
|
88
|
+
export type BusNavigationStepPosition = {
|
|
89
|
+
stopIndex: number;
|
|
90
|
+
stepIndex: number;
|
|
91
|
+
stepCounts: number[];
|
|
92
|
+
};
|
|
88
93
|
export type BusDirectionsMultiplePayload = {
|
|
89
94
|
locations: BusNavigationEndpoint[];
|
|
90
95
|
accessible?: boolean;
|
|
@@ -161,6 +166,30 @@ export type BusPoiDynamicDataPayload = {
|
|
|
161
166
|
idValuesMap: Record<string, unknown>;
|
|
162
167
|
};
|
|
163
168
|
export interface BusEventMap {
|
|
169
|
+
'navigation/closeDirections': BusEventDefinition<{
|
|
170
|
+
reason: 'closed' | 'endRoute';
|
|
171
|
+
}>;
|
|
172
|
+
'navigation/stepChanged': BusEventDefinition<BusNavigationStepPosition & {
|
|
173
|
+
kind: 'forward' | 'back' | 'select';
|
|
174
|
+
}>;
|
|
175
|
+
'navigation/guidanceChanged': BusEventDefinition<BusNavigationStepPosition & {
|
|
176
|
+
active: boolean;
|
|
177
|
+
}>;
|
|
178
|
+
'navigation/editStops': BusEventDefinition;
|
|
179
|
+
'navigation/stopsChanged': BusEventDefinition<{
|
|
180
|
+
endpointIds: (Id | BusNavigationEndpoint | null)[];
|
|
181
|
+
userInitiated: boolean;
|
|
182
|
+
}>;
|
|
183
|
+
'navigation/routeTypeChanged': BusEventDefinition<{
|
|
184
|
+
previous: 'direct' | 'accessible';
|
|
185
|
+
current: 'direct' | 'accessible';
|
|
186
|
+
userInitiated: boolean;
|
|
187
|
+
}>;
|
|
188
|
+
'navigation/routeUnavailable': BusEventDefinition;
|
|
189
|
+
'navigation/noAccessibleRoute': BusEventDefinition<{
|
|
190
|
+
endpointIds: (Id | BusNavigationEndpoint | null)[];
|
|
191
|
+
accessibleRequested: boolean;
|
|
192
|
+
}>;
|
|
164
193
|
'venueData/getVenueData': BusEventDefinition<undefined, BusVenueData>;
|
|
165
194
|
'venueData/getVenueId': BusEventDefinition<undefined, string>;
|
|
166
195
|
'venueData/getStructures': BusEventDefinition<undefined, BusStructure[]>;
|
package/package.json
CHANGED