@tmlmobilidade/consts 20251202.1817.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-configs.d.ts +18 -0
- package/dist/app-configs.js +194 -0
- package/dist/app-routes.d.ts +151 -0
- package/dist/app-routes.js +235 -0
- package/dist/ascii-art.d.ts +3 -0
- package/dist/ascii-art.js +45 -0
- package/dist/http-exception.d.ts +4 -0
- package/dist/http-exception.js +12 -0
- package/dist/http-status.d.ts +50 -0
- package/dist/http-status.js +56 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/mime-types.d.ts +84 -0
- package/dist/mime-types.js +84 -0
- package/dist/mongo-error.d.ts +338 -0
- package/dist/mongo-error.js +348 -0
- package/package.json +46 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Environment } from '@tmlmobilidade/types';
|
|
2
|
+
interface AppConfigGroup {
|
|
3
|
+
api_port: number;
|
|
4
|
+
api_url: string;
|
|
5
|
+
cors_origin: RegExp | string | true;
|
|
6
|
+
frontend_port: null | number;
|
|
7
|
+
frontend_url: null | string;
|
|
8
|
+
}
|
|
9
|
+
declare const APP_CONFIGS: Record<string, Record<Environment, AppConfigGroup>>;
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the value of a specific property from the app configuration for a given app and environment.
|
|
12
|
+
* @param app The app ID.
|
|
13
|
+
* @param property The property of the app configuration to retrieve (e.g., 'api_url', 'frontend_url').
|
|
14
|
+
* @param environment The environment to get the property for. If not provided, it will use the ENVIRONMENT environment variable.
|
|
15
|
+
* @returns The value of the specified property for the given app and environment.
|
|
16
|
+
*/
|
|
17
|
+
export declare function getAppConfig<Prop extends keyof AppConfigGroup>(app: keyof typeof APP_CONFIGS, property: Prop, environment?: Environment): AppConfigGroup[Prop];
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
/* * */
|
|
2
|
+
import { getCurrentEnvironment } from '@tmlmobilidade/types';
|
|
3
|
+
/* * */
|
|
4
|
+
const DEFAULT_PRODUCTION_CONFIG = {
|
|
5
|
+
api_port: 5050,
|
|
6
|
+
cors_origin: new RegExp(`https://go.tmlmobilidade.pt$`),
|
|
7
|
+
frontend_port: 3000,
|
|
8
|
+
};
|
|
9
|
+
const DEFAULT_STAGING_CONFIG = {
|
|
10
|
+
api_port: 5050,
|
|
11
|
+
cors_origin: new RegExp(`https://staging.go.tmlmobilidade.pt$`),
|
|
12
|
+
frontend_port: 3000,
|
|
13
|
+
};
|
|
14
|
+
const APP_CONFIGS = {
|
|
15
|
+
alerts: {
|
|
16
|
+
development: {
|
|
17
|
+
api_port: 52001,
|
|
18
|
+
api_url: 'http://localhost:52001',
|
|
19
|
+
cors_origin: true,
|
|
20
|
+
frontend_port: 51001,
|
|
21
|
+
frontend_url: 'http://localhost:51001/alerts',
|
|
22
|
+
},
|
|
23
|
+
production: {
|
|
24
|
+
api_url: 'https://go.tmlmobilidade.pt/alerts/api',
|
|
25
|
+
frontend_url: 'https://go.tmlmobilidade.pt/alerts',
|
|
26
|
+
...DEFAULT_PRODUCTION_CONFIG,
|
|
27
|
+
},
|
|
28
|
+
staging: {
|
|
29
|
+
api_url: 'https://staging.go.tmlmobilidade.pt/alerts/api',
|
|
30
|
+
frontend_url: 'https://staging.go.tmlmobilidade.pt/alerts',
|
|
31
|
+
...DEFAULT_STAGING_CONFIG,
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
auth: {
|
|
35
|
+
development: {
|
|
36
|
+
api_port: 52000,
|
|
37
|
+
api_url: 'http://localhost:52000',
|
|
38
|
+
cors_origin: true,
|
|
39
|
+
frontend_port: 51000,
|
|
40
|
+
frontend_url: 'http://localhost:51000/auth',
|
|
41
|
+
},
|
|
42
|
+
production: {
|
|
43
|
+
api_url: 'https://go.tmlmobilidade.pt/auth/api',
|
|
44
|
+
frontend_url: 'https://go.tmlmobilidade.pt/auth',
|
|
45
|
+
...DEFAULT_PRODUCTION_CONFIG,
|
|
46
|
+
},
|
|
47
|
+
staging: {
|
|
48
|
+
api_url: 'https://staging.go.tmlmobilidade.pt/auth/api',
|
|
49
|
+
frontend_url: 'https://staging.go.tmlmobilidade.pt/auth',
|
|
50
|
+
...DEFAULT_STAGING_CONFIG,
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
controller: {
|
|
54
|
+
development: {
|
|
55
|
+
api_port: 52002,
|
|
56
|
+
api_url: 'http://localhost:52002',
|
|
57
|
+
cors_origin: true,
|
|
58
|
+
frontend_port: 51002,
|
|
59
|
+
frontend_url: 'http://localhost:51002/controller',
|
|
60
|
+
},
|
|
61
|
+
production: {
|
|
62
|
+
api_url: 'https://go.tmlmobilidade.pt/controller/api',
|
|
63
|
+
frontend_url: 'https://go.tmlmobilidade.pt/controller',
|
|
64
|
+
...DEFAULT_PRODUCTION_CONFIG,
|
|
65
|
+
},
|
|
66
|
+
staging: {
|
|
67
|
+
api_url: 'https://staging.go.tmlmobilidade.pt/controller/api',
|
|
68
|
+
frontend_url: 'https://staging.go.tmlmobilidade.pt/controller',
|
|
69
|
+
...DEFAULT_STAGING_CONFIG,
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
exporter: {
|
|
73
|
+
development: {
|
|
74
|
+
api_port: 52007,
|
|
75
|
+
api_url: 'http://localhost:52007',
|
|
76
|
+
cors_origin: true,
|
|
77
|
+
frontend_port: 51007,
|
|
78
|
+
frontend_url: 'http://localhost:51007/exporter',
|
|
79
|
+
},
|
|
80
|
+
production: {
|
|
81
|
+
api_url: 'https://go.tmlmobilidade.pt/exporter/api',
|
|
82
|
+
frontend_url: 'https://go.tmlmobilidade.pt/exporter',
|
|
83
|
+
...DEFAULT_PRODUCTION_CONFIG,
|
|
84
|
+
},
|
|
85
|
+
staging: {
|
|
86
|
+
api_url: 'https://staging.go.tmlmobilidade.pt/exporter/api',
|
|
87
|
+
frontend_url: 'https://staging.go.tmlmobilidade.pt/exporter',
|
|
88
|
+
...DEFAULT_STAGING_CONFIG,
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
locations: {
|
|
92
|
+
development: {
|
|
93
|
+
api_port: 52005,
|
|
94
|
+
api_url: 'http://localhost:52005',
|
|
95
|
+
cors_origin: true,
|
|
96
|
+
frontend_port: 51005,
|
|
97
|
+
frontend_url: 'http://localhost:51005/locations',
|
|
98
|
+
},
|
|
99
|
+
production: {
|
|
100
|
+
api_url: 'https://go.tmlmobilidade.pt/locations/api',
|
|
101
|
+
frontend_url: 'https://go.tmlmobilidade.pt/locations',
|
|
102
|
+
...DEFAULT_PRODUCTION_CONFIG,
|
|
103
|
+
},
|
|
104
|
+
staging: {
|
|
105
|
+
api_url: 'https://staging.go.tmlmobilidade.pt/locations/api',
|
|
106
|
+
frontend_url: 'https://staging.go.tmlmobilidade.pt/locations',
|
|
107
|
+
...DEFAULT_STAGING_CONFIG,
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
performance: {
|
|
111
|
+
development: {
|
|
112
|
+
api_port: 52006,
|
|
113
|
+
api_url: 'http://localhost:52006',
|
|
114
|
+
cors_origin: true,
|
|
115
|
+
frontend_port: 51006,
|
|
116
|
+
frontend_url: 'http://localhost:51006/performance',
|
|
117
|
+
},
|
|
118
|
+
production: {
|
|
119
|
+
api_url: 'https://go.tmlmobilidade.pt/performance/api',
|
|
120
|
+
frontend_url: 'https://go.tmlmobilidade.pt/performance',
|
|
121
|
+
...DEFAULT_PRODUCTION_CONFIG,
|
|
122
|
+
},
|
|
123
|
+
staging: {
|
|
124
|
+
api_url: 'https://staging.go.tmlmobilidade.pt/performance/api',
|
|
125
|
+
frontend_url: 'https://staging.go.tmlmobilidade.pt/performance',
|
|
126
|
+
...DEFAULT_STAGING_CONFIG,
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
plans: {
|
|
130
|
+
development: {
|
|
131
|
+
api_port: 52004,
|
|
132
|
+
api_url: 'http://localhost:52004',
|
|
133
|
+
cors_origin: true,
|
|
134
|
+
frontend_port: 51004,
|
|
135
|
+
frontend_url: 'http://localhost:51004/plans',
|
|
136
|
+
},
|
|
137
|
+
production: {
|
|
138
|
+
api_url: 'https://go.tmlmobilidade.pt/plans/api',
|
|
139
|
+
frontend_url: 'https://go.tmlmobilidade.pt/plans',
|
|
140
|
+
...DEFAULT_PRODUCTION_CONFIG,
|
|
141
|
+
},
|
|
142
|
+
staging: {
|
|
143
|
+
api_url: 'https://staging.go.tmlmobilidade.pt/plans/api',
|
|
144
|
+
frontend_url: 'https://staging.go.tmlmobilidade.pt/plans',
|
|
145
|
+
...DEFAULT_STAGING_CONFIG,
|
|
146
|
+
},
|
|
147
|
+
},
|
|
148
|
+
stops: {
|
|
149
|
+
development: {
|
|
150
|
+
api_port: 52003,
|
|
151
|
+
api_url: 'http://localhost:52003',
|
|
152
|
+
cors_origin: true,
|
|
153
|
+
frontend_port: 51003,
|
|
154
|
+
frontend_url: 'http://localhost:51003/stops',
|
|
155
|
+
},
|
|
156
|
+
production: {
|
|
157
|
+
api_url: 'https://go.tmlmobilidade.pt/stops/api',
|
|
158
|
+
frontend_url: 'https://go.tmlmobilidade.pt/stops',
|
|
159
|
+
...DEFAULT_PRODUCTION_CONFIG,
|
|
160
|
+
},
|
|
161
|
+
staging: {
|
|
162
|
+
api_url: 'https://staging.go.tmlmobilidade.pt/stops/api',
|
|
163
|
+
frontend_url: 'https://staging.go.tmlmobilidade.pt/stops',
|
|
164
|
+
...DEFAULT_STAGING_CONFIG,
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
};
|
|
168
|
+
/* * */
|
|
169
|
+
/**
|
|
170
|
+
* Retrieves the value of a specific property from the app configuration for a given app and environment.
|
|
171
|
+
* @param app The app ID.
|
|
172
|
+
* @param property The property of the app configuration to retrieve (e.g., 'api_url', 'frontend_url').
|
|
173
|
+
* @param environment The environment to get the property for. If not provided, it will use the ENVIRONMENT environment variable.
|
|
174
|
+
* @returns The value of the specified property for the given app and environment.
|
|
175
|
+
*/
|
|
176
|
+
export function getAppConfig(app, property, environment) {
|
|
177
|
+
// Get the desired app object
|
|
178
|
+
const appObject = APP_CONFIGS[app];
|
|
179
|
+
if (!appObject)
|
|
180
|
+
throw new Error(`[@core/lib] App Config Object for "${app}" app not found. Available apps: ${Object.keys(APP_CONFIGS).join(', ')}`);
|
|
181
|
+
// Extract the current app environment either from the parameter
|
|
182
|
+
// or automatically from the set environment variable.
|
|
183
|
+
const currentEnvironment = environment || getCurrentEnvironment();
|
|
184
|
+
// Get the config group for the current environment
|
|
185
|
+
const configGroupForEnvironment = appObject[currentEnvironment];
|
|
186
|
+
if (!configGroupForEnvironment)
|
|
187
|
+
throw new Error(`[@core/lib] AppConfig group for app "${app}" in environment "${currentEnvironment}" environment not found. Available environments: ${Object.keys(appObject).join(', ')}`);
|
|
188
|
+
// Get the property value from the config group
|
|
189
|
+
const propertyValue = configGroupForEnvironment[property];
|
|
190
|
+
if (propertyValue === undefined)
|
|
191
|
+
throw new Error(`[@core/lib] Property "${property}" for app "${app}" in environment "${currentEnvironment}" not found. Available properties: ${Object.keys(configGroupForEnvironment).join(', ')}`);
|
|
192
|
+
// Return the value
|
|
193
|
+
return propertyValue;
|
|
194
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is auto-generated by the generate-routes.sh script.
|
|
3
|
+
* Do not edit this file manually.
|
|
4
|
+
*/
|
|
5
|
+
export declare const PAGE_ROUTES: Readonly<{
|
|
6
|
+
readonly alerts: {
|
|
7
|
+
readonly BASE: string;
|
|
8
|
+
readonly REALTIME_DETAIL: (id: string) => string;
|
|
9
|
+
readonly REALTIME_LIST: `${string}/realtime`;
|
|
10
|
+
readonly SCHEDULED_DETAIL: (id: string) => string;
|
|
11
|
+
readonly SCHEDULED_LIST: `${string}/scheduled`;
|
|
12
|
+
};
|
|
13
|
+
readonly auth: {
|
|
14
|
+
readonly BASE: string;
|
|
15
|
+
readonly AGENCIES_DETAIL: (id: string) => string;
|
|
16
|
+
readonly AGENCIES_LIST: `${string}/agencies`;
|
|
17
|
+
readonly CHANGE_PASSWORD_LIST: `${string}/change-password`;
|
|
18
|
+
readonly HOME_DETAIL: (id: string) => string;
|
|
19
|
+
readonly HOME_LIST: `${string}/home`;
|
|
20
|
+
readonly LOGIN_LIST: `${string}/login`;
|
|
21
|
+
readonly ORGANIZATIONS_DETAIL: (id: string) => string;
|
|
22
|
+
readonly ORGANIZATIONS_LIST: `${string}/organizations`;
|
|
23
|
+
readonly RESET_PASSWORD_LIST: `${string}/reset-password`;
|
|
24
|
+
readonly ROLES_DETAIL: (id: string) => string;
|
|
25
|
+
readonly ROLES_LIST: `${string}/roles`;
|
|
26
|
+
readonly USERS_DETAIL: (id: string) => string;
|
|
27
|
+
readonly USERS_LIST: `${string}/users`;
|
|
28
|
+
};
|
|
29
|
+
readonly controller: {
|
|
30
|
+
readonly BASE: string;
|
|
31
|
+
readonly RIDES_DETAIL: (id: string) => string;
|
|
32
|
+
readonly RIDES_LIST: `${string}/rides`;
|
|
33
|
+
};
|
|
34
|
+
readonly performance: {
|
|
35
|
+
readonly BASE: string;
|
|
36
|
+
readonly AREAS_1_LIST: `${string}/areas/1`;
|
|
37
|
+
readonly AREAS_2_LIST: `${string}/areas/2`;
|
|
38
|
+
readonly SUPPLY_DEMAND_DEMAND_BY_LIST: `${string}/supply-demand/demand-by`;
|
|
39
|
+
readonly SUPPLY_DEMAND_LIST: `${string}/supply-demand`;
|
|
40
|
+
readonly SUPPLY_DEMAND_OCCUPANCY_RATE_LIST: `${string}/supply-demand/occupancy-rate`;
|
|
41
|
+
};
|
|
42
|
+
readonly plans: {
|
|
43
|
+
readonly BASE: string;
|
|
44
|
+
readonly APPROVED_DETAIL: (id: string) => string;
|
|
45
|
+
readonly APPROVED_LIST: `${string}/approved`;
|
|
46
|
+
readonly VALIDATIONS_DETAIL: (id: string) => string;
|
|
47
|
+
readonly VALIDATIONS_LIST: `${string}/validations`;
|
|
48
|
+
};
|
|
49
|
+
readonly stops: {
|
|
50
|
+
readonly BASE: string;
|
|
51
|
+
readonly STOPS_DETAIL: (id: string) => string;
|
|
52
|
+
readonly STOPS_LIST: string;
|
|
53
|
+
};
|
|
54
|
+
}>;
|
|
55
|
+
export declare const API_ROUTES: Readonly<{
|
|
56
|
+
readonly alerts: {
|
|
57
|
+
readonly BASE: string;
|
|
58
|
+
readonly ALERTS_DETAIL: (id: string) => string;
|
|
59
|
+
readonly ALERTS_DETAIL_IMAGE: (id: string) => string;
|
|
60
|
+
readonly ALERTS_GTFS: `${string}/alerts/gtfs`;
|
|
61
|
+
readonly ALERTS_LIST: `${string}/alerts`;
|
|
62
|
+
readonly RIDES_LIST: `${string}/rides`;
|
|
63
|
+
readonly RIDES_SELECTED: `${string}/rides/selected`;
|
|
64
|
+
};
|
|
65
|
+
readonly auth: {
|
|
66
|
+
readonly BASE: string;
|
|
67
|
+
readonly AGENCIES_DETAIL: (id: string) => string;
|
|
68
|
+
readonly AGENCIES_LIST: `${string}/agencies`;
|
|
69
|
+
readonly AUTH_CHANGE_PASSWORD: `${string}/auth/change-password`;
|
|
70
|
+
readonly AUTH_LOGIN: `${string}/auth/login`;
|
|
71
|
+
readonly AUTH_LOGOUT: `${string}/auth/logout`;
|
|
72
|
+
readonly AUTH_SEND_PASSWORD_RESET_EMAIL: `${string}/auth/send-password-reset-email`;
|
|
73
|
+
readonly NOTIFICATIONS_DETAIL: (id: string) => string;
|
|
74
|
+
readonly NOTIFICATIONS_DETAIL_MARK_AS_READ: (id: string) => string;
|
|
75
|
+
readonly NOTIFICATIONS_LIST: `${string}/notifications`;
|
|
76
|
+
readonly ORGANIZATIONS_DETAIL: (id: string) => string;
|
|
77
|
+
readonly ORGANIZATIONS_DETAIL_IMAGE: (id: string) => string;
|
|
78
|
+
readonly ORGANIZATIONS_DETAIL_LOGO: (id: string) => string;
|
|
79
|
+
readonly ORGANIZATIONS_DETAIL_VAR_IMAGE: (id: string, theme: string) => string;
|
|
80
|
+
readonly ORGANIZATIONS_LIST: `${string}/organizations`;
|
|
81
|
+
readonly PROPOSED_CHANGES_DETAIL: (id: string) => string;
|
|
82
|
+
readonly PROPOSED_CHANGES_LIST: `${string}/proposed-changes`;
|
|
83
|
+
readonly ROLES_DETAIL: (id: string) => string;
|
|
84
|
+
readonly ROLES_LIST: `${string}/roles`;
|
|
85
|
+
readonly USERS_DETAIL: (id: string) => string;
|
|
86
|
+
readonly USERS_LIST: `${string}/users`;
|
|
87
|
+
readonly USERS_ME: `${string}/users/me`;
|
|
88
|
+
readonly WIKI_DETAIL: (id: string) => string;
|
|
89
|
+
readonly WIKI_LIST: `${string}/wiki`;
|
|
90
|
+
};
|
|
91
|
+
readonly controller: {
|
|
92
|
+
readonly BASE: string;
|
|
93
|
+
readonly ACCEPTANCE_CHANGE_STATUS: (id: string) => string;
|
|
94
|
+
readonly ACCEPTANCE_COMMENT: (id: string) => string;
|
|
95
|
+
readonly ACCEPTANCE_DETAIL: (id: string) => string;
|
|
96
|
+
readonly ACCEPTANCE_JUSTIFY: (id: string) => string;
|
|
97
|
+
readonly ACCEPTANCE_LOCK: (id: string) => string;
|
|
98
|
+
readonly RIDES_DETAIL_HASHED_SHAPE: (id: string) => string;
|
|
99
|
+
readonly RIDES_DETAIL_HASHED_TRIP: (id: string) => string;
|
|
100
|
+
readonly RIDES_DETAIL_REPROCESS: (id: string) => string;
|
|
101
|
+
readonly RIDES_DETAIL_RIDE: (id: string) => string;
|
|
102
|
+
readonly RIDES_DETAIL_SIMPLIFIED_APEX_LOCATIONS: (id: string) => string;
|
|
103
|
+
readonly RIDES_DETAIL_SIMPLIFIED_APEX_ON_BOARD_REFUNDS: (id: string) => string;
|
|
104
|
+
readonly RIDES_DETAIL_SIMPLIFIED_APEX_ON_BOARD_SALES: (id: string) => string;
|
|
105
|
+
readonly RIDES_DETAIL_SIMPLIFIED_APEX_VALIDATIONS: (id: string) => string;
|
|
106
|
+
readonly RIDES_DETAIL_VEHICLE_EVENTS: (id: string) => string;
|
|
107
|
+
readonly RIDES_LIST: `${string}/rides`;
|
|
108
|
+
readonly RIDES_WS: `${string}/rides/ws`;
|
|
109
|
+
};
|
|
110
|
+
readonly exporter: {
|
|
111
|
+
readonly BASE: string;
|
|
112
|
+
readonly EXPORTER_DETAIL_DOWNLOAD: (id: string) => string;
|
|
113
|
+
readonly EXPORTER_LIST: `${string}/exporter`;
|
|
114
|
+
readonly GTFS_MERGED_DOWNLOAD: `${string}/gtfs-merged/download`;
|
|
115
|
+
};
|
|
116
|
+
readonly locations: {
|
|
117
|
+
readonly BASE: string;
|
|
118
|
+
readonly LOCATIONS_COORDINATES: `${string}/locations/coordinates`;
|
|
119
|
+
readonly LOCATIONS_DISTRICTS: `${string}/locations/districts`;
|
|
120
|
+
readonly LOCATIONS_LOCALITIES: `${string}/locations/localities`;
|
|
121
|
+
readonly LOCATIONS_MUNICIPALITIES: `${string}/locations/municipalities`;
|
|
122
|
+
readonly LOCATIONS_PARISHES: `${string}/locations/parishes`;
|
|
123
|
+
};
|
|
124
|
+
readonly performance: {
|
|
125
|
+
readonly BASE: string;
|
|
126
|
+
readonly DATES_LIST: `${string}/dates`;
|
|
127
|
+
readonly METRICS_DETAIL: (id: string) => string;
|
|
128
|
+
readonly NETWORK_LINES: `${string}/network/lines`;
|
|
129
|
+
readonly NETWORK_PATTERNS: `${string}/network/patterns`;
|
|
130
|
+
};
|
|
131
|
+
readonly plans: {
|
|
132
|
+
readonly BASE: string;
|
|
133
|
+
readonly PLANS_APPROVED: `${string}/plans/approved`;
|
|
134
|
+
readonly PLANS_DETAIL: (id: string) => string;
|
|
135
|
+
readonly PLANS_DETAIL_CHANGE_GTFS: (id: string) => string;
|
|
136
|
+
readonly PLANS_DETAIL_CONTROLLER_REPROCESS: (id: string) => string;
|
|
137
|
+
readonly PLANS_DETAIL_OPERATION_FILE: (id: string) => string;
|
|
138
|
+
readonly PLANS_DETAIL_TOGGLE_LOCK: (id: string) => string;
|
|
139
|
+
readonly PLANS_DRT_MODEL_: (id: string) => string;
|
|
140
|
+
readonly PLANS_LIST: `${string}/plans`;
|
|
141
|
+
readonly VALIDATIONS_DETAIL: (id: string) => string;
|
|
142
|
+
readonly VALIDATIONS_DETAIL_FILE: (id: string) => string;
|
|
143
|
+
readonly VALIDATIONS_DETAIL_REQUEST_APPROVAL: (id: string) => string;
|
|
144
|
+
readonly VALIDATIONS_LIST: `${string}/validations`;
|
|
145
|
+
};
|
|
146
|
+
readonly stops: {
|
|
147
|
+
readonly BASE: string;
|
|
148
|
+
readonly STOPS_DETAIL: (id: string) => string;
|
|
149
|
+
readonly STOPS_LIST: `${string}/stops`;
|
|
150
|
+
};
|
|
151
|
+
}>;
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is auto-generated by the generate-routes.sh script.
|
|
3
|
+
* Do not edit this file manually.
|
|
4
|
+
*/
|
|
5
|
+
import { getAppConfig } from './app-configs.js';
|
|
6
|
+
/* * */
|
|
7
|
+
export const PAGE_ROUTES = Object.freeze({
|
|
8
|
+
/* * */
|
|
9
|
+
/* ALERTS */
|
|
10
|
+
alerts: {
|
|
11
|
+
// BASE
|
|
12
|
+
BASE: `${getAppConfig('alerts', 'frontend_url')}`,
|
|
13
|
+
// REALTIME
|
|
14
|
+
REALTIME_DETAIL: (id) => `${getAppConfig('alerts', 'frontend_url')}/realtime/${id}`,
|
|
15
|
+
REALTIME_LIST: `${getAppConfig('alerts', 'frontend_url')}/realtime`,
|
|
16
|
+
// SCHEDULED
|
|
17
|
+
SCHEDULED_DETAIL: (id) => `${getAppConfig('alerts', 'frontend_url')}/scheduled/${id}`,
|
|
18
|
+
SCHEDULED_LIST: `${getAppConfig('alerts', 'frontend_url')}/scheduled`,
|
|
19
|
+
},
|
|
20
|
+
/* * */
|
|
21
|
+
/* AUTH */
|
|
22
|
+
auth: {
|
|
23
|
+
// BASE
|
|
24
|
+
BASE: `${getAppConfig('auth', 'frontend_url')}`,
|
|
25
|
+
// AGENCIES
|
|
26
|
+
AGENCIES_DETAIL: (id) => `${getAppConfig('auth', 'frontend_url')}/agencies/${id}`,
|
|
27
|
+
AGENCIES_LIST: `${getAppConfig('auth', 'frontend_url')}/agencies`,
|
|
28
|
+
// CHANGE_PASSWORD
|
|
29
|
+
CHANGE_PASSWORD_LIST: `${getAppConfig('auth', 'frontend_url')}/change-password`,
|
|
30
|
+
// HOME
|
|
31
|
+
HOME_DETAIL: (id) => `${getAppConfig('auth', 'frontend_url')}/home/${id}`,
|
|
32
|
+
HOME_LIST: `${getAppConfig('auth', 'frontend_url')}/home`,
|
|
33
|
+
// LOGIN
|
|
34
|
+
LOGIN_LIST: `${getAppConfig('auth', 'frontend_url')}/login`,
|
|
35
|
+
// ORGANIZATIONS
|
|
36
|
+
ORGANIZATIONS_DETAIL: (id) => `${getAppConfig('auth', 'frontend_url')}/organizations/${id}`,
|
|
37
|
+
ORGANIZATIONS_LIST: `${getAppConfig('auth', 'frontend_url')}/organizations`,
|
|
38
|
+
// RESET_PASSWORD
|
|
39
|
+
RESET_PASSWORD_LIST: `${getAppConfig('auth', 'frontend_url')}/reset-password`,
|
|
40
|
+
// ROLES
|
|
41
|
+
ROLES_DETAIL: (id) => `${getAppConfig('auth', 'frontend_url')}/roles/${id}`,
|
|
42
|
+
ROLES_LIST: `${getAppConfig('auth', 'frontend_url')}/roles`,
|
|
43
|
+
// USERS
|
|
44
|
+
USERS_DETAIL: (id) => `${getAppConfig('auth', 'frontend_url')}/users/${id}`,
|
|
45
|
+
USERS_LIST: `${getAppConfig('auth', 'frontend_url')}/users`,
|
|
46
|
+
},
|
|
47
|
+
/* * */
|
|
48
|
+
/* CONTROLLER */
|
|
49
|
+
controller: {
|
|
50
|
+
// BASE
|
|
51
|
+
BASE: `${getAppConfig('controller', 'frontend_url')}`,
|
|
52
|
+
// RIDES
|
|
53
|
+
RIDES_DETAIL: (id) => `${getAppConfig('controller', 'frontend_url')}/rides/${id}`,
|
|
54
|
+
RIDES_LIST: `${getAppConfig('controller', 'frontend_url')}/rides`,
|
|
55
|
+
},
|
|
56
|
+
/* * */
|
|
57
|
+
/* PERFORMANCE */
|
|
58
|
+
performance: {
|
|
59
|
+
// BASE
|
|
60
|
+
BASE: `${getAppConfig('performance', 'frontend_url')}`,
|
|
61
|
+
// AREAS_1
|
|
62
|
+
AREAS_1_LIST: `${getAppConfig('performance', 'frontend_url')}/areas/1`,
|
|
63
|
+
// AREAS_2
|
|
64
|
+
AREAS_2_LIST: `${getAppConfig('performance', 'frontend_url')}/areas/2`,
|
|
65
|
+
// SUPPLY_DEMAND_DEMAND_BY
|
|
66
|
+
SUPPLY_DEMAND_DEMAND_BY_LIST: `${getAppConfig('performance', 'frontend_url')}/supply-demand/demand-by`,
|
|
67
|
+
// SUPPLY_DEMAND
|
|
68
|
+
SUPPLY_DEMAND_LIST: `${getAppConfig('performance', 'frontend_url')}/supply-demand`,
|
|
69
|
+
// SUPPLY_DEMAND_OCCUPANCY_RATE
|
|
70
|
+
SUPPLY_DEMAND_OCCUPANCY_RATE_LIST: `${getAppConfig('performance', 'frontend_url')}/supply-demand/occupancy-rate`,
|
|
71
|
+
},
|
|
72
|
+
/* * */
|
|
73
|
+
/* PLANS */
|
|
74
|
+
plans: {
|
|
75
|
+
// BASE
|
|
76
|
+
BASE: `${getAppConfig('plans', 'frontend_url')}`,
|
|
77
|
+
// APPROVED
|
|
78
|
+
APPROVED_DETAIL: (id) => `${getAppConfig('plans', 'frontend_url')}/approved/${id}`,
|
|
79
|
+
APPROVED_LIST: `${getAppConfig('plans', 'frontend_url')}/approved`,
|
|
80
|
+
// VALIDATIONS
|
|
81
|
+
VALIDATIONS_DETAIL: (id) => `${getAppConfig('plans', 'frontend_url')}/validations/${id}`,
|
|
82
|
+
VALIDATIONS_LIST: `${getAppConfig('plans', 'frontend_url')}/validations`,
|
|
83
|
+
},
|
|
84
|
+
/* * */
|
|
85
|
+
/* STOPS */
|
|
86
|
+
stops: {
|
|
87
|
+
// BASE
|
|
88
|
+
BASE: `${getAppConfig('stops', 'frontend_url')}`,
|
|
89
|
+
// STOPS
|
|
90
|
+
STOPS_DETAIL: (id) => `${getAppConfig('stops', 'frontend_url')}/${id}`,
|
|
91
|
+
STOPS_LIST: `${getAppConfig('stops', 'frontend_url')}`,
|
|
92
|
+
},
|
|
93
|
+
});
|
|
94
|
+
export const API_ROUTES = Object.freeze({
|
|
95
|
+
/* * */
|
|
96
|
+
/* ALERTS */
|
|
97
|
+
alerts: {
|
|
98
|
+
// BASE
|
|
99
|
+
BASE: `${getAppConfig('alerts', 'api_url')}`,
|
|
100
|
+
// ALERTS
|
|
101
|
+
ALERTS_DETAIL: (id) => `${getAppConfig('alerts', 'api_url')}/alerts/${id}`,
|
|
102
|
+
ALERTS_DETAIL_IMAGE: (id) => `${getAppConfig('alerts', 'api_url')}/alerts/${id}/image`,
|
|
103
|
+
ALERTS_GTFS: `${getAppConfig('alerts', 'api_url')}/alerts/gtfs`,
|
|
104
|
+
ALERTS_LIST: `${getAppConfig('alerts', 'api_url')}/alerts`,
|
|
105
|
+
// RIDES
|
|
106
|
+
RIDES_LIST: `${getAppConfig('alerts', 'api_url')}/rides`,
|
|
107
|
+
RIDES_SELECTED: `${getAppConfig('alerts', 'api_url')}/rides/selected`,
|
|
108
|
+
},
|
|
109
|
+
/* * */
|
|
110
|
+
/* AUTH */
|
|
111
|
+
auth: {
|
|
112
|
+
// BASE
|
|
113
|
+
BASE: `${getAppConfig('auth', 'api_url')}`,
|
|
114
|
+
// AGENCIES
|
|
115
|
+
AGENCIES_DETAIL: (id) => `${getAppConfig('auth', 'api_url')}/agencies/${id}`,
|
|
116
|
+
AGENCIES_LIST: `${getAppConfig('auth', 'api_url')}/agencies`,
|
|
117
|
+
// AUTH
|
|
118
|
+
AUTH_CHANGE_PASSWORD: `${getAppConfig('auth', 'api_url')}/auth/change-password`,
|
|
119
|
+
AUTH_LOGIN: `${getAppConfig('auth', 'api_url')}/auth/login`,
|
|
120
|
+
AUTH_LOGOUT: `${getAppConfig('auth', 'api_url')}/auth/logout`,
|
|
121
|
+
AUTH_SEND_PASSWORD_RESET_EMAIL: `${getAppConfig('auth', 'api_url')}/auth/send-password-reset-email`,
|
|
122
|
+
// NOTIFICATIONS
|
|
123
|
+
NOTIFICATIONS_DETAIL: (id) => `${getAppConfig('auth', 'api_url')}/notifications/${id}`,
|
|
124
|
+
NOTIFICATIONS_DETAIL_MARK_AS_READ: (id) => `${getAppConfig('auth', 'api_url')}/notifications/${id}/mark-as-read`,
|
|
125
|
+
NOTIFICATIONS_LIST: `${getAppConfig('auth', 'api_url')}/notifications`,
|
|
126
|
+
// ORGANIZATIONS
|
|
127
|
+
ORGANIZATIONS_DETAIL: (id) => `${getAppConfig('auth', 'api_url')}/organizations/${id}`,
|
|
128
|
+
ORGANIZATIONS_DETAIL_IMAGE: (id) => `${getAppConfig('auth', 'api_url')}/organizations/${id}/image`,
|
|
129
|
+
ORGANIZATIONS_DETAIL_LOGO: (id) => `${getAppConfig('auth', 'api_url')}/organizations/${id}/logo`,
|
|
130
|
+
ORGANIZATIONS_DETAIL_VAR_IMAGE: (id, theme) => `${getAppConfig('auth', 'api_url')}/organizations/${id}/${theme}/image`,
|
|
131
|
+
ORGANIZATIONS_LIST: `${getAppConfig('auth', 'api_url')}/organizations`,
|
|
132
|
+
// PROPOSED-CHANGES
|
|
133
|
+
PROPOSED_CHANGES_DETAIL: (id) => `${getAppConfig('auth', 'api_url')}/proposed-changes/${id}`,
|
|
134
|
+
PROPOSED_CHANGES_LIST: `${getAppConfig('auth', 'api_url')}/proposed-changes`,
|
|
135
|
+
// ROLES
|
|
136
|
+
ROLES_DETAIL: (id) => `${getAppConfig('auth', 'api_url')}/roles/${id}`,
|
|
137
|
+
ROLES_LIST: `${getAppConfig('auth', 'api_url')}/roles`,
|
|
138
|
+
// USERS
|
|
139
|
+
USERS_DETAIL: (id) => `${getAppConfig('auth', 'api_url')}/users/${id}`,
|
|
140
|
+
USERS_LIST: `${getAppConfig('auth', 'api_url')}/users`,
|
|
141
|
+
USERS_ME: `${getAppConfig('auth', 'api_url')}/users/me`,
|
|
142
|
+
// WIKI
|
|
143
|
+
WIKI_DETAIL: (id) => `${getAppConfig('auth', 'api_url')}/wiki/${id}`,
|
|
144
|
+
WIKI_LIST: `${getAppConfig('auth', 'api_url')}/wiki`,
|
|
145
|
+
},
|
|
146
|
+
/* * */
|
|
147
|
+
/* CONTROLLER */
|
|
148
|
+
controller: {
|
|
149
|
+
// BASE
|
|
150
|
+
BASE: `${getAppConfig('controller', 'api_url')}`,
|
|
151
|
+
// RIDE-ACCEPTANCE
|
|
152
|
+
ACCEPTANCE_CHANGE_STATUS: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/acceptance/change-status`,
|
|
153
|
+
ACCEPTANCE_COMMENT: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/acceptance/comment`,
|
|
154
|
+
ACCEPTANCE_DETAIL: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/acceptance`,
|
|
155
|
+
ACCEPTANCE_JUSTIFY: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/acceptance/justify`,
|
|
156
|
+
ACCEPTANCE_LOCK: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/acceptance/lock`,
|
|
157
|
+
// RIDES
|
|
158
|
+
RIDES_DETAIL_HASHED_SHAPE: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/hashed-shape`,
|
|
159
|
+
RIDES_DETAIL_HASHED_TRIP: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/hashed-trip`,
|
|
160
|
+
RIDES_DETAIL_REPROCESS: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/reprocess`,
|
|
161
|
+
RIDES_DETAIL_RIDE: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/ride`,
|
|
162
|
+
RIDES_DETAIL_SIMPLIFIED_APEX_LOCATIONS: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/simplified-apex-locations`,
|
|
163
|
+
RIDES_DETAIL_SIMPLIFIED_APEX_ON_BOARD_REFUNDS: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/simplified-apex-on-board-refunds`,
|
|
164
|
+
RIDES_DETAIL_SIMPLIFIED_APEX_ON_BOARD_SALES: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/simplified-apex-on-board-sales`,
|
|
165
|
+
RIDES_DETAIL_SIMPLIFIED_APEX_VALIDATIONS: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/simplified-apex-validations`,
|
|
166
|
+
RIDES_DETAIL_VEHICLE_EVENTS: (id) => `${getAppConfig('controller', 'api_url')}/rides/${id}/vehicle-events`,
|
|
167
|
+
RIDES_LIST: `${getAppConfig('controller', 'api_url')}/rides`,
|
|
168
|
+
RIDES_WS: `${getAppConfig('controller', 'api_url')}/rides/ws`,
|
|
169
|
+
},
|
|
170
|
+
/* * */
|
|
171
|
+
/* EXPORTER */
|
|
172
|
+
exporter: {
|
|
173
|
+
// BASE
|
|
174
|
+
BASE: `${getAppConfig('exporter', 'api_url')}`,
|
|
175
|
+
// EXPORTER
|
|
176
|
+
EXPORTER_DETAIL_DOWNLOAD: (id) => `${getAppConfig('exporter', 'api_url')}/exporter/${id}/download`,
|
|
177
|
+
EXPORTER_LIST: `${getAppConfig('exporter', 'api_url')}/exporter`,
|
|
178
|
+
// GTFS-MERGED
|
|
179
|
+
GTFS_MERGED_DOWNLOAD: `${getAppConfig('exporter', 'api_url')}/gtfs-merged/download`,
|
|
180
|
+
},
|
|
181
|
+
/* * */
|
|
182
|
+
/* LOCATIONS */
|
|
183
|
+
locations: {
|
|
184
|
+
// BASE
|
|
185
|
+
BASE: `${getAppConfig('locations', 'api_url')}`,
|
|
186
|
+
// LOCATIONS
|
|
187
|
+
LOCATIONS_COORDINATES: `${getAppConfig('locations', 'api_url')}/locations/coordinates`,
|
|
188
|
+
LOCATIONS_DISTRICTS: `${getAppConfig('locations', 'api_url')}/locations/districts`,
|
|
189
|
+
LOCATIONS_LOCALITIES: `${getAppConfig('locations', 'api_url')}/locations/localities`,
|
|
190
|
+
LOCATIONS_MUNICIPALITIES: `${getAppConfig('locations', 'api_url')}/locations/municipalities`,
|
|
191
|
+
LOCATIONS_PARISHES: `${getAppConfig('locations', 'api_url')}/locations/parishes`,
|
|
192
|
+
},
|
|
193
|
+
/* * */
|
|
194
|
+
/* PERFORMANCE */
|
|
195
|
+
performance: {
|
|
196
|
+
// BASE
|
|
197
|
+
BASE: `${getAppConfig('performance', 'api_url')}`,
|
|
198
|
+
// DATES
|
|
199
|
+
DATES_LIST: `${getAppConfig('performance', 'api_url')}/dates`,
|
|
200
|
+
// METRICS
|
|
201
|
+
METRICS_DETAIL: (id) => `${getAppConfig('performance', 'api_url')}/metrics/${id}`,
|
|
202
|
+
// NETWORK
|
|
203
|
+
NETWORK_LINES: `${getAppConfig('performance', 'api_url')}/network/lines`,
|
|
204
|
+
NETWORK_PATTERNS: `${getAppConfig('performance', 'api_url')}/network/patterns`,
|
|
205
|
+
},
|
|
206
|
+
/* * */
|
|
207
|
+
/* PLANS */
|
|
208
|
+
plans: {
|
|
209
|
+
// BASE
|
|
210
|
+
BASE: `${getAppConfig('plans', 'api_url')}`,
|
|
211
|
+
// PLANS
|
|
212
|
+
PLANS_APPROVED: `${getAppConfig('plans', 'api_url')}/plans/approved`,
|
|
213
|
+
PLANS_DETAIL: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}`,
|
|
214
|
+
PLANS_DETAIL_CHANGE_GTFS: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/change-gtfs`,
|
|
215
|
+
PLANS_DETAIL_CONTROLLER_REPROCESS: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/controller-reprocess`,
|
|
216
|
+
PLANS_DETAIL_OPERATION_FILE: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/operation-file`,
|
|
217
|
+
PLANS_DETAIL_TOGGLE_LOCK: (id) => `${getAppConfig('plans', 'api_url')}/plans/${id}/toggle-lock`,
|
|
218
|
+
PLANS_DRT_MODEL_: (id) => `${getAppConfig('plans', 'api_url')}/ID:/plans/api/plans/drt-model/${id}`,
|
|
219
|
+
PLANS_LIST: `${getAppConfig('plans', 'api_url')}/plans`,
|
|
220
|
+
// VALIDATIONS
|
|
221
|
+
VALIDATIONS_DETAIL: (id) => `${getAppConfig('plans', 'api_url')}/validations/${id}`,
|
|
222
|
+
VALIDATIONS_DETAIL_FILE: (id) => `${getAppConfig('plans', 'api_url')}/validations/${id}/file`,
|
|
223
|
+
VALIDATIONS_DETAIL_REQUEST_APPROVAL: (id) => `${getAppConfig('plans', 'api_url')}/validations/${id}/request-approval`,
|
|
224
|
+
VALIDATIONS_LIST: `${getAppConfig('plans', 'api_url')}/validations`,
|
|
225
|
+
},
|
|
226
|
+
/* * */
|
|
227
|
+
/* STOPS */
|
|
228
|
+
stops: {
|
|
229
|
+
// BASE
|
|
230
|
+
BASE: `${getAppConfig('stops', 'api_url')}`,
|
|
231
|
+
// STOPS
|
|
232
|
+
STOPS_DETAIL: (id) => `${getAppConfig('stops', 'api_url')}/stops/${id}`,
|
|
233
|
+
STOPS_LIST: `${getAppConfig('stops', 'api_url')}/stops`,
|
|
234
|
+
},
|
|
235
|
+
});
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const ASCII_TMLMOBILIDADE = "\n\u2597\u2584\u2584\u2584\u2596\u2597\u2584\u2584\u2596 \u2597\u2584\u2596 \u2597\u2596 \u2597\u2596 \u2597\u2584\u2584\u2596\u2597\u2584\u2584\u2596 \u2597\u2584\u2596 \u2597\u2584\u2584\u2596\u2597\u2584\u2584\u2584\u2596\u2597\u2584\u2584\u2584\u2596 \u2597\u2584\u2584\u2596 \u2584\u2584\u2584 \u2584\u2584\u2584\n \u2588 \u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u2590\u259B\u259A\u2596\u2590\u258C\u2590\u258C \u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C \u2588 \u2590\u258C \u2590\u258C \u2590\u2592\u2592\u2592\u258C\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2590\u2592\u2592\u2592\u258C\n \u2588 \u2590\u259B\u2580\u259A\u2596\u2590\u259B\u2580\u259C\u258C\u2590\u258C \u259D\u259C\u258C \u259D\u2580\u259A\u2596\u2590\u259B\u2580\u2598 \u2590\u258C \u2590\u258C\u2590\u259B\u2580\u259A\u2596 \u2588 \u2590\u259B\u2580\u2580\u2598 \u259D\u2580\u259A\u2596\u2590\u2592\u2592\u2592\u258C\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2590\u2592\u2592\u2592\u258C\n \u2588 \u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u2597\u2584\u2584\u259E\u2598\u2590\u258C \u259D\u259A\u2584\u259E\u2598\u2590\u258C \u2590\u258C \u2588 \u2590\u2599\u2584\u2584\u2596\u2597\u2584\u2584\u259E\u2598 \u2580\u2580\u2580 \u2580\u2580\u2580\n\u2597\u2596 \u2597\u2596\u2597\u2584\u2584\u2584\u2596\u2597\u2584\u2584\u2584\u2596\u2597\u2584\u2584\u2596 \u2597\u2584\u2596 \u2597\u2584\u2584\u2596 \u2597\u2584\u2596 \u2597\u2596 \u2597\u2584\u2584\u2584\u2596\u2597\u2584\u2584\u2584\u2596\u2597\u2584\u2596 \u2597\u2596 \u2597\u2596 \u2597\u2584\u2596 \u2597\u2584\u2584\u2596\n\u2590\u259B\u259A\u259E\u259C\u258C\u2590\u258C \u2588 \u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u2590\u258C \u2588 \u2588 \u2590\u258C \u2590\u258C\u2590\u259B\u259A\u2596\u2590\u258C\u2590\u258C \u2590\u258C\u2590\u258C\n\u2590\u258C \u2590\u258C\u2590\u259B\u2580\u2580\u2598 \u2588 \u2590\u259B\u2580\u259A\u2596\u2590\u258C \u2590\u258C\u2590\u259B\u2580\u2598 \u2590\u258C \u2590\u258C\u2590\u258C \u2588 \u2588 \u2590\u259B\u2580\u259C\u258C\u2590\u258C \u259D\u259C\u258C\u2590\u258C \u2590\u258C \u259D\u2580\u259A\u2596\n\u2590\u258C \u2590\u258C\u2590\u2599\u2584\u2584\u2596 \u2588 \u2590\u258C \u2590\u258C\u259D\u259A\u2584\u259E\u2598\u2590\u258C \u259D\u259A\u2584\u259E\u2598\u2590\u2599\u2584\u2584\u2596\u2597\u2584\u2588\u2584\u2596 \u2588 \u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u259D\u259A\u2584\u259E\u2598\u2597\u2584\u2584\u259E\u2598\n\u2597\u2584\u2584\u2584 \u2597\u2584\u2584\u2584\u2596 \u2584\u2584\u2584 \u2584\u2584\u2584 \u2597\u2596 \u2597\u2584\u2584\u2584\u2596 \u2597\u2584\u2584\u2596\u2597\u2584\u2584\u2596 \u2597\u2584\u2596 \u2597\u2584\u2596\n\u2590\u258C \u2588\u2590\u258C \u2590\u2592\u2592\u2592\u258C\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2590\u2592\u2592\u2592\u258C \u2590\u258C \u2588 \u2590\u258C \u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\u2590\u258C \u2590\u258C\n\u2590\u258C \u2588\u2590\u259B\u2580\u2580\u2598 \u2590\u2592\u2592\u2592\u258C\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2593\u2590\u2592\u2592\u2592\u258C \u2590\u258C \u2588 \u259D\u2580\u259A\u2596\u2590\u259B\u2580\u259A\u2596\u2590\u258C \u2590\u258C\u2590\u259B\u2580\u259C\u258C\n\u2590\u2599\u2584\u2584\u2580\u2590\u2599\u2584\u2584\u2596 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2590\u2599\u2584\u2584\u2596\u2597\u2584\u2588\u2584\u2596\u2597\u2584\u2584\u259E\u2598\u2590\u2599\u2584\u259E\u2598\u259D\u259A\u2584\u259E\u2598\u2590\u258C \u2590\u258C\n";
|
|
2
|
+
export declare const ASCII_CM_SHORT = "\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\n";
|
|
3
|
+
export declare const ASCII_CM_FULL = "\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588 \u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588 \u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\n\n \u2588 \u2588\u2588 \u2588\u2588 \u2588\n \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588 \u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\n \u2588 \u2588 \u2588\u2588 \u2588\u2588\u2588\u2588 \u2588 \u2588 \u2588 \u2588\u2588 \u2588 \u2588 \u2588\u2588 \u2588 \u2588\u2588 \u2588\u2588 \u2588 \u2588 \u2588 \u2588\u2588 \u2588 \u2588\u2588 \u2588\n \u2588 \u2588 \u2588 \u2588\u2588 \u2588 \u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588 \u2588\u2588 \u2588 \u2588\u2588\u2588\u2588 \u2588 \u2588 \u2588\u2588\u2588\u2588\n \u2588\n";
|