@tmlmobilidade/consts 20260526.2143.45 → 20260527.947.18
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/app-routes.d.ts +17 -11
- package/dist/app-routes.js +17 -11
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -202,23 +202,29 @@ export declare const API_ROUTES: Readonly<{
|
|
|
202
202
|
readonly ALERTS_LIST: `${string}/v1/alerts`;
|
|
203
203
|
readonly ALERTS_RSS: `${string}/v1/alerts.rss`;
|
|
204
204
|
readonly DEBUG_TIME: `${string}/v1/debug/time`;
|
|
205
|
-
readonly FACILITIES_BOAT_STATIONS: `${string}/
|
|
206
|
-
readonly FACILITIES_HELPDESKS: `${string}/
|
|
207
|
-
readonly FACILITIES_LIGHT_RAIL_STATIONS: `${string}/
|
|
208
|
-
readonly FACILITIES_LIST: `${string}/
|
|
209
|
-
readonly FACILITIES_PIPS: `${string}/
|
|
210
|
-
readonly FACILITIES_SCHOOLS: `${string}/
|
|
211
|
-
readonly FACILITIES_STORES: `${string}/
|
|
212
|
-
readonly FACILITIES_SUBWAY_STATIONS: `${string}/
|
|
213
|
-
readonly FACILITIES_TRAIN_STATIONS: `${string}/
|
|
205
|
+
readonly FACILITIES_BOAT_STATIONS: `${string}/facilities/boat_stations`;
|
|
206
|
+
readonly FACILITIES_HELPDESKS: `${string}/facilities/helpdesks`;
|
|
207
|
+
readonly FACILITIES_LIGHT_RAIL_STATIONS: `${string}/facilities/light_rail_stations`;
|
|
208
|
+
readonly FACILITIES_LIST: `${string}/facilities`;
|
|
209
|
+
readonly FACILITIES_PIPS: `${string}/facilities/pips`;
|
|
210
|
+
readonly FACILITIES_SCHOOLS: `${string}/facilities/schools`;
|
|
211
|
+
readonly FACILITIES_STORES: `${string}/facilities/stores`;
|
|
212
|
+
readonly FACILITIES_SUBWAY_STATIONS: `${string}/facilities/subway_stations`;
|
|
213
|
+
readonly FACILITIES_TRAIN_STATIONS: `${string}/facilities/train_stations`;
|
|
214
214
|
readonly NETWORK_LINES: `${string}/v1/network/lines`;
|
|
215
215
|
readonly NETWORK_PATTERNS: (id: string) => string;
|
|
216
|
+
readonly NETWORK_ROUTES: `${string}/v1/network/routes`;
|
|
216
217
|
readonly NETWORK_STOPS: `${string}/v1/network/stops`;
|
|
217
218
|
readonly PLANS_GTFS: `${string}/v1/plans/gtfs`;
|
|
218
219
|
readonly PLANS_GTFS_CM: `${string}/v1/plans/gtfs/cm`;
|
|
219
220
|
readonly PLANS_LIST: `${string}/v1/plans`;
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
221
|
+
readonly REALTIME_ETA: `${string}/v1/realtime/eta`;
|
|
222
|
+
readonly REALTIME_ETA_GTFS: `${string}/v1/realtime/eta/gtfs`;
|
|
223
|
+
readonly REALTIME_ETA_GTFS_PB: `${string}/v1/realtime/eta/gtfs.pb`;
|
|
224
|
+
readonly REALTIME_VEHICLES_METADATA: `${string}/v1/realtime/vehicles/metadata`;
|
|
225
|
+
readonly REALTIME_VEHICLES_POSITIONS: `${string}/v1/realtime/vehicles/positions`;
|
|
226
|
+
readonly REALTIME_VEHICLES_POSITIONS_GTFS: `${string}/v1/realtime/vehicles/positions/gtfs`;
|
|
227
|
+
readonly REALTIME_VEHICLES_POSITIONS_GTFS_PB: `${string}/v1/realtime/vehicles/positions/gtfs.pb`;
|
|
222
228
|
};
|
|
223
229
|
readonly locations: {
|
|
224
230
|
readonly BASE: string;
|
package/dist/app-routes.js
CHANGED
|
@@ -277,26 +277,32 @@ export const API_ROUTES = Object.freeze({
|
|
|
277
277
|
// DEBUG
|
|
278
278
|
DEBUG_TIME: `${getModuleConfig('hub', 'api_url')}/v1/debug/time`,
|
|
279
279
|
// FACILITIES
|
|
280
|
-
FACILITIES_BOAT_STATIONS: `${getModuleConfig('hub', 'api_url')}/
|
|
281
|
-
FACILITIES_HELPDESKS: `${getModuleConfig('hub', 'api_url')}/
|
|
282
|
-
FACILITIES_LIGHT_RAIL_STATIONS: `${getModuleConfig('hub', 'api_url')}/
|
|
283
|
-
FACILITIES_LIST: `${getModuleConfig('hub', 'api_url')}/
|
|
284
|
-
FACILITIES_PIPS: `${getModuleConfig('hub', 'api_url')}/
|
|
285
|
-
FACILITIES_SCHOOLS: `${getModuleConfig('hub', 'api_url')}/
|
|
286
|
-
FACILITIES_STORES: `${getModuleConfig('hub', 'api_url')}/
|
|
287
|
-
FACILITIES_SUBWAY_STATIONS: `${getModuleConfig('hub', 'api_url')}/
|
|
288
|
-
FACILITIES_TRAIN_STATIONS: `${getModuleConfig('hub', 'api_url')}/
|
|
280
|
+
FACILITIES_BOAT_STATIONS: `${getModuleConfig('hub', 'api_url')}/facilities/boat_stations`,
|
|
281
|
+
FACILITIES_HELPDESKS: `${getModuleConfig('hub', 'api_url')}/facilities/helpdesks`,
|
|
282
|
+
FACILITIES_LIGHT_RAIL_STATIONS: `${getModuleConfig('hub', 'api_url')}/facilities/light_rail_stations`,
|
|
283
|
+
FACILITIES_LIST: `${getModuleConfig('hub', 'api_url')}/facilities`,
|
|
284
|
+
FACILITIES_PIPS: `${getModuleConfig('hub', 'api_url')}/facilities/pips`,
|
|
285
|
+
FACILITIES_SCHOOLS: `${getModuleConfig('hub', 'api_url')}/facilities/schools`,
|
|
286
|
+
FACILITIES_STORES: `${getModuleConfig('hub', 'api_url')}/facilities/stores`,
|
|
287
|
+
FACILITIES_SUBWAY_STATIONS: `${getModuleConfig('hub', 'api_url')}/facilities/subway_stations`,
|
|
288
|
+
FACILITIES_TRAIN_STATIONS: `${getModuleConfig('hub', 'api_url')}/facilities/train_stations`,
|
|
289
289
|
// NETWORK
|
|
290
290
|
NETWORK_LINES: `${getModuleConfig('hub', 'api_url')}/v1/network/lines`,
|
|
291
291
|
NETWORK_PATTERNS: (id) => `${getModuleConfig('hub', 'api_url')}/v1/network/patterns/${id}`,
|
|
292
|
+
NETWORK_ROUTES: `${getModuleConfig('hub', 'api_url')}/v1/network/routes`,
|
|
292
293
|
NETWORK_STOPS: `${getModuleConfig('hub', 'api_url')}/v1/network/stops`,
|
|
293
294
|
// PLANS
|
|
294
295
|
PLANS_GTFS: `${getModuleConfig('hub', 'api_url')}/v1/plans/gtfs`,
|
|
295
296
|
PLANS_GTFS_CM: `${getModuleConfig('hub', 'api_url')}/v1/plans/gtfs/cm`,
|
|
296
297
|
PLANS_LIST: `${getModuleConfig('hub', 'api_url')}/v1/plans`,
|
|
297
298
|
// REALTIME
|
|
298
|
-
|
|
299
|
-
|
|
299
|
+
REALTIME_ETA: `${getModuleConfig('hub', 'api_url')}/v1/realtime/eta`,
|
|
300
|
+
REALTIME_ETA_GTFS: `${getModuleConfig('hub', 'api_url')}/v1/realtime/eta/gtfs`,
|
|
301
|
+
REALTIME_ETA_GTFS_PB: `${getModuleConfig('hub', 'api_url')}/v1/realtime/eta/gtfs.pb`,
|
|
302
|
+
REALTIME_VEHICLES_METADATA: `${getModuleConfig('hub', 'api_url')}/v1/realtime/vehicles/metadata`,
|
|
303
|
+
REALTIME_VEHICLES_POSITIONS: `${getModuleConfig('hub', 'api_url')}/v1/realtime/vehicles/positions`,
|
|
304
|
+
REALTIME_VEHICLES_POSITIONS_GTFS: `${getModuleConfig('hub', 'api_url')}/v1/realtime/vehicles/positions/gtfs`,
|
|
305
|
+
REALTIME_VEHICLES_POSITIONS_GTFS_PB: `${getModuleConfig('hub', 'api_url')}/v1/realtime/vehicles/positions/gtfs.pb`,
|
|
300
306
|
},
|
|
301
307
|
locations: {
|
|
302
308
|
// BASE
|