@intrig/core 0.0.12 → 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 +463 -280
- package/package.json +1 -1
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,13 +1229,13 @@ 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
|
-
function
|
|
1232
|
+
function spec_management_service_ts_decorate(decorators, target, key, desc) {
|
|
1186
1233
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1187
1234
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1188
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;
|
|
1189
1236
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1190
1237
|
}
|
|
1191
|
-
function
|
|
1238
|
+
function spec_management_service_ts_metadata(k, v) {
|
|
1192
1239
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1193
1240
|
}
|
|
1194
1241
|
|
|
@@ -1225,10 +1272,10 @@ class SpecManagementService {
|
|
|
1225
1272
|
return undefined;
|
|
1226
1273
|
}
|
|
1227
1274
|
}
|
|
1228
|
-
SpecManagementService =
|
|
1275
|
+
SpecManagementService = spec_management_service_ts_decorate([
|
|
1229
1276
|
(0,common_namespaceObject.Injectable)(),
|
|
1230
|
-
|
|
1231
|
-
|
|
1277
|
+
spec_management_service_ts_metadata("design:type", Function),
|
|
1278
|
+
spec_management_service_ts_metadata("design:paramtypes", [
|
|
1232
1279
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
1233
1280
|
])
|
|
1234
1281
|
], SpecManagementService);
|
|
@@ -2605,14 +2652,19 @@ function splitPrefixSuffix(input, options = {}) {
|
|
|
2605
2652
|
}));
|
|
2606
2653
|
|
|
2607
2654
|
;// ./src/app/discovery/discovery.module.ts
|
|
2608
|
-
|
|
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
|
+
}
|
|
2609
2661
|
|
|
2610
2662
|
|
|
2611
2663
|
|
|
2612
2664
|
|
|
2613
2665
|
class DiscoveryModule {
|
|
2614
2666
|
}
|
|
2615
|
-
DiscoveryModule = (
|
|
2667
|
+
DiscoveryModule = discovery_module_ts_decorate([
|
|
2616
2668
|
(0,common_namespaceObject.Module)({
|
|
2617
2669
|
imports: [
|
|
2618
2670
|
config_namespaceObject.ConfigModule.forFeature(discovery_config)
|
|
@@ -5843,8 +5895,15 @@ NextCliModule = next_cli_module_ts_decorate([
|
|
|
5843
5895
|
|
|
5844
5896
|
|
|
5845
5897
|
;// ./src/app/cli/commands/search.command.ts
|
|
5846
|
-
|
|
5847
|
-
|
|
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
|
+
}
|
|
5848
5907
|
|
|
5849
5908
|
|
|
5850
5909
|
|
|
@@ -5909,13 +5968,13 @@ class SearchCommand extends external_nest_commander_namespaceObject.CommandRunne
|
|
|
5909
5968
|
}
|
|
5910
5969
|
}
|
|
5911
5970
|
}
|
|
5912
|
-
SearchCommand = (
|
|
5971
|
+
SearchCommand = search_command_ts_decorate([
|
|
5913
5972
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
5914
5973
|
name: 'search',
|
|
5915
5974
|
description: 'Search for resources'
|
|
5916
5975
|
}),
|
|
5917
|
-
(
|
|
5918
|
-
(
|
|
5976
|
+
search_command_ts_metadata("design:type", Function),
|
|
5977
|
+
search_command_ts_metadata("design:paramtypes", [
|
|
5919
5978
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
5920
5979
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
5921
5980
|
])
|
|
@@ -9369,9 +9428,20 @@ ReactCliModule = react_cli_module_ts_decorate([
|
|
|
9369
9428
|
|
|
9370
9429
|
|
|
9371
9430
|
;// ./src/app/cli/commands/prebuild.command.ts
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
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
|
+
}
|
|
9375
9445
|
|
|
9376
9446
|
|
|
9377
9447
|
|
|
@@ -9398,14 +9468,14 @@ class PrebuildCommand extends external_nest_commander_namespaceObject.CommandRun
|
|
|
9398
9468
|
await generator.preBuild();
|
|
9399
9469
|
}
|
|
9400
9470
|
}
|
|
9401
|
-
PrebuildCommand = (
|
|
9471
|
+
PrebuildCommand = prebuild_command_ts_decorate([
|
|
9402
9472
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
9403
9473
|
name: "prebuild",
|
|
9404
9474
|
description: "Prebuild."
|
|
9405
9475
|
}),
|
|
9406
|
-
(
|
|
9407
|
-
(
|
|
9408
|
-
(
|
|
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", [
|
|
9409
9479
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
9410
9480
|
Array,
|
|
9411
9481
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
@@ -9413,9 +9483,20 @@ PrebuildCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
9413
9483
|
], PrebuildCommand);
|
|
9414
9484
|
|
|
9415
9485
|
;// ./src/app/cli/commands/postbuild.command.ts
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
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
|
+
}
|
|
9419
9500
|
|
|
9420
9501
|
|
|
9421
9502
|
|
|
@@ -9442,14 +9523,14 @@ class PostbuildCommand extends external_nest_commander_namespaceObject.CommandRu
|
|
|
9442
9523
|
await generator.postBuild();
|
|
9443
9524
|
}
|
|
9444
9525
|
}
|
|
9445
|
-
PostbuildCommand = (
|
|
9526
|
+
PostbuildCommand = postbuild_command_ts_decorate([
|
|
9446
9527
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
9447
9528
|
name: "postbuild",
|
|
9448
9529
|
description: "Postbuild."
|
|
9449
9530
|
}),
|
|
9450
|
-
(
|
|
9451
|
-
(
|
|
9452
|
-
(
|
|
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", [
|
|
9453
9534
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
9454
9535
|
Array,
|
|
9455
9536
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
@@ -9457,7 +9538,12 @@ PostbuildCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
9457
9538
|
], PostbuildCommand);
|
|
9458
9539
|
|
|
9459
9540
|
;// ./src/app/cli/cli.module.ts
|
|
9460
|
-
|
|
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
|
+
}
|
|
9461
9547
|
|
|
9462
9548
|
|
|
9463
9549
|
|
|
@@ -9476,7 +9562,7 @@ PostbuildCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
9476
9562
|
|
|
9477
9563
|
class CliModule {
|
|
9478
9564
|
}
|
|
9479
|
-
CliModule = (
|
|
9565
|
+
CliModule = cli_module_ts_decorate([
|
|
9480
9566
|
(0,common_namespaceObject.Module)({
|
|
9481
9567
|
imports: [
|
|
9482
9568
|
CommonModule,
|
|
@@ -9516,8 +9602,15 @@ CliModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
9516
9602
|
;// external "js-yaml"
|
|
9517
9603
|
const external_js_yaml_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("js-yaml");
|
|
9518
9604
|
;// ./src/app/deamon/services/openapi.service.ts
|
|
9519
|
-
|
|
9520
|
-
|
|
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
|
+
}
|
|
9521
9614
|
|
|
9522
9615
|
|
|
9523
9616
|
|
|
@@ -9554,17 +9647,24 @@ class OpenapiService {
|
|
|
9554
9647
|
});
|
|
9555
9648
|
}
|
|
9556
9649
|
}
|
|
9557
|
-
OpenapiService = (
|
|
9650
|
+
OpenapiService = openapi_service_ts_decorate([
|
|
9558
9651
|
(0,common_namespaceObject.Injectable)(),
|
|
9559
|
-
(
|
|
9560
|
-
(
|
|
9652
|
+
openapi_service_ts_metadata("design:type", Function),
|
|
9653
|
+
openapi_service_ts_metadata("design:paramtypes", [
|
|
9561
9654
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
9562
9655
|
])
|
|
9563
9656
|
], OpenapiService);
|
|
9564
9657
|
|
|
9565
9658
|
;// ./src/app/deamon/services/intrig-config.service.ts
|
|
9566
|
-
|
|
9567
|
-
|
|
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
|
+
}
|
|
9568
9668
|
|
|
9569
9669
|
|
|
9570
9670
|
|
|
@@ -9625,18 +9725,29 @@ class IntrigConfigService {
|
|
|
9625
9725
|
return this.readConfig();
|
|
9626
9726
|
}
|
|
9627
9727
|
}
|
|
9628
|
-
IntrigConfigService = (
|
|
9728
|
+
IntrigConfigService = intrig_config_service_ts_decorate([
|
|
9629
9729
|
(0,common_namespaceObject.Injectable)(),
|
|
9630
|
-
(
|
|
9631
|
-
(
|
|
9730
|
+
intrig_config_service_ts_metadata("design:type", Function),
|
|
9731
|
+
intrig_config_service_ts_metadata("design:paramtypes", [
|
|
9632
9732
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
9633
9733
|
])
|
|
9634
9734
|
], IntrigConfigService);
|
|
9635
9735
|
|
|
9636
9736
|
;// ./src/app/deamon/controllers/sources.controller.ts
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
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
|
+
}
|
|
9640
9751
|
|
|
9641
9752
|
|
|
9642
9753
|
|
|
@@ -9671,7 +9782,7 @@ class SourcesController {
|
|
|
9671
9782
|
return this.configService.list();
|
|
9672
9783
|
}
|
|
9673
9784
|
}
|
|
9674
|
-
(
|
|
9785
|
+
sources_controller_ts_decorate([
|
|
9675
9786
|
(0,swagger_namespaceObject.ApiBody)({
|
|
9676
9787
|
type: CreateSourceDto
|
|
9677
9788
|
}),
|
|
@@ -9680,14 +9791,14 @@ class SourcesController {
|
|
|
9680
9791
|
type: IntrigSourceConfig
|
|
9681
9792
|
}),
|
|
9682
9793
|
(0,common_namespaceObject.Post)("transform"),
|
|
9683
|
-
(0,
|
|
9684
|
-
(
|
|
9685
|
-
(
|
|
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", [
|
|
9686
9797
|
typeof ICreateSourceDto === "undefined" ? Object : ICreateSourceDto
|
|
9687
9798
|
]),
|
|
9688
|
-
(
|
|
9799
|
+
sources_controller_ts_metadata("design:returntype", Promise)
|
|
9689
9800
|
], SourcesController.prototype, "createFromUrl", null);
|
|
9690
|
-
(
|
|
9801
|
+
sources_controller_ts_decorate([
|
|
9691
9802
|
(0,swagger_namespaceObject.ApiBody)({
|
|
9692
9803
|
type: IntrigSourceConfig
|
|
9693
9804
|
}),
|
|
@@ -9696,26 +9807,26 @@ class SourcesController {
|
|
|
9696
9807
|
type: IntrigSourceConfig
|
|
9697
9808
|
}),
|
|
9698
9809
|
(0,common_namespaceObject.Post)("add"),
|
|
9699
|
-
(0,
|
|
9700
|
-
(
|
|
9701
|
-
(
|
|
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", [
|
|
9702
9813
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
9703
9814
|
]),
|
|
9704
|
-
(
|
|
9815
|
+
sources_controller_ts_metadata("design:returntype", typeof IntrigSourceConfig === "undefined" ? Object : IntrigSourceConfig)
|
|
9705
9816
|
], SourcesController.prototype, "create", null);
|
|
9706
|
-
(
|
|
9817
|
+
sources_controller_ts_decorate([
|
|
9707
9818
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
9708
9819
|
status: 204
|
|
9709
9820
|
}),
|
|
9710
9821
|
(0,common_namespaceObject.Delete)("remove/:id"),
|
|
9711
|
-
(0,
|
|
9712
|
-
(
|
|
9713
|
-
(
|
|
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", [
|
|
9714
9825
|
String
|
|
9715
9826
|
]),
|
|
9716
|
-
(
|
|
9827
|
+
sources_controller_ts_metadata("design:returntype", void 0)
|
|
9717
9828
|
], SourcesController.prototype, "remove", null);
|
|
9718
|
-
(
|
|
9829
|
+
sources_controller_ts_decorate([
|
|
9719
9830
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
9720
9831
|
status: 200,
|
|
9721
9832
|
type: [
|
|
@@ -9723,16 +9834,16 @@ class SourcesController {
|
|
|
9723
9834
|
]
|
|
9724
9835
|
}),
|
|
9725
9836
|
(0,common_namespaceObject.Get)("list"),
|
|
9726
|
-
(
|
|
9727
|
-
(
|
|
9728
|
-
(
|
|
9837
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9838
|
+
sources_controller_ts_metadata("design:paramtypes", []),
|
|
9839
|
+
sources_controller_ts_metadata("design:returntype", Array)
|
|
9729
9840
|
], SourcesController.prototype, "list", null);
|
|
9730
|
-
SourcesController = (
|
|
9841
|
+
SourcesController = sources_controller_ts_decorate([
|
|
9731
9842
|
(0,swagger_namespaceObject.ApiTags)('Sources'),
|
|
9732
9843
|
(0,swagger_namespaceObject.ApiExtraModels)(IntrigSourceConfig),
|
|
9733
9844
|
(0,common_namespaceObject.Controller)('config/sources'),
|
|
9734
|
-
(
|
|
9735
|
-
(
|
|
9845
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9846
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9736
9847
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
9737
9848
|
typeof OpenapiService === "undefined" ? Object : OpenapiService
|
|
9738
9849
|
])
|
|
@@ -9980,13 +10091,13 @@ function extractSchemas(spec) {
|
|
|
9980
10091
|
const set_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("lodash/set");
|
|
9981
10092
|
var set_default = /*#__PURE__*/__webpack_require__.n(set_namespaceObject);
|
|
9982
10093
|
;// ../../lib/openapi-source/src/lib/openapi.service.ts
|
|
9983
|
-
function
|
|
10094
|
+
function lib_openapi_service_ts_decorate(decorators, target, key, desc) {
|
|
9984
10095
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9985
10096
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9986
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;
|
|
9987
10098
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9988
10099
|
}
|
|
9989
|
-
function
|
|
10100
|
+
function lib_openapi_service_ts_metadata(k, v) {
|
|
9990
10101
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9991
10102
|
}
|
|
9992
10103
|
|
|
@@ -10126,61 +10237,61 @@ class IntrigOpenapiService {
|
|
|
10126
10237
|
}
|
|
10127
10238
|
}
|
|
10128
10239
|
}
|
|
10129
|
-
|
|
10240
|
+
lib_openapi_service_ts_decorate([
|
|
10130
10241
|
WithStatus((source, normalize)=>({
|
|
10131
10242
|
step: 'save',
|
|
10132
10243
|
sourceId: source.id
|
|
10133
10244
|
})),
|
|
10134
|
-
|
|
10135
|
-
|
|
10245
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10246
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10136
10247
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10137
10248
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10138
10249
|
typeof OpenAPIV3_1 === "undefined" || typeof OpenAPIV3_1.Document === "undefined" ? Object : OpenAPIV3_1.Document
|
|
10139
10250
|
]),
|
|
10140
|
-
|
|
10251
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10141
10252
|
], IntrigOpenapiService.prototype, "saveContent", null);
|
|
10142
|
-
|
|
10253
|
+
lib_openapi_service_ts_decorate([
|
|
10143
10254
|
WithStatus((source, spec)=>({
|
|
10144
10255
|
step: 'normalize',
|
|
10145
10256
|
sourceId: source.id
|
|
10146
10257
|
})),
|
|
10147
|
-
|
|
10148
|
-
|
|
10258
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10259
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10149
10260
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10150
10261
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10151
10262
|
Object
|
|
10152
10263
|
]),
|
|
10153
|
-
|
|
10264
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10154
10265
|
], IntrigOpenapiService.prototype, "normalize", null);
|
|
10155
|
-
|
|
10266
|
+
lib_openapi_service_ts_decorate([
|
|
10156
10267
|
WithStatus((source, row)=>({
|
|
10157
10268
|
step: 'decode',
|
|
10158
10269
|
sourceId: source.id
|
|
10159
10270
|
})),
|
|
10160
|
-
|
|
10161
|
-
|
|
10271
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10272
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10162
10273
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10163
10274
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10164
10275
|
String
|
|
10165
10276
|
]),
|
|
10166
|
-
|
|
10277
|
+
lib_openapi_service_ts_metadata("design:returntype", void 0)
|
|
10167
10278
|
], IntrigOpenapiService.prototype, "decodeSwaggerDoc", null);
|
|
10168
|
-
|
|
10279
|
+
lib_openapi_service_ts_decorate([
|
|
10169
10280
|
WithStatus((source)=>({
|
|
10170
10281
|
step: 'fetch',
|
|
10171
10282
|
sourceId: source.id
|
|
10172
10283
|
})),
|
|
10173
|
-
|
|
10174
|
-
|
|
10284
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10285
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10175
10286
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10176
10287
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10177
10288
|
]),
|
|
10178
|
-
|
|
10289
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10179
10290
|
], IntrigOpenapiService.prototype, "fetchSwaggerDoc", null);
|
|
10180
|
-
IntrigOpenapiService =
|
|
10291
|
+
IntrigOpenapiService = lib_openapi_service_ts_decorate([
|
|
10181
10292
|
(0,common_namespaceObject.Injectable)(),
|
|
10182
|
-
|
|
10183
|
-
|
|
10293
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10294
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10184
10295
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService,
|
|
10185
10296
|
typeof SpecManagementService === "undefined" ? Object : SpecManagementService
|
|
10186
10297
|
])
|
|
@@ -10220,8 +10331,15 @@ OpenapiSourceModule = openapi_source_module_ts_decorate([
|
|
|
10220
10331
|
const external_minisearch_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("minisearch");
|
|
10221
10332
|
var external_minisearch_default = /*#__PURE__*/__webpack_require__.n(external_minisearch_namespaceObject);
|
|
10222
10333
|
;// ./src/app/deamon/models/source-stats.ts
|
|
10223
|
-
|
|
10224
|
-
|
|
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
|
+
}
|
|
10225
10343
|
|
|
10226
10344
|
class SourceStats {
|
|
10227
10345
|
constructor(total, countsByType, uniqueSources, uniqueSourcesCount){
|
|
@@ -10234,37 +10352,44 @@ class SourceStats {
|
|
|
10234
10352
|
return new SourceStats(stats.total, stats.countsByType, stats.uniqueSources, stats.uniqueSourcesCount);
|
|
10235
10353
|
}
|
|
10236
10354
|
}
|
|
10237
|
-
(
|
|
10355
|
+
source_stats_ts_decorate([
|
|
10238
10356
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10239
10357
|
description: 'Total number of sources'
|
|
10240
10358
|
}),
|
|
10241
|
-
(
|
|
10359
|
+
source_stats_ts_metadata("design:type", Number)
|
|
10242
10360
|
], SourceStats.prototype, "total", void 0);
|
|
10243
|
-
(
|
|
10361
|
+
source_stats_ts_decorate([
|
|
10244
10362
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10245
10363
|
description: 'Count of sources grouped by their type'
|
|
10246
10364
|
}),
|
|
10247
|
-
(
|
|
10365
|
+
source_stats_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
|
10248
10366
|
], SourceStats.prototype, "countsByType", void 0);
|
|
10249
|
-
(
|
|
10367
|
+
source_stats_ts_decorate([
|
|
10250
10368
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10251
10369
|
description: 'List of unique source identifiers',
|
|
10252
10370
|
type: [
|
|
10253
10371
|
String
|
|
10254
10372
|
]
|
|
10255
10373
|
}),
|
|
10256
|
-
(
|
|
10374
|
+
source_stats_ts_metadata("design:type", Array)
|
|
10257
10375
|
], SourceStats.prototype, "uniqueSources", void 0);
|
|
10258
|
-
(
|
|
10376
|
+
source_stats_ts_decorate([
|
|
10259
10377
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10260
10378
|
description: 'Number of unique sources'
|
|
10261
10379
|
}),
|
|
10262
|
-
(
|
|
10380
|
+
source_stats_ts_metadata("design:type", Number)
|
|
10263
10381
|
], SourceStats.prototype, "uniqueSourcesCount", void 0);
|
|
10264
10382
|
|
|
10265
10383
|
;// ./src/app/deamon/services/search.service.ts
|
|
10266
|
-
|
|
10267
|
-
|
|
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
|
+
}
|
|
10268
10393
|
|
|
10269
10394
|
|
|
10270
10395
|
|
|
@@ -10463,18 +10588,25 @@ class SearchService {
|
|
|
10463
10588
|
});
|
|
10464
10589
|
}
|
|
10465
10590
|
}
|
|
10466
|
-
SearchService = (
|
|
10591
|
+
SearchService = search_service_ts_decorate([
|
|
10467
10592
|
(0,common_namespaceObject.Injectable)(),
|
|
10468
|
-
(
|
|
10469
|
-
(
|
|
10593
|
+
search_service_ts_metadata("design:type", Function),
|
|
10594
|
+
search_service_ts_metadata("design:paramtypes", [
|
|
10470
10595
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
10471
10596
|
typeof IntrigOpenapiService === "undefined" ? Object : IntrigOpenapiService
|
|
10472
10597
|
])
|
|
10473
10598
|
], SearchService);
|
|
10474
10599
|
|
|
10475
10600
|
;// ./src/app/deamon/services/operations.service.ts
|
|
10476
|
-
|
|
10477
|
-
|
|
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
|
+
}
|
|
10478
10610
|
|
|
10479
10611
|
|
|
10480
10612
|
|
|
@@ -10663,150 +10795,150 @@ class OperationsService {
|
|
|
10663
10795
|
return this.generateDir;
|
|
10664
10796
|
}
|
|
10665
10797
|
}
|
|
10666
|
-
(
|
|
10798
|
+
operations_service_ts_decorate([
|
|
10667
10799
|
WithStatus((event)=>({
|
|
10668
10800
|
sourceId: '',
|
|
10669
10801
|
step: 'getConfig'
|
|
10670
10802
|
})),
|
|
10671
|
-
(
|
|
10672
|
-
(
|
|
10803
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10804
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10673
10805
|
Object
|
|
10674
10806
|
]),
|
|
10675
|
-
(
|
|
10807
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10676
10808
|
], OperationsService.prototype, "getConfig", null);
|
|
10677
|
-
(
|
|
10809
|
+
operations_service_ts_decorate([
|
|
10678
10810
|
WithStatus((p1, p2)=>({
|
|
10679
10811
|
sourceId: '',
|
|
10680
10812
|
step: 'indexDiff'
|
|
10681
10813
|
})),
|
|
10682
|
-
(
|
|
10683
|
-
(
|
|
10814
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10815
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10684
10816
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10685
10817
|
Array,
|
|
10686
10818
|
Array
|
|
10687
10819
|
]),
|
|
10688
|
-
(
|
|
10820
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10689
10821
|
], OperationsService.prototype, "indexDiff", null);
|
|
10690
|
-
(
|
|
10822
|
+
operations_service_ts_decorate([
|
|
10691
10823
|
WithStatus((event)=>({
|
|
10692
10824
|
sourceId: '',
|
|
10693
10825
|
step: 'loadPreviousState'
|
|
10694
10826
|
})),
|
|
10695
|
-
(
|
|
10696
|
-
(
|
|
10827
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10828
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10697
10829
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10698
10830
|
typeof IntrigConfig === "undefined" ? Object : IntrigConfig
|
|
10699
10831
|
]),
|
|
10700
|
-
(
|
|
10832
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10701
10833
|
], OperationsService.prototype, "getPreviousState", null);
|
|
10702
|
-
(
|
|
10834
|
+
operations_service_ts_decorate([
|
|
10703
10835
|
WithStatus((event)=>({
|
|
10704
10836
|
sourceId: '',
|
|
10705
10837
|
step: 'loadNewState'
|
|
10706
10838
|
})),
|
|
10707
|
-
(
|
|
10708
|
-
(
|
|
10839
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10840
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10709
10841
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10710
10842
|
typeof IntrigConfig === "undefined" ? Object : IntrigConfig
|
|
10711
10843
|
]),
|
|
10712
|
-
(
|
|
10844
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10713
10845
|
], OperationsService.prototype, "getNewState", null);
|
|
10714
|
-
(
|
|
10846
|
+
operations_service_ts_decorate([
|
|
10715
10847
|
WithStatus((event)=>({
|
|
10716
10848
|
sourceId: '',
|
|
10717
10849
|
step: 'postBuild'
|
|
10718
10850
|
})),
|
|
10719
|
-
(
|
|
10720
|
-
(
|
|
10851
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10852
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10721
10853
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10722
10854
|
]),
|
|
10723
|
-
(
|
|
10855
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10724
10856
|
], OperationsService.prototype, "executePostBuild", null);
|
|
10725
|
-
(
|
|
10857
|
+
operations_service_ts_decorate([
|
|
10726
10858
|
WithStatus((event)=>({
|
|
10727
10859
|
sourceId: '',
|
|
10728
10860
|
step: 'copy-to-node-modules'
|
|
10729
10861
|
})),
|
|
10730
|
-
(
|
|
10731
|
-
(
|
|
10862
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10863
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10732
10864
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10733
10865
|
]),
|
|
10734
|
-
(
|
|
10866
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10735
10867
|
], OperationsService.prototype, "copyContentToNodeModules", null);
|
|
10736
|
-
(
|
|
10868
|
+
operations_service_ts_decorate([
|
|
10737
10869
|
WithStatus((event)=>({
|
|
10738
10870
|
sourceId: '',
|
|
10739
10871
|
step: 'build'
|
|
10740
10872
|
})),
|
|
10741
|
-
(
|
|
10742
|
-
(
|
|
10873
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10874
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10743
10875
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10744
10876
|
]),
|
|
10745
|
-
(
|
|
10877
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10746
10878
|
], OperationsService.prototype, "buildContent", null);
|
|
10747
|
-
(
|
|
10879
|
+
operations_service_ts_decorate([
|
|
10748
10880
|
WithStatus((event)=>({
|
|
10749
10881
|
sourceId: '',
|
|
10750
10882
|
step: 'install'
|
|
10751
10883
|
})),
|
|
10752
|
-
(
|
|
10753
|
-
(
|
|
10884
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10885
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10754
10886
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10755
10887
|
]),
|
|
10756
|
-
(
|
|
10888
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10757
10889
|
], OperationsService.prototype, "installDependencies", null);
|
|
10758
|
-
(
|
|
10890
|
+
operations_service_ts_decorate([
|
|
10759
10891
|
WithStatus((event)=>({
|
|
10760
10892
|
sourceId: '',
|
|
10761
10893
|
step: 'generate'
|
|
10762
10894
|
})),
|
|
10763
|
-
(
|
|
10764
|
-
(
|
|
10895
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10896
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10765
10897
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10766
10898
|
Array
|
|
10767
10899
|
]),
|
|
10768
|
-
(
|
|
10900
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10769
10901
|
], OperationsService.prototype, "generateGlobalContent", null);
|
|
10770
|
-
(
|
|
10902
|
+
operations_service_ts_decorate([
|
|
10771
10903
|
WithStatus((a, source)=>({
|
|
10772
10904
|
sourceId: source.id,
|
|
10773
10905
|
step: 'generate'
|
|
10774
10906
|
})),
|
|
10775
|
-
(
|
|
10776
|
-
(
|
|
10907
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10908
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10777
10909
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10778
10910
|
Array,
|
|
10779
10911
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10780
10912
|
]),
|
|
10781
|
-
(
|
|
10913
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10782
10914
|
], OperationsService.prototype, "generateSourceContent", null);
|
|
10783
|
-
(
|
|
10915
|
+
operations_service_ts_decorate([
|
|
10784
10916
|
WithStatus((source)=>({
|
|
10785
10917
|
sourceId: source.id,
|
|
10786
10918
|
step: 'clear'
|
|
10787
10919
|
})),
|
|
10788
|
-
(
|
|
10789
|
-
(
|
|
10920
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10921
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10790
10922
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10791
10923
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10792
10924
|
]),
|
|
10793
|
-
(
|
|
10925
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10794
10926
|
], OperationsService.prototype, "getDescriptors", null);
|
|
10795
|
-
(
|
|
10927
|
+
operations_service_ts_decorate([
|
|
10796
10928
|
WithStatus((event)=>({
|
|
10797
10929
|
sourceId: '',
|
|
10798
10930
|
step: 'clear'
|
|
10799
10931
|
})),
|
|
10800
|
-
(
|
|
10801
|
-
(
|
|
10932
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10933
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10802
10934
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10803
10935
|
]),
|
|
10804
|
-
(
|
|
10936
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10805
10937
|
], OperationsService.prototype, "clearGenerateDir", null);
|
|
10806
|
-
OperationsService = (
|
|
10938
|
+
OperationsService = operations_service_ts_decorate([
|
|
10807
10939
|
(0,common_namespaceObject.Injectable)(),
|
|
10808
|
-
(
|
|
10809
|
-
(
|
|
10940
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10941
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10810
10942
|
typeof IntrigOpenapiService === "undefined" ? Object : IntrigOpenapiService,
|
|
10811
10943
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
10812
10944
|
typeof GeneratorBinding === "undefined" ? Object : GeneratorBinding,
|
|
@@ -10817,9 +10949,20 @@ OperationsService = (0,_ts_decorate_namespaceObject._)([
|
|
|
10817
10949
|
], OperationsService);
|
|
10818
10950
|
|
|
10819
10951
|
;// ./src/app/deamon/controllers/operations.controller.ts
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
|
|
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
|
+
}
|
|
10823
10966
|
|
|
10824
10967
|
|
|
10825
10968
|
|
|
@@ -10853,7 +10996,7 @@ class OperationsController {
|
|
|
10853
10996
|
return events$;
|
|
10854
10997
|
}
|
|
10855
10998
|
}
|
|
10856
|
-
(
|
|
10999
|
+
operations_controller_ts_decorate([
|
|
10857
11000
|
(0,common_namespaceObject.Sse)('sync'),
|
|
10858
11001
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
10859
11002
|
status: 200,
|
|
@@ -10873,14 +11016,14 @@ class OperationsController {
|
|
|
10873
11016
|
}
|
|
10874
11017
|
}
|
|
10875
11018
|
}),
|
|
10876
|
-
(0,
|
|
10877
|
-
(
|
|
10878
|
-
(
|
|
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", [
|
|
10879
11022
|
String
|
|
10880
11023
|
]),
|
|
10881
|
-
(
|
|
11024
|
+
operations_controller_ts_metadata("design:returntype", Promise)
|
|
10882
11025
|
], OperationsController.prototype, "sync", null);
|
|
10883
|
-
(
|
|
11026
|
+
operations_controller_ts_decorate([
|
|
10884
11027
|
(0,common_namespaceObject.Sse)('generate'),
|
|
10885
11028
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
10886
11029
|
status: 200,
|
|
@@ -10900,22 +11043,27 @@ class OperationsController {
|
|
|
10900
11043
|
}
|
|
10901
11044
|
}
|
|
10902
11045
|
}),
|
|
10903
|
-
(
|
|
10904
|
-
(
|
|
10905
|
-
(
|
|
11046
|
+
operations_controller_ts_metadata("design:type", Function),
|
|
11047
|
+
operations_controller_ts_metadata("design:paramtypes", []),
|
|
11048
|
+
operations_controller_ts_metadata("design:returntype", Promise)
|
|
10906
11049
|
], OperationsController.prototype, "generate", null);
|
|
10907
|
-
OperationsController = (
|
|
11050
|
+
OperationsController = operations_controller_ts_decorate([
|
|
10908
11051
|
(0,swagger_namespaceObject.ApiTags)('Operations'),
|
|
10909
11052
|
(0,swagger_namespaceObject.ApiExtraModels)(SyncStatusEventDto, SyncDoneEventDto, GenerateStatusEventDto, GenerateDoneEventDto),
|
|
10910
11053
|
(0,common_namespaceObject.Controller)('operations'),
|
|
10911
|
-
(
|
|
10912
|
-
(
|
|
11054
|
+
operations_controller_ts_metadata("design:type", Function),
|
|
11055
|
+
operations_controller_ts_metadata("design:paramtypes", [
|
|
10913
11056
|
typeof OperationsService === "undefined" ? Object : OperationsService
|
|
10914
11057
|
])
|
|
10915
11058
|
], OperationsController);
|
|
10916
11059
|
|
|
10917
11060
|
;// ./src/app/deamon/generator/generator.module.ts
|
|
10918
|
-
|
|
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
|
+
}
|
|
10919
11067
|
|
|
10920
11068
|
|
|
10921
11069
|
|
|
@@ -10956,13 +11104,20 @@ class GeneratorModule {
|
|
|
10956
11104
|
};
|
|
10957
11105
|
}
|
|
10958
11106
|
}
|
|
10959
|
-
GeneratorModule = (
|
|
11107
|
+
GeneratorModule = generator_module_ts_decorate([
|
|
10960
11108
|
(0,common_namespaceObject.Module)({})
|
|
10961
11109
|
], GeneratorModule);
|
|
10962
11110
|
|
|
10963
11111
|
;// ./src/app/deamon/services/data-search.service.ts
|
|
10964
|
-
|
|
10965
|
-
|
|
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
|
+
}
|
|
10966
11121
|
|
|
10967
11122
|
|
|
10968
11123
|
|
|
@@ -11050,10 +11205,10 @@ class DataSearchService {
|
|
|
11050
11205
|
return await this.generatorBinding.getEndpointDocumentation(result, schemas);
|
|
11051
11206
|
}
|
|
11052
11207
|
}
|
|
11053
|
-
DataSearchService = (
|
|
11208
|
+
DataSearchService = data_search_service_ts_decorate([
|
|
11054
11209
|
(0,common_namespaceObject.Injectable)(),
|
|
11055
|
-
(
|
|
11056
|
-
(
|
|
11210
|
+
data_search_service_ts_metadata("design:type", Function),
|
|
11211
|
+
data_search_service_ts_metadata("design:paramtypes", [
|
|
11057
11212
|
typeof SearchService === "undefined" ? Object : SearchService,
|
|
11058
11213
|
typeof GeneratorBinding === "undefined" ? Object : GeneratorBinding
|
|
11059
11214
|
])
|
|
@@ -11065,8 +11220,15 @@ const external_class_validator_namespaceObject = __WEBPACK_EXTERNAL_createRequir
|
|
|
11065
11220
|
const external_class_transformer_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("class-transformer");
|
|
11066
11221
|
;// ./src/app/deamon/models/search-query.ts
|
|
11067
11222
|
// src/controllers/dto/search-query.dto.ts
|
|
11068
|
-
|
|
11069
|
-
|
|
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
|
+
}
|
|
11070
11232
|
|
|
11071
11233
|
|
|
11072
11234
|
|
|
@@ -11076,16 +11238,16 @@ class SearchQuery {
|
|
|
11076
11238
|
this.size = 10;
|
|
11077
11239
|
}
|
|
11078
11240
|
}
|
|
11079
|
-
(
|
|
11241
|
+
search_query_ts_decorate([
|
|
11080
11242
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11081
11243
|
required: false,
|
|
11082
11244
|
description: 'full-text query'
|
|
11083
11245
|
}),
|
|
11084
11246
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
11085
11247
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
11086
|
-
(
|
|
11248
|
+
search_query_ts_metadata("design:type", String)
|
|
11087
11249
|
], SearchQuery.prototype, "query", void 0);
|
|
11088
|
-
(
|
|
11250
|
+
search_query_ts_decorate([
|
|
11089
11251
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11090
11252
|
required: false,
|
|
11091
11253
|
description: 'filter by descriptor type',
|
|
@@ -11096,27 +11258,27 @@ class SearchQuery {
|
|
|
11096
11258
|
}),
|
|
11097
11259
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
11098
11260
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
11099
|
-
(
|
|
11261
|
+
search_query_ts_metadata("design:type", String)
|
|
11100
11262
|
], SearchQuery.prototype, "type", void 0);
|
|
11101
|
-
(
|
|
11263
|
+
search_query_ts_decorate([
|
|
11102
11264
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11103
11265
|
required: false,
|
|
11104
11266
|
description: 'filter by source id'
|
|
11105
11267
|
}),
|
|
11106
11268
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
11107
11269
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
11108
|
-
(
|
|
11270
|
+
search_query_ts_metadata("design:type", String)
|
|
11109
11271
|
], SearchQuery.prototype, "source", void 0);
|
|
11110
|
-
(
|
|
11272
|
+
search_query_ts_decorate([
|
|
11111
11273
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11112
11274
|
required: false,
|
|
11113
11275
|
description: 'filter by REST package path'
|
|
11114
11276
|
}),
|
|
11115
11277
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
11116
11278
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
11117
|
-
(
|
|
11279
|
+
search_query_ts_metadata("design:type", String)
|
|
11118
11280
|
], SearchQuery.prototype, "pkg", void 0);
|
|
11119
|
-
(
|
|
11281
|
+
search_query_ts_decorate([
|
|
11120
11282
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11121
11283
|
required: false,
|
|
11122
11284
|
description: 'zero-based page index',
|
|
@@ -11128,7 +11290,7 @@ class SearchQuery {
|
|
|
11128
11290
|
(0,external_class_validator_namespaceObject.IsInt)(),
|
|
11129
11291
|
(0,external_class_validator_namespaceObject.Min)(0)
|
|
11130
11292
|
], SearchQuery.prototype, "page", void 0);
|
|
11131
|
-
(
|
|
11293
|
+
search_query_ts_decorate([
|
|
11132
11294
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11133
11295
|
required: false,
|
|
11134
11296
|
description: 'page size',
|
|
@@ -11142,9 +11304,20 @@ class SearchQuery {
|
|
|
11142
11304
|
], SearchQuery.prototype, "size", void 0);
|
|
11143
11305
|
|
|
11144
11306
|
;// ./src/app/deamon/controllers/data-search.controller.ts
|
|
11145
|
-
|
|
11146
|
-
|
|
11147
|
-
|
|
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
|
+
}
|
|
11148
11321
|
|
|
11149
11322
|
|
|
11150
11323
|
|
|
@@ -11188,7 +11361,7 @@ class DataSearchController {
|
|
|
11188
11361
|
return await this.dataSearchService.getStats();
|
|
11189
11362
|
}
|
|
11190
11363
|
}
|
|
11191
|
-
(
|
|
11364
|
+
data_search_controller_ts_decorate([
|
|
11192
11365
|
(0,common_namespaceObject.Get)("/search"),
|
|
11193
11366
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11194
11367
|
summary: 'Search for resources'
|
|
@@ -11221,14 +11394,14 @@ class DataSearchController {
|
|
|
11221
11394
|
},
|
|
11222
11395
|
whitelist: true
|
|
11223
11396
|
})),
|
|
11224
|
-
(0,
|
|
11225
|
-
(
|
|
11226
|
-
(
|
|
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", [
|
|
11227
11400
|
typeof SearchQuery === "undefined" ? Object : SearchQuery
|
|
11228
11401
|
]),
|
|
11229
|
-
(
|
|
11402
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11230
11403
|
], DataSearchController.prototype, "search", null);
|
|
11231
|
-
(
|
|
11404
|
+
data_search_controller_ts_decorate([
|
|
11232
11405
|
(0,common_namespaceObject.Get)("/get/:id"),
|
|
11233
11406
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11234
11407
|
summary: 'Get resource by ID'
|
|
@@ -11242,14 +11415,14 @@ class DataSearchController {
|
|
|
11242
11415
|
status: 404,
|
|
11243
11416
|
description: 'Resource not found'
|
|
11244
11417
|
}),
|
|
11245
|
-
(0,
|
|
11246
|
-
(
|
|
11247
|
-
(
|
|
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", [
|
|
11248
11421
|
String
|
|
11249
11422
|
]),
|
|
11250
|
-
(
|
|
11423
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11251
11424
|
], DataSearchController.prototype, "getById", null);
|
|
11252
|
-
(
|
|
11425
|
+
data_search_controller_ts_decorate([
|
|
11253
11426
|
(0,common_namespaceObject.Get)("/get/schema/:id"),
|
|
11254
11427
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11255
11428
|
summary: 'Get schema docs by ID'
|
|
@@ -11263,14 +11436,14 @@ class DataSearchController {
|
|
|
11263
11436
|
status: 404,
|
|
11264
11437
|
description: 'Resource not found'
|
|
11265
11438
|
}),
|
|
11266
|
-
(0,
|
|
11267
|
-
(
|
|
11268
|
-
(
|
|
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", [
|
|
11269
11442
|
String
|
|
11270
11443
|
]),
|
|
11271
|
-
(
|
|
11444
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11272
11445
|
], DataSearchController.prototype, "getSchemaDocsById", null);
|
|
11273
|
-
(
|
|
11446
|
+
data_search_controller_ts_decorate([
|
|
11274
11447
|
(0,common_namespaceObject.Get)("/get/endpoint/:id"),
|
|
11275
11448
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11276
11449
|
summary: 'Get schema docs by ID'
|
|
@@ -11280,14 +11453,14 @@ class DataSearchController {
|
|
|
11280
11453
|
description: 'Returns a resource',
|
|
11281
11454
|
type: RestDocumentation
|
|
11282
11455
|
}),
|
|
11283
|
-
(0,
|
|
11284
|
-
(
|
|
11285
|
-
(
|
|
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", [
|
|
11286
11459
|
String
|
|
11287
11460
|
]),
|
|
11288
|
-
(
|
|
11461
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11289
11462
|
], DataSearchController.prototype, "getEndpointById", null);
|
|
11290
|
-
(
|
|
11463
|
+
data_search_controller_ts_decorate([
|
|
11291
11464
|
(0,common_namespaceObject.Get)("/stats"),
|
|
11292
11465
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11293
11466
|
summary: 'Get stats for a source'
|
|
@@ -11297,21 +11470,26 @@ class DataSearchController {
|
|
|
11297
11470
|
description: 'Returns stats for a source',
|
|
11298
11471
|
type: SourceStats
|
|
11299
11472
|
}),
|
|
11300
|
-
(
|
|
11301
|
-
(
|
|
11302
|
-
(
|
|
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)
|
|
11303
11476
|
], DataSearchController.prototype, "getStats", null);
|
|
11304
|
-
DataSearchController = (
|
|
11477
|
+
DataSearchController = data_search_controller_ts_decorate([
|
|
11305
11478
|
(0,common_namespaceObject.Controller)('data'),
|
|
11306
11479
|
(0,swagger_namespaceObject.ApiExtraModels)(ResourceDescriptor, Page, SchemaDocumentation, RestDocumentation, SourceStats, SearchQuery),
|
|
11307
|
-
(
|
|
11308
|
-
(
|
|
11480
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11481
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11309
11482
|
typeof DataSearchService === "undefined" ? Object : DataSearchService
|
|
11310
11483
|
])
|
|
11311
11484
|
], DataSearchController);
|
|
11312
11485
|
|
|
11313
11486
|
;// ./src/app/deamon/deamon.module.ts
|
|
11314
|
-
|
|
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
|
+
}
|
|
11315
11493
|
|
|
11316
11494
|
|
|
11317
11495
|
|
|
@@ -11327,7 +11505,7 @@ DataSearchController = (0,_ts_decorate_namespaceObject._)([
|
|
|
11327
11505
|
|
|
11328
11506
|
class DeamonModule {
|
|
11329
11507
|
}
|
|
11330
|
-
DeamonModule = (
|
|
11508
|
+
DeamonModule = deamon_module_ts_decorate([
|
|
11331
11509
|
(0,common_namespaceObject.Module)({
|
|
11332
11510
|
imports: [
|
|
11333
11511
|
CommonModule,
|
|
@@ -11362,7 +11540,12 @@ DeamonModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
11362
11540
|
});
|
|
11363
11541
|
|
|
11364
11542
|
;// ./src/app/app.module.ts
|
|
11365
|
-
|
|
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
|
+
}
|
|
11366
11549
|
|
|
11367
11550
|
|
|
11368
11551
|
|
|
@@ -11372,7 +11555,7 @@ DeamonModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
11372
11555
|
|
|
11373
11556
|
class AppModule {
|
|
11374
11557
|
}
|
|
11375
|
-
AppModule = (
|
|
11558
|
+
AppModule = app_module_ts_decorate([
|
|
11376
11559
|
(0,common_namespaceObject.Module)({
|
|
11377
11560
|
imports: [
|
|
11378
11561
|
config_namespaceObject.ConfigModule.forRoot({
|