@tmlmobilidade/types 20260726.1728.27 → 20260730.948.43
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/gtfs/stops.d.ts +4 -0
- package/dist/gtfs/stops.js +2 -0
- package/package.json +1 -1
package/dist/gtfs/stops.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export declare function validateGtfsStop(rawData: GTFS_Stop_Raw): GTFS_Stop;
|
|
|
73
73
|
export interface GTFS_Stop_Extended extends GTFS_Stop {
|
|
74
74
|
district_id?: string;
|
|
75
75
|
district_name?: string;
|
|
76
|
+
flags?: string;
|
|
76
77
|
has_bench?: GTFS_HasField;
|
|
77
78
|
has_network_map?: GTFS_HasField;
|
|
78
79
|
has_pip_real_time?: GTFS_HasField;
|
|
@@ -80,6 +81,7 @@ export interface GTFS_Stop_Extended extends GTFS_Stop {
|
|
|
80
81
|
has_shelter?: GTFS_HasField;
|
|
81
82
|
has_stop_sign?: GTFS_HasField;
|
|
82
83
|
has_tariffs_information?: GTFS_HasField;
|
|
84
|
+
legacy_ids?: string;
|
|
83
85
|
locality_id?: string;
|
|
84
86
|
locality_name?: string;
|
|
85
87
|
municipality_id?: string;
|
|
@@ -102,6 +104,7 @@ export interface GTFS_Stop_Extended extends GTFS_Stop {
|
|
|
102
104
|
export interface GTFS_Stop_Extended_Raw extends GTFS_Stop_Raw {
|
|
103
105
|
district_id?: string;
|
|
104
106
|
district_name?: string;
|
|
107
|
+
flags?: string;
|
|
105
108
|
has_bench?: string;
|
|
106
109
|
has_network_map?: string;
|
|
107
110
|
has_pip_real_time?: string;
|
|
@@ -109,6 +112,7 @@ export interface GTFS_Stop_Extended_Raw extends GTFS_Stop_Raw {
|
|
|
109
112
|
has_shelter?: string;
|
|
110
113
|
has_stop_sign?: string;
|
|
111
114
|
has_tariffs_information?: string;
|
|
115
|
+
legacy_ids?: string;
|
|
112
116
|
locality_id?: string;
|
|
113
117
|
locality_name?: string;
|
|
114
118
|
municipality_id?: string;
|
package/dist/gtfs/stops.js
CHANGED
|
@@ -79,6 +79,7 @@ export function validateGtfsStopExtended(rawData) {
|
|
|
79
79
|
...stop,
|
|
80
80
|
district_id: rawData.district_id,
|
|
81
81
|
district_name: rawData.district_name,
|
|
82
|
+
flags: rawData.flags,
|
|
82
83
|
has_bench: validateGtfsHasField(rawData.has_bench),
|
|
83
84
|
has_network_map: validateGtfsHasField(rawData.has_network_map),
|
|
84
85
|
has_pip_real_time: validateGtfsHasField(rawData.has_pip_real_time),
|
|
@@ -86,6 +87,7 @@ export function validateGtfsStopExtended(rawData) {
|
|
|
86
87
|
has_shelter: validateGtfsBinary(rawData.has_shelter),
|
|
87
88
|
has_stop_sign: validateGtfsHasField(rawData.has_stop_sign),
|
|
88
89
|
has_tariffs_information: validateGtfsHasField(rawData.has_tariffs_information),
|
|
90
|
+
legacy_ids: rawData.legacy_ids,
|
|
89
91
|
locality_id: rawData.locality_id,
|
|
90
92
|
locality_name: rawData.locality_name,
|
|
91
93
|
municipality_id: rawData.municipality_id,
|