@tmlmobilidade/consts 20260831.920.21 → 20260831.1214.10
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 +11 -7
- package/dist/app-routes.js +12 -8
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ export declare const PAGE_ROUTES: Readonly<{
|
|
|
32
32
|
};
|
|
33
33
|
readonly infrastructure: {
|
|
34
34
|
readonly BASE: string;
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
35
|
+
readonly STOPS_DETAIL: (id: string) => string;
|
|
36
|
+
readonly STOPS_LIST: `${string}/stops`;
|
|
37
37
|
};
|
|
38
38
|
readonly offer: {
|
|
39
39
|
readonly BASE: string;
|
|
@@ -174,11 +174,15 @@ export declare const API_ROUTES: Readonly<{
|
|
|
174
174
|
};
|
|
175
175
|
readonly infrastructure: {
|
|
176
176
|
readonly BASE: string;
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
177
|
+
readonly STOPS_CREATE: `${string}/stops/create`;
|
|
178
|
+
readonly STOPS_DELETE: (id: string) => string;
|
|
179
|
+
readonly STOPS_GET: (id: string) => string;
|
|
180
|
+
readonly STOPS_GET_TTS: (id: string) => string;
|
|
181
|
+
readonly STOPS_GET_VALID_ID: `${string}/stops/get/valid-id`;
|
|
182
|
+
readonly STOPS_LIST: `${string}/stops/list`;
|
|
183
|
+
readonly STOPS_LIST_AGENCIES: `${string}/stops/list/agencies`;
|
|
184
|
+
readonly STOPS_LOCK: (id: string) => string;
|
|
185
|
+
readonly STOPS_UPDATE: (id: string) => string;
|
|
182
186
|
};
|
|
183
187
|
readonly locations: {
|
|
184
188
|
readonly BASE: string;
|
package/dist/app-routes.js
CHANGED
|
@@ -50,9 +50,9 @@ export const PAGE_ROUTES = Object.freeze({
|
|
|
50
50
|
infrastructure: {
|
|
51
51
|
// BASE
|
|
52
52
|
BASE: `${getModuleConfig('infrastructure', 'frontend_url')}`,
|
|
53
|
-
//
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
// STOPS
|
|
54
|
+
STOPS_DETAIL: (id) => `${getModuleConfig('infrastructure', 'frontend_url')}/stops/${encodeURIComponent(id)}`,
|
|
55
|
+
STOPS_LIST: `${getModuleConfig('infrastructure', 'frontend_url')}/stops`,
|
|
56
56
|
},
|
|
57
57
|
offer: {
|
|
58
58
|
// BASE
|
|
@@ -240,11 +240,15 @@ export const API_ROUTES = Object.freeze({
|
|
|
240
240
|
// BASE
|
|
241
241
|
BASE: `${getModuleConfig('infrastructure', 'api_url')}`,
|
|
242
242
|
// STOPS
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
243
|
+
STOPS_CREATE: `${getModuleConfig('infrastructure', 'api_url')}/stops/create`,
|
|
244
|
+
STOPS_DELETE: (id) => `${getModuleConfig('infrastructure', 'api_url')}/stops/delete/${encodeURIComponent(id)}`,
|
|
245
|
+
STOPS_GET: (id) => `${getModuleConfig('infrastructure', 'api_url')}/stops/get/${encodeURIComponent(id)}`,
|
|
246
|
+
STOPS_GET_TTS: (id) => `${getModuleConfig('infrastructure', 'api_url')}/stops/get/tts/${encodeURIComponent(id)}`,
|
|
247
|
+
STOPS_GET_VALID_ID: `${getModuleConfig('infrastructure', 'api_url')}/stops/get/valid-id`,
|
|
248
|
+
STOPS_LIST: `${getModuleConfig('infrastructure', 'api_url')}/stops/list`,
|
|
249
|
+
STOPS_LIST_AGENCIES: `${getModuleConfig('infrastructure', 'api_url')}/stops/list/agencies`,
|
|
250
|
+
STOPS_LOCK: (id) => `${getModuleConfig('infrastructure', 'api_url')}/stops/lock/${encodeURIComponent(id)}`,
|
|
251
|
+
STOPS_UPDATE: (id) => `${getModuleConfig('infrastructure', 'api_url')}/stops/update/${encodeURIComponent(id)}`,
|
|
248
252
|
},
|
|
249
253
|
locations: {
|
|
250
254
|
// BASE
|