@tmlmobilidade/types 20260601.2.32 → 20260601.1620.24
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/hub/{alerts.d.ts → api/alerts.d.ts} +7 -7
- package/dist/hub/{alerts.js → api/alerts.js} +1 -1
- package/dist/hub/api/index.d.ts +3 -0
- package/dist/hub/api/index.js +3 -0
- package/dist/hub/{stop.d.ts → api/stop.d.ts} +25 -14
- package/dist/hub/{stop.js → api/stop.js} +5 -1
- package/dist/hub/gtfs/index.d.ts +1 -0
- package/dist/hub/gtfs/index.js +1 -0
- package/dist/hub/gtfs/stops.d.ts +66 -0
- package/dist/hub/gtfs/stops.js +24 -0
- package/dist/hub/index.d.ts +2 -3
- package/dist/hub/index.js +2 -3
- package/dist/operation/lines/operational-line.d.ts +4 -4
- package/dist/operation/stops/operational-stop.d.ts +4 -4
- package/package.json +1 -1
- /package/dist/hub/{lines.d.ts → api/lines.d.ts} +0 -0
- /package/dist/hub/{lines.js → api/lines.js} +0 -0
- /package/dist/hub/{patterns.d.ts → api/patterns.d.ts} +0 -0
- /package/dist/hub/{patterns.js → api/patterns.js} +0 -0
- /package/dist/hub/{shapes.d.ts → api/shapes.d.ts} +0 -0
- /package/dist/hub/{shapes.js → api/shapes.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const HubAlertSchema: z.ZodObject<Omit<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
4
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
5
5
|
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
7
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
7
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
8
8
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
9
9
|
} & {
|
|
10
|
-
active_period_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("
|
|
11
|
-
active_period_start_date: z.ZodEffects<z.ZodNumber, import("
|
|
10
|
+
active_period_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>>>;
|
|
11
|
+
active_period_start_date: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
12
12
|
agency_id: z.ZodString;
|
|
13
13
|
auto_texts: z.ZodDefault<z.ZodBoolean>;
|
|
14
14
|
cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"]>;
|
|
@@ -19,8 +19,8 @@ export declare const HubAlertSchema: z.ZodObject<Omit<{
|
|
|
19
19
|
file_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
info_url: z.ZodDefault<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>>;
|
|
21
21
|
municipality_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
22
|
-
publish_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("
|
|
23
|
-
publish_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("
|
|
22
|
+
publish_end_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>>>;
|
|
23
|
+
publish_start_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>>>;
|
|
24
24
|
publish_status: z.ZodDefault<z.ZodEnum<["published", "archived", "draft"]>>;
|
|
25
25
|
reference_type: z.ZodEnum<["agency", "lines", "stops", "rides"]>;
|
|
26
26
|
references: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -40,7 +40,7 @@ export declare const HubAlertSchema: z.ZodObject<Omit<{
|
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
_id: string;
|
|
42
42
|
description: string;
|
|
43
|
-
active_period_end_date: import("
|
|
43
|
+
active_period_end_date: import("../../index.js").UnixTimestamp | null;
|
|
44
44
|
active_period_start_date: number & {
|
|
45
45
|
__brand: "UnixTimestamp";
|
|
46
46
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
3
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
3
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
4
4
|
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
6
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
7
7
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
8
8
|
} & {
|
|
9
9
|
_id: z.ZodNumber;
|
|
@@ -45,15 +45,15 @@ export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
|
45
45
|
road_type: z.ZodDefault<z.ZodEnum<["complementary_itinerary", "highway", "main_itinerary", "national_road", "regional_road", "secondary_road", "unknown"]>>;
|
|
46
46
|
shelter_code: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
shelter_frame_size: z.ZodDefault<z.ZodNullable<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
48
|
-
shelter_installation_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("
|
|
48
|
+
shelter_installation_date: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>>>;
|
|
49
49
|
shelter_maintainer: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
50
50
|
shelter_make: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
shelter_model: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
shelter_status: z.ZodDefault<z.ZodEnum<["not_applicable", "unknown", "missing", "damaged", "ok"]>>;
|
|
53
|
-
last_infrastructure_check: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("
|
|
54
|
-
last_infrastructure_maintenance: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("
|
|
55
|
-
last_schedules_check: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("
|
|
56
|
-
last_schedules_maintenance: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("
|
|
53
|
+
last_infrastructure_check: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>>>;
|
|
54
|
+
last_infrastructure_maintenance: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>>>;
|
|
55
|
+
last_schedules_check: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>>>;
|
|
56
|
+
last_schedules_maintenance: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>>>;
|
|
57
57
|
connections: z.ZodDefault<z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many">>;
|
|
58
58
|
facilities: z.ZodDefault<z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many">>;
|
|
59
59
|
equipment: z.ZodDefault<z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many">>;
|
|
@@ -67,9 +67,9 @@ export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
|
67
67
|
image_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
68
68
|
comments: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
69
69
|
_id: z.ZodOptional<z.ZodString>;
|
|
70
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
70
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
71
71
|
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
72
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
73
73
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
74
74
|
message: z.ZodString;
|
|
75
75
|
type: z.ZodLiteral<"note">;
|
|
@@ -95,9 +95,9 @@ export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
|
95
95
|
updated_by?: string | undefined;
|
|
96
96
|
}>, z.ZodObject<{
|
|
97
97
|
_id: z.ZodOptional<z.ZodString>;
|
|
98
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
98
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
99
99
|
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
100
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
100
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
101
101
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
102
102
|
type: z.ZodLiteral<"field_changed">;
|
|
103
103
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -170,9 +170,9 @@ export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
|
170
170
|
prev_value?: any;
|
|
171
171
|
}>, z.ZodObject<{
|
|
172
172
|
_id: z.ZodOptional<z.ZodString>;
|
|
173
|
-
created_at: z.ZodEffects<z.ZodNumber, import("
|
|
173
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
174
174
|
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
175
|
-
updated_at: z.ZodEffects<z.ZodNumber, import("
|
|
175
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../../index.js").UnixTimestamp, number>;
|
|
176
176
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
177
177
|
type: z.ZodLiteral<"crud">;
|
|
178
178
|
action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
|
|
@@ -295,17 +295,21 @@ export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
|
295
295
|
headsign: string;
|
|
296
296
|
route_id: string;
|
|
297
297
|
}>, "many">>;
|
|
298
|
-
}, "_id" | "name" | "latitude" | "longitude" | "short_name" | "flags" | "legacy_ids" | "lifecycle_status" | "tts_name" | "district_id" | "locality_id" | "municipality_id"> & {
|
|
298
|
+
}, "_id" | "name" | "latitude" | "longitude" | "short_name" | "flags" | "legacy_ids" | "lifecycle_status" | "tts_name" | "district_id" | "locality_id" | "municipality_id" | "parish_id"> & {
|
|
299
299
|
district_name: z.ZodString;
|
|
300
|
+
line_ids: z.ZodArray<z.ZodString, "many">;
|
|
300
301
|
locality_name: z.ZodString;
|
|
301
302
|
municipality_name: z.ZodString;
|
|
302
303
|
parish_name: z.ZodString;
|
|
304
|
+
pattern_ids: z.ZodArray<z.ZodString, "many">;
|
|
305
|
+
route_ids: z.ZodArray<z.ZodString, "many">;
|
|
303
306
|
}, "strip", z.ZodTypeAny, {
|
|
304
307
|
_id: number;
|
|
305
308
|
name: string;
|
|
306
309
|
latitude: number;
|
|
307
310
|
longitude: number;
|
|
308
311
|
short_name: string;
|
|
312
|
+
line_ids: string[];
|
|
309
313
|
flags: {
|
|
310
314
|
short_name: string;
|
|
311
315
|
stop_id: string;
|
|
@@ -318,16 +322,20 @@ export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
|
318
322
|
district_id: string;
|
|
319
323
|
locality_id: string | null;
|
|
320
324
|
municipality_id: string;
|
|
325
|
+
parish_id: string | null;
|
|
321
326
|
district_name: string;
|
|
322
327
|
locality_name: string;
|
|
323
328
|
municipality_name: string;
|
|
324
329
|
parish_name: string;
|
|
330
|
+
pattern_ids: string[];
|
|
331
|
+
route_ids: string[];
|
|
325
332
|
}, {
|
|
326
333
|
_id: number;
|
|
327
334
|
name: string;
|
|
328
335
|
latitude: number;
|
|
329
336
|
longitude: number;
|
|
330
337
|
short_name: string;
|
|
338
|
+
line_ids: string[];
|
|
331
339
|
tts_name: string;
|
|
332
340
|
district_id: string;
|
|
333
341
|
municipality_id: string;
|
|
@@ -335,6 +343,8 @@ export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
|
335
343
|
locality_name: string;
|
|
336
344
|
municipality_name: string;
|
|
337
345
|
parish_name: string;
|
|
346
|
+
pattern_ids: string[];
|
|
347
|
+
route_ids: string[];
|
|
338
348
|
flags?: {
|
|
339
349
|
short_name: string;
|
|
340
350
|
stop_id: string;
|
|
@@ -344,6 +354,7 @@ export declare const HubStopSchema: z.ZodObject<Pick<{
|
|
|
344
354
|
legacy_ids?: string[] | undefined;
|
|
345
355
|
lifecycle_status?: "draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided" | undefined;
|
|
346
356
|
locality_id?: string | null | undefined;
|
|
357
|
+
parish_id?: string | null | undefined;
|
|
347
358
|
}>;
|
|
348
359
|
/**
|
|
349
360
|
* Publishable stop data for the Hub Stops API.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* * */
|
|
2
|
-
import { StopSchema } from '
|
|
2
|
+
import { StopSchema } from '../../stops/stop.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
/* * */
|
|
5
5
|
export const HubStopSchema = StopSchema.pick({
|
|
@@ -13,11 +13,15 @@ export const HubStopSchema = StopSchema.pick({
|
|
|
13
13
|
longitude: true,
|
|
14
14
|
municipality_id: true,
|
|
15
15
|
name: true,
|
|
16
|
+
parish_id: true,
|
|
16
17
|
short_name: true,
|
|
17
18
|
tts_name: true,
|
|
18
19
|
}).extend({
|
|
19
20
|
district_name: z.string(),
|
|
21
|
+
line_ids: z.array(z.string()),
|
|
20
22
|
locality_name: z.string(),
|
|
21
23
|
municipality_name: z.string(),
|
|
22
24
|
parish_name: z.string(),
|
|
25
|
+
pattern_ids: z.array(z.string()),
|
|
26
|
+
route_ids: z.array(z.string()),
|
|
23
27
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './stops.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './stops.js';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const HubGtfsExportStopsSchema: z.ZodObject<{
|
|
3
|
+
district_id: z.ZodString;
|
|
4
|
+
district_name: z.ZodString;
|
|
5
|
+
legacy_ids: z.ZodString;
|
|
6
|
+
locality_id: z.ZodString;
|
|
7
|
+
locality_name: z.ZodString;
|
|
8
|
+
location_type: z.ZodEnum<["0", "1", "2", "3", "4"]>;
|
|
9
|
+
municipality_id: z.ZodString;
|
|
10
|
+
municipality_name: z.ZodString;
|
|
11
|
+
parent_station: z.ZodString;
|
|
12
|
+
parish_id: z.ZodString;
|
|
13
|
+
parish_name: z.ZodString;
|
|
14
|
+
platform_code: z.ZodString;
|
|
15
|
+
stop_code: z.ZodNumber;
|
|
16
|
+
stop_id: z.ZodNumber;
|
|
17
|
+
stop_lat: z.ZodNumber;
|
|
18
|
+
stop_lon: z.ZodNumber;
|
|
19
|
+
stop_name: z.ZodString;
|
|
20
|
+
tts_stop_name: z.ZodString;
|
|
21
|
+
wheelchair_boarding: z.ZodEnum<["0", "1", "2"]>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
stop_id: number;
|
|
24
|
+
legacy_ids: string;
|
|
25
|
+
district_id: string;
|
|
26
|
+
locality_id: string;
|
|
27
|
+
municipality_id: string;
|
|
28
|
+
parish_id: string;
|
|
29
|
+
location_type: "0" | "1" | "2" | "3" | "4";
|
|
30
|
+
parent_station: string;
|
|
31
|
+
platform_code: string;
|
|
32
|
+
stop_code: number;
|
|
33
|
+
stop_lat: number;
|
|
34
|
+
stop_lon: number;
|
|
35
|
+
stop_name: string;
|
|
36
|
+
tts_stop_name: string;
|
|
37
|
+
wheelchair_boarding: "0" | "1" | "2";
|
|
38
|
+
district_name: string;
|
|
39
|
+
locality_name: string;
|
|
40
|
+
municipality_name: string;
|
|
41
|
+
parish_name: string;
|
|
42
|
+
}, {
|
|
43
|
+
stop_id: number;
|
|
44
|
+
legacy_ids: string;
|
|
45
|
+
district_id: string;
|
|
46
|
+
locality_id: string;
|
|
47
|
+
municipality_id: string;
|
|
48
|
+
parish_id: string;
|
|
49
|
+
location_type: "0" | "1" | "2" | "3" | "4";
|
|
50
|
+
parent_station: string;
|
|
51
|
+
platform_code: string;
|
|
52
|
+
stop_code: number;
|
|
53
|
+
stop_lat: number;
|
|
54
|
+
stop_lon: number;
|
|
55
|
+
stop_name: string;
|
|
56
|
+
tts_stop_name: string;
|
|
57
|
+
wheelchair_boarding: "0" | "1" | "2";
|
|
58
|
+
district_name: string;
|
|
59
|
+
locality_name: string;
|
|
60
|
+
municipality_name: string;
|
|
61
|
+
parish_name: string;
|
|
62
|
+
}>;
|
|
63
|
+
/**
|
|
64
|
+
* Structure for the Hub GTFS export of the `stops.txt` file.
|
|
65
|
+
*/
|
|
66
|
+
export type HubGtfsExportStops = z.infer<typeof HubGtfsExportStopsSchema>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* * */
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
/* * */
|
|
4
|
+
export const HubGtfsExportStopsSchema = z.object({
|
|
5
|
+
district_id: z.string(),
|
|
6
|
+
district_name: z.string(),
|
|
7
|
+
legacy_ids: z.string(),
|
|
8
|
+
locality_id: z.string(),
|
|
9
|
+
locality_name: z.string(),
|
|
10
|
+
location_type: z.enum(['0', '1', '2', '3', '4']),
|
|
11
|
+
municipality_id: z.string(),
|
|
12
|
+
municipality_name: z.string(),
|
|
13
|
+
parent_station: z.string(),
|
|
14
|
+
parish_id: z.string(),
|
|
15
|
+
parish_name: z.string(),
|
|
16
|
+
platform_code: z.string(),
|
|
17
|
+
stop_code: z.number(),
|
|
18
|
+
stop_id: z.number(),
|
|
19
|
+
stop_lat: z.number(),
|
|
20
|
+
stop_lon: z.number(),
|
|
21
|
+
stop_name: z.string(),
|
|
22
|
+
tts_stop_name: z.string(),
|
|
23
|
+
wheelchair_boarding: z.enum(['0', '1', '2']),
|
|
24
|
+
});
|
package/dist/hub/index.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './stop.js';
|
|
1
|
+
export * from './api/index.js';
|
|
2
|
+
export * from './gtfs/index.js';
|
package/dist/hub/index.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './stop.js';
|
|
1
|
+
export * from './api/index.js';
|
|
2
|
+
export * from './gtfs/index.js';
|
|
@@ -124,6 +124,8 @@ export declare const OperationalLineSchema: z.ZodObject<{
|
|
|
124
124
|
route_color: string;
|
|
125
125
|
line_long_name: string;
|
|
126
126
|
line_short_name: string;
|
|
127
|
+
pattern_ids: string[];
|
|
128
|
+
route_ids: string[];
|
|
127
129
|
hashed_patterns: {
|
|
128
130
|
_id: string;
|
|
129
131
|
created_at: number & {
|
|
@@ -159,8 +161,6 @@ export declare const OperationalLineSchema: z.ZodObject<{
|
|
|
159
161
|
__brand: "OperationalDate";
|
|
160
162
|
};
|
|
161
163
|
last_plan_id: string;
|
|
162
|
-
pattern_ids: string[];
|
|
163
|
-
route_ids: string[];
|
|
164
164
|
}, {
|
|
165
165
|
agency_id: string;
|
|
166
166
|
line_id: number;
|
|
@@ -170,6 +170,8 @@ export declare const OperationalLineSchema: z.ZodObject<{
|
|
|
170
170
|
last_operational_date: string;
|
|
171
171
|
last_plan_id: string;
|
|
172
172
|
stop_ids?: string[] | undefined;
|
|
173
|
+
pattern_ids?: string[] | undefined;
|
|
174
|
+
route_ids?: string[] | undefined;
|
|
173
175
|
hashed_patterns?: {
|
|
174
176
|
_id: string;
|
|
175
177
|
created_at: number;
|
|
@@ -197,7 +199,5 @@ export declare const OperationalLineSchema: z.ZodObject<{
|
|
|
197
199
|
stop_name: string;
|
|
198
200
|
}[] | undefined;
|
|
199
201
|
}[] | undefined;
|
|
200
|
-
pattern_ids?: string[] | undefined;
|
|
201
|
-
route_ids?: string[] | undefined;
|
|
202
202
|
}>;
|
|
203
203
|
export type OperationalLine = z.infer<typeof OperationalLineSchema>;
|
|
@@ -120,6 +120,8 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
120
120
|
agency_ids: string[];
|
|
121
121
|
line_ids: number[];
|
|
122
122
|
stop_name: string;
|
|
123
|
+
pattern_ids: string[];
|
|
124
|
+
route_ids: string[];
|
|
123
125
|
hashed_patterns: {
|
|
124
126
|
_id: string;
|
|
125
127
|
created_at: number & {
|
|
@@ -155,8 +157,6 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
155
157
|
__brand: "OperationalDate";
|
|
156
158
|
};
|
|
157
159
|
last_plan_id: string;
|
|
158
|
-
pattern_ids: string[];
|
|
159
|
-
route_ids: string[];
|
|
160
160
|
}, {
|
|
161
161
|
stop_id: string;
|
|
162
162
|
stop_name: string;
|
|
@@ -164,6 +164,8 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
164
164
|
last_plan_id: string;
|
|
165
165
|
agency_ids?: string[] | undefined;
|
|
166
166
|
line_ids?: number[] | undefined;
|
|
167
|
+
pattern_ids?: string[] | undefined;
|
|
168
|
+
route_ids?: string[] | undefined;
|
|
167
169
|
hashed_patterns?: {
|
|
168
170
|
_id: string;
|
|
169
171
|
created_at: number;
|
|
@@ -191,7 +193,5 @@ export declare const OperationalStopSchema: z.ZodObject<{
|
|
|
191
193
|
stop_name: string;
|
|
192
194
|
}[] | undefined;
|
|
193
195
|
}[] | undefined;
|
|
194
|
-
pattern_ids?: string[] | undefined;
|
|
195
|
-
route_ids?: string[] | undefined;
|
|
196
196
|
}>;
|
|
197
197
|
export type OperationalStop = z.infer<typeof OperationalStopSchema>;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|