@tmlmobilidade/consts 20260525.1608.2 → 20260525.1614.32
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 +4 -0
- package/dist/app-routes.js +7 -0
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -232,6 +232,10 @@ export declare const API_ROUTES: Readonly<{
|
|
|
232
232
|
readonly REALTIME_VEHICLES: `${string}/v1/realtime/vehicles`;
|
|
233
233
|
readonly REALTIME_VEHICLES_PB: `${string}/v1/realtime/vehicles.pb`;
|
|
234
234
|
readonly SHAPES_SHAPES: (id: string) => string;
|
|
235
|
+
readonly STOPS_STOPS: (id: string) => string;
|
|
236
|
+
readonly TIME_TIME: `${string}/time/time`;
|
|
237
|
+
readonly VEHICLES_VEHICLES: `${string}/vehicles/vehicles`;
|
|
238
|
+
readonly VEHICLES_VEHICLES_PB: `${string}/vehicles/vehicles.pb`;
|
|
235
239
|
};
|
|
236
240
|
readonly locations: {
|
|
237
241
|
readonly BASE: string;
|
package/dist/app-routes.js
CHANGED
|
@@ -318,6 +318,13 @@ export const API_ROUTES = Object.freeze({
|
|
|
318
318
|
REALTIME_VEHICLES_PB: `${getModuleConfig('hub', 'api_url')}/v1/realtime/vehicles.pb`,
|
|
319
319
|
// SHAPES
|
|
320
320
|
SHAPES_SHAPES: (id) => `${getModuleConfig('hub', 'api_url')}/shapes/shapes/${id}`,
|
|
321
|
+
// STOPS
|
|
322
|
+
STOPS_STOPS: (id) => `${getModuleConfig('hub', 'api_url')}/stops/stops/${id}`,
|
|
323
|
+
// TIME
|
|
324
|
+
TIME_TIME: `${getModuleConfig('hub', 'api_url')}/time/time`,
|
|
325
|
+
// VEHICLES
|
|
326
|
+
VEHICLES_VEHICLES: `${getModuleConfig('hub', 'api_url')}/vehicles/vehicles`,
|
|
327
|
+
VEHICLES_VEHICLES_PB: `${getModuleConfig('hub', 'api_url')}/vehicles/vehicles.pb`,
|
|
321
328
|
},
|
|
322
329
|
locations: {
|
|
323
330
|
// BASE
|