@tmlmobilidade/consts 20260504.1731.48 → 20260505.2251.5
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 +7 -3
- package/dist/app-routes.js +8 -4
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -83,15 +83,19 @@ export declare const PAGE_ROUTES: Readonly<{
|
|
|
83
83
|
export declare const API_ROUTES: Readonly<{
|
|
84
84
|
readonly alerts: {
|
|
85
85
|
readonly BASE: string;
|
|
86
|
+
readonly ALERTS_DESCRIBE: `${string}/alerts/describe`;
|
|
86
87
|
readonly ALERTS_DETAIL: (id: string) => string;
|
|
88
|
+
readonly ALERTS_DETAIL_DUPLICATE: (id: string) => string;
|
|
87
89
|
readonly ALERTS_DETAIL_IMAGE: (id: string) => string;
|
|
88
90
|
readonly ALERTS_DETAIL_LOCK: (id: string) => string;
|
|
89
91
|
readonly ALERTS_LIST: `${string}/alerts`;
|
|
90
92
|
readonly ALERTS_RSS: `${string}/alerts.rss`;
|
|
91
93
|
readonly GTFS_CARRIS_METROPOLITANA: `${string}/gtfs/carris-metropolitana`;
|
|
92
|
-
readonly
|
|
93
|
-
readonly
|
|
94
|
-
readonly
|
|
94
|
+
readonly OPERATION_LINES: `${string}/operation/lines`;
|
|
95
|
+
readonly OPERATION_RIDES: `${string}/operation/rides`;
|
|
96
|
+
readonly OPERATION_RIDES_RIDE: (id: string) => string;
|
|
97
|
+
readonly OPERATION_RIDES_WS: `${string}/operation/rides/ws`;
|
|
98
|
+
readonly OPERATION_STOPS: `${string}/operation/stops`;
|
|
95
99
|
};
|
|
96
100
|
readonly auth: {
|
|
97
101
|
readonly BASE: string;
|
package/dist/app-routes.js
CHANGED
|
@@ -146,17 +146,21 @@ export const API_ROUTES = Object.freeze({
|
|
|
146
146
|
// BASE
|
|
147
147
|
BASE: `${getModuleConfig('alerts', 'api_url')}`,
|
|
148
148
|
// ALERTS
|
|
149
|
+
ALERTS_DESCRIBE: `${getModuleConfig('alerts', 'api_url')}/alerts/describe`,
|
|
149
150
|
ALERTS_DETAIL: (id) => `${getModuleConfig('alerts', 'api_url')}/alerts/${id}`,
|
|
151
|
+
ALERTS_DETAIL_DUPLICATE: (id) => `${getModuleConfig('alerts', 'api_url')}/alerts/${id}/duplicate`,
|
|
150
152
|
ALERTS_DETAIL_IMAGE: (id) => `${getModuleConfig('alerts', 'api_url')}/alerts/${id}/image`,
|
|
151
153
|
ALERTS_DETAIL_LOCK: (id) => `${getModuleConfig('alerts', 'api_url')}/alerts/${id}/lock`,
|
|
152
154
|
ALERTS_LIST: `${getModuleConfig('alerts', 'api_url')}/alerts`,
|
|
153
155
|
ALERTS_RSS: `${getModuleConfig('alerts', 'api_url')}/alerts.rss`,
|
|
154
156
|
// GTFS
|
|
155
157
|
GTFS_CARRIS_METROPOLITANA: `${getModuleConfig('alerts', 'api_url')}/gtfs/carris-metropolitana`,
|
|
156
|
-
//
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
// OPERATION
|
|
159
|
+
OPERATION_LINES: `${getModuleConfig('alerts', 'api_url')}/operation/lines`,
|
|
160
|
+
OPERATION_RIDES: `${getModuleConfig('alerts', 'api_url')}/operation/rides`,
|
|
161
|
+
OPERATION_RIDES_RIDE: (id) => `${getModuleConfig('alerts', 'api_url')}/operation/rides/${id}/ride`,
|
|
162
|
+
OPERATION_RIDES_WS: `${getModuleConfig('alerts', 'api_url')}/operation/rides/ws`,
|
|
163
|
+
OPERATION_STOPS: `${getModuleConfig('alerts', 'api_url')}/operation/stops`,
|
|
160
164
|
},
|
|
161
165
|
/* * */
|
|
162
166
|
/* AUTH */
|