@intrig/core 0.0.11 → 0.0.13-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/main.js +773 -452
- package/package.json +2 -2
package/main.js
CHANGED
|
@@ -41,12 +41,8 @@ var __webpack_exports__ = {};
|
|
|
41
41
|
|
|
42
42
|
;// external "nest-commander"
|
|
43
43
|
const external_nest_commander_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("nest-commander");
|
|
44
|
-
;// external "@swc/helpers/_/_ts_decorate"
|
|
45
|
-
const _ts_decorate_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("@swc/helpers/_/_ts_decorate");
|
|
46
44
|
;// external "@nestjs/common"
|
|
47
45
|
const common_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("@nestjs/common");
|
|
48
|
-
;// external "@swc/helpers/_/_ts_metadata"
|
|
49
|
-
const _ts_metadata_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("@swc/helpers/_/_ts_metadata");
|
|
50
46
|
;// external "child_process"
|
|
51
47
|
const external_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("child_process");
|
|
52
48
|
;// external "@nestjs/config"
|
|
@@ -67,8 +63,15 @@ const external_crypto_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.
|
|
|
67
63
|
const external_tcp_port_used_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("tcp-port-used");
|
|
68
64
|
var external_tcp_port_used_default = /*#__PURE__*/__webpack_require__.n(external_tcp_port_used_namespaceObject);
|
|
69
65
|
;// ./src/app/discovery/discovery.service.ts
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
67
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
68
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
69
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
70
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
71
|
+
}
|
|
72
|
+
function _ts_metadata(k, v) {
|
|
73
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
74
|
+
}
|
|
72
75
|
|
|
73
76
|
|
|
74
77
|
|
|
@@ -190,17 +193,24 @@ class DiscoveryService {
|
|
|
190
193
|
return raw.replace(/[^a-zA-Z0-9\-_]/g, '_');
|
|
191
194
|
}
|
|
192
195
|
}
|
|
193
|
-
DiscoveryService = (
|
|
196
|
+
DiscoveryService = _ts_decorate([
|
|
194
197
|
(0,common_namespaceObject.Injectable)(),
|
|
195
|
-
(
|
|
196
|
-
(
|
|
198
|
+
_ts_metadata("design:type", Function),
|
|
199
|
+
_ts_metadata("design:paramtypes", [
|
|
197
200
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
198
201
|
])
|
|
199
202
|
], DiscoveryService);
|
|
200
203
|
|
|
201
204
|
;// ./src/app/cli/process-manager.service.ts
|
|
202
|
-
|
|
203
|
-
|
|
205
|
+
function process_manager_service_ts_decorate(decorators, target, key, desc) {
|
|
206
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
207
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
208
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
209
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
210
|
+
}
|
|
211
|
+
function process_manager_service_ts_metadata(k, v) {
|
|
212
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
213
|
+
}
|
|
204
214
|
|
|
205
215
|
|
|
206
216
|
|
|
@@ -264,18 +274,25 @@ class ProcessManagerService {
|
|
|
264
274
|
return this.discovery.waitForMetadata();
|
|
265
275
|
}
|
|
266
276
|
}
|
|
267
|
-
ProcessManagerService = (
|
|
277
|
+
ProcessManagerService = process_manager_service_ts_decorate([
|
|
268
278
|
(0,common_namespaceObject.Injectable)(),
|
|
269
|
-
(
|
|
270
|
-
(
|
|
279
|
+
process_manager_service_ts_metadata("design:type", Function),
|
|
280
|
+
process_manager_service_ts_metadata("design:paramtypes", [
|
|
271
281
|
typeof DiscoveryService === "undefined" ? Object : DiscoveryService,
|
|
272
282
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
273
283
|
])
|
|
274
284
|
], ProcessManagerService);
|
|
275
285
|
|
|
276
286
|
;// ./src/app/cli/commands/deamon.command.ts
|
|
277
|
-
|
|
278
|
-
|
|
287
|
+
function deamon_command_ts_decorate(decorators, target, key, desc) {
|
|
288
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
289
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
290
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
291
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
292
|
+
}
|
|
293
|
+
function deamon_command_ts_metadata(k, v) {
|
|
294
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
295
|
+
}
|
|
279
296
|
|
|
280
297
|
|
|
281
298
|
class UpSubCommand extends external_nest_commander_namespaceObject.CommandRunner {
|
|
@@ -286,13 +303,13 @@ class UpSubCommand extends external_nest_commander_namespaceObject.CommandRunner
|
|
|
286
303
|
await this.pm.start();
|
|
287
304
|
}
|
|
288
305
|
}
|
|
289
|
-
UpSubCommand = (
|
|
306
|
+
UpSubCommand = deamon_command_ts_decorate([
|
|
290
307
|
(0,external_nest_commander_namespaceObject.SubCommand)({
|
|
291
308
|
name: 'up',
|
|
292
309
|
description: 'Start the deamon.'
|
|
293
310
|
}),
|
|
294
|
-
(
|
|
295
|
-
(
|
|
311
|
+
deamon_command_ts_metadata("design:type", Function),
|
|
312
|
+
deamon_command_ts_metadata("design:paramtypes", [
|
|
296
313
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService
|
|
297
314
|
])
|
|
298
315
|
], UpSubCommand);
|
|
@@ -304,13 +321,13 @@ class DownSubCommand extends external_nest_commander_namespaceObject.CommandRunn
|
|
|
304
321
|
await this.pm.stop();
|
|
305
322
|
}
|
|
306
323
|
}
|
|
307
|
-
DownSubCommand = (
|
|
324
|
+
DownSubCommand = deamon_command_ts_decorate([
|
|
308
325
|
(0,external_nest_commander_namespaceObject.SubCommand)({
|
|
309
326
|
name: 'down',
|
|
310
327
|
description: 'Stop the deamon.'
|
|
311
328
|
}),
|
|
312
|
-
(
|
|
313
|
-
(
|
|
329
|
+
deamon_command_ts_metadata("design:type", Function),
|
|
330
|
+
deamon_command_ts_metadata("design:paramtypes", [
|
|
314
331
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService
|
|
315
332
|
])
|
|
316
333
|
], DownSubCommand);
|
|
@@ -322,13 +339,13 @@ class RestartSubCommand extends external_nest_commander_namespaceObject.CommandR
|
|
|
322
339
|
await this.pm.restart();
|
|
323
340
|
}
|
|
324
341
|
}
|
|
325
|
-
RestartSubCommand = (
|
|
342
|
+
RestartSubCommand = deamon_command_ts_decorate([
|
|
326
343
|
(0,external_nest_commander_namespaceObject.SubCommand)({
|
|
327
344
|
name: 'restart',
|
|
328
345
|
description: 'Restart the deamon.'
|
|
329
346
|
}),
|
|
330
|
-
(
|
|
331
|
-
(
|
|
347
|
+
deamon_command_ts_metadata("design:type", Function),
|
|
348
|
+
deamon_command_ts_metadata("design:paramtypes", [
|
|
332
349
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService
|
|
333
350
|
])
|
|
334
351
|
], RestartSubCommand);
|
|
@@ -341,13 +358,13 @@ class StatusSubCommand extends external_nest_commander_namespaceObject.CommandRu
|
|
|
341
358
|
console.log(`Daemon is ${isRunning ? 'running' : 'not running'}`);
|
|
342
359
|
}
|
|
343
360
|
}
|
|
344
|
-
StatusSubCommand = (
|
|
361
|
+
StatusSubCommand = deamon_command_ts_decorate([
|
|
345
362
|
(0,external_nest_commander_namespaceObject.SubCommand)({
|
|
346
363
|
name: 'status',
|
|
347
364
|
description: 'Check the deamon status.'
|
|
348
365
|
}),
|
|
349
|
-
(
|
|
350
|
-
(
|
|
366
|
+
deamon_command_ts_metadata("design:type", Function),
|
|
367
|
+
deamon_command_ts_metadata("design:paramtypes", [
|
|
351
368
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService
|
|
352
369
|
])
|
|
353
370
|
], StatusSubCommand);
|
|
@@ -356,7 +373,7 @@ class DeamonCommand extends external_nest_commander_namespaceObject.CommandRunne
|
|
|
356
373
|
this.command.outputHelp();
|
|
357
374
|
}
|
|
358
375
|
}
|
|
359
|
-
DeamonCommand = (
|
|
376
|
+
DeamonCommand = deamon_command_ts_decorate([
|
|
360
377
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
361
378
|
name: "deamon",
|
|
362
379
|
description: "Deamon related operations.",
|
|
@@ -382,8 +399,15 @@ const external_eventsource_parser_namespaceObject = __WEBPACK_EXTERNAL_createReq
|
|
|
382
399
|
const external_ora_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("ora");
|
|
383
400
|
var external_ora_default = /*#__PURE__*/__webpack_require__.n(external_ora_namespaceObject);
|
|
384
401
|
;// ./src/app/cli/commands/generate.command.ts
|
|
385
|
-
|
|
386
|
-
|
|
402
|
+
function generate_command_ts_decorate(decorators, target, key, desc) {
|
|
403
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
404
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
405
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
406
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
407
|
+
}
|
|
408
|
+
function generate_command_ts_metadata(k, v) {
|
|
409
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
410
|
+
}
|
|
387
411
|
|
|
388
412
|
|
|
389
413
|
|
|
@@ -456,27 +480,36 @@ class GenerateCommand extends external_nest_commander_namespaceObject.CommandRun
|
|
|
456
480
|
});
|
|
457
481
|
}
|
|
458
482
|
}
|
|
459
|
-
GenerateCommand = (
|
|
483
|
+
GenerateCommand = generate_command_ts_decorate([
|
|
460
484
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
461
485
|
name: 'generate',
|
|
462
486
|
description: 'Generate codebase'
|
|
463
487
|
}),
|
|
464
|
-
(
|
|
465
|
-
(
|
|
488
|
+
generate_command_ts_metadata("design:type", Function),
|
|
489
|
+
generate_command_ts_metadata("design:paramtypes", [
|
|
466
490
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
467
491
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
468
492
|
])
|
|
469
493
|
], GenerateCommand);
|
|
470
494
|
|
|
471
|
-
;// external "@swc/helpers/_/_ts_param"
|
|
472
|
-
const _ts_param_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("@swc/helpers/_/_ts_param");
|
|
473
495
|
;// ./src/app/cli/tokens.ts
|
|
474
496
|
const GENERATORS = 'GENERATORS';
|
|
475
497
|
|
|
476
498
|
;// ./src/app/cli/commands/init.command.ts
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
499
|
+
function init_command_ts_decorate(decorators, target, key, desc) {
|
|
500
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
501
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
502
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
503
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
504
|
+
}
|
|
505
|
+
function init_command_ts_metadata(k, v) {
|
|
506
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
507
|
+
}
|
|
508
|
+
function _ts_param(paramIndex, decorator) {
|
|
509
|
+
return function(target, key) {
|
|
510
|
+
decorator(target, key, paramIndex);
|
|
511
|
+
};
|
|
512
|
+
}
|
|
480
513
|
|
|
481
514
|
|
|
482
515
|
|
|
@@ -546,14 +579,14 @@ class InitCommand extends external_nest_commander_namespaceObject.CommandRunner
|
|
|
546
579
|
process.exit(0);
|
|
547
580
|
}
|
|
548
581
|
}
|
|
549
|
-
InitCommand = (
|
|
582
|
+
InitCommand = init_command_ts_decorate([
|
|
550
583
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
551
584
|
name: "init",
|
|
552
585
|
description: "Initialize Intrig"
|
|
553
586
|
}),
|
|
554
|
-
(
|
|
555
|
-
(
|
|
556
|
-
(
|
|
587
|
+
_ts_param(2, (0,common_namespaceObject.Inject)(GENERATORS)),
|
|
588
|
+
init_command_ts_metadata("design:type", Function),
|
|
589
|
+
init_command_ts_metadata("design:paramtypes", [
|
|
557
590
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
558
591
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService,
|
|
559
592
|
Array
|
|
@@ -564,8 +597,15 @@ InitCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
564
597
|
const external_inquirer_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("inquirer");
|
|
565
598
|
var external_inquirer_default = /*#__PURE__*/__webpack_require__.n(external_inquirer_namespaceObject);
|
|
566
599
|
;// ./src/app/cli/commands/sync.command.ts
|
|
567
|
-
|
|
568
|
-
|
|
600
|
+
function sync_command_ts_decorate(decorators, target, key, desc) {
|
|
601
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
602
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
603
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
604
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
605
|
+
}
|
|
606
|
+
function sync_command_ts_metadata(k, v) {
|
|
607
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
608
|
+
}
|
|
569
609
|
|
|
570
610
|
|
|
571
611
|
|
|
@@ -672,21 +712,28 @@ class SyncCommand extends external_nest_commander_namespaceObject.CommandRunner
|
|
|
672
712
|
});
|
|
673
713
|
}
|
|
674
714
|
}
|
|
675
|
-
SyncCommand = (
|
|
715
|
+
SyncCommand = sync_command_ts_decorate([
|
|
676
716
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
677
717
|
name: "sync",
|
|
678
718
|
description: "Sync all entities"
|
|
679
719
|
}),
|
|
680
|
-
(
|
|
681
|
-
(
|
|
720
|
+
sync_command_ts_metadata("design:type", Function),
|
|
721
|
+
sync_command_ts_metadata("design:paramtypes", [
|
|
682
722
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
683
723
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
684
724
|
])
|
|
685
725
|
], SyncCommand);
|
|
686
726
|
|
|
687
727
|
;// ./src/app/cli/commands/sources.command.ts
|
|
688
|
-
|
|
689
|
-
|
|
728
|
+
function sources_command_ts_decorate(decorators, target, key, desc) {
|
|
729
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
730
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
731
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
732
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
733
|
+
}
|
|
734
|
+
function sources_command_ts_metadata(k, v) {
|
|
735
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
736
|
+
}
|
|
690
737
|
|
|
691
738
|
|
|
692
739
|
|
|
@@ -752,13 +799,13 @@ class SourcesAddCommand extends external_nest_commander_namespaceObject.CommandR
|
|
|
752
799
|
console.log(external_chalk_default().whiteBright('Response:'), external_chalk_default().white(JSON.stringify(addRes)));
|
|
753
800
|
}
|
|
754
801
|
}
|
|
755
|
-
SourcesAddCommand = (
|
|
802
|
+
SourcesAddCommand = sources_command_ts_decorate([
|
|
756
803
|
(0,external_nest_commander_namespaceObject.SubCommand)({
|
|
757
804
|
name: 'add',
|
|
758
805
|
description: 'Add a new source'
|
|
759
806
|
}),
|
|
760
|
-
(
|
|
761
|
-
(
|
|
807
|
+
sources_command_ts_metadata("design:type", Function),
|
|
808
|
+
sources_command_ts_metadata("design:paramtypes", [
|
|
762
809
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
763
810
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
764
811
|
])
|
|
@@ -794,13 +841,13 @@ class SourceListCommand extends external_nest_commander_namespaceObject.CommandR
|
|
|
794
841
|
});
|
|
795
842
|
}
|
|
796
843
|
}
|
|
797
|
-
SourceListCommand = (
|
|
844
|
+
SourceListCommand = sources_command_ts_decorate([
|
|
798
845
|
(0,external_nest_commander_namespaceObject.SubCommand)({
|
|
799
846
|
name: 'ls',
|
|
800
847
|
description: 'List all sources'
|
|
801
848
|
}),
|
|
802
|
-
(
|
|
803
|
-
(
|
|
849
|
+
sources_command_ts_metadata("design:type", Function),
|
|
850
|
+
sources_command_ts_metadata("design:paramtypes", [
|
|
804
851
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
805
852
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
806
853
|
])
|
|
@@ -862,13 +909,13 @@ class SourceRemoveCommand extends external_nest_commander_namespaceObject.Comman
|
|
|
862
909
|
console.log(external_chalk_default().green.bold(`\n✔ Source "${id}" removed!`));
|
|
863
910
|
}
|
|
864
911
|
}
|
|
865
|
-
SourceRemoveCommand = (
|
|
912
|
+
SourceRemoveCommand = sources_command_ts_decorate([
|
|
866
913
|
(0,external_nest_commander_namespaceObject.SubCommand)({
|
|
867
914
|
name: 'rm',
|
|
868
915
|
description: 'Remove a source'
|
|
869
916
|
}),
|
|
870
|
-
(
|
|
871
|
-
(
|
|
917
|
+
sources_command_ts_metadata("design:type", Function),
|
|
918
|
+
sources_command_ts_metadata("design:paramtypes", [
|
|
872
919
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
873
920
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
874
921
|
])
|
|
@@ -878,7 +925,7 @@ class SourcesCommand extends external_nest_commander_namespaceObject.CommandRunn
|
|
|
878
925
|
this.command.outputHelp();
|
|
879
926
|
}
|
|
880
927
|
}
|
|
881
|
-
SourcesCommand = (
|
|
928
|
+
SourcesCommand = sources_command_ts_decorate([
|
|
882
929
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
883
930
|
name: 'sources',
|
|
884
931
|
description: 'Sources management',
|
|
@@ -1182,8 +1229,15 @@ const external_immer_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.m
|
|
|
1182
1229
|
const external_node_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:process");
|
|
1183
1230
|
var external_node_process_default = /*#__PURE__*/__webpack_require__.n(external_node_process_namespaceObject);
|
|
1184
1231
|
;// ../../lib/common/src/lib/spec-management.service.ts
|
|
1185
|
-
|
|
1186
|
-
|
|
1232
|
+
function spec_management_service_ts_decorate(decorators, target, key, desc) {
|
|
1233
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1234
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1235
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1236
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1237
|
+
}
|
|
1238
|
+
function spec_management_service_ts_metadata(k, v) {
|
|
1239
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1240
|
+
}
|
|
1187
1241
|
|
|
1188
1242
|
|
|
1189
1243
|
|
|
@@ -1218,16 +1272,21 @@ class SpecManagementService {
|
|
|
1218
1272
|
return undefined;
|
|
1219
1273
|
}
|
|
1220
1274
|
}
|
|
1221
|
-
SpecManagementService = (
|
|
1275
|
+
SpecManagementService = spec_management_service_ts_decorate([
|
|
1222
1276
|
(0,common_namespaceObject.Injectable)(),
|
|
1223
|
-
(
|
|
1224
|
-
(
|
|
1277
|
+
spec_management_service_ts_metadata("design:type", Function),
|
|
1278
|
+
spec_management_service_ts_metadata("design:paramtypes", [
|
|
1225
1279
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
1226
1280
|
])
|
|
1227
1281
|
], SpecManagementService);
|
|
1228
1282
|
|
|
1229
1283
|
;// ../../lib/common/src/lib/source-management.service.ts
|
|
1230
|
-
|
|
1284
|
+
function source_management_service_ts_decorate(decorators, target, key, desc) {
|
|
1285
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1286
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1287
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1288
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1289
|
+
}
|
|
1231
1290
|
|
|
1232
1291
|
|
|
1233
1292
|
|
|
@@ -1241,7 +1300,7 @@ class SourceManagementService {
|
|
|
1241
1300
|
external_fs_namespaceObject.writeFileSync(output.path, output.content, 'utf-8');
|
|
1242
1301
|
}
|
|
1243
1302
|
}
|
|
1244
|
-
SourceManagementService = (
|
|
1303
|
+
SourceManagementService = source_management_service_ts_decorate([
|
|
1245
1304
|
(0,common_namespaceObject.Injectable)()
|
|
1246
1305
|
], SourceManagementService);
|
|
1247
1306
|
|
|
@@ -1250,7 +1309,12 @@ const external_nypm_namespaceObject = await import("nypm");
|
|
|
1250
1309
|
;// external "util"
|
|
1251
1310
|
const external_util_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("util");
|
|
1252
1311
|
;// ../../lib/common/src/lib/package-manager.service.ts
|
|
1253
|
-
|
|
1312
|
+
function package_manager_service_ts_decorate(decorators, target, key, desc) {
|
|
1313
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1314
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1315
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1316
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1317
|
+
}
|
|
1254
1318
|
|
|
1255
1319
|
|
|
1256
1320
|
|
|
@@ -1337,19 +1401,24 @@ class PackageManagerService {
|
|
|
1337
1401
|
this.logger = new common_namespaceObject.Logger(PackageManagerService.name);
|
|
1338
1402
|
}
|
|
1339
1403
|
}
|
|
1340
|
-
PackageManagerService = (
|
|
1404
|
+
PackageManagerService = package_manager_service_ts_decorate([
|
|
1341
1405
|
(0,common_namespaceObject.Injectable)()
|
|
1342
1406
|
], PackageManagerService);
|
|
1343
1407
|
|
|
1344
1408
|
;// ../../lib/common/src/lib/common.module.ts
|
|
1345
|
-
|
|
1409
|
+
function common_module_ts_decorate(decorators, target, key, desc) {
|
|
1410
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1411
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1412
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1413
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1414
|
+
}
|
|
1346
1415
|
|
|
1347
1416
|
|
|
1348
1417
|
|
|
1349
1418
|
|
|
1350
1419
|
class CommonModule {
|
|
1351
1420
|
}
|
|
1352
|
-
CommonModule = (
|
|
1421
|
+
CommonModule = common_module_ts_decorate([
|
|
1353
1422
|
(0,common_namespaceObject.Global)(),
|
|
1354
1423
|
(0,common_namespaceObject.Module)({
|
|
1355
1424
|
controllers: [],
|
|
@@ -1383,8 +1452,15 @@ class GeneratorCli {
|
|
|
1383
1452
|
;// external "@nestjs/swagger"
|
|
1384
1453
|
const swagger_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("@nestjs/swagger");
|
|
1385
1454
|
;// ../../lib/common/src/lib/interfaces/page.interface.ts
|
|
1386
|
-
|
|
1387
|
-
|
|
1455
|
+
function page_interface_ts_decorate(decorators, target, key, desc) {
|
|
1456
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1457
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1458
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1459
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1460
|
+
}
|
|
1461
|
+
function page_interface_ts_metadata(k, v) {
|
|
1462
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1463
|
+
}
|
|
1388
1464
|
|
|
1389
1465
|
class Page {
|
|
1390
1466
|
constructor(data, total, page, limit, totalPages, hasNext, hasPrevious){
|
|
@@ -1400,46 +1476,53 @@ class Page {
|
|
|
1400
1476
|
return new Page(page.data, page.total, page.page, page.limit, page.totalPages, page.hasNext, page.hasPrevious);
|
|
1401
1477
|
}
|
|
1402
1478
|
}
|
|
1403
|
-
(
|
|
1479
|
+
page_interface_ts_decorate([
|
|
1404
1480
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1405
1481
|
description: 'Total number of items across all pages'
|
|
1406
1482
|
}),
|
|
1407
|
-
(
|
|
1483
|
+
page_interface_ts_metadata("design:type", Number)
|
|
1408
1484
|
], Page.prototype, "total", void 0);
|
|
1409
|
-
(
|
|
1485
|
+
page_interface_ts_decorate([
|
|
1410
1486
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1411
1487
|
description: 'Current page number (1-based)'
|
|
1412
1488
|
}),
|
|
1413
|
-
(
|
|
1489
|
+
page_interface_ts_metadata("design:type", Number)
|
|
1414
1490
|
], Page.prototype, "page", void 0);
|
|
1415
|
-
(
|
|
1491
|
+
page_interface_ts_decorate([
|
|
1416
1492
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1417
1493
|
description: 'Maximum number of items per page'
|
|
1418
1494
|
}),
|
|
1419
|
-
(
|
|
1495
|
+
page_interface_ts_metadata("design:type", Number)
|
|
1420
1496
|
], Page.prototype, "limit", void 0);
|
|
1421
|
-
(
|
|
1497
|
+
page_interface_ts_decorate([
|
|
1422
1498
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1423
1499
|
description: 'Total number of pages'
|
|
1424
1500
|
}),
|
|
1425
|
-
(
|
|
1501
|
+
page_interface_ts_metadata("design:type", Number)
|
|
1426
1502
|
], Page.prototype, "totalPages", void 0);
|
|
1427
|
-
(
|
|
1503
|
+
page_interface_ts_decorate([
|
|
1428
1504
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1429
1505
|
description: 'Whether there is a next page available'
|
|
1430
1506
|
}),
|
|
1431
|
-
(
|
|
1507
|
+
page_interface_ts_metadata("design:type", Boolean)
|
|
1432
1508
|
], Page.prototype, "hasNext", void 0);
|
|
1433
|
-
(
|
|
1509
|
+
page_interface_ts_decorate([
|
|
1434
1510
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1435
1511
|
description: 'Whether there is a previous page available'
|
|
1436
1512
|
}),
|
|
1437
|
-
(
|
|
1513
|
+
page_interface_ts_metadata("design:type", Boolean)
|
|
1438
1514
|
], Page.prototype, "hasPrevious", void 0);
|
|
1439
1515
|
|
|
1440
1516
|
;// ../../lib/common/src/lib/model/generate-event.ts
|
|
1441
|
-
|
|
1442
|
-
|
|
1517
|
+
function generate_event_ts_decorate(decorators, target, key, desc) {
|
|
1518
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1519
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1520
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1521
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1522
|
+
}
|
|
1523
|
+
function generate_event_ts_metadata(k, v) {
|
|
1524
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1525
|
+
}
|
|
1443
1526
|
|
|
1444
1527
|
class GenerateStatusEventDto {
|
|
1445
1528
|
constructor(sourceId, step, status, info, error){
|
|
@@ -1453,13 +1536,13 @@ class GenerateStatusEventDto {
|
|
|
1453
1536
|
return new GenerateStatusEventDto(event.sourceId, event.step, event.status, event.info, event.error);
|
|
1454
1537
|
}
|
|
1455
1538
|
}
|
|
1456
|
-
(
|
|
1539
|
+
generate_event_ts_decorate([
|
|
1457
1540
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1458
1541
|
example: 'alpha'
|
|
1459
1542
|
}),
|
|
1460
|
-
(
|
|
1543
|
+
generate_event_ts_metadata("design:type", String)
|
|
1461
1544
|
], GenerateStatusEventDto.prototype, "sourceId", void 0);
|
|
1462
|
-
(
|
|
1545
|
+
generate_event_ts_decorate([
|
|
1463
1546
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1464
1547
|
enum: [
|
|
1465
1548
|
'getConfig',
|
|
@@ -1472,9 +1555,9 @@ class GenerateStatusEventDto {
|
|
|
1472
1555
|
'postBuild'
|
|
1473
1556
|
]
|
|
1474
1557
|
}),
|
|
1475
|
-
(
|
|
1558
|
+
generate_event_ts_metadata("design:type", typeof Step === "undefined" ? Object : Step)
|
|
1476
1559
|
], GenerateStatusEventDto.prototype, "step", void 0);
|
|
1477
|
-
(
|
|
1560
|
+
generate_event_ts_decorate([
|
|
1478
1561
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1479
1562
|
enum: [
|
|
1480
1563
|
'started',
|
|
@@ -1482,19 +1565,19 @@ class GenerateStatusEventDto {
|
|
|
1482
1565
|
'error'
|
|
1483
1566
|
]
|
|
1484
1567
|
}),
|
|
1485
|
-
(
|
|
1568
|
+
generate_event_ts_metadata("design:type", typeof Status === "undefined" ? Object : Status)
|
|
1486
1569
|
], GenerateStatusEventDto.prototype, "status", void 0);
|
|
1487
|
-
(
|
|
1570
|
+
generate_event_ts_decorate([
|
|
1488
1571
|
(0,swagger_namespaceObject.ApiPropertyOptional)({
|
|
1489
1572
|
example: '200 OK'
|
|
1490
1573
|
}),
|
|
1491
|
-
(
|
|
1574
|
+
generate_event_ts_metadata("design:type", String)
|
|
1492
1575
|
], GenerateStatusEventDto.prototype, "info", void 0);
|
|
1493
|
-
(
|
|
1576
|
+
generate_event_ts_decorate([
|
|
1494
1577
|
(0,swagger_namespaceObject.ApiPropertyOptional)({
|
|
1495
1578
|
example: 'disk full'
|
|
1496
1579
|
}),
|
|
1497
|
-
(
|
|
1580
|
+
generate_event_ts_metadata("design:type", String)
|
|
1498
1581
|
], GenerateStatusEventDto.prototype, "error", void 0);
|
|
1499
1582
|
class GenerateDoneEventDto {
|
|
1500
1583
|
constructor(allSources){
|
|
@@ -1504,11 +1587,11 @@ class GenerateDoneEventDto {
|
|
|
1504
1587
|
return new GenerateDoneEventDto(event.allSources);
|
|
1505
1588
|
}
|
|
1506
1589
|
}
|
|
1507
|
-
(
|
|
1590
|
+
generate_event_ts_decorate([
|
|
1508
1591
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1509
1592
|
example: true
|
|
1510
1593
|
}),
|
|
1511
|
-
(
|
|
1594
|
+
generate_event_ts_metadata("design:type", Boolean)
|
|
1512
1595
|
], GenerateDoneEventDto.prototype, "allSources", void 0);
|
|
1513
1596
|
class generate_event_GenerateEventContext {
|
|
1514
1597
|
constructor(events$){
|
|
@@ -1537,8 +1620,15 @@ class IntrigConfigImpl {
|
|
|
1537
1620
|
}
|
|
1538
1621
|
|
|
1539
1622
|
;// ../../lib/common/src/lib/model/intrig-source-config.ts
|
|
1540
|
-
|
|
1541
|
-
|
|
1623
|
+
function intrig_source_config_ts_decorate(decorators, target, key, desc) {
|
|
1624
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1625
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1626
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1627
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1628
|
+
}
|
|
1629
|
+
function intrig_source_config_ts_metadata(k, v) {
|
|
1630
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1631
|
+
}
|
|
1542
1632
|
|
|
1543
1633
|
class IntrigSourceConfig {
|
|
1544
1634
|
constructor(id, name, specUrl){
|
|
@@ -1550,28 +1640,35 @@ class IntrigSourceConfig {
|
|
|
1550
1640
|
return new IntrigSourceConfig(source.id, source.name, source.specUrl);
|
|
1551
1641
|
}
|
|
1552
1642
|
}
|
|
1553
|
-
(
|
|
1643
|
+
intrig_source_config_ts_decorate([
|
|
1554
1644
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1555
1645
|
description: 'Unique identifier for the source config'
|
|
1556
1646
|
}),
|
|
1557
|
-
(
|
|
1647
|
+
intrig_source_config_ts_metadata("design:type", String)
|
|
1558
1648
|
], IntrigSourceConfig.prototype, "id", void 0);
|
|
1559
|
-
(
|
|
1649
|
+
intrig_source_config_ts_decorate([
|
|
1560
1650
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1561
1651
|
description: 'Name of the source config'
|
|
1562
1652
|
}),
|
|
1563
|
-
(
|
|
1653
|
+
intrig_source_config_ts_metadata("design:type", String)
|
|
1564
1654
|
], IntrigSourceConfig.prototype, "name", void 0);
|
|
1565
|
-
(
|
|
1655
|
+
intrig_source_config_ts_decorate([
|
|
1566
1656
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1567
1657
|
description: 'URL of the specification'
|
|
1568
1658
|
}),
|
|
1569
|
-
(
|
|
1659
|
+
intrig_source_config_ts_metadata("design:type", String)
|
|
1570
1660
|
], IntrigSourceConfig.prototype, "specUrl", void 0);
|
|
1571
1661
|
|
|
1572
1662
|
;// ../../lib/common/src/lib/model/resource-descriptor.ts
|
|
1573
|
-
|
|
1574
|
-
|
|
1663
|
+
function resource_descriptor_ts_decorate(decorators, target, key, desc) {
|
|
1664
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1665
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1666
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1667
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1668
|
+
}
|
|
1669
|
+
function resource_descriptor_ts_metadata(k, v) {
|
|
1670
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1671
|
+
}
|
|
1575
1672
|
|
|
1576
1673
|
class ResourceDescriptor {
|
|
1577
1674
|
constructor(id, name, type, source, path, data, lastAccessed){
|
|
@@ -1587,19 +1684,19 @@ class ResourceDescriptor {
|
|
|
1587
1684
|
return new ResourceDescriptor(descriptor.id, descriptor.name, descriptor.type, descriptor.source, descriptor.path, descriptor.data);
|
|
1588
1685
|
}
|
|
1589
1686
|
}
|
|
1590
|
-
(
|
|
1687
|
+
resource_descriptor_ts_decorate([
|
|
1591
1688
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1592
1689
|
description: 'Unique identifier of the resource'
|
|
1593
1690
|
}),
|
|
1594
|
-
(
|
|
1691
|
+
resource_descriptor_ts_metadata("design:type", String)
|
|
1595
1692
|
], ResourceDescriptor.prototype, "id", void 0);
|
|
1596
|
-
(
|
|
1693
|
+
resource_descriptor_ts_decorate([
|
|
1597
1694
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1598
1695
|
description: 'Name of the resource'
|
|
1599
1696
|
}),
|
|
1600
|
-
(
|
|
1697
|
+
resource_descriptor_ts_metadata("design:type", String)
|
|
1601
1698
|
], ResourceDescriptor.prototype, "name", void 0);
|
|
1602
|
-
(
|
|
1699
|
+
resource_descriptor_ts_decorate([
|
|
1603
1700
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1604
1701
|
description: 'Type of the resource',
|
|
1605
1702
|
enum: [
|
|
@@ -1607,38 +1704,45 @@ class ResourceDescriptor {
|
|
|
1607
1704
|
'schema'
|
|
1608
1705
|
]
|
|
1609
1706
|
}),
|
|
1610
|
-
(
|
|
1707
|
+
resource_descriptor_ts_metadata("design:type", typeof DescriptorType === "undefined" ? Object : DescriptorType)
|
|
1611
1708
|
], ResourceDescriptor.prototype, "type", void 0);
|
|
1612
|
-
(
|
|
1709
|
+
resource_descriptor_ts_decorate([
|
|
1613
1710
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1614
1711
|
description: 'Source of the resource'
|
|
1615
1712
|
}),
|
|
1616
|
-
(
|
|
1713
|
+
resource_descriptor_ts_metadata("design:type", String)
|
|
1617
1714
|
], ResourceDescriptor.prototype, "source", void 0);
|
|
1618
|
-
(
|
|
1715
|
+
resource_descriptor_ts_decorate([
|
|
1619
1716
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1620
1717
|
description: 'Path to the resource'
|
|
1621
1718
|
}),
|
|
1622
|
-
(
|
|
1719
|
+
resource_descriptor_ts_metadata("design:type", String)
|
|
1623
1720
|
], ResourceDescriptor.prototype, "path", void 0);
|
|
1624
|
-
(
|
|
1721
|
+
resource_descriptor_ts_decorate([
|
|
1625
1722
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1626
1723
|
description: 'Resource data',
|
|
1627
1724
|
type: ()=>Object
|
|
1628
1725
|
}),
|
|
1629
|
-
(
|
|
1726
|
+
resource_descriptor_ts_metadata("design:type", typeof T === "undefined" ? Object : T)
|
|
1630
1727
|
], ResourceDescriptor.prototype, "data", void 0);
|
|
1631
|
-
(
|
|
1728
|
+
resource_descriptor_ts_decorate([
|
|
1632
1729
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1633
1730
|
description: 'Last access timestamp',
|
|
1634
1731
|
required: false
|
|
1635
1732
|
}),
|
|
1636
|
-
(
|
|
1733
|
+
resource_descriptor_ts_metadata("design:type", Number)
|
|
1637
1734
|
], ResourceDescriptor.prototype, "lastAccessed", void 0);
|
|
1638
1735
|
|
|
1639
1736
|
;// ../../lib/common/src/lib/model/common.ts
|
|
1640
|
-
|
|
1641
|
-
|
|
1737
|
+
function common_ts_decorate(decorators, target, key, desc) {
|
|
1738
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1739
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1740
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1741
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1742
|
+
}
|
|
1743
|
+
function common_ts_metadata(k, v) {
|
|
1744
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1745
|
+
}
|
|
1642
1746
|
|
|
1643
1747
|
class Tab {
|
|
1644
1748
|
constructor(name, content){
|
|
@@ -1649,17 +1753,17 @@ class Tab {
|
|
|
1649
1753
|
return new Tab(tab.name, tab.content);
|
|
1650
1754
|
}
|
|
1651
1755
|
}
|
|
1652
|
-
(
|
|
1756
|
+
common_ts_decorate([
|
|
1653
1757
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1654
1758
|
description: 'Name of the tab'
|
|
1655
1759
|
}),
|
|
1656
|
-
(
|
|
1760
|
+
common_ts_metadata("design:type", String)
|
|
1657
1761
|
], Tab.prototype, "name", void 0);
|
|
1658
|
-
(
|
|
1762
|
+
common_ts_decorate([
|
|
1659
1763
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1660
1764
|
description: 'Content of the tab'
|
|
1661
1765
|
}),
|
|
1662
|
-
(
|
|
1766
|
+
common_ts_metadata("design:type", String)
|
|
1663
1767
|
], Tab.prototype, "content", void 0);
|
|
1664
1768
|
class RelatedType {
|
|
1665
1769
|
constructor(name, id){
|
|
@@ -1670,22 +1774,29 @@ class RelatedType {
|
|
|
1670
1774
|
return new RelatedType(type.name, type.id);
|
|
1671
1775
|
}
|
|
1672
1776
|
}
|
|
1673
|
-
(
|
|
1777
|
+
common_ts_decorate([
|
|
1674
1778
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1675
1779
|
description: 'Name of the related type'
|
|
1676
1780
|
}),
|
|
1677
|
-
(
|
|
1781
|
+
common_ts_metadata("design:type", String)
|
|
1678
1782
|
], RelatedType.prototype, "name", void 0);
|
|
1679
|
-
(
|
|
1783
|
+
common_ts_decorate([
|
|
1680
1784
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1681
1785
|
description: 'Identifier of the related type'
|
|
1682
1786
|
}),
|
|
1683
|
-
(
|
|
1787
|
+
common_ts_metadata("design:type", String)
|
|
1684
1788
|
], RelatedType.prototype, "id", void 0);
|
|
1685
1789
|
|
|
1686
1790
|
;// ../../lib/common/src/lib/model/rest-resource-data.ts
|
|
1687
|
-
|
|
1688
|
-
|
|
1791
|
+
function rest_resource_data_ts_decorate(decorators, target, key, desc) {
|
|
1792
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1793
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1794
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1795
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1796
|
+
}
|
|
1797
|
+
function rest_resource_data_ts_metadata(k, v) {
|
|
1798
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1799
|
+
}
|
|
1689
1800
|
|
|
1690
1801
|
|
|
1691
1802
|
class Variable {
|
|
@@ -1698,29 +1809,29 @@ class Variable {
|
|
|
1698
1809
|
return new Variable(variable.name, variable.in, variable.ref);
|
|
1699
1810
|
}
|
|
1700
1811
|
}
|
|
1701
|
-
(
|
|
1812
|
+
rest_resource_data_ts_decorate([
|
|
1702
1813
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1703
1814
|
description: 'Name of the variable'
|
|
1704
1815
|
}),
|
|
1705
|
-
(
|
|
1816
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1706
1817
|
], Variable.prototype, "name", void 0);
|
|
1707
|
-
(
|
|
1818
|
+
rest_resource_data_ts_decorate([
|
|
1708
1819
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1709
1820
|
description: 'Location of the variable'
|
|
1710
1821
|
}),
|
|
1711
|
-
(
|
|
1822
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1712
1823
|
], Variable.prototype, "in", void 0);
|
|
1713
|
-
(
|
|
1824
|
+
rest_resource_data_ts_decorate([
|
|
1714
1825
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1715
1826
|
description: 'Reference of the variable'
|
|
1716
1827
|
}),
|
|
1717
|
-
(
|
|
1828
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1718
1829
|
], Variable.prototype, "ref", void 0);
|
|
1719
|
-
(
|
|
1830
|
+
rest_resource_data_ts_decorate([
|
|
1720
1831
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1721
1832
|
description: 'Related type of the variable'
|
|
1722
1833
|
}),
|
|
1723
|
-
(
|
|
1834
|
+
rest_resource_data_ts_metadata("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
|
|
1724
1835
|
], Variable.prototype, "relatedType", void 0);
|
|
1725
1836
|
function isRestDescriptor(descriptor) {
|
|
1726
1837
|
return descriptor.type === 'rest';
|
|
@@ -1745,99 +1856,106 @@ class RestDocumentation {
|
|
|
1745
1856
|
return new RestDocumentation(doc.id, doc.name, doc.method, doc.path, doc.description, doc.requestBody, doc.contentType, doc.response, doc.responseType, doc.requestUrl, doc.variables, doc.responseExamples, doc.tabs);
|
|
1746
1857
|
}
|
|
1747
1858
|
}
|
|
1748
|
-
(
|
|
1859
|
+
rest_resource_data_ts_decorate([
|
|
1749
1860
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1750
1861
|
description: 'Unique identifier'
|
|
1751
1862
|
}),
|
|
1752
|
-
(
|
|
1863
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1753
1864
|
], RestDocumentation.prototype, "id", void 0);
|
|
1754
|
-
(
|
|
1865
|
+
rest_resource_data_ts_decorate([
|
|
1755
1866
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1756
1867
|
description: 'Name of the REST documentation'
|
|
1757
1868
|
}),
|
|
1758
|
-
(
|
|
1869
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1759
1870
|
], RestDocumentation.prototype, "name", void 0);
|
|
1760
|
-
(
|
|
1871
|
+
rest_resource_data_ts_decorate([
|
|
1761
1872
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1762
1873
|
description: 'HTTP method'
|
|
1763
1874
|
}),
|
|
1764
|
-
(
|
|
1875
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1765
1876
|
], RestDocumentation.prototype, "method", void 0);
|
|
1766
|
-
(
|
|
1877
|
+
rest_resource_data_ts_decorate([
|
|
1767
1878
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1768
1879
|
description: 'API path'
|
|
1769
1880
|
}),
|
|
1770
|
-
(
|
|
1881
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1771
1882
|
], RestDocumentation.prototype, "path", void 0);
|
|
1772
|
-
(
|
|
1883
|
+
rest_resource_data_ts_decorate([
|
|
1773
1884
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1774
1885
|
description: 'Documentation description',
|
|
1775
1886
|
required: false
|
|
1776
1887
|
}),
|
|
1777
|
-
(
|
|
1888
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1778
1889
|
], RestDocumentation.prototype, "description", void 0);
|
|
1779
|
-
(
|
|
1890
|
+
rest_resource_data_ts_decorate([
|
|
1780
1891
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1781
1892
|
description: 'Request body description',
|
|
1782
1893
|
required: false
|
|
1783
1894
|
}),
|
|
1784
|
-
(
|
|
1895
|
+
rest_resource_data_ts_metadata("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
|
|
1785
1896
|
], RestDocumentation.prototype, "requestBody", void 0);
|
|
1786
|
-
(
|
|
1897
|
+
rest_resource_data_ts_decorate([
|
|
1787
1898
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1788
1899
|
description: 'Content type',
|
|
1789
1900
|
required: false
|
|
1790
1901
|
}),
|
|
1791
|
-
(
|
|
1902
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1792
1903
|
], RestDocumentation.prototype, "contentType", void 0);
|
|
1793
|
-
(
|
|
1904
|
+
rest_resource_data_ts_decorate([
|
|
1794
1905
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1795
1906
|
description: 'Response description',
|
|
1796
1907
|
required: false
|
|
1797
1908
|
}),
|
|
1798
|
-
(
|
|
1909
|
+
rest_resource_data_ts_metadata("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
|
|
1799
1910
|
], RestDocumentation.prototype, "response", void 0);
|
|
1800
|
-
(
|
|
1911
|
+
rest_resource_data_ts_decorate([
|
|
1801
1912
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1802
1913
|
description: 'Response type',
|
|
1803
1914
|
required: false
|
|
1804
1915
|
}),
|
|
1805
|
-
(
|
|
1916
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1806
1917
|
], RestDocumentation.prototype, "responseType", void 0);
|
|
1807
|
-
(
|
|
1918
|
+
rest_resource_data_ts_decorate([
|
|
1808
1919
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1809
1920
|
description: 'Request URL'
|
|
1810
1921
|
}),
|
|
1811
|
-
(
|
|
1922
|
+
rest_resource_data_ts_metadata("design:type", String)
|
|
1812
1923
|
], RestDocumentation.prototype, "requestUrl", void 0);
|
|
1813
|
-
(
|
|
1924
|
+
rest_resource_data_ts_decorate([
|
|
1814
1925
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1815
1926
|
description: 'List of variables',
|
|
1816
1927
|
type: [
|
|
1817
1928
|
Variable
|
|
1818
1929
|
]
|
|
1819
1930
|
}),
|
|
1820
|
-
(
|
|
1931
|
+
rest_resource_data_ts_metadata("design:type", Array)
|
|
1821
1932
|
], RestDocumentation.prototype, "variables", void 0);
|
|
1822
|
-
(
|
|
1933
|
+
rest_resource_data_ts_decorate([
|
|
1823
1934
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1824
1935
|
description: 'Response examples'
|
|
1825
1936
|
}),
|
|
1826
|
-
(
|
|
1937
|
+
rest_resource_data_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1827
1938
|
], RestDocumentation.prototype, "responseExamples", void 0);
|
|
1828
|
-
(
|
|
1939
|
+
rest_resource_data_ts_decorate([
|
|
1829
1940
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1830
1941
|
description: 'Documentation tabs',
|
|
1831
1942
|
type: [
|
|
1832
1943
|
Tab
|
|
1833
1944
|
]
|
|
1834
1945
|
}),
|
|
1835
|
-
(
|
|
1946
|
+
rest_resource_data_ts_metadata("design:type", Array)
|
|
1836
1947
|
], RestDocumentation.prototype, "tabs", void 0);
|
|
1837
1948
|
|
|
1838
1949
|
;// ../../lib/common/src/lib/model/schema.ts
|
|
1839
|
-
|
|
1840
|
-
|
|
1950
|
+
function schema_ts_decorate(decorators, target, key, desc) {
|
|
1951
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1952
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1953
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1954
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1955
|
+
}
|
|
1956
|
+
function schema_ts_metadata(k, v) {
|
|
1957
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1958
|
+
}
|
|
1841
1959
|
|
|
1842
1960
|
|
|
1843
1961
|
function isSchemaDescriptor(descriptor) {
|
|
@@ -1854,29 +1972,29 @@ class RelatedEndpoint {
|
|
|
1854
1972
|
return new RelatedEndpoint(endpoint.id, endpoint.name, endpoint.method, endpoint.path);
|
|
1855
1973
|
}
|
|
1856
1974
|
}
|
|
1857
|
-
(
|
|
1975
|
+
schema_ts_decorate([
|
|
1858
1976
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1859
1977
|
description: 'Identifier of the related endpoint'
|
|
1860
1978
|
}),
|
|
1861
|
-
(
|
|
1979
|
+
schema_ts_metadata("design:type", String)
|
|
1862
1980
|
], RelatedEndpoint.prototype, "id", void 0);
|
|
1863
|
-
(
|
|
1981
|
+
schema_ts_decorate([
|
|
1864
1982
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1865
1983
|
description: 'Name of the related endpoint'
|
|
1866
1984
|
}),
|
|
1867
|
-
(
|
|
1985
|
+
schema_ts_metadata("design:type", String)
|
|
1868
1986
|
], RelatedEndpoint.prototype, "name", void 0);
|
|
1869
|
-
(
|
|
1987
|
+
schema_ts_decorate([
|
|
1870
1988
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1871
1989
|
description: 'HTTP method of the endpoint'
|
|
1872
1990
|
}),
|
|
1873
|
-
(
|
|
1991
|
+
schema_ts_metadata("design:type", String)
|
|
1874
1992
|
], RelatedEndpoint.prototype, "method", void 0);
|
|
1875
|
-
(
|
|
1993
|
+
schema_ts_decorate([
|
|
1876
1994
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1877
1995
|
description: 'Path of the endpoint'
|
|
1878
1996
|
}),
|
|
1879
|
-
(
|
|
1997
|
+
schema_ts_metadata("design:type", String)
|
|
1880
1998
|
], RelatedEndpoint.prototype, "path", void 0);
|
|
1881
1999
|
class SchemaDocumentation {
|
|
1882
2000
|
constructor(id, name, description, jsonSchema, tabs, relatedTypes, relatedEndpoints){
|
|
@@ -1892,61 +2010,68 @@ class SchemaDocumentation {
|
|
|
1892
2010
|
return new SchemaDocumentation(schema.id, schema.name, schema.description, schema.jsonSchema, schema.tabs, schema.relatedTypes, schema.relatedEndpoints);
|
|
1893
2011
|
}
|
|
1894
2012
|
}
|
|
1895
|
-
(
|
|
2013
|
+
schema_ts_decorate([
|
|
1896
2014
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1897
2015
|
description: 'Unique identifier of the schema documentation'
|
|
1898
2016
|
}),
|
|
1899
|
-
(
|
|
2017
|
+
schema_ts_metadata("design:type", String)
|
|
1900
2018
|
], SchemaDocumentation.prototype, "id", void 0);
|
|
1901
|
-
(
|
|
2019
|
+
schema_ts_decorate([
|
|
1902
2020
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1903
2021
|
description: 'Name of the schema'
|
|
1904
2022
|
}),
|
|
1905
|
-
(
|
|
2023
|
+
schema_ts_metadata("design:type", String)
|
|
1906
2024
|
], SchemaDocumentation.prototype, "name", void 0);
|
|
1907
|
-
(
|
|
2025
|
+
schema_ts_decorate([
|
|
1908
2026
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1909
2027
|
description: 'Description of the schema'
|
|
1910
2028
|
}),
|
|
1911
|
-
(
|
|
2029
|
+
schema_ts_metadata("design:type", String)
|
|
1912
2030
|
], SchemaDocumentation.prototype, "description", void 0);
|
|
1913
|
-
(
|
|
2031
|
+
schema_ts_decorate([
|
|
1914
2032
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1915
2033
|
description: 'JSON Schema object'
|
|
1916
2034
|
}),
|
|
1917
|
-
(
|
|
2035
|
+
schema_ts_metadata("design:type", typeof OpenAPIV3_1 === "undefined" || typeof OpenAPIV3_1.SchemaObject === "undefined" ? Object : OpenAPIV3_1.SchemaObject)
|
|
1918
2036
|
], SchemaDocumentation.prototype, "jsonSchema", void 0);
|
|
1919
|
-
(
|
|
2037
|
+
schema_ts_decorate([
|
|
1920
2038
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1921
2039
|
description: 'List of tabs',
|
|
1922
2040
|
type: [
|
|
1923
2041
|
Tab
|
|
1924
2042
|
]
|
|
1925
2043
|
}),
|
|
1926
|
-
(
|
|
2044
|
+
schema_ts_metadata("design:type", Array)
|
|
1927
2045
|
], SchemaDocumentation.prototype, "tabs", void 0);
|
|
1928
|
-
(
|
|
2046
|
+
schema_ts_decorate([
|
|
1929
2047
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1930
2048
|
description: 'List of related types',
|
|
1931
2049
|
type: [
|
|
1932
2050
|
RelatedType
|
|
1933
2051
|
]
|
|
1934
2052
|
}),
|
|
1935
|
-
(
|
|
2053
|
+
schema_ts_metadata("design:type", Array)
|
|
1936
2054
|
], SchemaDocumentation.prototype, "relatedTypes", void 0);
|
|
1937
|
-
(
|
|
2055
|
+
schema_ts_decorate([
|
|
1938
2056
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1939
2057
|
description: 'List of related endpoints',
|
|
1940
2058
|
type: [
|
|
1941
2059
|
RelatedEndpoint
|
|
1942
2060
|
]
|
|
1943
2061
|
}),
|
|
1944
|
-
(
|
|
2062
|
+
schema_ts_metadata("design:type", Array)
|
|
1945
2063
|
], SchemaDocumentation.prototype, "relatedEndpoints", void 0);
|
|
1946
2064
|
|
|
1947
2065
|
;// ../../lib/common/src/lib/model/sync-event.ts
|
|
1948
|
-
|
|
1949
|
-
|
|
2066
|
+
function sync_event_ts_decorate(decorators, target, key, desc) {
|
|
2067
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2068
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2069
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2070
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2071
|
+
}
|
|
2072
|
+
function sync_event_ts_metadata(k, v) {
|
|
2073
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2074
|
+
}
|
|
1950
2075
|
|
|
1951
2076
|
class SyncStatusEventDto {
|
|
1952
2077
|
constructor(sourceId, step, status, info, error){
|
|
@@ -1960,13 +2085,13 @@ class SyncStatusEventDto {
|
|
|
1960
2085
|
return new SyncStatusEventDto(event.sourceId, event.step, event.status, event.info, event.error);
|
|
1961
2086
|
}
|
|
1962
2087
|
}
|
|
1963
|
-
(
|
|
2088
|
+
sync_event_ts_decorate([
|
|
1964
2089
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1965
2090
|
example: 'alpha'
|
|
1966
2091
|
}),
|
|
1967
|
-
(
|
|
2092
|
+
sync_event_ts_metadata("design:type", String)
|
|
1968
2093
|
], SyncStatusEventDto.prototype, "sourceId", void 0);
|
|
1969
|
-
(
|
|
2094
|
+
sync_event_ts_decorate([
|
|
1970
2095
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1971
2096
|
enum: [
|
|
1972
2097
|
'getConfig',
|
|
@@ -1979,9 +2104,9 @@ class SyncStatusEventDto {
|
|
|
1979
2104
|
'indexDiff'
|
|
1980
2105
|
]
|
|
1981
2106
|
}),
|
|
1982
|
-
(
|
|
2107
|
+
sync_event_ts_metadata("design:type", typeof Step === "undefined" ? Object : Step)
|
|
1983
2108
|
], SyncStatusEventDto.prototype, "step", void 0);
|
|
1984
|
-
(
|
|
2109
|
+
sync_event_ts_decorate([
|
|
1985
2110
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
1986
2111
|
enum: [
|
|
1987
2112
|
'started',
|
|
@@ -1989,19 +2114,19 @@ class SyncStatusEventDto {
|
|
|
1989
2114
|
'error'
|
|
1990
2115
|
]
|
|
1991
2116
|
}),
|
|
1992
|
-
(
|
|
2117
|
+
sync_event_ts_metadata("design:type", typeof Status === "undefined" ? Object : Status)
|
|
1993
2118
|
], SyncStatusEventDto.prototype, "status", void 0);
|
|
1994
|
-
(
|
|
2119
|
+
sync_event_ts_decorate([
|
|
1995
2120
|
(0,swagger_namespaceObject.ApiPropertyOptional)({
|
|
1996
2121
|
example: '200 OK'
|
|
1997
2122
|
}),
|
|
1998
|
-
(
|
|
2123
|
+
sync_event_ts_metadata("design:type", String)
|
|
1999
2124
|
], SyncStatusEventDto.prototype, "info", void 0);
|
|
2000
|
-
(
|
|
2125
|
+
sync_event_ts_decorate([
|
|
2001
2126
|
(0,swagger_namespaceObject.ApiPropertyOptional)({
|
|
2002
2127
|
example: 'disk full'
|
|
2003
2128
|
}),
|
|
2004
|
-
(
|
|
2129
|
+
sync_event_ts_metadata("design:type", String)
|
|
2005
2130
|
], SyncStatusEventDto.prototype, "error", void 0);
|
|
2006
2131
|
class SyncDoneEventDto {
|
|
2007
2132
|
constructor(allSources){
|
|
@@ -2011,11 +2136,11 @@ class SyncDoneEventDto {
|
|
|
2011
2136
|
return new SyncDoneEventDto(event.allSources);
|
|
2012
2137
|
}
|
|
2013
2138
|
}
|
|
2014
|
-
(
|
|
2139
|
+
sync_event_ts_decorate([
|
|
2015
2140
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
2016
2141
|
example: true
|
|
2017
2142
|
}),
|
|
2018
|
-
(
|
|
2143
|
+
sync_event_ts_metadata("design:type", Boolean)
|
|
2019
2144
|
], SyncDoneEventDto.prototype, "allSources", void 0);
|
|
2020
2145
|
class SyncEventContext {
|
|
2021
2146
|
constructor(events$){
|
|
@@ -2527,14 +2652,19 @@ function splitPrefixSuffix(input, options = {}) {
|
|
|
2527
2652
|
}));
|
|
2528
2653
|
|
|
2529
2654
|
;// ./src/app/discovery/discovery.module.ts
|
|
2530
|
-
|
|
2655
|
+
function discovery_module_ts_decorate(decorators, target, key, desc) {
|
|
2656
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2657
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2658
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2659
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2660
|
+
}
|
|
2531
2661
|
|
|
2532
2662
|
|
|
2533
2663
|
|
|
2534
2664
|
|
|
2535
2665
|
class DiscoveryModule {
|
|
2536
2666
|
}
|
|
2537
|
-
DiscoveryModule = (
|
|
2667
|
+
DiscoveryModule = discovery_module_ts_decorate([
|
|
2538
2668
|
(0,common_namespaceObject.Module)({
|
|
2539
2669
|
imports: [
|
|
2540
2670
|
config_namespaceObject.ConfigModule.forFeature(discovery_config)
|
|
@@ -5432,8 +5562,15 @@ ${'```'}
|
|
|
5432
5562
|
}
|
|
5433
5563
|
|
|
5434
5564
|
;// ../../lib/next-binding/src/lib/next-binding.service.ts
|
|
5435
|
-
|
|
5436
|
-
|
|
5565
|
+
function next_binding_service_ts_decorate(decorators, target, key, desc) {
|
|
5566
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5567
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5568
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5569
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5570
|
+
}
|
|
5571
|
+
function next_binding_service_ts_metadata(k, v) {
|
|
5572
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
5573
|
+
}
|
|
5437
5574
|
|
|
5438
5575
|
|
|
5439
5576
|
|
|
@@ -5642,22 +5779,27 @@ ${"```"}
|
|
|
5642
5779
|
});
|
|
5643
5780
|
}
|
|
5644
5781
|
}
|
|
5645
|
-
IntrigNextBindingService = (
|
|
5782
|
+
IntrigNextBindingService = next_binding_service_ts_decorate([
|
|
5646
5783
|
(0,common_namespaceObject.Injectable)(),
|
|
5647
|
-
(
|
|
5648
|
-
(
|
|
5784
|
+
next_binding_service_ts_metadata("design:type", Function),
|
|
5785
|
+
next_binding_service_ts_metadata("design:paramtypes", [
|
|
5649
5786
|
typeof SourceManagementService === "undefined" ? Object : SourceManagementService,
|
|
5650
5787
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
5651
5788
|
])
|
|
5652
5789
|
], IntrigNextBindingService);
|
|
5653
5790
|
|
|
5654
5791
|
;// ../../lib/next-binding/src/lib/next-binding.module.ts
|
|
5655
|
-
|
|
5792
|
+
function next_binding_module_ts_decorate(decorators, target, key, desc) {
|
|
5793
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5794
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5795
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5796
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5797
|
+
}
|
|
5656
5798
|
|
|
5657
5799
|
|
|
5658
5800
|
class NextBindingModule {
|
|
5659
5801
|
}
|
|
5660
|
-
NextBindingModule = (
|
|
5802
|
+
NextBindingModule = next_binding_module_ts_decorate([
|
|
5661
5803
|
(0,common_namespaceObject.Module)({
|
|
5662
5804
|
providers: [
|
|
5663
5805
|
IntrigNextBindingService
|
|
@@ -5669,8 +5811,15 @@ NextBindingModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
5669
5811
|
], NextBindingModule);
|
|
5670
5812
|
|
|
5671
5813
|
;// ../../lib/next-binding/src/lib/cli/next-cli.service.ts
|
|
5672
|
-
|
|
5673
|
-
|
|
5814
|
+
function next_cli_service_ts_decorate(decorators, target, key, desc) {
|
|
5815
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5816
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5817
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5818
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5819
|
+
}
|
|
5820
|
+
function next_cli_service_ts_metadata(k, v) {
|
|
5821
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
5822
|
+
}
|
|
5674
5823
|
|
|
5675
5824
|
|
|
5676
5825
|
|
|
@@ -5708,22 +5857,27 @@ class NextCliService extends GeneratorCli {
|
|
|
5708
5857
|
});
|
|
5709
5858
|
}
|
|
5710
5859
|
}
|
|
5711
|
-
NextCliService = (
|
|
5860
|
+
NextCliService = next_cli_service_ts_decorate([
|
|
5712
5861
|
(0,common_namespaceObject.Injectable)(),
|
|
5713
|
-
(
|
|
5714
|
-
(
|
|
5862
|
+
next_cli_service_ts_metadata("design:type", Function),
|
|
5863
|
+
next_cli_service_ts_metadata("design:paramtypes", [
|
|
5715
5864
|
typeof PackageManagerService === "undefined" ? Object : PackageManagerService,
|
|
5716
5865
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
5717
5866
|
])
|
|
5718
5867
|
], NextCliService);
|
|
5719
5868
|
|
|
5720
5869
|
;// ../../lib/next-binding/src/lib/cli/next-cli.module.ts
|
|
5721
|
-
|
|
5870
|
+
function next_cli_module_ts_decorate(decorators, target, key, desc) {
|
|
5871
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5872
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5873
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5874
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5875
|
+
}
|
|
5722
5876
|
|
|
5723
5877
|
|
|
5724
5878
|
class NextCliModule {
|
|
5725
5879
|
}
|
|
5726
|
-
NextCliModule = (
|
|
5880
|
+
NextCliModule = next_cli_module_ts_decorate([
|
|
5727
5881
|
(0,common_namespaceObject.Module)({
|
|
5728
5882
|
providers: [
|
|
5729
5883
|
NextCliService
|
|
@@ -5741,8 +5895,15 @@ NextCliModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
5741
5895
|
|
|
5742
5896
|
|
|
5743
5897
|
;// ./src/app/cli/commands/search.command.ts
|
|
5744
|
-
|
|
5745
|
-
|
|
5898
|
+
function search_command_ts_decorate(decorators, target, key, desc) {
|
|
5899
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
5900
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5901
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5902
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5903
|
+
}
|
|
5904
|
+
function search_command_ts_metadata(k, v) {
|
|
5905
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
5906
|
+
}
|
|
5746
5907
|
|
|
5747
5908
|
|
|
5748
5909
|
|
|
@@ -5807,13 +5968,13 @@ class SearchCommand extends external_nest_commander_namespaceObject.CommandRunne
|
|
|
5807
5968
|
}
|
|
5808
5969
|
}
|
|
5809
5970
|
}
|
|
5810
|
-
SearchCommand = (
|
|
5971
|
+
SearchCommand = search_command_ts_decorate([
|
|
5811
5972
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
5812
5973
|
name: 'search',
|
|
5813
5974
|
description: 'Search for resources'
|
|
5814
5975
|
}),
|
|
5815
|
-
(
|
|
5816
|
-
(
|
|
5976
|
+
search_command_ts_metadata("design:type", Function),
|
|
5977
|
+
search_command_ts_metadata("design:paramtypes", [
|
|
5817
5978
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
5818
5979
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
5819
5980
|
])
|
|
@@ -8967,8 +9128,15 @@ ${"```"}
|
|
|
8967
9128
|
}
|
|
8968
9129
|
|
|
8969
9130
|
;// ../../lib/react-binding/src/lib/react-binding.service.ts
|
|
8970
|
-
|
|
8971
|
-
|
|
9131
|
+
function react_binding_service_ts_decorate(decorators, target, key, desc) {
|
|
9132
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9133
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9134
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9135
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9136
|
+
}
|
|
9137
|
+
function react_binding_service_ts_metadata(k, v) {
|
|
9138
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9139
|
+
}
|
|
8972
9140
|
|
|
8973
9141
|
|
|
8974
9142
|
|
|
@@ -9156,22 +9324,27 @@ ${"```"}
|
|
|
9156
9324
|
});
|
|
9157
9325
|
}
|
|
9158
9326
|
}
|
|
9159
|
-
ReactBindingService = (
|
|
9327
|
+
ReactBindingService = react_binding_service_ts_decorate([
|
|
9160
9328
|
(0,common_namespaceObject.Injectable)(),
|
|
9161
|
-
(
|
|
9162
|
-
(
|
|
9329
|
+
react_binding_service_ts_metadata("design:type", Function),
|
|
9330
|
+
react_binding_service_ts_metadata("design:paramtypes", [
|
|
9163
9331
|
typeof SourceManagementService === "undefined" ? Object : SourceManagementService,
|
|
9164
9332
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
9165
9333
|
])
|
|
9166
9334
|
], ReactBindingService);
|
|
9167
9335
|
|
|
9168
9336
|
;// ../../lib/react-binding/src/lib/react-binding.module.ts
|
|
9169
|
-
|
|
9337
|
+
function react_binding_module_ts_decorate(decorators, target, key, desc) {
|
|
9338
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9339
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9340
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9341
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9342
|
+
}
|
|
9170
9343
|
|
|
9171
9344
|
|
|
9172
9345
|
class ReactBindingModule {
|
|
9173
9346
|
}
|
|
9174
|
-
ReactBindingModule = (
|
|
9347
|
+
ReactBindingModule = react_binding_module_ts_decorate([
|
|
9175
9348
|
(0,common_namespaceObject.Module)({
|
|
9176
9349
|
controllers: [],
|
|
9177
9350
|
providers: [
|
|
@@ -9184,8 +9357,15 @@ ReactBindingModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
9184
9357
|
], ReactBindingModule);
|
|
9185
9358
|
|
|
9186
9359
|
;// ../../lib/react-binding/src/lib/cli/react-cli.service.ts
|
|
9187
|
-
|
|
9188
|
-
|
|
9360
|
+
function react_cli_service_ts_decorate(decorators, target, key, desc) {
|
|
9361
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9362
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9363
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9364
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9365
|
+
}
|
|
9366
|
+
function react_cli_service_ts_metadata(k, v) {
|
|
9367
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9368
|
+
}
|
|
9189
9369
|
|
|
9190
9370
|
|
|
9191
9371
|
|
|
@@ -9210,22 +9390,27 @@ class ReactCliService extends GeneratorCli {
|
|
|
9210
9390
|
// intentionally kept empty
|
|
9211
9391
|
}
|
|
9212
9392
|
}
|
|
9213
|
-
ReactCliService = (
|
|
9393
|
+
ReactCliService = react_cli_service_ts_decorate([
|
|
9214
9394
|
(0,common_namespaceObject.Injectable)(),
|
|
9215
|
-
(
|
|
9216
|
-
(
|
|
9395
|
+
react_cli_service_ts_metadata("design:type", Function),
|
|
9396
|
+
react_cli_service_ts_metadata("design:paramtypes", [
|
|
9217
9397
|
typeof PackageManagerService === "undefined" ? Object : PackageManagerService,
|
|
9218
9398
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
9219
9399
|
])
|
|
9220
9400
|
], ReactCliService);
|
|
9221
9401
|
|
|
9222
9402
|
;// ../../lib/react-binding/src/lib/cli/react-cli.module.ts
|
|
9223
|
-
|
|
9403
|
+
function react_cli_module_ts_decorate(decorators, target, key, desc) {
|
|
9404
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9405
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9406
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9407
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9408
|
+
}
|
|
9224
9409
|
|
|
9225
9410
|
|
|
9226
9411
|
class ReactCliModule {
|
|
9227
9412
|
}
|
|
9228
|
-
ReactCliModule = (
|
|
9413
|
+
ReactCliModule = react_cli_module_ts_decorate([
|
|
9229
9414
|
(0,common_namespaceObject.Module)({
|
|
9230
9415
|
providers: [
|
|
9231
9416
|
ReactCliService
|
|
@@ -9243,9 +9428,20 @@ ReactCliModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
9243
9428
|
|
|
9244
9429
|
|
|
9245
9430
|
;// ./src/app/cli/commands/prebuild.command.ts
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9431
|
+
function prebuild_command_ts_decorate(decorators, target, key, desc) {
|
|
9432
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9433
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9434
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9435
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9436
|
+
}
|
|
9437
|
+
function prebuild_command_ts_metadata(k, v) {
|
|
9438
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9439
|
+
}
|
|
9440
|
+
function prebuild_command_ts_param(paramIndex, decorator) {
|
|
9441
|
+
return function(target, key) {
|
|
9442
|
+
decorator(target, key, paramIndex);
|
|
9443
|
+
};
|
|
9444
|
+
}
|
|
9249
9445
|
|
|
9250
9446
|
|
|
9251
9447
|
|
|
@@ -9272,14 +9468,14 @@ class PrebuildCommand extends external_nest_commander_namespaceObject.CommandRun
|
|
|
9272
9468
|
await generator.preBuild();
|
|
9273
9469
|
}
|
|
9274
9470
|
}
|
|
9275
|
-
PrebuildCommand = (
|
|
9471
|
+
PrebuildCommand = prebuild_command_ts_decorate([
|
|
9276
9472
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
9277
9473
|
name: "prebuild",
|
|
9278
9474
|
description: "Prebuild."
|
|
9279
9475
|
}),
|
|
9280
|
-
(
|
|
9281
|
-
(
|
|
9282
|
-
(
|
|
9476
|
+
prebuild_command_ts_param(1, (0,common_namespaceObject.Inject)(GENERATORS)),
|
|
9477
|
+
prebuild_command_ts_metadata("design:type", Function),
|
|
9478
|
+
prebuild_command_ts_metadata("design:paramtypes", [
|
|
9283
9479
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
9284
9480
|
Array,
|
|
9285
9481
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
@@ -9287,9 +9483,20 @@ PrebuildCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
9287
9483
|
], PrebuildCommand);
|
|
9288
9484
|
|
|
9289
9485
|
;// ./src/app/cli/commands/postbuild.command.ts
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9486
|
+
function postbuild_command_ts_decorate(decorators, target, key, desc) {
|
|
9487
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9488
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9489
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9490
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9491
|
+
}
|
|
9492
|
+
function postbuild_command_ts_metadata(k, v) {
|
|
9493
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9494
|
+
}
|
|
9495
|
+
function postbuild_command_ts_param(paramIndex, decorator) {
|
|
9496
|
+
return function(target, key) {
|
|
9497
|
+
decorator(target, key, paramIndex);
|
|
9498
|
+
};
|
|
9499
|
+
}
|
|
9293
9500
|
|
|
9294
9501
|
|
|
9295
9502
|
|
|
@@ -9316,14 +9523,14 @@ class PostbuildCommand extends external_nest_commander_namespaceObject.CommandRu
|
|
|
9316
9523
|
await generator.postBuild();
|
|
9317
9524
|
}
|
|
9318
9525
|
}
|
|
9319
|
-
PostbuildCommand = (
|
|
9526
|
+
PostbuildCommand = postbuild_command_ts_decorate([
|
|
9320
9527
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
9321
9528
|
name: "postbuild",
|
|
9322
9529
|
description: "Postbuild."
|
|
9323
9530
|
}),
|
|
9324
|
-
(
|
|
9325
|
-
(
|
|
9326
|
-
(
|
|
9531
|
+
postbuild_command_ts_param(1, (0,common_namespaceObject.Inject)(GENERATORS)),
|
|
9532
|
+
postbuild_command_ts_metadata("design:type", Function),
|
|
9533
|
+
postbuild_command_ts_metadata("design:paramtypes", [
|
|
9327
9534
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
9328
9535
|
Array,
|
|
9329
9536
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
@@ -9331,7 +9538,12 @@ PostbuildCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
9331
9538
|
], PostbuildCommand);
|
|
9332
9539
|
|
|
9333
9540
|
;// ./src/app/cli/cli.module.ts
|
|
9334
|
-
|
|
9541
|
+
function cli_module_ts_decorate(decorators, target, key, desc) {
|
|
9542
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9543
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9544
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9545
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9546
|
+
}
|
|
9335
9547
|
|
|
9336
9548
|
|
|
9337
9549
|
|
|
@@ -9350,7 +9562,7 @@ PostbuildCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
9350
9562
|
|
|
9351
9563
|
class CliModule {
|
|
9352
9564
|
}
|
|
9353
|
-
CliModule = (
|
|
9565
|
+
CliModule = cli_module_ts_decorate([
|
|
9354
9566
|
(0,common_namespaceObject.Module)({
|
|
9355
9567
|
imports: [
|
|
9356
9568
|
CommonModule,
|
|
@@ -9390,8 +9602,15 @@ CliModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
9390
9602
|
;// external "js-yaml"
|
|
9391
9603
|
const external_js_yaml_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("js-yaml");
|
|
9392
9604
|
;// ./src/app/deamon/services/openapi.service.ts
|
|
9393
|
-
|
|
9394
|
-
|
|
9605
|
+
function openapi_service_ts_decorate(decorators, target, key, desc) {
|
|
9606
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9607
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9608
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9609
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9610
|
+
}
|
|
9611
|
+
function openapi_service_ts_metadata(k, v) {
|
|
9612
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9613
|
+
}
|
|
9395
9614
|
|
|
9396
9615
|
|
|
9397
9616
|
|
|
@@ -9428,17 +9647,24 @@ class OpenapiService {
|
|
|
9428
9647
|
});
|
|
9429
9648
|
}
|
|
9430
9649
|
}
|
|
9431
|
-
OpenapiService = (
|
|
9650
|
+
OpenapiService = openapi_service_ts_decorate([
|
|
9432
9651
|
(0,common_namespaceObject.Injectable)(),
|
|
9433
|
-
(
|
|
9434
|
-
(
|
|
9652
|
+
openapi_service_ts_metadata("design:type", Function),
|
|
9653
|
+
openapi_service_ts_metadata("design:paramtypes", [
|
|
9435
9654
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
9436
9655
|
])
|
|
9437
9656
|
], OpenapiService);
|
|
9438
9657
|
|
|
9439
9658
|
;// ./src/app/deamon/services/intrig-config.service.ts
|
|
9440
|
-
|
|
9441
|
-
|
|
9659
|
+
function intrig_config_service_ts_decorate(decorators, target, key, desc) {
|
|
9660
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9661
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9662
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9663
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9664
|
+
}
|
|
9665
|
+
function intrig_config_service_ts_metadata(k, v) {
|
|
9666
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9667
|
+
}
|
|
9442
9668
|
|
|
9443
9669
|
|
|
9444
9670
|
|
|
@@ -9499,18 +9725,29 @@ class IntrigConfigService {
|
|
|
9499
9725
|
return this.readConfig();
|
|
9500
9726
|
}
|
|
9501
9727
|
}
|
|
9502
|
-
IntrigConfigService = (
|
|
9728
|
+
IntrigConfigService = intrig_config_service_ts_decorate([
|
|
9503
9729
|
(0,common_namespaceObject.Injectable)(),
|
|
9504
|
-
(
|
|
9505
|
-
(
|
|
9730
|
+
intrig_config_service_ts_metadata("design:type", Function),
|
|
9731
|
+
intrig_config_service_ts_metadata("design:paramtypes", [
|
|
9506
9732
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
9507
9733
|
])
|
|
9508
9734
|
], IntrigConfigService);
|
|
9509
9735
|
|
|
9510
9736
|
;// ./src/app/deamon/controllers/sources.controller.ts
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9737
|
+
function sources_controller_ts_decorate(decorators, target, key, desc) {
|
|
9738
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9739
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9740
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
9741
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9742
|
+
}
|
|
9743
|
+
function sources_controller_ts_metadata(k, v) {
|
|
9744
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9745
|
+
}
|
|
9746
|
+
function sources_controller_ts_param(paramIndex, decorator) {
|
|
9747
|
+
return function(target, key) {
|
|
9748
|
+
decorator(target, key, paramIndex);
|
|
9749
|
+
};
|
|
9750
|
+
}
|
|
9514
9751
|
|
|
9515
9752
|
|
|
9516
9753
|
|
|
@@ -9545,7 +9782,7 @@ class SourcesController {
|
|
|
9545
9782
|
return this.configService.list();
|
|
9546
9783
|
}
|
|
9547
9784
|
}
|
|
9548
|
-
(
|
|
9785
|
+
sources_controller_ts_decorate([
|
|
9549
9786
|
(0,swagger_namespaceObject.ApiBody)({
|
|
9550
9787
|
type: CreateSourceDto
|
|
9551
9788
|
}),
|
|
@@ -9554,14 +9791,14 @@ class SourcesController {
|
|
|
9554
9791
|
type: IntrigSourceConfig
|
|
9555
9792
|
}),
|
|
9556
9793
|
(0,common_namespaceObject.Post)("transform"),
|
|
9557
|
-
(0,
|
|
9558
|
-
(
|
|
9559
|
-
(
|
|
9794
|
+
sources_controller_ts_param(0, (0,common_namespaceObject.Body)()),
|
|
9795
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9796
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9560
9797
|
typeof ICreateSourceDto === "undefined" ? Object : ICreateSourceDto
|
|
9561
9798
|
]),
|
|
9562
|
-
(
|
|
9799
|
+
sources_controller_ts_metadata("design:returntype", Promise)
|
|
9563
9800
|
], SourcesController.prototype, "createFromUrl", null);
|
|
9564
|
-
(
|
|
9801
|
+
sources_controller_ts_decorate([
|
|
9565
9802
|
(0,swagger_namespaceObject.ApiBody)({
|
|
9566
9803
|
type: IntrigSourceConfig
|
|
9567
9804
|
}),
|
|
@@ -9570,26 +9807,26 @@ class SourcesController {
|
|
|
9570
9807
|
type: IntrigSourceConfig
|
|
9571
9808
|
}),
|
|
9572
9809
|
(0,common_namespaceObject.Post)("add"),
|
|
9573
|
-
(0,
|
|
9574
|
-
(
|
|
9575
|
-
(
|
|
9810
|
+
sources_controller_ts_param(0, (0,common_namespaceObject.Body)()),
|
|
9811
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9812
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9576
9813
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
9577
9814
|
]),
|
|
9578
|
-
(
|
|
9815
|
+
sources_controller_ts_metadata("design:returntype", typeof IntrigSourceConfig === "undefined" ? Object : IntrigSourceConfig)
|
|
9579
9816
|
], SourcesController.prototype, "create", null);
|
|
9580
|
-
(
|
|
9817
|
+
sources_controller_ts_decorate([
|
|
9581
9818
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
9582
9819
|
status: 204
|
|
9583
9820
|
}),
|
|
9584
9821
|
(0,common_namespaceObject.Delete)("remove/:id"),
|
|
9585
|
-
(0,
|
|
9586
|
-
(
|
|
9587
|
-
(
|
|
9822
|
+
sources_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
9823
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9824
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9588
9825
|
String
|
|
9589
9826
|
]),
|
|
9590
|
-
(
|
|
9827
|
+
sources_controller_ts_metadata("design:returntype", void 0)
|
|
9591
9828
|
], SourcesController.prototype, "remove", null);
|
|
9592
|
-
(
|
|
9829
|
+
sources_controller_ts_decorate([
|
|
9593
9830
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
9594
9831
|
status: 200,
|
|
9595
9832
|
type: [
|
|
@@ -9597,16 +9834,16 @@ class SourcesController {
|
|
|
9597
9834
|
]
|
|
9598
9835
|
}),
|
|
9599
9836
|
(0,common_namespaceObject.Get)("list"),
|
|
9600
|
-
(
|
|
9601
|
-
(
|
|
9602
|
-
(
|
|
9837
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9838
|
+
sources_controller_ts_metadata("design:paramtypes", []),
|
|
9839
|
+
sources_controller_ts_metadata("design:returntype", Array)
|
|
9603
9840
|
], SourcesController.prototype, "list", null);
|
|
9604
|
-
SourcesController = (
|
|
9841
|
+
SourcesController = sources_controller_ts_decorate([
|
|
9605
9842
|
(0,swagger_namespaceObject.ApiTags)('Sources'),
|
|
9606
9843
|
(0,swagger_namespaceObject.ApiExtraModels)(IntrigSourceConfig),
|
|
9607
9844
|
(0,common_namespaceObject.Controller)('config/sources'),
|
|
9608
|
-
(
|
|
9609
|
-
(
|
|
9845
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9846
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9610
9847
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
9611
9848
|
typeof OpenapiService === "undefined" ? Object : OpenapiService
|
|
9612
9849
|
])
|
|
@@ -9854,8 +10091,15 @@ function extractSchemas(spec) {
|
|
|
9854
10091
|
const set_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("lodash/set");
|
|
9855
10092
|
var set_default = /*#__PURE__*/__webpack_require__.n(set_namespaceObject);
|
|
9856
10093
|
;// ../../lib/openapi-source/src/lib/openapi.service.ts
|
|
9857
|
-
|
|
9858
|
-
|
|
10094
|
+
function lib_openapi_service_ts_decorate(decorators, target, key, desc) {
|
|
10095
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10096
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10097
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10098
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10099
|
+
}
|
|
10100
|
+
function lib_openapi_service_ts_metadata(k, v) {
|
|
10101
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10102
|
+
}
|
|
9859
10103
|
|
|
9860
10104
|
|
|
9861
10105
|
|
|
@@ -9993,74 +10237,79 @@ class IntrigOpenapiService {
|
|
|
9993
10237
|
}
|
|
9994
10238
|
}
|
|
9995
10239
|
}
|
|
9996
|
-
(
|
|
10240
|
+
lib_openapi_service_ts_decorate([
|
|
9997
10241
|
WithStatus((source, normalize)=>({
|
|
9998
10242
|
step: 'save',
|
|
9999
10243
|
sourceId: source.id
|
|
10000
10244
|
})),
|
|
10001
|
-
(
|
|
10002
|
-
(
|
|
10245
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10246
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10003
10247
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10004
10248
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10005
10249
|
typeof OpenAPIV3_1 === "undefined" || typeof OpenAPIV3_1.Document === "undefined" ? Object : OpenAPIV3_1.Document
|
|
10006
10250
|
]),
|
|
10007
|
-
(
|
|
10251
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10008
10252
|
], IntrigOpenapiService.prototype, "saveContent", null);
|
|
10009
|
-
(
|
|
10253
|
+
lib_openapi_service_ts_decorate([
|
|
10010
10254
|
WithStatus((source, spec)=>({
|
|
10011
10255
|
step: 'normalize',
|
|
10012
10256
|
sourceId: source.id
|
|
10013
10257
|
})),
|
|
10014
|
-
(
|
|
10015
|
-
(
|
|
10258
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10259
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10016
10260
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10017
10261
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10018
10262
|
Object
|
|
10019
10263
|
]),
|
|
10020
|
-
(
|
|
10264
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10021
10265
|
], IntrigOpenapiService.prototype, "normalize", null);
|
|
10022
|
-
(
|
|
10266
|
+
lib_openapi_service_ts_decorate([
|
|
10023
10267
|
WithStatus((source, row)=>({
|
|
10024
10268
|
step: 'decode',
|
|
10025
10269
|
sourceId: source.id
|
|
10026
10270
|
})),
|
|
10027
|
-
(
|
|
10028
|
-
(
|
|
10271
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10272
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10029
10273
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10030
10274
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10031
10275
|
String
|
|
10032
10276
|
]),
|
|
10033
|
-
(
|
|
10277
|
+
lib_openapi_service_ts_metadata("design:returntype", void 0)
|
|
10034
10278
|
], IntrigOpenapiService.prototype, "decodeSwaggerDoc", null);
|
|
10035
|
-
(
|
|
10279
|
+
lib_openapi_service_ts_decorate([
|
|
10036
10280
|
WithStatus((source)=>({
|
|
10037
10281
|
step: 'fetch',
|
|
10038
10282
|
sourceId: source.id
|
|
10039
10283
|
})),
|
|
10040
|
-
(
|
|
10041
|
-
(
|
|
10284
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10285
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10042
10286
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10043
10287
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10044
10288
|
]),
|
|
10045
|
-
(
|
|
10289
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10046
10290
|
], IntrigOpenapiService.prototype, "fetchSwaggerDoc", null);
|
|
10047
|
-
IntrigOpenapiService = (
|
|
10291
|
+
IntrigOpenapiService = lib_openapi_service_ts_decorate([
|
|
10048
10292
|
(0,common_namespaceObject.Injectable)(),
|
|
10049
|
-
(
|
|
10050
|
-
(
|
|
10293
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10294
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10051
10295
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService,
|
|
10052
10296
|
typeof SpecManagementService === "undefined" ? Object : SpecManagementService
|
|
10053
10297
|
])
|
|
10054
10298
|
], IntrigOpenapiService);
|
|
10055
10299
|
|
|
10056
10300
|
;// ../../lib/openapi-source/src/lib/openapi-source.module.ts
|
|
10057
|
-
|
|
10301
|
+
function openapi_source_module_ts_decorate(decorators, target, key, desc) {
|
|
10302
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10303
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10304
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10305
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10306
|
+
}
|
|
10058
10307
|
|
|
10059
10308
|
|
|
10060
10309
|
|
|
10061
10310
|
class OpenapiSourceModule {
|
|
10062
10311
|
}
|
|
10063
|
-
OpenapiSourceModule = (
|
|
10312
|
+
OpenapiSourceModule = openapi_source_module_ts_decorate([
|
|
10064
10313
|
(0,common_namespaceObject.Module)({
|
|
10065
10314
|
imports: [
|
|
10066
10315
|
axios_namespaceObject.HttpModule
|
|
@@ -10082,8 +10331,15 @@ OpenapiSourceModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
10082
10331
|
const external_minisearch_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("minisearch");
|
|
10083
10332
|
var external_minisearch_default = /*#__PURE__*/__webpack_require__.n(external_minisearch_namespaceObject);
|
|
10084
10333
|
;// ./src/app/deamon/models/source-stats.ts
|
|
10085
|
-
|
|
10086
|
-
|
|
10334
|
+
function source_stats_ts_decorate(decorators, target, key, desc) {
|
|
10335
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10336
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10337
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10338
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10339
|
+
}
|
|
10340
|
+
function source_stats_ts_metadata(k, v) {
|
|
10341
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10342
|
+
}
|
|
10087
10343
|
|
|
10088
10344
|
class SourceStats {
|
|
10089
10345
|
constructor(total, countsByType, uniqueSources, uniqueSourcesCount){
|
|
@@ -10096,37 +10352,44 @@ class SourceStats {
|
|
|
10096
10352
|
return new SourceStats(stats.total, stats.countsByType, stats.uniqueSources, stats.uniqueSourcesCount);
|
|
10097
10353
|
}
|
|
10098
10354
|
}
|
|
10099
|
-
(
|
|
10355
|
+
source_stats_ts_decorate([
|
|
10100
10356
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10101
10357
|
description: 'Total number of sources'
|
|
10102
10358
|
}),
|
|
10103
|
-
(
|
|
10359
|
+
source_stats_ts_metadata("design:type", Number)
|
|
10104
10360
|
], SourceStats.prototype, "total", void 0);
|
|
10105
|
-
(
|
|
10361
|
+
source_stats_ts_decorate([
|
|
10106
10362
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10107
10363
|
description: 'Count of sources grouped by their type'
|
|
10108
10364
|
}),
|
|
10109
|
-
(
|
|
10365
|
+
source_stats_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
|
10110
10366
|
], SourceStats.prototype, "countsByType", void 0);
|
|
10111
|
-
(
|
|
10367
|
+
source_stats_ts_decorate([
|
|
10112
10368
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10113
10369
|
description: 'List of unique source identifiers',
|
|
10114
10370
|
type: [
|
|
10115
10371
|
String
|
|
10116
10372
|
]
|
|
10117
10373
|
}),
|
|
10118
|
-
(
|
|
10374
|
+
source_stats_ts_metadata("design:type", Array)
|
|
10119
10375
|
], SourceStats.prototype, "uniqueSources", void 0);
|
|
10120
|
-
(
|
|
10376
|
+
source_stats_ts_decorate([
|
|
10121
10377
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10122
10378
|
description: 'Number of unique sources'
|
|
10123
10379
|
}),
|
|
10124
|
-
(
|
|
10380
|
+
source_stats_ts_metadata("design:type", Number)
|
|
10125
10381
|
], SourceStats.prototype, "uniqueSourcesCount", void 0);
|
|
10126
10382
|
|
|
10127
10383
|
;// ./src/app/deamon/services/search.service.ts
|
|
10128
|
-
|
|
10129
|
-
|
|
10384
|
+
function search_service_ts_decorate(decorators, target, key, desc) {
|
|
10385
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10386
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10387
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10388
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10389
|
+
}
|
|
10390
|
+
function search_service_ts_metadata(k, v) {
|
|
10391
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10392
|
+
}
|
|
10130
10393
|
|
|
10131
10394
|
|
|
10132
10395
|
|
|
@@ -10325,18 +10588,25 @@ class SearchService {
|
|
|
10325
10588
|
});
|
|
10326
10589
|
}
|
|
10327
10590
|
}
|
|
10328
|
-
SearchService = (
|
|
10591
|
+
SearchService = search_service_ts_decorate([
|
|
10329
10592
|
(0,common_namespaceObject.Injectable)(),
|
|
10330
|
-
(
|
|
10331
|
-
(
|
|
10593
|
+
search_service_ts_metadata("design:type", Function),
|
|
10594
|
+
search_service_ts_metadata("design:paramtypes", [
|
|
10332
10595
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
10333
10596
|
typeof IntrigOpenapiService === "undefined" ? Object : IntrigOpenapiService
|
|
10334
10597
|
])
|
|
10335
10598
|
], SearchService);
|
|
10336
10599
|
|
|
10337
10600
|
;// ./src/app/deamon/services/operations.service.ts
|
|
10338
|
-
|
|
10339
|
-
|
|
10601
|
+
function operations_service_ts_decorate(decorators, target, key, desc) {
|
|
10602
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10603
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10604
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10605
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10606
|
+
}
|
|
10607
|
+
function operations_service_ts_metadata(k, v) {
|
|
10608
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10609
|
+
}
|
|
10340
10610
|
|
|
10341
10611
|
|
|
10342
10612
|
|
|
@@ -10525,150 +10795,150 @@ class OperationsService {
|
|
|
10525
10795
|
return this.generateDir;
|
|
10526
10796
|
}
|
|
10527
10797
|
}
|
|
10528
|
-
(
|
|
10798
|
+
operations_service_ts_decorate([
|
|
10529
10799
|
WithStatus((event)=>({
|
|
10530
10800
|
sourceId: '',
|
|
10531
10801
|
step: 'getConfig'
|
|
10532
10802
|
})),
|
|
10533
|
-
(
|
|
10534
|
-
(
|
|
10803
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10804
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10535
10805
|
Object
|
|
10536
10806
|
]),
|
|
10537
|
-
(
|
|
10807
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10538
10808
|
], OperationsService.prototype, "getConfig", null);
|
|
10539
|
-
(
|
|
10809
|
+
operations_service_ts_decorate([
|
|
10540
10810
|
WithStatus((p1, p2)=>({
|
|
10541
10811
|
sourceId: '',
|
|
10542
10812
|
step: 'indexDiff'
|
|
10543
10813
|
})),
|
|
10544
|
-
(
|
|
10545
|
-
(
|
|
10814
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10815
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10546
10816
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10547
10817
|
Array,
|
|
10548
10818
|
Array
|
|
10549
10819
|
]),
|
|
10550
|
-
(
|
|
10820
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10551
10821
|
], OperationsService.prototype, "indexDiff", null);
|
|
10552
|
-
(
|
|
10822
|
+
operations_service_ts_decorate([
|
|
10553
10823
|
WithStatus((event)=>({
|
|
10554
10824
|
sourceId: '',
|
|
10555
10825
|
step: 'loadPreviousState'
|
|
10556
10826
|
})),
|
|
10557
|
-
(
|
|
10558
|
-
(
|
|
10827
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10828
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10559
10829
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10560
10830
|
typeof IntrigConfig === "undefined" ? Object : IntrigConfig
|
|
10561
10831
|
]),
|
|
10562
|
-
(
|
|
10832
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10563
10833
|
], OperationsService.prototype, "getPreviousState", null);
|
|
10564
|
-
(
|
|
10834
|
+
operations_service_ts_decorate([
|
|
10565
10835
|
WithStatus((event)=>({
|
|
10566
10836
|
sourceId: '',
|
|
10567
10837
|
step: 'loadNewState'
|
|
10568
10838
|
})),
|
|
10569
|
-
(
|
|
10570
|
-
(
|
|
10839
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10840
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10571
10841
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10572
10842
|
typeof IntrigConfig === "undefined" ? Object : IntrigConfig
|
|
10573
10843
|
]),
|
|
10574
|
-
(
|
|
10844
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10575
10845
|
], OperationsService.prototype, "getNewState", null);
|
|
10576
|
-
(
|
|
10846
|
+
operations_service_ts_decorate([
|
|
10577
10847
|
WithStatus((event)=>({
|
|
10578
10848
|
sourceId: '',
|
|
10579
10849
|
step: 'postBuild'
|
|
10580
10850
|
})),
|
|
10581
|
-
(
|
|
10582
|
-
(
|
|
10851
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10852
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10583
10853
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10584
10854
|
]),
|
|
10585
|
-
(
|
|
10855
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10586
10856
|
], OperationsService.prototype, "executePostBuild", null);
|
|
10587
|
-
(
|
|
10857
|
+
operations_service_ts_decorate([
|
|
10588
10858
|
WithStatus((event)=>({
|
|
10589
10859
|
sourceId: '',
|
|
10590
10860
|
step: 'copy-to-node-modules'
|
|
10591
10861
|
})),
|
|
10592
|
-
(
|
|
10593
|
-
(
|
|
10862
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10863
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10594
10864
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10595
10865
|
]),
|
|
10596
|
-
(
|
|
10866
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10597
10867
|
], OperationsService.prototype, "copyContentToNodeModules", null);
|
|
10598
|
-
(
|
|
10868
|
+
operations_service_ts_decorate([
|
|
10599
10869
|
WithStatus((event)=>({
|
|
10600
10870
|
sourceId: '',
|
|
10601
10871
|
step: 'build'
|
|
10602
10872
|
})),
|
|
10603
|
-
(
|
|
10604
|
-
(
|
|
10873
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10874
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10605
10875
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10606
10876
|
]),
|
|
10607
|
-
(
|
|
10877
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10608
10878
|
], OperationsService.prototype, "buildContent", null);
|
|
10609
|
-
(
|
|
10879
|
+
operations_service_ts_decorate([
|
|
10610
10880
|
WithStatus((event)=>({
|
|
10611
10881
|
sourceId: '',
|
|
10612
10882
|
step: 'install'
|
|
10613
10883
|
})),
|
|
10614
|
-
(
|
|
10615
|
-
(
|
|
10884
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10885
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10616
10886
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10617
10887
|
]),
|
|
10618
|
-
(
|
|
10888
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10619
10889
|
], OperationsService.prototype, "installDependencies", null);
|
|
10620
|
-
(
|
|
10890
|
+
operations_service_ts_decorate([
|
|
10621
10891
|
WithStatus((event)=>({
|
|
10622
10892
|
sourceId: '',
|
|
10623
10893
|
step: 'generate'
|
|
10624
10894
|
})),
|
|
10625
|
-
(
|
|
10626
|
-
(
|
|
10895
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10896
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10627
10897
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10628
10898
|
Array
|
|
10629
10899
|
]),
|
|
10630
|
-
(
|
|
10900
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10631
10901
|
], OperationsService.prototype, "generateGlobalContent", null);
|
|
10632
|
-
(
|
|
10902
|
+
operations_service_ts_decorate([
|
|
10633
10903
|
WithStatus((a, source)=>({
|
|
10634
10904
|
sourceId: source.id,
|
|
10635
10905
|
step: 'generate'
|
|
10636
10906
|
})),
|
|
10637
|
-
(
|
|
10638
|
-
(
|
|
10907
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10908
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10639
10909
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10640
10910
|
Array,
|
|
10641
10911
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10642
10912
|
]),
|
|
10643
|
-
(
|
|
10913
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10644
10914
|
], OperationsService.prototype, "generateSourceContent", null);
|
|
10645
|
-
(
|
|
10915
|
+
operations_service_ts_decorate([
|
|
10646
10916
|
WithStatus((source)=>({
|
|
10647
10917
|
sourceId: source.id,
|
|
10648
10918
|
step: 'clear'
|
|
10649
10919
|
})),
|
|
10650
|
-
(
|
|
10651
|
-
(
|
|
10920
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10921
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10652
10922
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10653
10923
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10654
10924
|
]),
|
|
10655
|
-
(
|
|
10925
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10656
10926
|
], OperationsService.prototype, "getDescriptors", null);
|
|
10657
|
-
(
|
|
10927
|
+
operations_service_ts_decorate([
|
|
10658
10928
|
WithStatus((event)=>({
|
|
10659
10929
|
sourceId: '',
|
|
10660
10930
|
step: 'clear'
|
|
10661
10931
|
})),
|
|
10662
|
-
(
|
|
10663
|
-
(
|
|
10932
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10933
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10664
10934
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10665
10935
|
]),
|
|
10666
|
-
(
|
|
10936
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10667
10937
|
], OperationsService.prototype, "clearGenerateDir", null);
|
|
10668
|
-
OperationsService = (
|
|
10938
|
+
OperationsService = operations_service_ts_decorate([
|
|
10669
10939
|
(0,common_namespaceObject.Injectable)(),
|
|
10670
|
-
(
|
|
10671
|
-
(
|
|
10940
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10941
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10672
10942
|
typeof IntrigOpenapiService === "undefined" ? Object : IntrigOpenapiService,
|
|
10673
10943
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
10674
10944
|
typeof GeneratorBinding === "undefined" ? Object : GeneratorBinding,
|
|
@@ -10679,9 +10949,20 @@ OperationsService = (0,_ts_decorate_namespaceObject._)([
|
|
|
10679
10949
|
], OperationsService);
|
|
10680
10950
|
|
|
10681
10951
|
;// ./src/app/deamon/controllers/operations.controller.ts
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10952
|
+
function operations_controller_ts_decorate(decorators, target, key, desc) {
|
|
10953
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10954
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10955
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
10956
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10957
|
+
}
|
|
10958
|
+
function operations_controller_ts_metadata(k, v) {
|
|
10959
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10960
|
+
}
|
|
10961
|
+
function operations_controller_ts_param(paramIndex, decorator) {
|
|
10962
|
+
return function(target, key) {
|
|
10963
|
+
decorator(target, key, paramIndex);
|
|
10964
|
+
};
|
|
10965
|
+
}
|
|
10685
10966
|
|
|
10686
10967
|
|
|
10687
10968
|
|
|
@@ -10715,7 +10996,7 @@ class OperationsController {
|
|
|
10715
10996
|
return events$;
|
|
10716
10997
|
}
|
|
10717
10998
|
}
|
|
10718
|
-
(
|
|
10999
|
+
operations_controller_ts_decorate([
|
|
10719
11000
|
(0,common_namespaceObject.Sse)('sync'),
|
|
10720
11001
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
10721
11002
|
status: 200,
|
|
@@ -10735,14 +11016,14 @@ class OperationsController {
|
|
|
10735
11016
|
}
|
|
10736
11017
|
}
|
|
10737
11018
|
}),
|
|
10738
|
-
(0,
|
|
10739
|
-
(
|
|
10740
|
-
(
|
|
11019
|
+
operations_controller_ts_param(0, (0,common_namespaceObject.Query)('id')),
|
|
11020
|
+
operations_controller_ts_metadata("design:type", Function),
|
|
11021
|
+
operations_controller_ts_metadata("design:paramtypes", [
|
|
10741
11022
|
String
|
|
10742
11023
|
]),
|
|
10743
|
-
(
|
|
11024
|
+
operations_controller_ts_metadata("design:returntype", Promise)
|
|
10744
11025
|
], OperationsController.prototype, "sync", null);
|
|
10745
|
-
(
|
|
11026
|
+
operations_controller_ts_decorate([
|
|
10746
11027
|
(0,common_namespaceObject.Sse)('generate'),
|
|
10747
11028
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
10748
11029
|
status: 200,
|
|
@@ -10762,22 +11043,27 @@ class OperationsController {
|
|
|
10762
11043
|
}
|
|
10763
11044
|
}
|
|
10764
11045
|
}),
|
|
10765
|
-
(
|
|
10766
|
-
(
|
|
10767
|
-
(
|
|
11046
|
+
operations_controller_ts_metadata("design:type", Function),
|
|
11047
|
+
operations_controller_ts_metadata("design:paramtypes", []),
|
|
11048
|
+
operations_controller_ts_metadata("design:returntype", Promise)
|
|
10768
11049
|
], OperationsController.prototype, "generate", null);
|
|
10769
|
-
OperationsController = (
|
|
11050
|
+
OperationsController = operations_controller_ts_decorate([
|
|
10770
11051
|
(0,swagger_namespaceObject.ApiTags)('Operations'),
|
|
10771
11052
|
(0,swagger_namespaceObject.ApiExtraModels)(SyncStatusEventDto, SyncDoneEventDto, GenerateStatusEventDto, GenerateDoneEventDto),
|
|
10772
11053
|
(0,common_namespaceObject.Controller)('operations'),
|
|
10773
|
-
(
|
|
10774
|
-
(
|
|
11054
|
+
operations_controller_ts_metadata("design:type", Function),
|
|
11055
|
+
operations_controller_ts_metadata("design:paramtypes", [
|
|
10775
11056
|
typeof OperationsService === "undefined" ? Object : OperationsService
|
|
10776
11057
|
])
|
|
10777
11058
|
], OperationsController);
|
|
10778
11059
|
|
|
10779
11060
|
;// ./src/app/deamon/generator/generator.module.ts
|
|
10780
|
-
|
|
11061
|
+
function generator_module_ts_decorate(decorators, target, key, desc) {
|
|
11062
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11063
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11064
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11065
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11066
|
+
}
|
|
10781
11067
|
|
|
10782
11068
|
|
|
10783
11069
|
|
|
@@ -10818,13 +11104,20 @@ class GeneratorModule {
|
|
|
10818
11104
|
};
|
|
10819
11105
|
}
|
|
10820
11106
|
}
|
|
10821
|
-
GeneratorModule = (
|
|
11107
|
+
GeneratorModule = generator_module_ts_decorate([
|
|
10822
11108
|
(0,common_namespaceObject.Module)({})
|
|
10823
11109
|
], GeneratorModule);
|
|
10824
11110
|
|
|
10825
11111
|
;// ./src/app/deamon/services/data-search.service.ts
|
|
10826
|
-
|
|
10827
|
-
|
|
11112
|
+
function data_search_service_ts_decorate(decorators, target, key, desc) {
|
|
11113
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11114
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11115
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11116
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11117
|
+
}
|
|
11118
|
+
function data_search_service_ts_metadata(k, v) {
|
|
11119
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
11120
|
+
}
|
|
10828
11121
|
|
|
10829
11122
|
|
|
10830
11123
|
|
|
@@ -10912,10 +11205,10 @@ class DataSearchService {
|
|
|
10912
11205
|
return await this.generatorBinding.getEndpointDocumentation(result, schemas);
|
|
10913
11206
|
}
|
|
10914
11207
|
}
|
|
10915
|
-
DataSearchService = (
|
|
11208
|
+
DataSearchService = data_search_service_ts_decorate([
|
|
10916
11209
|
(0,common_namespaceObject.Injectable)(),
|
|
10917
|
-
(
|
|
10918
|
-
(
|
|
11210
|
+
data_search_service_ts_metadata("design:type", Function),
|
|
11211
|
+
data_search_service_ts_metadata("design:paramtypes", [
|
|
10919
11212
|
typeof SearchService === "undefined" ? Object : SearchService,
|
|
10920
11213
|
typeof GeneratorBinding === "undefined" ? Object : GeneratorBinding
|
|
10921
11214
|
])
|
|
@@ -10927,8 +11220,15 @@ const external_class_validator_namespaceObject = __WEBPACK_EXTERNAL_createRequir
|
|
|
10927
11220
|
const external_class_transformer_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("class-transformer");
|
|
10928
11221
|
;// ./src/app/deamon/models/search-query.ts
|
|
10929
11222
|
// src/controllers/dto/search-query.dto.ts
|
|
10930
|
-
|
|
10931
|
-
|
|
11223
|
+
function search_query_ts_decorate(decorators, target, key, desc) {
|
|
11224
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11225
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11226
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11227
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11228
|
+
}
|
|
11229
|
+
function search_query_ts_metadata(k, v) {
|
|
11230
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
11231
|
+
}
|
|
10932
11232
|
|
|
10933
11233
|
|
|
10934
11234
|
|
|
@@ -10938,16 +11238,16 @@ class SearchQuery {
|
|
|
10938
11238
|
this.size = 10;
|
|
10939
11239
|
}
|
|
10940
11240
|
}
|
|
10941
|
-
(
|
|
11241
|
+
search_query_ts_decorate([
|
|
10942
11242
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10943
11243
|
required: false,
|
|
10944
11244
|
description: 'full-text query'
|
|
10945
11245
|
}),
|
|
10946
11246
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
10947
11247
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
10948
|
-
(
|
|
11248
|
+
search_query_ts_metadata("design:type", String)
|
|
10949
11249
|
], SearchQuery.prototype, "query", void 0);
|
|
10950
|
-
(
|
|
11250
|
+
search_query_ts_decorate([
|
|
10951
11251
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10952
11252
|
required: false,
|
|
10953
11253
|
description: 'filter by descriptor type',
|
|
@@ -10958,27 +11258,27 @@ class SearchQuery {
|
|
|
10958
11258
|
}),
|
|
10959
11259
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
10960
11260
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
10961
|
-
(
|
|
11261
|
+
search_query_ts_metadata("design:type", String)
|
|
10962
11262
|
], SearchQuery.prototype, "type", void 0);
|
|
10963
|
-
(
|
|
11263
|
+
search_query_ts_decorate([
|
|
10964
11264
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10965
11265
|
required: false,
|
|
10966
11266
|
description: 'filter by source id'
|
|
10967
11267
|
}),
|
|
10968
11268
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
10969
11269
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
10970
|
-
(
|
|
11270
|
+
search_query_ts_metadata("design:type", String)
|
|
10971
11271
|
], SearchQuery.prototype, "source", void 0);
|
|
10972
|
-
(
|
|
11272
|
+
search_query_ts_decorate([
|
|
10973
11273
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10974
11274
|
required: false,
|
|
10975
11275
|
description: 'filter by REST package path'
|
|
10976
11276
|
}),
|
|
10977
11277
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
10978
11278
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
10979
|
-
(
|
|
11279
|
+
search_query_ts_metadata("design:type", String)
|
|
10980
11280
|
], SearchQuery.prototype, "pkg", void 0);
|
|
10981
|
-
(
|
|
11281
|
+
search_query_ts_decorate([
|
|
10982
11282
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10983
11283
|
required: false,
|
|
10984
11284
|
description: 'zero-based page index',
|
|
@@ -10990,7 +11290,7 @@ class SearchQuery {
|
|
|
10990
11290
|
(0,external_class_validator_namespaceObject.IsInt)(),
|
|
10991
11291
|
(0,external_class_validator_namespaceObject.Min)(0)
|
|
10992
11292
|
], SearchQuery.prototype, "page", void 0);
|
|
10993
|
-
(
|
|
11293
|
+
search_query_ts_decorate([
|
|
10994
11294
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10995
11295
|
required: false,
|
|
10996
11296
|
description: 'page size',
|
|
@@ -11004,9 +11304,20 @@ class SearchQuery {
|
|
|
11004
11304
|
], SearchQuery.prototype, "size", void 0);
|
|
11005
11305
|
|
|
11006
11306
|
;// ./src/app/deamon/controllers/data-search.controller.ts
|
|
11007
|
-
|
|
11008
|
-
|
|
11009
|
-
|
|
11307
|
+
function data_search_controller_ts_decorate(decorators, target, key, desc) {
|
|
11308
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11309
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11310
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11311
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11312
|
+
}
|
|
11313
|
+
function data_search_controller_ts_metadata(k, v) {
|
|
11314
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
11315
|
+
}
|
|
11316
|
+
function data_search_controller_ts_param(paramIndex, decorator) {
|
|
11317
|
+
return function(target, key) {
|
|
11318
|
+
decorator(target, key, paramIndex);
|
|
11319
|
+
};
|
|
11320
|
+
}
|
|
11010
11321
|
|
|
11011
11322
|
|
|
11012
11323
|
|
|
@@ -11050,7 +11361,7 @@ class DataSearchController {
|
|
|
11050
11361
|
return await this.dataSearchService.getStats();
|
|
11051
11362
|
}
|
|
11052
11363
|
}
|
|
11053
|
-
(
|
|
11364
|
+
data_search_controller_ts_decorate([
|
|
11054
11365
|
(0,common_namespaceObject.Get)("/search"),
|
|
11055
11366
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11056
11367
|
summary: 'Search for resources'
|
|
@@ -11083,14 +11394,14 @@ class DataSearchController {
|
|
|
11083
11394
|
},
|
|
11084
11395
|
whitelist: true
|
|
11085
11396
|
})),
|
|
11086
|
-
(0,
|
|
11087
|
-
(
|
|
11088
|
-
(
|
|
11397
|
+
data_search_controller_ts_param(0, (0,common_namespaceObject.Query)()),
|
|
11398
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11399
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11089
11400
|
typeof SearchQuery === "undefined" ? Object : SearchQuery
|
|
11090
11401
|
]),
|
|
11091
|
-
(
|
|
11402
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11092
11403
|
], DataSearchController.prototype, "search", null);
|
|
11093
|
-
(
|
|
11404
|
+
data_search_controller_ts_decorate([
|
|
11094
11405
|
(0,common_namespaceObject.Get)("/get/:id"),
|
|
11095
11406
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11096
11407
|
summary: 'Get resource by ID'
|
|
@@ -11104,14 +11415,14 @@ class DataSearchController {
|
|
|
11104
11415
|
status: 404,
|
|
11105
11416
|
description: 'Resource not found'
|
|
11106
11417
|
}),
|
|
11107
|
-
(0,
|
|
11108
|
-
(
|
|
11109
|
-
(
|
|
11418
|
+
data_search_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
11419
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11420
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11110
11421
|
String
|
|
11111
11422
|
]),
|
|
11112
|
-
(
|
|
11423
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11113
11424
|
], DataSearchController.prototype, "getById", null);
|
|
11114
|
-
(
|
|
11425
|
+
data_search_controller_ts_decorate([
|
|
11115
11426
|
(0,common_namespaceObject.Get)("/get/schema/:id"),
|
|
11116
11427
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11117
11428
|
summary: 'Get schema docs by ID'
|
|
@@ -11125,14 +11436,14 @@ class DataSearchController {
|
|
|
11125
11436
|
status: 404,
|
|
11126
11437
|
description: 'Resource not found'
|
|
11127
11438
|
}),
|
|
11128
|
-
(0,
|
|
11129
|
-
(
|
|
11130
|
-
(
|
|
11439
|
+
data_search_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
11440
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11441
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11131
11442
|
String
|
|
11132
11443
|
]),
|
|
11133
|
-
(
|
|
11444
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11134
11445
|
], DataSearchController.prototype, "getSchemaDocsById", null);
|
|
11135
|
-
(
|
|
11446
|
+
data_search_controller_ts_decorate([
|
|
11136
11447
|
(0,common_namespaceObject.Get)("/get/endpoint/:id"),
|
|
11137
11448
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11138
11449
|
summary: 'Get schema docs by ID'
|
|
@@ -11142,14 +11453,14 @@ class DataSearchController {
|
|
|
11142
11453
|
description: 'Returns a resource',
|
|
11143
11454
|
type: RestDocumentation
|
|
11144
11455
|
}),
|
|
11145
|
-
(0,
|
|
11146
|
-
(
|
|
11147
|
-
(
|
|
11456
|
+
data_search_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
11457
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11458
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11148
11459
|
String
|
|
11149
11460
|
]),
|
|
11150
|
-
(
|
|
11461
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11151
11462
|
], DataSearchController.prototype, "getEndpointById", null);
|
|
11152
|
-
(
|
|
11463
|
+
data_search_controller_ts_decorate([
|
|
11153
11464
|
(0,common_namespaceObject.Get)("/stats"),
|
|
11154
11465
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11155
11466
|
summary: 'Get stats for a source'
|
|
@@ -11159,21 +11470,26 @@ class DataSearchController {
|
|
|
11159
11470
|
description: 'Returns stats for a source',
|
|
11160
11471
|
type: SourceStats
|
|
11161
11472
|
}),
|
|
11162
|
-
(
|
|
11163
|
-
(
|
|
11164
|
-
(
|
|
11473
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11474
|
+
data_search_controller_ts_metadata("design:paramtypes", []),
|
|
11475
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11165
11476
|
], DataSearchController.prototype, "getStats", null);
|
|
11166
|
-
DataSearchController = (
|
|
11477
|
+
DataSearchController = data_search_controller_ts_decorate([
|
|
11167
11478
|
(0,common_namespaceObject.Controller)('data'),
|
|
11168
11479
|
(0,swagger_namespaceObject.ApiExtraModels)(ResourceDescriptor, Page, SchemaDocumentation, RestDocumentation, SourceStats, SearchQuery),
|
|
11169
|
-
(
|
|
11170
|
-
(
|
|
11480
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11481
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11171
11482
|
typeof DataSearchService === "undefined" ? Object : DataSearchService
|
|
11172
11483
|
])
|
|
11173
11484
|
], DataSearchController);
|
|
11174
11485
|
|
|
11175
11486
|
;// ./src/app/deamon/deamon.module.ts
|
|
11176
|
-
|
|
11487
|
+
function deamon_module_ts_decorate(decorators, target, key, desc) {
|
|
11488
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11489
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11490
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11491
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11492
|
+
}
|
|
11177
11493
|
|
|
11178
11494
|
|
|
11179
11495
|
|
|
@@ -11189,7 +11505,7 @@ DataSearchController = (0,_ts_decorate_namespaceObject._)([
|
|
|
11189
11505
|
|
|
11190
11506
|
class DeamonModule {
|
|
11191
11507
|
}
|
|
11192
|
-
DeamonModule = (
|
|
11508
|
+
DeamonModule = deamon_module_ts_decorate([
|
|
11193
11509
|
(0,common_namespaceObject.Module)({
|
|
11194
11510
|
imports: [
|
|
11195
11511
|
CommonModule,
|
|
@@ -11224,7 +11540,12 @@ DeamonModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
11224
11540
|
});
|
|
11225
11541
|
|
|
11226
11542
|
;// ./src/app/app.module.ts
|
|
11227
|
-
|
|
11543
|
+
function app_module_ts_decorate(decorators, target, key, desc) {
|
|
11544
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11545
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11546
|
+
else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11547
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11548
|
+
}
|
|
11228
11549
|
|
|
11229
11550
|
|
|
11230
11551
|
|
|
@@ -11234,7 +11555,7 @@ DeamonModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
11234
11555
|
|
|
11235
11556
|
class AppModule {
|
|
11236
11557
|
}
|
|
11237
|
-
AppModule = (
|
|
11558
|
+
AppModule = app_module_ts_decorate([
|
|
11238
11559
|
(0,common_namespaceObject.Module)({
|
|
11239
11560
|
imports: [
|
|
11240
11561
|
config_namespaceObject.ConfigModule.forRoot({
|