@tmlmobilidade/consts 20260829.236.0 → 20260829.1027.0
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 -11
- package/dist/app-routes.js +13 -13
- package/package.json +1 -1
package/dist/app-routes.d.ts
CHANGED
|
@@ -67,10 +67,10 @@ export declare const PAGE_ROUTES: Readonly<{
|
|
|
67
67
|
};
|
|
68
68
|
readonly operation: {
|
|
69
69
|
readonly BASE: string;
|
|
70
|
+
readonly GTFS_VALIDATIONS_DETAIL: (id: string) => string;
|
|
71
|
+
readonly GTFS_VALIDATIONS_LIST: `${string}/gtfs-validations`;
|
|
70
72
|
readonly PLANS_DETAIL: (id: string) => string;
|
|
71
73
|
readonly PLANS_LIST: `${string}/plans`;
|
|
72
|
-
readonly VALIDATIONS_DETAIL: (id: string) => string;
|
|
73
|
-
readonly VALIDATIONS_LIST: `${string}/validations`;
|
|
74
74
|
};
|
|
75
75
|
readonly performance: {
|
|
76
76
|
readonly BASE: string;
|
|
@@ -282,6 +282,15 @@ export declare const API_ROUTES: Readonly<{
|
|
|
282
282
|
};
|
|
283
283
|
readonly operation: {
|
|
284
284
|
readonly BASE: string;
|
|
285
|
+
readonly GTFS_VALIDATIONS_CREATE: `${string}/gtfs-validations/create`;
|
|
286
|
+
readonly GTFS_VALIDATIONS_DETAIL: (id: string) => string;
|
|
287
|
+
readonly GTFS_VALIDATIONS_DETAIL_FILE: (id: string) => string;
|
|
288
|
+
readonly GTFS_VALIDATIONS_DETAIL_FILE_DOWNLOAD: (id: string) => string;
|
|
289
|
+
readonly GTFS_VALIDATIONS_DETAIL_LOCK: (id: string) => string;
|
|
290
|
+
readonly GTFS_VALIDATIONS_DETAIL_PROCESSING_STATUS: (id: string) => string;
|
|
291
|
+
readonly GTFS_VALIDATIONS_DETAIL_REQUEST_APPROVAL: (id: string) => string;
|
|
292
|
+
readonly GTFS_VALIDATIONS_LIST: `${string}/gtfs-validations/list`;
|
|
293
|
+
readonly GTFS_VALIDATIONS_LIST_AGENCIES: `${string}/gtfs-validations/list-agencies`;
|
|
285
294
|
readonly PLANS_CREATE: `${string}/plans/create`;
|
|
286
295
|
readonly PLANS_DETAIL: (id: string) => string;
|
|
287
296
|
readonly PLANS_DETAIL_APEX_FILE: (id: string) => string;
|
|
@@ -295,15 +304,6 @@ export declare const API_ROUTES: Readonly<{
|
|
|
295
304
|
readonly PLANS_DRT_MODEL: (id: string) => string;
|
|
296
305
|
readonly PLANS_LIST: `${string}/plans/list`;
|
|
297
306
|
readonly PLANS_LIST_AGENCIES: `${string}/plans/list-agencies`;
|
|
298
|
-
readonly VALIDATIONS_CREATE: `${string}/validations/create`;
|
|
299
|
-
readonly VALIDATIONS_DETAIL: (id: string) => string;
|
|
300
|
-
readonly VALIDATIONS_DETAIL_FILE: (id: string) => string;
|
|
301
|
-
readonly VALIDATIONS_DETAIL_FILE_DOWNLOAD: (id: string) => string;
|
|
302
|
-
readonly VALIDATIONS_DETAIL_LOCK: (id: string) => string;
|
|
303
|
-
readonly VALIDATIONS_DETAIL_PROCESSING_STATUS: (id: string) => string;
|
|
304
|
-
readonly VALIDATIONS_DETAIL_REQUEST_APPROVAL: (id: string) => string;
|
|
305
|
-
readonly VALIDATIONS_LIST: `${string}/validations/list`;
|
|
306
|
-
readonly VALIDATIONS_LIST_AGENCIES: `${string}/validations/list-agencies`;
|
|
307
307
|
};
|
|
308
308
|
readonly performance: {
|
|
309
309
|
readonly BASE: string;
|
package/dist/app-routes.js
CHANGED
|
@@ -101,12 +101,12 @@ export const PAGE_ROUTES = Object.freeze({
|
|
|
101
101
|
operation: {
|
|
102
102
|
// BASE
|
|
103
103
|
BASE: `${getModuleConfig('operation', 'frontend_url')}`,
|
|
104
|
+
// GTFS_VALIDATIONS
|
|
105
|
+
GTFS_VALIDATIONS_DETAIL: (id) => `${getModuleConfig('operation', 'frontend_url')}/gtfs-validations/${encodeURIComponent(id)}`,
|
|
106
|
+
GTFS_VALIDATIONS_LIST: `${getModuleConfig('operation', 'frontend_url')}/gtfs-validations`,
|
|
104
107
|
// PLANS
|
|
105
108
|
PLANS_DETAIL: (id) => `${getModuleConfig('operation', 'frontend_url')}/plans/${encodeURIComponent(id)}`,
|
|
106
109
|
PLANS_LIST: `${getModuleConfig('operation', 'frontend_url')}/plans`,
|
|
107
|
-
// VALIDATIONS
|
|
108
|
-
VALIDATIONS_DETAIL: (id) => `${getModuleConfig('operation', 'frontend_url')}/validations/${encodeURIComponent(id)}`,
|
|
109
|
-
VALIDATIONS_LIST: `${getModuleConfig('operation', 'frontend_url')}/validations`,
|
|
110
110
|
},
|
|
111
111
|
performance: {
|
|
112
112
|
// BASE
|
|
@@ -374,6 +374,16 @@ export const API_ROUTES = Object.freeze({
|
|
|
374
374
|
operation: {
|
|
375
375
|
// BASE
|
|
376
376
|
BASE: `${getModuleConfig('operation', 'api_url')}`,
|
|
377
|
+
// GTFS-VALIDATIONS
|
|
378
|
+
GTFS_VALIDATIONS_CREATE: `${getModuleConfig('operation', 'api_url')}/gtfs-validations/create`,
|
|
379
|
+
GTFS_VALIDATIONS_DETAIL: (id) => `${getModuleConfig('operation', 'api_url')}/gtfs-validations/${encodeURIComponent(id)}`,
|
|
380
|
+
GTFS_VALIDATIONS_DETAIL_FILE: (id) => `${getModuleConfig('operation', 'api_url')}/gtfs-validations/${encodeURIComponent(id)}/file`,
|
|
381
|
+
GTFS_VALIDATIONS_DETAIL_FILE_DOWNLOAD: (id) => `${getModuleConfig('operation', 'api_url')}/gtfs-validations/${encodeURIComponent(id)}/file/download`,
|
|
382
|
+
GTFS_VALIDATIONS_DETAIL_LOCK: (id) => `${getModuleConfig('operation', 'api_url')}/gtfs-validations/${encodeURIComponent(id)}/lock`,
|
|
383
|
+
GTFS_VALIDATIONS_DETAIL_PROCESSING_STATUS: (id) => `${getModuleConfig('operation', 'api_url')}/gtfs-validations/${encodeURIComponent(id)}/processing-status`,
|
|
384
|
+
GTFS_VALIDATIONS_DETAIL_REQUEST_APPROVAL: (id) => `${getModuleConfig('operation', 'api_url')}/gtfs-validations/${encodeURIComponent(id)}/request-approval`,
|
|
385
|
+
GTFS_VALIDATIONS_LIST: `${getModuleConfig('operation', 'api_url')}/gtfs-validations/list`,
|
|
386
|
+
GTFS_VALIDATIONS_LIST_AGENCIES: `${getModuleConfig('operation', 'api_url')}/gtfs-validations/list-agencies`,
|
|
377
387
|
// PLANS
|
|
378
388
|
PLANS_CREATE: `${getModuleConfig('operation', 'api_url')}/plans/create`,
|
|
379
389
|
PLANS_DETAIL: (id) => `${getModuleConfig('operation', 'api_url')}/plans/${encodeURIComponent(id)}`,
|
|
@@ -388,16 +398,6 @@ export const API_ROUTES = Object.freeze({
|
|
|
388
398
|
PLANS_DRT_MODEL: (id) => `${getModuleConfig('operation', 'api_url')}/plans/drt-model/${encodeURIComponent(id)}`,
|
|
389
399
|
PLANS_LIST: `${getModuleConfig('operation', 'api_url')}/plans/list`,
|
|
390
400
|
PLANS_LIST_AGENCIES: `${getModuleConfig('operation', 'api_url')}/plans/list-agencies`,
|
|
391
|
-
// VALIDATIONS
|
|
392
|
-
VALIDATIONS_CREATE: `${getModuleConfig('operation', 'api_url')}/validations/create`,
|
|
393
|
-
VALIDATIONS_DETAIL: (id) => `${getModuleConfig('operation', 'api_url')}/validations/${encodeURIComponent(id)}`,
|
|
394
|
-
VALIDATIONS_DETAIL_FILE: (id) => `${getModuleConfig('operation', 'api_url')}/validations/${encodeURIComponent(id)}/file`,
|
|
395
|
-
VALIDATIONS_DETAIL_FILE_DOWNLOAD: (id) => `${getModuleConfig('operation', 'api_url')}/validations/${encodeURIComponent(id)}/file/download`,
|
|
396
|
-
VALIDATIONS_DETAIL_LOCK: (id) => `${getModuleConfig('operation', 'api_url')}/validations/${encodeURIComponent(id)}/lock`,
|
|
397
|
-
VALIDATIONS_DETAIL_PROCESSING_STATUS: (id) => `${getModuleConfig('operation', 'api_url')}/validations/${encodeURIComponent(id)}/processing-status`,
|
|
398
|
-
VALIDATIONS_DETAIL_REQUEST_APPROVAL: (id) => `${getModuleConfig('operation', 'api_url')}/validations/${encodeURIComponent(id)}/request-approval`,
|
|
399
|
-
VALIDATIONS_LIST: `${getModuleConfig('operation', 'api_url')}/validations/list`,
|
|
400
|
-
VALIDATIONS_LIST_AGENCIES: `${getModuleConfig('operation', 'api_url')}/validations/list-agencies`,
|
|
401
401
|
},
|
|
402
402
|
performance: {
|
|
403
403
|
// BASE
|