@tmlmobilidade/consts 20260409.1552.16 → 20260410.1133.41
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 +3 -2
- package/dist/app-routes.js +3 -2
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export declare const API_ROUTES: Readonly<{
|
|
|
87
87
|
readonly ALERTS_DETAIL_IMAGE: (id: string) => string;
|
|
88
88
|
readonly ALERTS_DETAIL_LOCK: (id: string) => string;
|
|
89
89
|
readonly ALERTS_LIST: `${string}/alerts`;
|
|
90
|
-
readonly ALERTS_RSS: `${string}/alerts
|
|
90
|
+
readonly ALERTS_RSS: `${string}/alerts.rss`;
|
|
91
91
|
readonly GTFS_CARRIS_METROPOLITANA: `${string}/gtfs/carris-metropolitana`;
|
|
92
92
|
readonly RIDES_DETAIL_RIDE: (id: string) => string;
|
|
93
93
|
readonly RIDES_LIST: `${string}/rides`;
|
|
@@ -140,6 +140,7 @@ export declare const API_ROUTES: Readonly<{
|
|
|
140
140
|
readonly RIDES_DETAIL_SIMPLIFIED_APEX_ON_BOARD_SALES: (id: string) => string;
|
|
141
141
|
readonly RIDES_DETAIL_SIMPLIFIED_APEX_VALIDATIONS: (id: string) => string;
|
|
142
142
|
readonly RIDES_DETAIL_VEHICLE_EVENTS: (id: string) => string;
|
|
143
|
+
readonly RIDES_FAVORITES: `${string}/rides/favorites`;
|
|
143
144
|
readonly RIDES_LIST: `${string}/rides`;
|
|
144
145
|
readonly RIDES_WS: `${string}/rides/ws`;
|
|
145
146
|
};
|
|
@@ -222,7 +223,7 @@ export declare const API_ROUTES: Readonly<{
|
|
|
222
223
|
readonly PLANS_DETAIL_LOCK: (id: string) => string;
|
|
223
224
|
readonly PLANS_DETAIL_OPERATION_FILE: (id: string) => string;
|
|
224
225
|
readonly PLANS_DETAIL_OPERATION_FILE_DOWNLOAD: (id: string) => string;
|
|
225
|
-
readonly
|
|
226
|
+
readonly PLANS_DRT_MODEL: (id: string) => string;
|
|
226
227
|
readonly PLANS_LIST: `${string}/plans`;
|
|
227
228
|
readonly VALIDATIONS_DETAIL: (id: string) => string;
|
|
228
229
|
readonly VALIDATIONS_DETAIL_FILE: (id: string) => string;
|
package/dist/app-routes.js
CHANGED
|
@@ -150,7 +150,7 @@ export const API_ROUTES = Object.freeze({
|
|
|
150
150
|
ALERTS_DETAIL_IMAGE: (id) => `${getAppConfig('alerts', 'api_url')}/alerts/${id}/image`,
|
|
151
151
|
ALERTS_DETAIL_LOCK: (id) => `${getAppConfig('alerts', 'api_url')}/alerts/${id}/lock`,
|
|
152
152
|
ALERTS_LIST: `${getAppConfig('alerts', 'api_url')}/alerts`,
|
|
153
|
-
ALERTS_RSS: `${getAppConfig('alerts', 'api_url')}/alerts
|
|
153
|
+
ALERTS_RSS: `${getAppConfig('alerts', 'api_url')}/alerts.rss`,
|
|
154
154
|
// GTFS
|
|
155
155
|
GTFS_CARRIS_METROPOLITANA: `${getAppConfig('alerts', 'api_url')}/gtfs/carris-metropolitana`,
|
|
156
156
|
// RIDES
|
|
@@ -221,6 +221,7 @@ export const API_ROUTES = Object.freeze({
|
|
|
221
221
|
RIDES_DETAIL_SIMPLIFIED_APEX_ON_BOARD_SALES: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/simplified-apex-on-board-sales`,
|
|
222
222
|
RIDES_DETAIL_SIMPLIFIED_APEX_VALIDATIONS: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/simplified-apex-validations`,
|
|
223
223
|
RIDES_DETAIL_VEHICLE_EVENTS: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/vehicle-events`,
|
|
224
|
+
RIDES_FAVORITES: `${getAppConfig('controller', 'api_url')}/rides/favorites`,
|
|
224
225
|
RIDES_LIST: `${getAppConfig('controller', 'api_url')}/rides`,
|
|
225
226
|
RIDES_WS: `${getAppConfig('controller', 'api_url')}/rides/ws`,
|
|
226
227
|
},
|
|
@@ -343,7 +344,7 @@ export const API_ROUTES = Object.freeze({
|
|
|
343
344
|
PLANS_DETAIL_LOCK: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/lock`,
|
|
344
345
|
PLANS_DETAIL_OPERATION_FILE: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/operation-file`,
|
|
345
346
|
PLANS_DETAIL_OPERATION_FILE_DOWNLOAD: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/operation-file/download`,
|
|
346
|
-
|
|
347
|
+
PLANS_DRT_MODEL: (id) => `${getAppConfig('plans', 'api_url')}/plans/drt-model/${id}`,
|
|
347
348
|
PLANS_LIST: `${getAppConfig('plans', 'api_url')}/plans`,
|
|
348
349
|
// VALIDATIONS
|
|
349
350
|
VALIDATIONS_DETAIL: (id) => `${getAppConfig('plans', 'api_url')}/validations/${id}`,
|