@tmlmobilidade/consts 20260805.229.7 → 20260805.1509.39
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 +5 -3
- package/dist/app-routes.js +5 -3
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -205,9 +205,11 @@ export declare const API_ROUTES: Readonly<{
|
|
|
205
205
|
readonly PLANS_GTFS: `${string}/v1/plans/gtfs`;
|
|
206
206
|
readonly PLANS_GTFS_CM: `${string}/v1/plans/gtfs/cm`;
|
|
207
207
|
readonly PLANS_LIST: `${string}/v1/plans`;
|
|
208
|
-
readonly
|
|
209
|
-
readonly
|
|
210
|
-
readonly
|
|
208
|
+
readonly REALTIME_ETA: `${string}/v1/realtime/eta`;
|
|
209
|
+
readonly REALTIME_ETA_BY_STOP: (id: string) => string;
|
|
210
|
+
readonly REALTIME_ETA_BY_TRIP: (id: string) => string;
|
|
211
|
+
readonly REALTIME_ETA_GTFS: `${string}/v1/realtime/eta/gtfs`;
|
|
212
|
+
readonly REALTIME_ETA_GTFS_PB: `${string}/v1/realtime/eta/gtfs.pb`;
|
|
211
213
|
readonly REALTIME_VEHICLES_METADATA: `${string}/v1/realtime/vehicles/metadata`;
|
|
212
214
|
readonly REALTIME_VEHICLES_POSITIONS: `${string}/v1/realtime/vehicles/positions`;
|
|
213
215
|
readonly REALTIME_VEHICLES_POSITIONS_GTFS: `${string}/v1/realtime/vehicles/positions/gtfs`;
|
package/dist/app-routes.js
CHANGED
|
@@ -282,9 +282,11 @@ export const API_ROUTES = Object.freeze({
|
|
|
282
282
|
PLANS_GTFS_CM: `${getModuleConfig('hub', 'api_url')}/v1/plans/gtfs/cm`,
|
|
283
283
|
PLANS_LIST: `${getModuleConfig('hub', 'api_url')}/v1/plans`,
|
|
284
284
|
// REALTIME
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
285
|
+
REALTIME_ETA: `${getModuleConfig('hub', 'api_url')}/v1/realtime/eta`,
|
|
286
|
+
REALTIME_ETA_BY_STOP: (id) => `${getModuleConfig('hub', 'api_url')}/v1/realtime/eta/by-stop/${encodeURIComponent(id)}`,
|
|
287
|
+
REALTIME_ETA_BY_TRIP: (id) => `${getModuleConfig('hub', 'api_url')}/v1/realtime/eta/by-trip/${encodeURIComponent(id)}`,
|
|
288
|
+
REALTIME_ETA_GTFS: `${getModuleConfig('hub', 'api_url')}/v1/realtime/eta/gtfs`,
|
|
289
|
+
REALTIME_ETA_GTFS_PB: `${getModuleConfig('hub', 'api_url')}/v1/realtime/eta/gtfs.pb`,
|
|
288
290
|
REALTIME_VEHICLES_METADATA: `${getModuleConfig('hub', 'api_url')}/v1/realtime/vehicles/metadata`,
|
|
289
291
|
REALTIME_VEHICLES_POSITIONS: `${getModuleConfig('hub', 'api_url')}/v1/realtime/vehicles/positions`,
|
|
290
292
|
REALTIME_VEHICLES_POSITIONS_GTFS: `${getModuleConfig('hub', 'api_url')}/v1/realtime/vehicles/positions/gtfs`,
|