mobility-toolbox-js 3.5.1-beta.4 → 3.5.1-beta.5
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/package.json +1 -1
- package/types/realtime.d.ts +1 -2
- package/types/realtimerest.d.ts +7 -12
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "mobility-toolbox-js",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"description": "Toolbox for JavaScript applications in the domains of mobility and logistics.",
|
|
5
|
-
"version": "3.5.1-beta.
|
|
5
|
+
"version": "3.5.1-beta.5",
|
|
6
6
|
"homepage": "https://mobility-toolbox-js.geops.io/",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./index.js",
|
package/types/realtime.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-redundant-type-constituents */
|
|
2
|
-
import type { Feature,
|
|
2
|
+
import type { Feature, Point } from 'geojson';
|
|
3
3
|
|
|
4
4
|
import type { components } from './realtimerest.d.ts';
|
|
5
5
|
|
|
@@ -15,7 +15,6 @@ export type RealtimeTrainsByRouteIdentifierResult =
|
|
|
15
15
|
export type RealtimeTrajectoryCollection =
|
|
16
16
|
components['schemas']['TrajectoryCollection'];
|
|
17
17
|
|
|
18
|
-
export type RealtimeTrainDetail = components['schemas']['TrainDetail'];
|
|
19
18
|
export type RealtimeRouteIdentifierMatch =
|
|
20
19
|
components['schemas']['RouteIdentifierMatch'];
|
|
21
20
|
|
package/types/realtimerest.d.ts
CHANGED
|
@@ -316,12 +316,17 @@ export interface components {
|
|
|
316
316
|
};
|
|
317
317
|
/** RouteIdentifierMatch */
|
|
318
318
|
RouteIdentifierMatch: {
|
|
319
|
+
/** Bounds */
|
|
320
|
+
bounds: number[];
|
|
321
|
+
/** Destination */
|
|
322
|
+
destination: Partial<string> & Partial<unknown>;
|
|
319
323
|
/** Exact Match */
|
|
320
324
|
exact_match: boolean;
|
|
325
|
+
line: components['schemas']['Line'];
|
|
321
326
|
/** Route Identifier */
|
|
322
327
|
route_identifier: string;
|
|
323
|
-
/**
|
|
324
|
-
|
|
328
|
+
/** Train Id */
|
|
329
|
+
train_id: string;
|
|
325
330
|
};
|
|
326
331
|
/** SerializedCancellationChange */
|
|
327
332
|
SerializedCancellationChange: {
|
|
@@ -619,14 +624,6 @@ export interface components {
|
|
|
619
624
|
| 'subway'
|
|
620
625
|
| 'tram';
|
|
621
626
|
};
|
|
622
|
-
/** TrainDetail */
|
|
623
|
-
TrainDetail: {
|
|
624
|
-
/** Bounds */
|
|
625
|
-
bounds: number[];
|
|
626
|
-
line: components['schemas']['Line'];
|
|
627
|
-
/** Train Id */
|
|
628
|
-
train_id: string;
|
|
629
|
-
};
|
|
630
627
|
/** TrainsByRouteIdentifierResult */
|
|
631
628
|
TrainsByRouteIdentifierResult: {
|
|
632
629
|
/** Matches */
|
|
@@ -894,5 +891,3 @@ export interface operations {
|
|
|
894
891
|
};
|
|
895
892
|
};
|
|
896
893
|
}
|
|
897
|
-
|
|
898
|
-
export interface external {}
|