@x-fiber-sys/dev-tool 0.1.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/README.md +11 -0
- package/dist/_cjs/common/action-kind.js +17 -0
- package/dist/_cjs/common/constants.js +8 -0
- package/dist/_cjs/common/document-kind.js +32 -0
- package/dist/_cjs/common/envs-kind.js +142 -0
- package/dist/_cjs/common/index.js +25 -0
- package/dist/_cjs/common/libraries-kind.js +116 -0
- package/dist/_cjs/common/menu-items.js +8 -0
- package/dist/_cjs/common/protocol-kind.js +62 -0
- package/dist/_cjs/common/symbols-kind.js +45 -0
- package/dist/_cjs/common/typings-kind.js +9 -0
- package/dist/_cjs/debug.js +195 -0
- package/dist/_cjs/index.js +5 -0
- package/dist/_cjs/initiator.js +28 -0
- package/dist/_cjs/schemas/generate.schema.js +2 -0
- package/dist/_cjs/schemas/index.js +18 -0
- package/dist/_cjs/schemas/row.schema.js +2 -0
- package/dist/_cjs/services/generator.js +107 -0
- package/dist/_cjs/services/index.js +19 -0
- package/dist/_cjs/services/installer.js +46 -0
- package/dist/_cjs/services/navigator.js +69 -0
- package/dist/_cjs/services/runner.js +20 -0
- package/dist/_cjs/templates/cache.template.js +58 -0
- package/dist/_cjs/templates/envs.template.js +115 -0
- package/dist/_cjs/templates/index.js +26 -0
- package/dist/_cjs/templates/index.template.js +38 -0
- package/dist/_cjs/templates/initiator.template.js +750 -0
- package/dist/_cjs/templates/ioc.template.js +107 -0
- package/dist/_cjs/templates/module.template.js +132 -0
- package/dist/_cjs/templates/pg-repository.template.js +432 -0
- package/dist/_cjs/templates/sys.template.js +110 -0
- package/dist/_cjs/templates/transport.template.js +490 -0
- package/dist/_cjs/templates/validator.template.js +16 -0
- package/dist/_cjs/types/index.js +2 -0
- package/dist/_cjs/types/module.js +2 -0
- package/dist/_cjs/types/service.js +2 -0
- package/dist/_cjs/utils/hello.js +17 -0
- package/dist/_cjs/utils/index.js +18 -0
- package/dist/_cjs/utils/ts-utils.js +7 -0
- package/dist/_types/common/action-kind.d.ts +15 -0
- package/dist/_types/common/constants.d.ts +5 -0
- package/dist/_types/common/document-kind.d.ts +29 -0
- package/dist/_types/common/envs-kind.d.ts +390 -0
- package/dist/_types/common/index.d.ts +9 -0
- package/dist/_types/common/libraries-kind.d.ts +115 -0
- package/dist/_types/common/menu-items.d.ts +7 -0
- package/dist/_types/common/protocol-kind.d.ts +59 -0
- package/dist/_types/common/symbols-kind.d.ts +44 -0
- package/dist/_types/common/typings-kind.d.ts +6 -0
- package/dist/_types/debug.d.ts +19 -0
- package/dist/_types/index.d.ts +2 -0
- package/dist/_types/initiator.d.ts +7 -0
- package/dist/_types/schemas/generate.schema.d.ts +38 -0
- package/dist/_types/schemas/index.d.ts +2 -0
- package/dist/_types/schemas/row.schema.d.ts +20 -0
- package/dist/_types/services/generator.d.ts +15 -0
- package/dist/_types/services/index.d.ts +3 -0
- package/dist/_types/services/installer.d.ts +5 -0
- package/dist/_types/services/navigator.d.ts +10 -0
- package/dist/_types/services/runner.d.ts +3 -0
- package/dist/_types/templates/cache.template.d.ts +8 -0
- package/dist/_types/templates/envs.template.d.ts +5 -0
- package/dist/_types/templates/index.d.ts +10 -0
- package/dist/_types/templates/index.template.d.ts +7 -0
- package/dist/_types/templates/initiator.template.d.ts +33 -0
- package/dist/_types/templates/ioc.template.d.ts +9 -0
- package/dist/_types/templates/module.template.d.ts +8 -0
- package/dist/_types/templates/pg-repository.template.d.ts +19 -0
- package/dist/_types/templates/sys.template.d.ts +23 -0
- package/dist/_types/templates/transport.template.d.ts +15 -0
- package/dist/_types/templates/validator.template.d.ts +7 -0
- package/dist/_types/types/index.d.ts +2 -0
- package/dist/_types/types/module.d.ts +10 -0
- package/dist/_types/types/service.d.ts +21 -0
- package/dist/_types/utils/hello.d.ts +1 -0
- package/dist/_types/utils/index.d.ts +2 -0
- package/dist/_types/utils/ts-utils.d.ts +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const ActionKindMapping: {
|
|
2
|
+
readonly get_by_id: "getById";
|
|
3
|
+
readonly create_one: "createOne";
|
|
4
|
+
readonly update_by_id: "updateById";
|
|
5
|
+
readonly patch_by_id: "patchById";
|
|
6
|
+
readonly delete_by_id: "deleteById";
|
|
7
|
+
readonly soft_delete_by_id: "softDeleteById";
|
|
8
|
+
readonly restore_by_id: "restoreById";
|
|
9
|
+
readonly archive_by_id: "archiveById";
|
|
10
|
+
readonly unarchive_by_id: "unarchiveById";
|
|
11
|
+
readonly delete_modify_by_id: "deleteModifyById";
|
|
12
|
+
readonly archive_modify_by_id: "archiveModifyById";
|
|
13
|
+
};
|
|
14
|
+
export type ActionKindKey = keyof typeof ActionKindMapping;
|
|
15
|
+
export type ActionKind = (typeof ActionKindMapping)[ActionKindKey];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare const DocumentKindMapping: {
|
|
2
|
+
readonly module: "module";
|
|
3
|
+
readonly transport: "transport";
|
|
4
|
+
readonly controller: "controller";
|
|
5
|
+
readonly pg_entity: "pg-entity";
|
|
6
|
+
readonly pg_repository: "pg-repository";
|
|
7
|
+
readonly tm_entity: "tm-entity";
|
|
8
|
+
readonly tm_repository: "tm-repository";
|
|
9
|
+
readonly ch_entity: "ch-entity";
|
|
10
|
+
readonly ch_repository: "ch-repository";
|
|
11
|
+
readonly validation_schema: "validation-schema";
|
|
12
|
+
};
|
|
13
|
+
export declare const DocumentClassMapping: {
|
|
14
|
+
readonly module: "Module";
|
|
15
|
+
readonly transport: "Transport";
|
|
16
|
+
readonly controller: "Controller";
|
|
17
|
+
readonly pg_entity: "PgEntity";
|
|
18
|
+
readonly pg_repository: "PgRepository";
|
|
19
|
+
readonly tm_entity: "TmEntity";
|
|
20
|
+
readonly tm_repository: "TmRepository";
|
|
21
|
+
readonly ch_entity: "ChEntity";
|
|
22
|
+
readonly ch_repository: "ChRepository";
|
|
23
|
+
};
|
|
24
|
+
export declare const ModuleBlockMapping: {
|
|
25
|
+
readonly postgres: "postgres";
|
|
26
|
+
readonly timescale: "timescale";
|
|
27
|
+
readonly entity: "entity";
|
|
28
|
+
readonly repository: "repository";
|
|
29
|
+
};
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
export declare const EnvsKindMapping: {
|
|
2
|
+
readonly service_name: "SERVICE_NAME";
|
|
3
|
+
readonly default_log_level: "DEFAULT_LOG_LEVEL";
|
|
4
|
+
readonly tracer_collect_url: "TRACER_COLLECT_URL";
|
|
5
|
+
readonly tracer_type: "TRACER_TYPE";
|
|
6
|
+
readonly tracer_param: "TRACER_PARAM";
|
|
7
|
+
readonly tracer_log_spans: "TRACER_LOG_SPANS";
|
|
8
|
+
readonly scrambler_algorithm: "SCRAMBLER_ALGORITHM";
|
|
9
|
+
readonly scrambler_random_bytes: "SCRAMBLER_RANDOM_BYTES";
|
|
10
|
+
readonly scrambler_salt: "SCRAMBLER_SALT";
|
|
11
|
+
readonly scrambler_access_token_minutes: "SCRAMBLER_ACCESS_TOKEN_MINUTES";
|
|
12
|
+
readonly scrambler_refresh_token_days: "SCRAMBLER_REFRESH_TOKEN_DAYS";
|
|
13
|
+
readonly scrambler_jwt_secret: "SCRAMBLER_JWT_SECRET";
|
|
14
|
+
readonly mail_is_secure: "MAIL_IS_SECURE";
|
|
15
|
+
readonly mail_auth_password: "MAIL_AUTH_PASSWORD";
|
|
16
|
+
readonly mail_auth_username: "MAIL_AUTH_USERNAME";
|
|
17
|
+
readonly mail_from_sender: "MAIL_FROM_SENDER";
|
|
18
|
+
readonly mail_port: "MAIL_PORT";
|
|
19
|
+
readonly mail_host: "MAIL_HOST";
|
|
20
|
+
readonly slack_secret: "SLACK_SECRET";
|
|
21
|
+
readonly slack_token: "SLACK_TOKEN";
|
|
22
|
+
readonly slack_server_port: "SLACK_SERVER_PORT";
|
|
23
|
+
readonly slack_server_host: "SLACK_SERVER_HOST";
|
|
24
|
+
readonly telegram_bot_token: "TELEGRAM_BOT_TOKEN";
|
|
25
|
+
readonly redis_port: "REDIS_PORT";
|
|
26
|
+
readonly redis_host: "REDIS_HOST";
|
|
27
|
+
readonly redis_auth_user: "REDIS_AUTH_USER";
|
|
28
|
+
readonly redis_auth_password: "REDIS_AUTH_PASSWORD";
|
|
29
|
+
readonly broker_url: "BROKER_URL";
|
|
30
|
+
readonly click_house_write_host: "CLICK_HOUSE_WRITE_HOST";
|
|
31
|
+
readonly click_house_write_port: "CLICK_HOUSE_WRITE_PORT";
|
|
32
|
+
readonly click_house_write_user: "CLICK_HOUSE_WRITE_USER";
|
|
33
|
+
readonly click_house_write_password: "CLICK_HOUSE_WRITE_PASSWORD";
|
|
34
|
+
readonly click_house_database: "CLICK_HOUSE_DATABASE";
|
|
35
|
+
readonly postgres_write_host: "POSTGRES_WRITE_HOST";
|
|
36
|
+
readonly postgres_write_port: "POSTGRES_WRITE_PORT";
|
|
37
|
+
readonly postgres_write_username: "POSTGRES_WRITE_USERNAME";
|
|
38
|
+
readonly postgres_write_password: "POSTGRES_WRITE_PASSWORD";
|
|
39
|
+
readonly postgres_database: "POSTGRES_DATABASE";
|
|
40
|
+
readonly timescale_write_host: "TIMESCALE_WRITE_HOST";
|
|
41
|
+
readonly timescale_write_port: "TIMESCALE_WRITE_PORT";
|
|
42
|
+
readonly timescale_write_username: "TIMESCALE_WRITE_USERNAME";
|
|
43
|
+
readonly timescale_write_password: "TIMESCALE_WRITE_PASSWORD";
|
|
44
|
+
readonly timescale_database: "TIMESCALE_DATABASE";
|
|
45
|
+
readonly storix_aws_endpoint: "STORIX_AWS_ENDPOINT";
|
|
46
|
+
readonly storix_aws_region: "STORIX_AWS_REGION";
|
|
47
|
+
readonly storix_aws_access_id: "STORIX_AWS_ACCESS_ID";
|
|
48
|
+
readonly storix_aws_access_key: "STORIX_AWS_ACCESS_KEY";
|
|
49
|
+
readonly storix_force_path_style: "STORIX_FORCE_PATH_STYLE";
|
|
50
|
+
readonly http_server_host: "HTTP_SERVER_HOST";
|
|
51
|
+
readonly http_server_port: "HTTP_SERVER_PORT";
|
|
52
|
+
readonly manager_host: "MANAGER_HOST";
|
|
53
|
+
readonly manager_port: "MANAGER_PORT";
|
|
54
|
+
readonly ws_server_host: "WS_SERVER_HOST";
|
|
55
|
+
readonly ws_server_port: "WS_SERVER_PORT";
|
|
56
|
+
readonly ws_gw_service_endpoint: "WS_GW_SERVICE_ENDPOINT";
|
|
57
|
+
};
|
|
58
|
+
export declare const getServiceName: (service: string) => {
|
|
59
|
+
type: string;
|
|
60
|
+
specs: {
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export type EnvsDefaultKey = Exclude<keyof typeof EnvsKindMapping, 'service_name'>;
|
|
65
|
+
export declare const EnvsDefaultMapping: {
|
|
66
|
+
default_log_level: {
|
|
67
|
+
type: "string";
|
|
68
|
+
specs: {
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
tracer_collect_url: {
|
|
73
|
+
type: "string";
|
|
74
|
+
specs: {
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
tracer_type: {
|
|
79
|
+
type: "string";
|
|
80
|
+
specs: {
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
tracer_param: {
|
|
85
|
+
type: "number";
|
|
86
|
+
specs: {
|
|
87
|
+
default: number;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
tracer_log_spans: {
|
|
91
|
+
type: "boolean";
|
|
92
|
+
specs: {
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
scrambler_algorithm: {
|
|
97
|
+
type: "string";
|
|
98
|
+
specs: {
|
|
99
|
+
default: string;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
scrambler_random_bytes: {
|
|
103
|
+
type: "number";
|
|
104
|
+
specs: {
|
|
105
|
+
default: number;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
scrambler_salt: {
|
|
109
|
+
type: "number";
|
|
110
|
+
specs: {
|
|
111
|
+
default: number;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
scrambler_access_token_minutes: {
|
|
115
|
+
type: "number";
|
|
116
|
+
specs: {
|
|
117
|
+
default: number;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
scrambler_refresh_token_days: {
|
|
121
|
+
type: "number";
|
|
122
|
+
specs: {
|
|
123
|
+
default: number;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
scrambler_jwt_secret: {
|
|
127
|
+
type: "string";
|
|
128
|
+
specs: {
|
|
129
|
+
default: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
mail_is_secure: {
|
|
133
|
+
type: "boolean";
|
|
134
|
+
specs: {
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
mail_auth_password: {
|
|
139
|
+
type: "string";
|
|
140
|
+
specs: {
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
mail_auth_username: {
|
|
145
|
+
type: "string";
|
|
146
|
+
specs: {
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
mail_from_sender: {
|
|
151
|
+
type: "string";
|
|
152
|
+
specs: {
|
|
153
|
+
default: string;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
mail_port: {
|
|
157
|
+
type: "string";
|
|
158
|
+
specs: {
|
|
159
|
+
default: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
mail_host: {
|
|
163
|
+
type: "number";
|
|
164
|
+
specs: {
|
|
165
|
+
default: number;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
slack_secret: {
|
|
169
|
+
type: "string";
|
|
170
|
+
specs: {
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
slack_token: {
|
|
175
|
+
type: "string";
|
|
176
|
+
specs: {
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
slack_server_port: {
|
|
181
|
+
type: "number";
|
|
182
|
+
specs: {
|
|
183
|
+
default: number;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
slack_server_host: {
|
|
187
|
+
type: "string";
|
|
188
|
+
specs: {
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
telegram_bot_token: {
|
|
193
|
+
type: "string";
|
|
194
|
+
specs: {
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
redis_port: {
|
|
199
|
+
type: "string";
|
|
200
|
+
specs: {
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
redis_host: {
|
|
205
|
+
type: "number";
|
|
206
|
+
specs: {
|
|
207
|
+
default: number;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
redis_auth_user: {
|
|
211
|
+
type: "string";
|
|
212
|
+
specs: {
|
|
213
|
+
default: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
redis_auth_password: {
|
|
217
|
+
type: "string";
|
|
218
|
+
specs: {
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
broker_url: {
|
|
223
|
+
type: "string";
|
|
224
|
+
specs: {
|
|
225
|
+
default: string;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
click_house_write_host: {
|
|
229
|
+
type: "string";
|
|
230
|
+
specs: {
|
|
231
|
+
default: string;
|
|
232
|
+
};
|
|
233
|
+
};
|
|
234
|
+
click_house_write_port: {
|
|
235
|
+
type: "number";
|
|
236
|
+
specs: {
|
|
237
|
+
default: number;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
click_house_write_user: {
|
|
241
|
+
type: "string";
|
|
242
|
+
specs: {
|
|
243
|
+
default: string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
click_house_write_password: {
|
|
247
|
+
type: "string";
|
|
248
|
+
specs: {
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
click_house_database: {
|
|
253
|
+
type: "string";
|
|
254
|
+
specs: {
|
|
255
|
+
default: string;
|
|
256
|
+
};
|
|
257
|
+
};
|
|
258
|
+
postgres_write_host: {
|
|
259
|
+
type: "string";
|
|
260
|
+
specs: {
|
|
261
|
+
default: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
postgres_write_port: {
|
|
265
|
+
type: "number";
|
|
266
|
+
specs: {
|
|
267
|
+
default: number;
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
postgres_write_username: {
|
|
271
|
+
type: "string";
|
|
272
|
+
specs: {
|
|
273
|
+
default: string;
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
postgres_write_password: {
|
|
277
|
+
type: "string";
|
|
278
|
+
specs: {
|
|
279
|
+
default: string;
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
postgres_database: {
|
|
283
|
+
type: "string";
|
|
284
|
+
specs: {
|
|
285
|
+
default: string;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
timescale_write_host: {
|
|
289
|
+
type: "string";
|
|
290
|
+
specs: {
|
|
291
|
+
default: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
timescale_write_port: {
|
|
295
|
+
type: "number";
|
|
296
|
+
specs: {
|
|
297
|
+
default: number;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
timescale_write_username: {
|
|
301
|
+
type: "string";
|
|
302
|
+
specs: {
|
|
303
|
+
default: string;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
timescale_write_password: {
|
|
307
|
+
type: "string";
|
|
308
|
+
specs: {
|
|
309
|
+
default: string;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
timescale_database: {
|
|
313
|
+
type: "string";
|
|
314
|
+
specs: {
|
|
315
|
+
default: string;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
storix_aws_endpoint: {
|
|
319
|
+
type: "string";
|
|
320
|
+
specs: {
|
|
321
|
+
default: string;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
storix_aws_region: {
|
|
325
|
+
type: "string";
|
|
326
|
+
specs: {
|
|
327
|
+
default: string;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
storix_aws_access_id: {
|
|
331
|
+
type: "string";
|
|
332
|
+
specs: {
|
|
333
|
+
default: string;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
storix_aws_access_key: {
|
|
337
|
+
type: "string";
|
|
338
|
+
specs: {
|
|
339
|
+
default: string;
|
|
340
|
+
};
|
|
341
|
+
};
|
|
342
|
+
storix_force_path_style: {
|
|
343
|
+
type: "boolean";
|
|
344
|
+
specs: {
|
|
345
|
+
default: boolean;
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
http_server_host: {
|
|
349
|
+
type: "string";
|
|
350
|
+
specs: {
|
|
351
|
+
default: string;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
http_server_port: {
|
|
355
|
+
type: "number";
|
|
356
|
+
specs: {
|
|
357
|
+
default: number;
|
|
358
|
+
};
|
|
359
|
+
};
|
|
360
|
+
manager_host: {
|
|
361
|
+
type: "string";
|
|
362
|
+
specs: {
|
|
363
|
+
default: string;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
manager_port: {
|
|
367
|
+
type: "number";
|
|
368
|
+
specs: {
|
|
369
|
+
default: number;
|
|
370
|
+
};
|
|
371
|
+
};
|
|
372
|
+
ws_server_host: {
|
|
373
|
+
type: "string";
|
|
374
|
+
specs: {
|
|
375
|
+
default: string;
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
ws_server_port: {
|
|
379
|
+
type: "number";
|
|
380
|
+
specs: {
|
|
381
|
+
default: number;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
ws_gw_service_endpoint: {
|
|
385
|
+
type: "string";
|
|
386
|
+
specs: {
|
|
387
|
+
default: string;
|
|
388
|
+
};
|
|
389
|
+
};
|
|
390
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './constants';
|
|
2
|
+
export * from './document-kind';
|
|
3
|
+
export * from './libraries-kind';
|
|
4
|
+
export * from './typings-kind';
|
|
5
|
+
export * from './action-kind';
|
|
6
|
+
export * from './protocol-kind';
|
|
7
|
+
export * from './symbols-kind';
|
|
8
|
+
export * from './envs-kind';
|
|
9
|
+
export * from './menu-items';
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
export declare const LibrariesKindMapping: {
|
|
2
|
+
readonly be_common: "@harvestgate/be-common";
|
|
3
|
+
readonly be_config: "@harvestgate/be-config";
|
|
4
|
+
readonly context: "@harvestgate/context";
|
|
5
|
+
readonly reflection: "@harvestgate/reflection";
|
|
6
|
+
readonly tracer: "@harvestgate/tracer";
|
|
7
|
+
readonly logger: "@harvestgate/logger";
|
|
8
|
+
readonly scrambler: "@harvestgate/scrambler";
|
|
9
|
+
readonly kafka: "@harvestgate/kafka";
|
|
10
|
+
readonly redis: "@harvestgate/redis";
|
|
11
|
+
readonly sql: "@harvestgate/sql";
|
|
12
|
+
readonly slack: "@harvestgate/slack";
|
|
13
|
+
readonly emails: "@harvestgate/emails";
|
|
14
|
+
readonly telegram: "@harvestgate/telegram";
|
|
15
|
+
readonly click_house: "@harvestgate/click-house";
|
|
16
|
+
readonly storix: "@harvestgate/storix";
|
|
17
|
+
readonly manager: "@harvestgate/manager";
|
|
18
|
+
readonly http_server: "@harvestgate/http-server";
|
|
19
|
+
readonly ws_server: "@harvestgate/ws-server";
|
|
20
|
+
};
|
|
21
|
+
export declare const LibrariesNameMapping: {
|
|
22
|
+
readonly be_axios: "Axios";
|
|
23
|
+
readonly scrambler: "Scrambler";
|
|
24
|
+
readonly email: "Emails";
|
|
25
|
+
readonly slack: "Slack";
|
|
26
|
+
readonly telegram: "Telegram";
|
|
27
|
+
readonly redis: "Redis";
|
|
28
|
+
readonly broker: "Kafka broker";
|
|
29
|
+
readonly click_house: "Click House";
|
|
30
|
+
readonly postgres: "Postgres";
|
|
31
|
+
readonly timescale: "Timescale";
|
|
32
|
+
readonly storix: "Storix";
|
|
33
|
+
readonly manager: "Manager";
|
|
34
|
+
readonly queue: "Bull queue";
|
|
35
|
+
readonly http_server: "Http server";
|
|
36
|
+
readonly ws_server: "Ws server";
|
|
37
|
+
};
|
|
38
|
+
export type LibrariesNameKey = keyof typeof LibrariesNameMapping;
|
|
39
|
+
export type LibrariesName = (typeof LibrariesNameMapping)[LibrariesNameKey];
|
|
40
|
+
export declare const ReflectionKindMapping: {
|
|
41
|
+
readonly module: "Module";
|
|
42
|
+
readonly registry: "Registry";
|
|
43
|
+
readonly locator: "locator";
|
|
44
|
+
readonly bind: "bind";
|
|
45
|
+
readonly extract: "extract";
|
|
46
|
+
readonly transport: "transport";
|
|
47
|
+
};
|
|
48
|
+
export declare const HttpServerKindMapping: {
|
|
49
|
+
readonly http_server: "HttpServer";
|
|
50
|
+
readonly request: "Request";
|
|
51
|
+
readonly reply: "Reply";
|
|
52
|
+
};
|
|
53
|
+
export declare const WsServerKindMapping: {
|
|
54
|
+
readonly ws_server: "WsServer";
|
|
55
|
+
};
|
|
56
|
+
export declare const CommonKindMapping: {
|
|
57
|
+
readonly create_symbols: "createSymbols";
|
|
58
|
+
};
|
|
59
|
+
export declare const ImportsKindMapping: {
|
|
60
|
+
readonly schemas: "schemas";
|
|
61
|
+
};
|
|
62
|
+
export declare const ContextKindMapping: {
|
|
63
|
+
readonly context: "Context";
|
|
64
|
+
};
|
|
65
|
+
export declare const TracerKindMapping: {
|
|
66
|
+
readonly tracer: "Tracer";
|
|
67
|
+
};
|
|
68
|
+
export declare const CommonKindItemsMapping: {
|
|
69
|
+
readonly abstract_id_schema: "AbstractIdSchema";
|
|
70
|
+
};
|
|
71
|
+
export declare const CommonKindTypingsMapping: {
|
|
72
|
+
readonly abstract_id_schema: "AbstractIdArgs";
|
|
73
|
+
};
|
|
74
|
+
export declare const ConfigKindMapping: {
|
|
75
|
+
readonly config: "Config";
|
|
76
|
+
};
|
|
77
|
+
export declare const LoggerKindMapping: {
|
|
78
|
+
readonly logger: "Logger";
|
|
79
|
+
};
|
|
80
|
+
export declare const RedisKindMapping: {
|
|
81
|
+
readonly redis: "Redis";
|
|
82
|
+
};
|
|
83
|
+
export declare const SqlKindMapping: {
|
|
84
|
+
readonly postgres: "Postgres";
|
|
85
|
+
readonly timescale: "Timescale";
|
|
86
|
+
};
|
|
87
|
+
export declare const ScramblerKindMapping: {
|
|
88
|
+
readonly scrambler: "Scrambler";
|
|
89
|
+
};
|
|
90
|
+
export declare const StorixKindMapping: {
|
|
91
|
+
readonly storix: "Storix";
|
|
92
|
+
};
|
|
93
|
+
export declare const BrokerKindMapping: {
|
|
94
|
+
readonly broker: "Broker";
|
|
95
|
+
};
|
|
96
|
+
export declare const ClickHouseKindMapping: {
|
|
97
|
+
readonly click_house: "ClickHouse";
|
|
98
|
+
};
|
|
99
|
+
export declare const SqlMethodKindMapping: {
|
|
100
|
+
readonly repository: "repository";
|
|
101
|
+
readonly insert_row: "insertRow";
|
|
102
|
+
readonly update_row: "updateRow";
|
|
103
|
+
};
|
|
104
|
+
export declare const EmailsKindMapping: {
|
|
105
|
+
readonly emails: "Emails";
|
|
106
|
+
};
|
|
107
|
+
export declare const SlackKindMapping: {
|
|
108
|
+
readonly slack: "Slack";
|
|
109
|
+
};
|
|
110
|
+
export declare const TelegramKindMapping: {
|
|
111
|
+
readonly telegram: "Telegram";
|
|
112
|
+
};
|
|
113
|
+
export declare const ManagerKindMapping: {
|
|
114
|
+
readonly manager: "Manager";
|
|
115
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const MenuItemsMapping: {
|
|
2
|
+
readonly generate_service: "Generate service";
|
|
3
|
+
readonly help: "Help";
|
|
4
|
+
readonly exit: "Exit";
|
|
5
|
+
};
|
|
6
|
+
export type MainItemsKey = keyof typeof MenuItemsMapping;
|
|
7
|
+
export type MainItems = (typeof MenuItemsMapping)[MainItemsKey];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const ProtocolKindMapping: {
|
|
2
|
+
readonly http: "http";
|
|
3
|
+
};
|
|
4
|
+
export declare const TransportFieldsMapping: {
|
|
5
|
+
readonly scope: "scope";
|
|
6
|
+
readonly method: "method";
|
|
7
|
+
readonly version: "version";
|
|
8
|
+
readonly route: "route";
|
|
9
|
+
readonly schema: "schema";
|
|
10
|
+
};
|
|
11
|
+
export declare const AccessScopeMapping: {
|
|
12
|
+
readonly private: "private";
|
|
13
|
+
readonly public: "public";
|
|
14
|
+
readonly hybrid: "hybrid";
|
|
15
|
+
};
|
|
16
|
+
export declare const HttpMethodMapping: {
|
|
17
|
+
readonly get: "GET";
|
|
18
|
+
readonly post: "POST";
|
|
19
|
+
readonly put: "PUT";
|
|
20
|
+
readonly patch: "PATCH";
|
|
21
|
+
readonly delete: "DELETE";
|
|
22
|
+
};
|
|
23
|
+
export declare const HttpBlockMapping: {
|
|
24
|
+
readonly querystring: "querystring";
|
|
25
|
+
readonly body: "body";
|
|
26
|
+
readonly response: "response";
|
|
27
|
+
};
|
|
28
|
+
export declare const SchemaTypingsMapping: {
|
|
29
|
+
readonly schema: "Schema";
|
|
30
|
+
readonly id_schema: "IdSchema";
|
|
31
|
+
readonly abstract_id_schema: "AbstractIdSchema";
|
|
32
|
+
readonly created_schema: "CreatedSchema";
|
|
33
|
+
readonly updated_schema: "UpdatedSchema";
|
|
34
|
+
readonly item_schema: "ItemSchema";
|
|
35
|
+
};
|
|
36
|
+
export declare const SchemaBlockMapping: {
|
|
37
|
+
readonly schema: "Args";
|
|
38
|
+
readonly abstract_id_schema: "AbstractIdArgs";
|
|
39
|
+
readonly created_schema: "CreatedArgs";
|
|
40
|
+
readonly updated_schema: "UpdateArgs";
|
|
41
|
+
readonly id_schema: "IdArgs";
|
|
42
|
+
readonly item_schema: "ItemArgs";
|
|
43
|
+
};
|
|
44
|
+
export declare const StatusCodeMapping: {
|
|
45
|
+
readonly ok: 200;
|
|
46
|
+
readonly created: 201;
|
|
47
|
+
readonly noContent: 204;
|
|
48
|
+
};
|
|
49
|
+
export declare const HttpTypingsMapping: {
|
|
50
|
+
readonly request: "Request";
|
|
51
|
+
readonly reply: "Reply";
|
|
52
|
+
readonly params: "Params";
|
|
53
|
+
readonly querystring: "Querystring";
|
|
54
|
+
readonly body: "Body";
|
|
55
|
+
};
|
|
56
|
+
export declare const HttpAliasMapping: {
|
|
57
|
+
readonly request: "req";
|
|
58
|
+
readonly reply: "reply";
|
|
59
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare const SymbolsKindMapping: {
|
|
2
|
+
readonly context: "Context";
|
|
3
|
+
readonly config: "Config";
|
|
4
|
+
readonly registry: "Registry";
|
|
5
|
+
readonly logger: "Logger";
|
|
6
|
+
readonly tracer: "Tracer";
|
|
7
|
+
readonly emails: "Emails";
|
|
8
|
+
readonly slack: "Slack";
|
|
9
|
+
readonly telegram: "Telegram";
|
|
10
|
+
readonly broker: "Broker";
|
|
11
|
+
readonly redis: "Redis";
|
|
12
|
+
readonly scrambler: "Scrambler";
|
|
13
|
+
readonly postgres: "Postgres";
|
|
14
|
+
readonly timescale: "Timescale";
|
|
15
|
+
readonly storix: "Storix";
|
|
16
|
+
readonly click_house: "ClickHouse";
|
|
17
|
+
readonly manager: "Manager";
|
|
18
|
+
readonly http_server: "HttpServer";
|
|
19
|
+
readonly ws_server: "WsServer";
|
|
20
|
+
};
|
|
21
|
+
export declare const SymbolsAliasMapping: {
|
|
22
|
+
readonly registry: "_registry";
|
|
23
|
+
readonly context: "_context";
|
|
24
|
+
readonly config: "_config";
|
|
25
|
+
readonly logger: "_logger";
|
|
26
|
+
readonly tracer: "_tracer";
|
|
27
|
+
readonly scrambler: "_scrambler";
|
|
28
|
+
readonly emails: "_emails";
|
|
29
|
+
readonly slack: "_slack";
|
|
30
|
+
readonly telegram: "_telegram";
|
|
31
|
+
readonly redis_subscriber: "_redisSubscriber";
|
|
32
|
+
readonly redis_publisher: "_redisPublisher";
|
|
33
|
+
readonly redis: "_redis";
|
|
34
|
+
readonly broker: "_broker";
|
|
35
|
+
readonly click_house: "_clickHouse";
|
|
36
|
+
readonly postgres: "_postgres";
|
|
37
|
+
readonly timescale: "_timescale";
|
|
38
|
+
readonly storix: "_storix";
|
|
39
|
+
readonly http_server: "_httpServer";
|
|
40
|
+
readonly manager: "_manager";
|
|
41
|
+
readonly ws_server: "_wsServer";
|
|
42
|
+
};
|
|
43
|
+
export type SymbolsAliasKey = keyof typeof SymbolsAliasMapping;
|
|
44
|
+
export type SymbolsAlias = (typeof SymbolsAliasMapping)[SymbolsAliasKey];
|