@tmlmobilidade/interfaces 20260626.1034.45 → 20260627.41.35
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.
|
@@ -39,12 +39,12 @@ declare class GtfValidationsClass extends MongoCollectionClass<GtfsValidation, C
|
|
|
39
39
|
feed_lang: string;
|
|
40
40
|
feed_end_date?: import("@tmlmobilidade/types").OperationalDate | null | undefined;
|
|
41
41
|
feed_start_date?: import("@tmlmobilidade/types").OperationalDate | null | undefined;
|
|
42
|
-
feed_version?: string | null | undefined;
|
|
43
42
|
default_lang?: string | null | undefined;
|
|
44
43
|
feed_contact_email?: string | null | undefined;
|
|
45
44
|
feed_contact_url?: string | null | undefined;
|
|
46
45
|
feed_publisher_name?: string | null | undefined;
|
|
47
46
|
feed_publisher_url?: string | null | undefined;
|
|
47
|
+
feed_version?: string | null | undefined;
|
|
48
48
|
};
|
|
49
49
|
notification_sent: boolean;
|
|
50
50
|
validation_attempts: number;
|
|
@@ -33,7 +33,7 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
33
33
|
year_period_ids: string[];
|
|
34
34
|
name?: string | undefined;
|
|
35
35
|
event_id?: string | undefined;
|
|
36
|
-
months?: (1 | 2 | 12 |
|
|
36
|
+
months?: (1 | 2 | 12 | 10 | 11 | 4 | 3 | 8 | 5 | 7 | 6 | 9)[] | undefined;
|
|
37
37
|
weekdays?: (1 | 2 | 4 | 3 | 5 | 7 | 6)[] | undefined;
|
|
38
38
|
} | {
|
|
39
39
|
event: {
|
|
@@ -131,7 +131,6 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
131
131
|
zones?: string[] | undefined;
|
|
132
132
|
}[] | undefined;
|
|
133
133
|
shape?: {
|
|
134
|
-
extension: number;
|
|
135
134
|
geojson: {
|
|
136
135
|
type: string;
|
|
137
136
|
geometry: {
|
|
@@ -140,6 +139,7 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
140
139
|
};
|
|
141
140
|
properties?: {} | undefined;
|
|
142
141
|
};
|
|
142
|
+
extension: number;
|
|
143
143
|
encoded_polyline?: string | undefined;
|
|
144
144
|
anchors?: {
|
|
145
145
|
_id: string;
|
|
@@ -151,8 +151,6 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
151
151
|
sequence: number;
|
|
152
152
|
}[] | undefined;
|
|
153
153
|
legs?: {
|
|
154
|
-
distance: number;
|
|
155
|
-
geometry: [number, number][];
|
|
156
154
|
geojson: {
|
|
157
155
|
type: string;
|
|
158
156
|
properties: {
|
|
@@ -166,8 +164,10 @@ declare class PatternsClass extends MongoCollectionClass<Pattern, CreatePatternD
|
|
|
166
164
|
coordinates: number[][];
|
|
167
165
|
};
|
|
168
166
|
};
|
|
167
|
+
distance: number;
|
|
169
168
|
duration: number;
|
|
170
169
|
from_index: number;
|
|
170
|
+
geometry: [number, number][];
|
|
171
171
|
to_index: number;
|
|
172
172
|
encoded_polyline?: string | undefined;
|
|
173
173
|
}[] | undefined;
|
|
@@ -27,7 +27,7 @@ declare class RoutesClass extends MongoCollectionClass<Route, CreateRouteDto, Up
|
|
|
27
27
|
code: string;
|
|
28
28
|
name: string;
|
|
29
29
|
line_id: string;
|
|
30
|
-
path_type: "partial" | "
|
|
30
|
+
path_type: "partial" | "base" | "variant";
|
|
31
31
|
updated_by?: string | undefined;
|
|
32
32
|
patterns?: {
|
|
33
33
|
_id: string;
|
|
@@ -28,9 +28,9 @@ declare class TypologiesClass extends MongoCollectionClass<Typology, CreateTypol
|
|
|
28
28
|
name: string;
|
|
29
29
|
agency_ids: string[];
|
|
30
30
|
color: string;
|
|
31
|
-
text_color: string;
|
|
32
31
|
default_onboard_fare_ids: string[] | null;
|
|
33
32
|
default_prepaid_fare_id: string | null;
|
|
33
|
+
text_color: string;
|
|
34
34
|
updated_by?: string | undefined;
|
|
35
35
|
}>[]>;
|
|
36
36
|
protected getCollectionIndexes(): IndexDescription[];
|
|
@@ -38,37 +38,37 @@ declare class PlansClass extends MongoCollectionClass<Plan, CreatePlanDto, Updat
|
|
|
38
38
|
feed_lang: string;
|
|
39
39
|
feed_end_date?: import("@tmlmobilidade/types").OperationalDate | null | undefined;
|
|
40
40
|
feed_start_date?: import("@tmlmobilidade/types").OperationalDate | null | undefined;
|
|
41
|
-
feed_version?: string | null | undefined;
|
|
42
41
|
default_lang?: string | null | undefined;
|
|
43
42
|
feed_contact_email?: string | null | undefined;
|
|
44
43
|
feed_contact_url?: string | null | undefined;
|
|
45
44
|
feed_publisher_name?: string | null | undefined;
|
|
46
45
|
feed_publisher_url?: string | null | undefined;
|
|
46
|
+
feed_version?: string | null | undefined;
|
|
47
47
|
};
|
|
48
|
-
hash: string;
|
|
49
|
-
operation_file_id: string;
|
|
50
48
|
apps: {
|
|
51
49
|
controller: {
|
|
52
50
|
status: "error" | "waiting" | "processing" | "complete" | "skipped";
|
|
53
|
-
timestamp: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
54
51
|
last_hash: string | null;
|
|
52
|
+
timestamp: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
55
53
|
};
|
|
56
54
|
hub_gtfs: {
|
|
57
55
|
status: "error" | "waiting" | "processing" | "complete" | "skipped";
|
|
58
|
-
timestamp: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
59
56
|
last_hash: string | null;
|
|
57
|
+
timestamp: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
60
58
|
};
|
|
61
59
|
hub_schedules: {
|
|
62
60
|
status: "error" | "waiting" | "processing" | "complete" | "skipped";
|
|
63
|
-
timestamp: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
64
61
|
last_hash: string | null;
|
|
62
|
+
timestamp: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
65
63
|
};
|
|
66
64
|
merger: {
|
|
67
65
|
status: "error" | "waiting" | "processing" | "complete" | "skipped";
|
|
68
|
-
timestamp: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
69
66
|
last_hash: string | null;
|
|
67
|
+
timestamp: import("@tmlmobilidade/types").UnixTimestamp | null;
|
|
70
68
|
};
|
|
71
69
|
};
|
|
70
|
+
hash: string;
|
|
71
|
+
operation_file_id: string;
|
|
72
72
|
pcgi_legacy: {
|
|
73
73
|
operation_plan_id: string | null;
|
|
74
74
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tmlmobilidade/interfaces",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "20260627.41.35",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "iso@tmlmobilidade.pt",
|
|
6
6
|
"name": "TML-ISO"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@tmlmobilidade/utils": "*",
|
|
48
48
|
"@tmlmobilidade/writers": "*",
|
|
49
49
|
"bcryptjs": "3.0.3",
|
|
50
|
-
"mongodb": "7.
|
|
50
|
+
"mongodb": "7.4.0",
|
|
51
51
|
"oci-common": "2.135.1",
|
|
52
52
|
"oci-objectstorage": "2.135.1",
|
|
53
53
|
"zod": "3.25.76"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@tmlmobilidade/tsconfig": "*",
|
|
57
57
|
"@tmlmobilidade/types": "*",
|
|
58
|
-
"@types/node": "26.0.
|
|
58
|
+
"@types/node": "26.0.1",
|
|
59
59
|
"resolve-tspaths": "0.8.23",
|
|
60
60
|
"tsc-watch": "7.2.0",
|
|
61
61
|
"typescript": "6.0.3"
|