@tmlmobilidade/consts 20260803.15.9 → 20260805.229.7
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 +6 -2
- package/dist/app-routes.js +6 -2
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export declare const API_ROUTES: Readonly<{
|
|
|
97
97
|
readonly ALERTS_LIST: `${string}/alerts`;
|
|
98
98
|
readonly OPERATION_LINES: `${string}/operation/lines`;
|
|
99
99
|
readonly OPERATION_RIDES: `${string}/operation/rides`;
|
|
100
|
-
readonly
|
|
100
|
+
readonly OPERATION_RIDES_DETAIL_RIDE: (id: string) => string;
|
|
101
101
|
readonly OPERATION_RIDES_WS: `${string}/operation/rides/ws`;
|
|
102
102
|
readonly OPERATION_STOPS: `${string}/operation/stops`;
|
|
103
103
|
};
|
|
@@ -215,11 +215,15 @@ export declare const API_ROUTES: Readonly<{
|
|
|
215
215
|
};
|
|
216
216
|
readonly locations: {
|
|
217
217
|
readonly BASE: string;
|
|
218
|
-
readonly LOCATIONS_COORDINATES: `${string}/locations/coordinates`;
|
|
219
218
|
readonly LOCATIONS_DISTRICTS: `${string}/locations/districts`;
|
|
219
|
+
readonly LOCATIONS_DISTRICTS_DETAIL: (id: string) => string;
|
|
220
220
|
readonly LOCATIONS_LOCALITIES: `${string}/locations/localities`;
|
|
221
|
+
readonly LOCATIONS_LOCALITIES_DETAIL: (id: string) => string;
|
|
222
|
+
readonly LOCATIONS_LOCATION: `${string}/locations/location`;
|
|
221
223
|
readonly LOCATIONS_MUNICIPALITIES: `${string}/locations/municipalities`;
|
|
224
|
+
readonly LOCATIONS_MUNICIPALITIES_DETAIL: (id: string) => string;
|
|
222
225
|
readonly LOCATIONS_PARISHES: `${string}/locations/parishes`;
|
|
226
|
+
readonly LOCATIONS_PARISHES_DETAIL: (id: string) => string;
|
|
223
227
|
};
|
|
224
228
|
readonly offer: {
|
|
225
229
|
readonly BASE: string;
|
package/dist/app-routes.js
CHANGED
|
@@ -144,7 +144,7 @@ export const API_ROUTES = Object.freeze({
|
|
|
144
144
|
// OPERATION
|
|
145
145
|
OPERATION_LINES: `${getModuleConfig('alerts', 'api_url')}/operation/lines`,
|
|
146
146
|
OPERATION_RIDES: `${getModuleConfig('alerts', 'api_url')}/operation/rides`,
|
|
147
|
-
|
|
147
|
+
OPERATION_RIDES_DETAIL_RIDE: (id) => `${getModuleConfig('alerts', 'api_url')}/operation/rides/${encodeURIComponent(id)}/ride`,
|
|
148
148
|
OPERATION_RIDES_WS: `${getModuleConfig('alerts', 'api_url')}/operation/rides/ws`,
|
|
149
149
|
OPERATION_STOPS: `${getModuleConfig('alerts', 'api_url')}/operation/stops`,
|
|
150
150
|
},
|
|
@@ -294,11 +294,15 @@ export const API_ROUTES = Object.freeze({
|
|
|
294
294
|
// BASE
|
|
295
295
|
BASE: `${getModuleConfig('locations', 'api_url')}`,
|
|
296
296
|
// LOCATIONS
|
|
297
|
-
LOCATIONS_COORDINATES: `${getModuleConfig('locations', 'api_url')}/locations/coordinates`,
|
|
298
297
|
LOCATIONS_DISTRICTS: `${getModuleConfig('locations', 'api_url')}/locations/districts`,
|
|
298
|
+
LOCATIONS_DISTRICTS_DETAIL: (id) => `${getModuleConfig('locations', 'api_url')}/locations/districts/${encodeURIComponent(id)}`,
|
|
299
299
|
LOCATIONS_LOCALITIES: `${getModuleConfig('locations', 'api_url')}/locations/localities`,
|
|
300
|
+
LOCATIONS_LOCALITIES_DETAIL: (id) => `${getModuleConfig('locations', 'api_url')}/locations/localities/${encodeURIComponent(id)}`,
|
|
301
|
+
LOCATIONS_LOCATION: `${getModuleConfig('locations', 'api_url')}/locations/location`,
|
|
300
302
|
LOCATIONS_MUNICIPALITIES: `${getModuleConfig('locations', 'api_url')}/locations/municipalities`,
|
|
303
|
+
LOCATIONS_MUNICIPALITIES_DETAIL: (id) => `${getModuleConfig('locations', 'api_url')}/locations/municipalities/${encodeURIComponent(id)}`,
|
|
301
304
|
LOCATIONS_PARISHES: `${getModuleConfig('locations', 'api_url')}/locations/parishes`,
|
|
305
|
+
LOCATIONS_PARISHES_DETAIL: (id) => `${getModuleConfig('locations', 'api_url')}/locations/parishes/${encodeURIComponent(id)}`,
|
|
302
306
|
},
|
|
303
307
|
offer: {
|
|
304
308
|
// BASE
|