@intrig/core 0.0.12 → 0.0.14-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 +468 -282
- 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,8 +9428,20 @@ ReactCliModule = react_cli_module_ts_decorate([
|
|
|
9369
9428
|
|
|
9370
9429
|
|
|
9371
9430
|
;// ./src/app/cli/commands/prebuild.command.ts
|
|
9372
|
-
|
|
9373
|
-
|
|
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
|
+
}
|
|
9374
9445
|
|
|
9375
9446
|
|
|
9376
9447
|
|
|
@@ -9380,10 +9451,11 @@ ReactCliModule = react_cli_module_ts_decorate([
|
|
|
9380
9451
|
|
|
9381
9452
|
|
|
9382
9453
|
class PrebuildCommand extends external_nest_commander_namespaceObject.CommandRunner {
|
|
9383
|
-
constructor(pm, generators, config){
|
|
9384
|
-
super(), this.pm = pm, this.generators = generators, this.config = config, this.logger = new common_namespaceObject.Logger(PrebuildCommand.name);
|
|
9454
|
+
constructor(pm, generators, config, generate){
|
|
9455
|
+
super(), this.pm = pm, this.generators = generators, this.config = config, this.generate = generate, this.logger = new common_namespaceObject.Logger(PrebuildCommand.name);
|
|
9385
9456
|
}
|
|
9386
9457
|
async run(passedParams, options) {
|
|
9458
|
+
await this.generate.run([], {});
|
|
9387
9459
|
const metadata = await this.pm.getMetadata();
|
|
9388
9460
|
if (!metadata) {
|
|
9389
9461
|
throw new Error("No metadata found");
|
|
@@ -9398,24 +9470,36 @@ class PrebuildCommand extends external_nest_commander_namespaceObject.CommandRun
|
|
|
9398
9470
|
await generator.preBuild();
|
|
9399
9471
|
}
|
|
9400
9472
|
}
|
|
9401
|
-
PrebuildCommand = (
|
|
9473
|
+
PrebuildCommand = prebuild_command_ts_decorate([
|
|
9402
9474
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
9403
9475
|
name: "prebuild",
|
|
9404
9476
|
description: "Prebuild."
|
|
9405
9477
|
}),
|
|
9406
|
-
(
|
|
9407
|
-
(
|
|
9408
|
-
(
|
|
9478
|
+
prebuild_command_ts_param(1, (0,common_namespaceObject.Inject)(GENERATORS)),
|
|
9479
|
+
prebuild_command_ts_metadata("design:type", Function),
|
|
9480
|
+
prebuild_command_ts_metadata("design:paramtypes", [
|
|
9409
9481
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
9410
9482
|
Array,
|
|
9411
|
-
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
9483
|
+
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService,
|
|
9484
|
+
typeof GenerateCommand === "undefined" ? Object : GenerateCommand
|
|
9412
9485
|
])
|
|
9413
9486
|
], PrebuildCommand);
|
|
9414
9487
|
|
|
9415
9488
|
;// ./src/app/cli/commands/postbuild.command.ts
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9489
|
+
function postbuild_command_ts_decorate(decorators, target, key, desc) {
|
|
9490
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9491
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9492
|
+
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;
|
|
9493
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9494
|
+
}
|
|
9495
|
+
function postbuild_command_ts_metadata(k, v) {
|
|
9496
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9497
|
+
}
|
|
9498
|
+
function postbuild_command_ts_param(paramIndex, decorator) {
|
|
9499
|
+
return function(target, key) {
|
|
9500
|
+
decorator(target, key, paramIndex);
|
|
9501
|
+
};
|
|
9502
|
+
}
|
|
9419
9503
|
|
|
9420
9504
|
|
|
9421
9505
|
|
|
@@ -9442,14 +9526,14 @@ class PostbuildCommand extends external_nest_commander_namespaceObject.CommandRu
|
|
|
9442
9526
|
await generator.postBuild();
|
|
9443
9527
|
}
|
|
9444
9528
|
}
|
|
9445
|
-
PostbuildCommand = (
|
|
9529
|
+
PostbuildCommand = postbuild_command_ts_decorate([
|
|
9446
9530
|
(0,external_nest_commander_namespaceObject.Command)({
|
|
9447
9531
|
name: "postbuild",
|
|
9448
9532
|
description: "Postbuild."
|
|
9449
9533
|
}),
|
|
9450
|
-
(
|
|
9451
|
-
(
|
|
9452
|
-
(
|
|
9534
|
+
postbuild_command_ts_param(1, (0,common_namespaceObject.Inject)(GENERATORS)),
|
|
9535
|
+
postbuild_command_ts_metadata("design:type", Function),
|
|
9536
|
+
postbuild_command_ts_metadata("design:paramtypes", [
|
|
9453
9537
|
typeof ProcessManagerService === "undefined" ? Object : ProcessManagerService,
|
|
9454
9538
|
Array,
|
|
9455
9539
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
@@ -9457,7 +9541,12 @@ PostbuildCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
9457
9541
|
], PostbuildCommand);
|
|
9458
9542
|
|
|
9459
9543
|
;// ./src/app/cli/cli.module.ts
|
|
9460
|
-
|
|
9544
|
+
function cli_module_ts_decorate(decorators, target, key, desc) {
|
|
9545
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9546
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9547
|
+
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;
|
|
9548
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9549
|
+
}
|
|
9461
9550
|
|
|
9462
9551
|
|
|
9463
9552
|
|
|
@@ -9476,7 +9565,7 @@ PostbuildCommand = (0,_ts_decorate_namespaceObject._)([
|
|
|
9476
9565
|
|
|
9477
9566
|
class CliModule {
|
|
9478
9567
|
}
|
|
9479
|
-
CliModule = (
|
|
9568
|
+
CliModule = cli_module_ts_decorate([
|
|
9480
9569
|
(0,common_namespaceObject.Module)({
|
|
9481
9570
|
imports: [
|
|
9482
9571
|
CommonModule,
|
|
@@ -9516,8 +9605,15 @@ CliModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
9516
9605
|
;// external "js-yaml"
|
|
9517
9606
|
const external_js_yaml_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("js-yaml");
|
|
9518
9607
|
;// ./src/app/deamon/services/openapi.service.ts
|
|
9519
|
-
|
|
9520
|
-
|
|
9608
|
+
function openapi_service_ts_decorate(decorators, target, key, desc) {
|
|
9609
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9610
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9611
|
+
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;
|
|
9612
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9613
|
+
}
|
|
9614
|
+
function openapi_service_ts_metadata(k, v) {
|
|
9615
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9616
|
+
}
|
|
9521
9617
|
|
|
9522
9618
|
|
|
9523
9619
|
|
|
@@ -9554,17 +9650,24 @@ class OpenapiService {
|
|
|
9554
9650
|
});
|
|
9555
9651
|
}
|
|
9556
9652
|
}
|
|
9557
|
-
OpenapiService = (
|
|
9653
|
+
OpenapiService = openapi_service_ts_decorate([
|
|
9558
9654
|
(0,common_namespaceObject.Injectable)(),
|
|
9559
|
-
(
|
|
9560
|
-
(
|
|
9655
|
+
openapi_service_ts_metadata("design:type", Function),
|
|
9656
|
+
openapi_service_ts_metadata("design:paramtypes", [
|
|
9561
9657
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService
|
|
9562
9658
|
])
|
|
9563
9659
|
], OpenapiService);
|
|
9564
9660
|
|
|
9565
9661
|
;// ./src/app/deamon/services/intrig-config.service.ts
|
|
9566
|
-
|
|
9567
|
-
|
|
9662
|
+
function intrig_config_service_ts_decorate(decorators, target, key, desc) {
|
|
9663
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9664
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9665
|
+
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;
|
|
9666
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9667
|
+
}
|
|
9668
|
+
function intrig_config_service_ts_metadata(k, v) {
|
|
9669
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9670
|
+
}
|
|
9568
9671
|
|
|
9569
9672
|
|
|
9570
9673
|
|
|
@@ -9625,18 +9728,29 @@ class IntrigConfigService {
|
|
|
9625
9728
|
return this.readConfig();
|
|
9626
9729
|
}
|
|
9627
9730
|
}
|
|
9628
|
-
IntrigConfigService = (
|
|
9731
|
+
IntrigConfigService = intrig_config_service_ts_decorate([
|
|
9629
9732
|
(0,common_namespaceObject.Injectable)(),
|
|
9630
|
-
(
|
|
9631
|
-
(
|
|
9733
|
+
intrig_config_service_ts_metadata("design:type", Function),
|
|
9734
|
+
intrig_config_service_ts_metadata("design:paramtypes", [
|
|
9632
9735
|
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
9633
9736
|
])
|
|
9634
9737
|
], IntrigConfigService);
|
|
9635
9738
|
|
|
9636
9739
|
;// ./src/app/deamon/controllers/sources.controller.ts
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
9740
|
+
function sources_controller_ts_decorate(decorators, target, key, desc) {
|
|
9741
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9742
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9743
|
+
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;
|
|
9744
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9745
|
+
}
|
|
9746
|
+
function sources_controller_ts_metadata(k, v) {
|
|
9747
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9748
|
+
}
|
|
9749
|
+
function sources_controller_ts_param(paramIndex, decorator) {
|
|
9750
|
+
return function(target, key) {
|
|
9751
|
+
decorator(target, key, paramIndex);
|
|
9752
|
+
};
|
|
9753
|
+
}
|
|
9640
9754
|
|
|
9641
9755
|
|
|
9642
9756
|
|
|
@@ -9671,7 +9785,7 @@ class SourcesController {
|
|
|
9671
9785
|
return this.configService.list();
|
|
9672
9786
|
}
|
|
9673
9787
|
}
|
|
9674
|
-
(
|
|
9788
|
+
sources_controller_ts_decorate([
|
|
9675
9789
|
(0,swagger_namespaceObject.ApiBody)({
|
|
9676
9790
|
type: CreateSourceDto
|
|
9677
9791
|
}),
|
|
@@ -9680,14 +9794,14 @@ class SourcesController {
|
|
|
9680
9794
|
type: IntrigSourceConfig
|
|
9681
9795
|
}),
|
|
9682
9796
|
(0,common_namespaceObject.Post)("transform"),
|
|
9683
|
-
(0,
|
|
9684
|
-
(
|
|
9685
|
-
(
|
|
9797
|
+
sources_controller_ts_param(0, (0,common_namespaceObject.Body)()),
|
|
9798
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9799
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9686
9800
|
typeof ICreateSourceDto === "undefined" ? Object : ICreateSourceDto
|
|
9687
9801
|
]),
|
|
9688
|
-
(
|
|
9802
|
+
sources_controller_ts_metadata("design:returntype", Promise)
|
|
9689
9803
|
], SourcesController.prototype, "createFromUrl", null);
|
|
9690
|
-
(
|
|
9804
|
+
sources_controller_ts_decorate([
|
|
9691
9805
|
(0,swagger_namespaceObject.ApiBody)({
|
|
9692
9806
|
type: IntrigSourceConfig
|
|
9693
9807
|
}),
|
|
@@ -9696,26 +9810,26 @@ class SourcesController {
|
|
|
9696
9810
|
type: IntrigSourceConfig
|
|
9697
9811
|
}),
|
|
9698
9812
|
(0,common_namespaceObject.Post)("add"),
|
|
9699
|
-
(0,
|
|
9700
|
-
(
|
|
9701
|
-
(
|
|
9813
|
+
sources_controller_ts_param(0, (0,common_namespaceObject.Body)()),
|
|
9814
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9815
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9702
9816
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
9703
9817
|
]),
|
|
9704
|
-
(
|
|
9818
|
+
sources_controller_ts_metadata("design:returntype", typeof IntrigSourceConfig === "undefined" ? Object : IntrigSourceConfig)
|
|
9705
9819
|
], SourcesController.prototype, "create", null);
|
|
9706
|
-
(
|
|
9820
|
+
sources_controller_ts_decorate([
|
|
9707
9821
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
9708
9822
|
status: 204
|
|
9709
9823
|
}),
|
|
9710
9824
|
(0,common_namespaceObject.Delete)("remove/:id"),
|
|
9711
|
-
(0,
|
|
9712
|
-
(
|
|
9713
|
-
(
|
|
9825
|
+
sources_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
9826
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9827
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9714
9828
|
String
|
|
9715
9829
|
]),
|
|
9716
|
-
(
|
|
9830
|
+
sources_controller_ts_metadata("design:returntype", void 0)
|
|
9717
9831
|
], SourcesController.prototype, "remove", null);
|
|
9718
|
-
(
|
|
9832
|
+
sources_controller_ts_decorate([
|
|
9719
9833
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
9720
9834
|
status: 200,
|
|
9721
9835
|
type: [
|
|
@@ -9723,16 +9837,16 @@ class SourcesController {
|
|
|
9723
9837
|
]
|
|
9724
9838
|
}),
|
|
9725
9839
|
(0,common_namespaceObject.Get)("list"),
|
|
9726
|
-
(
|
|
9727
|
-
(
|
|
9728
|
-
(
|
|
9840
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9841
|
+
sources_controller_ts_metadata("design:paramtypes", []),
|
|
9842
|
+
sources_controller_ts_metadata("design:returntype", Array)
|
|
9729
9843
|
], SourcesController.prototype, "list", null);
|
|
9730
|
-
SourcesController = (
|
|
9844
|
+
SourcesController = sources_controller_ts_decorate([
|
|
9731
9845
|
(0,swagger_namespaceObject.ApiTags)('Sources'),
|
|
9732
9846
|
(0,swagger_namespaceObject.ApiExtraModels)(IntrigSourceConfig),
|
|
9733
9847
|
(0,common_namespaceObject.Controller)('config/sources'),
|
|
9734
|
-
(
|
|
9735
|
-
(
|
|
9848
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
9849
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
9736
9850
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
9737
9851
|
typeof OpenapiService === "undefined" ? Object : OpenapiService
|
|
9738
9852
|
])
|
|
@@ -9980,13 +10094,13 @@ function extractSchemas(spec) {
|
|
|
9980
10094
|
const set_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("lodash/set");
|
|
9981
10095
|
var set_default = /*#__PURE__*/__webpack_require__.n(set_namespaceObject);
|
|
9982
10096
|
;// ../../lib/openapi-source/src/lib/openapi.service.ts
|
|
9983
|
-
function
|
|
10097
|
+
function lib_openapi_service_ts_decorate(decorators, target, key, desc) {
|
|
9984
10098
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
9985
10099
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
9986
10100
|
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
10101
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
9988
10102
|
}
|
|
9989
|
-
function
|
|
10103
|
+
function lib_openapi_service_ts_metadata(k, v) {
|
|
9990
10104
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9991
10105
|
}
|
|
9992
10106
|
|
|
@@ -10126,61 +10240,61 @@ class IntrigOpenapiService {
|
|
|
10126
10240
|
}
|
|
10127
10241
|
}
|
|
10128
10242
|
}
|
|
10129
|
-
|
|
10243
|
+
lib_openapi_service_ts_decorate([
|
|
10130
10244
|
WithStatus((source, normalize)=>({
|
|
10131
10245
|
step: 'save',
|
|
10132
10246
|
sourceId: source.id
|
|
10133
10247
|
})),
|
|
10134
|
-
|
|
10135
|
-
|
|
10248
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10249
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10136
10250
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10137
10251
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10138
10252
|
typeof OpenAPIV3_1 === "undefined" || typeof OpenAPIV3_1.Document === "undefined" ? Object : OpenAPIV3_1.Document
|
|
10139
10253
|
]),
|
|
10140
|
-
|
|
10254
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10141
10255
|
], IntrigOpenapiService.prototype, "saveContent", null);
|
|
10142
|
-
|
|
10256
|
+
lib_openapi_service_ts_decorate([
|
|
10143
10257
|
WithStatus((source, spec)=>({
|
|
10144
10258
|
step: 'normalize',
|
|
10145
10259
|
sourceId: source.id
|
|
10146
10260
|
})),
|
|
10147
|
-
|
|
10148
|
-
|
|
10261
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10262
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10149
10263
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10150
10264
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10151
10265
|
Object
|
|
10152
10266
|
]),
|
|
10153
|
-
|
|
10267
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10154
10268
|
], IntrigOpenapiService.prototype, "normalize", null);
|
|
10155
|
-
|
|
10269
|
+
lib_openapi_service_ts_decorate([
|
|
10156
10270
|
WithStatus((source, row)=>({
|
|
10157
10271
|
step: 'decode',
|
|
10158
10272
|
sourceId: source.id
|
|
10159
10273
|
})),
|
|
10160
|
-
|
|
10161
|
-
|
|
10274
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10275
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10162
10276
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10163
10277
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
|
|
10164
10278
|
String
|
|
10165
10279
|
]),
|
|
10166
|
-
|
|
10280
|
+
lib_openapi_service_ts_metadata("design:returntype", void 0)
|
|
10167
10281
|
], IntrigOpenapiService.prototype, "decodeSwaggerDoc", null);
|
|
10168
|
-
|
|
10282
|
+
lib_openapi_service_ts_decorate([
|
|
10169
10283
|
WithStatus((source)=>({
|
|
10170
10284
|
step: 'fetch',
|
|
10171
10285
|
sourceId: source.id
|
|
10172
10286
|
})),
|
|
10173
|
-
|
|
10174
|
-
|
|
10287
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10288
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10175
10289
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10176
10290
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10177
10291
|
]),
|
|
10178
|
-
|
|
10292
|
+
lib_openapi_service_ts_metadata("design:returntype", Promise)
|
|
10179
10293
|
], IntrigOpenapiService.prototype, "fetchSwaggerDoc", null);
|
|
10180
|
-
IntrigOpenapiService =
|
|
10294
|
+
IntrigOpenapiService = lib_openapi_service_ts_decorate([
|
|
10181
10295
|
(0,common_namespaceObject.Injectable)(),
|
|
10182
|
-
|
|
10183
|
-
|
|
10296
|
+
lib_openapi_service_ts_metadata("design:type", Function),
|
|
10297
|
+
lib_openapi_service_ts_metadata("design:paramtypes", [
|
|
10184
10298
|
typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService,
|
|
10185
10299
|
typeof SpecManagementService === "undefined" ? Object : SpecManagementService
|
|
10186
10300
|
])
|
|
@@ -10220,8 +10334,15 @@ OpenapiSourceModule = openapi_source_module_ts_decorate([
|
|
|
10220
10334
|
const external_minisearch_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("minisearch");
|
|
10221
10335
|
var external_minisearch_default = /*#__PURE__*/__webpack_require__.n(external_minisearch_namespaceObject);
|
|
10222
10336
|
;// ./src/app/deamon/models/source-stats.ts
|
|
10223
|
-
|
|
10224
|
-
|
|
10337
|
+
function source_stats_ts_decorate(decorators, target, key, desc) {
|
|
10338
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10339
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10340
|
+
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;
|
|
10341
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10342
|
+
}
|
|
10343
|
+
function source_stats_ts_metadata(k, v) {
|
|
10344
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10345
|
+
}
|
|
10225
10346
|
|
|
10226
10347
|
class SourceStats {
|
|
10227
10348
|
constructor(total, countsByType, uniqueSources, uniqueSourcesCount){
|
|
@@ -10234,37 +10355,44 @@ class SourceStats {
|
|
|
10234
10355
|
return new SourceStats(stats.total, stats.countsByType, stats.uniqueSources, stats.uniqueSourcesCount);
|
|
10235
10356
|
}
|
|
10236
10357
|
}
|
|
10237
|
-
(
|
|
10358
|
+
source_stats_ts_decorate([
|
|
10238
10359
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10239
10360
|
description: 'Total number of sources'
|
|
10240
10361
|
}),
|
|
10241
|
-
(
|
|
10362
|
+
source_stats_ts_metadata("design:type", Number)
|
|
10242
10363
|
], SourceStats.prototype, "total", void 0);
|
|
10243
|
-
(
|
|
10364
|
+
source_stats_ts_decorate([
|
|
10244
10365
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10245
10366
|
description: 'Count of sources grouped by their type'
|
|
10246
10367
|
}),
|
|
10247
|
-
(
|
|
10368
|
+
source_stats_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
|
10248
10369
|
], SourceStats.prototype, "countsByType", void 0);
|
|
10249
|
-
(
|
|
10370
|
+
source_stats_ts_decorate([
|
|
10250
10371
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10251
10372
|
description: 'List of unique source identifiers',
|
|
10252
10373
|
type: [
|
|
10253
10374
|
String
|
|
10254
10375
|
]
|
|
10255
10376
|
}),
|
|
10256
|
-
(
|
|
10377
|
+
source_stats_ts_metadata("design:type", Array)
|
|
10257
10378
|
], SourceStats.prototype, "uniqueSources", void 0);
|
|
10258
|
-
(
|
|
10379
|
+
source_stats_ts_decorate([
|
|
10259
10380
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
10260
10381
|
description: 'Number of unique sources'
|
|
10261
10382
|
}),
|
|
10262
|
-
(
|
|
10383
|
+
source_stats_ts_metadata("design:type", Number)
|
|
10263
10384
|
], SourceStats.prototype, "uniqueSourcesCount", void 0);
|
|
10264
10385
|
|
|
10265
10386
|
;// ./src/app/deamon/services/search.service.ts
|
|
10266
|
-
|
|
10267
|
-
|
|
10387
|
+
function search_service_ts_decorate(decorators, target, key, desc) {
|
|
10388
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10389
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10390
|
+
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;
|
|
10391
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10392
|
+
}
|
|
10393
|
+
function search_service_ts_metadata(k, v) {
|
|
10394
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10395
|
+
}
|
|
10268
10396
|
|
|
10269
10397
|
|
|
10270
10398
|
|
|
@@ -10463,18 +10591,25 @@ class SearchService {
|
|
|
10463
10591
|
});
|
|
10464
10592
|
}
|
|
10465
10593
|
}
|
|
10466
|
-
SearchService = (
|
|
10594
|
+
SearchService = search_service_ts_decorate([
|
|
10467
10595
|
(0,common_namespaceObject.Injectable)(),
|
|
10468
|
-
(
|
|
10469
|
-
(
|
|
10596
|
+
search_service_ts_metadata("design:type", Function),
|
|
10597
|
+
search_service_ts_metadata("design:paramtypes", [
|
|
10470
10598
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
10471
10599
|
typeof IntrigOpenapiService === "undefined" ? Object : IntrigOpenapiService
|
|
10472
10600
|
])
|
|
10473
10601
|
], SearchService);
|
|
10474
10602
|
|
|
10475
10603
|
;// ./src/app/deamon/services/operations.service.ts
|
|
10476
|
-
|
|
10477
|
-
|
|
10604
|
+
function operations_service_ts_decorate(decorators, target, key, desc) {
|
|
10605
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10606
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10607
|
+
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;
|
|
10608
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10609
|
+
}
|
|
10610
|
+
function operations_service_ts_metadata(k, v) {
|
|
10611
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10612
|
+
}
|
|
10478
10613
|
|
|
10479
10614
|
|
|
10480
10615
|
|
|
@@ -10663,150 +10798,150 @@ class OperationsService {
|
|
|
10663
10798
|
return this.generateDir;
|
|
10664
10799
|
}
|
|
10665
10800
|
}
|
|
10666
|
-
(
|
|
10801
|
+
operations_service_ts_decorate([
|
|
10667
10802
|
WithStatus((event)=>({
|
|
10668
10803
|
sourceId: '',
|
|
10669
10804
|
step: 'getConfig'
|
|
10670
10805
|
})),
|
|
10671
|
-
(
|
|
10672
|
-
(
|
|
10806
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10807
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10673
10808
|
Object
|
|
10674
10809
|
]),
|
|
10675
|
-
(
|
|
10810
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10676
10811
|
], OperationsService.prototype, "getConfig", null);
|
|
10677
|
-
(
|
|
10812
|
+
operations_service_ts_decorate([
|
|
10678
10813
|
WithStatus((p1, p2)=>({
|
|
10679
10814
|
sourceId: '',
|
|
10680
10815
|
step: 'indexDiff'
|
|
10681
10816
|
})),
|
|
10682
|
-
(
|
|
10683
|
-
(
|
|
10817
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10818
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10684
10819
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10685
10820
|
Array,
|
|
10686
10821
|
Array
|
|
10687
10822
|
]),
|
|
10688
|
-
(
|
|
10823
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10689
10824
|
], OperationsService.prototype, "indexDiff", null);
|
|
10690
|
-
(
|
|
10825
|
+
operations_service_ts_decorate([
|
|
10691
10826
|
WithStatus((event)=>({
|
|
10692
10827
|
sourceId: '',
|
|
10693
10828
|
step: 'loadPreviousState'
|
|
10694
10829
|
})),
|
|
10695
|
-
(
|
|
10696
|
-
(
|
|
10830
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10831
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10697
10832
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10698
10833
|
typeof IntrigConfig === "undefined" ? Object : IntrigConfig
|
|
10699
10834
|
]),
|
|
10700
|
-
(
|
|
10835
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10701
10836
|
], OperationsService.prototype, "getPreviousState", null);
|
|
10702
|
-
(
|
|
10837
|
+
operations_service_ts_decorate([
|
|
10703
10838
|
WithStatus((event)=>({
|
|
10704
10839
|
sourceId: '',
|
|
10705
10840
|
step: 'loadNewState'
|
|
10706
10841
|
})),
|
|
10707
|
-
(
|
|
10708
|
-
(
|
|
10842
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10843
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10709
10844
|
typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
|
|
10710
10845
|
typeof IntrigConfig === "undefined" ? Object : IntrigConfig
|
|
10711
10846
|
]),
|
|
10712
|
-
(
|
|
10847
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10713
10848
|
], OperationsService.prototype, "getNewState", null);
|
|
10714
|
-
(
|
|
10849
|
+
operations_service_ts_decorate([
|
|
10715
10850
|
WithStatus((event)=>({
|
|
10716
10851
|
sourceId: '',
|
|
10717
10852
|
step: 'postBuild'
|
|
10718
10853
|
})),
|
|
10719
|
-
(
|
|
10720
|
-
(
|
|
10854
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10855
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10721
10856
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10722
10857
|
]),
|
|
10723
|
-
(
|
|
10858
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10724
10859
|
], OperationsService.prototype, "executePostBuild", null);
|
|
10725
|
-
(
|
|
10860
|
+
operations_service_ts_decorate([
|
|
10726
10861
|
WithStatus((event)=>({
|
|
10727
10862
|
sourceId: '',
|
|
10728
10863
|
step: 'copy-to-node-modules'
|
|
10729
10864
|
})),
|
|
10730
|
-
(
|
|
10731
|
-
(
|
|
10865
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10866
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10732
10867
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10733
10868
|
]),
|
|
10734
|
-
(
|
|
10869
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10735
10870
|
], OperationsService.prototype, "copyContentToNodeModules", null);
|
|
10736
|
-
(
|
|
10871
|
+
operations_service_ts_decorate([
|
|
10737
10872
|
WithStatus((event)=>({
|
|
10738
10873
|
sourceId: '',
|
|
10739
10874
|
step: 'build'
|
|
10740
10875
|
})),
|
|
10741
|
-
(
|
|
10742
|
-
(
|
|
10876
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10877
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10743
10878
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10744
10879
|
]),
|
|
10745
|
-
(
|
|
10880
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10746
10881
|
], OperationsService.prototype, "buildContent", null);
|
|
10747
|
-
(
|
|
10882
|
+
operations_service_ts_decorate([
|
|
10748
10883
|
WithStatus((event)=>({
|
|
10749
10884
|
sourceId: '',
|
|
10750
10885
|
step: 'install'
|
|
10751
10886
|
})),
|
|
10752
|
-
(
|
|
10753
|
-
(
|
|
10887
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10888
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10754
10889
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10755
10890
|
]),
|
|
10756
|
-
(
|
|
10891
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10757
10892
|
], OperationsService.prototype, "installDependencies", null);
|
|
10758
|
-
(
|
|
10893
|
+
operations_service_ts_decorate([
|
|
10759
10894
|
WithStatus((event)=>({
|
|
10760
10895
|
sourceId: '',
|
|
10761
10896
|
step: 'generate'
|
|
10762
10897
|
})),
|
|
10763
|
-
(
|
|
10764
|
-
(
|
|
10898
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10899
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10765
10900
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10766
10901
|
Array
|
|
10767
10902
|
]),
|
|
10768
|
-
(
|
|
10903
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10769
10904
|
], OperationsService.prototype, "generateGlobalContent", null);
|
|
10770
|
-
(
|
|
10905
|
+
operations_service_ts_decorate([
|
|
10771
10906
|
WithStatus((a, source)=>({
|
|
10772
10907
|
sourceId: source.id,
|
|
10773
10908
|
step: 'generate'
|
|
10774
10909
|
})),
|
|
10775
|
-
(
|
|
10776
|
-
(
|
|
10910
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10911
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10777
10912
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10778
10913
|
Array,
|
|
10779
10914
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10780
10915
|
]),
|
|
10781
|
-
(
|
|
10916
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10782
10917
|
], OperationsService.prototype, "generateSourceContent", null);
|
|
10783
|
-
(
|
|
10918
|
+
operations_service_ts_decorate([
|
|
10784
10919
|
WithStatus((source)=>({
|
|
10785
10920
|
sourceId: source.id,
|
|
10786
10921
|
step: 'clear'
|
|
10787
10922
|
})),
|
|
10788
|
-
(
|
|
10789
|
-
(
|
|
10923
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10924
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10790
10925
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext,
|
|
10791
10926
|
typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
|
|
10792
10927
|
]),
|
|
10793
|
-
(
|
|
10928
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10794
10929
|
], OperationsService.prototype, "getDescriptors", null);
|
|
10795
|
-
(
|
|
10930
|
+
operations_service_ts_decorate([
|
|
10796
10931
|
WithStatus((event)=>({
|
|
10797
10932
|
sourceId: '',
|
|
10798
10933
|
step: 'clear'
|
|
10799
10934
|
})),
|
|
10800
|
-
(
|
|
10801
|
-
(
|
|
10935
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10936
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10802
10937
|
typeof GenerateEventContext === "undefined" ? Object : GenerateEventContext
|
|
10803
10938
|
]),
|
|
10804
|
-
(
|
|
10939
|
+
operations_service_ts_metadata("design:returntype", Promise)
|
|
10805
10940
|
], OperationsService.prototype, "clearGenerateDir", null);
|
|
10806
|
-
OperationsService = (
|
|
10941
|
+
OperationsService = operations_service_ts_decorate([
|
|
10807
10942
|
(0,common_namespaceObject.Injectable)(),
|
|
10808
|
-
(
|
|
10809
|
-
(
|
|
10943
|
+
operations_service_ts_metadata("design:type", Function),
|
|
10944
|
+
operations_service_ts_metadata("design:paramtypes", [
|
|
10810
10945
|
typeof IntrigOpenapiService === "undefined" ? Object : IntrigOpenapiService,
|
|
10811
10946
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
10812
10947
|
typeof GeneratorBinding === "undefined" ? Object : GeneratorBinding,
|
|
@@ -10817,9 +10952,20 @@ OperationsService = (0,_ts_decorate_namespaceObject._)([
|
|
|
10817
10952
|
], OperationsService);
|
|
10818
10953
|
|
|
10819
10954
|
;// ./src/app/deamon/controllers/operations.controller.ts
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
|
|
10955
|
+
function operations_controller_ts_decorate(decorators, target, key, desc) {
|
|
10956
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
10957
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
10958
|
+
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;
|
|
10959
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
10960
|
+
}
|
|
10961
|
+
function operations_controller_ts_metadata(k, v) {
|
|
10962
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10963
|
+
}
|
|
10964
|
+
function operations_controller_ts_param(paramIndex, decorator) {
|
|
10965
|
+
return function(target, key) {
|
|
10966
|
+
decorator(target, key, paramIndex);
|
|
10967
|
+
};
|
|
10968
|
+
}
|
|
10823
10969
|
|
|
10824
10970
|
|
|
10825
10971
|
|
|
@@ -10853,7 +10999,7 @@ class OperationsController {
|
|
|
10853
10999
|
return events$;
|
|
10854
11000
|
}
|
|
10855
11001
|
}
|
|
10856
|
-
(
|
|
11002
|
+
operations_controller_ts_decorate([
|
|
10857
11003
|
(0,common_namespaceObject.Sse)('sync'),
|
|
10858
11004
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
10859
11005
|
status: 200,
|
|
@@ -10873,14 +11019,14 @@ class OperationsController {
|
|
|
10873
11019
|
}
|
|
10874
11020
|
}
|
|
10875
11021
|
}),
|
|
10876
|
-
(0,
|
|
10877
|
-
(
|
|
10878
|
-
(
|
|
11022
|
+
operations_controller_ts_param(0, (0,common_namespaceObject.Query)('id')),
|
|
11023
|
+
operations_controller_ts_metadata("design:type", Function),
|
|
11024
|
+
operations_controller_ts_metadata("design:paramtypes", [
|
|
10879
11025
|
String
|
|
10880
11026
|
]),
|
|
10881
|
-
(
|
|
11027
|
+
operations_controller_ts_metadata("design:returntype", Promise)
|
|
10882
11028
|
], OperationsController.prototype, "sync", null);
|
|
10883
|
-
(
|
|
11029
|
+
operations_controller_ts_decorate([
|
|
10884
11030
|
(0,common_namespaceObject.Sse)('generate'),
|
|
10885
11031
|
(0,swagger_namespaceObject.ApiResponse)({
|
|
10886
11032
|
status: 200,
|
|
@@ -10900,22 +11046,27 @@ class OperationsController {
|
|
|
10900
11046
|
}
|
|
10901
11047
|
}
|
|
10902
11048
|
}),
|
|
10903
|
-
(
|
|
10904
|
-
(
|
|
10905
|
-
(
|
|
11049
|
+
operations_controller_ts_metadata("design:type", Function),
|
|
11050
|
+
operations_controller_ts_metadata("design:paramtypes", []),
|
|
11051
|
+
operations_controller_ts_metadata("design:returntype", Promise)
|
|
10906
11052
|
], OperationsController.prototype, "generate", null);
|
|
10907
|
-
OperationsController = (
|
|
11053
|
+
OperationsController = operations_controller_ts_decorate([
|
|
10908
11054
|
(0,swagger_namespaceObject.ApiTags)('Operations'),
|
|
10909
11055
|
(0,swagger_namespaceObject.ApiExtraModels)(SyncStatusEventDto, SyncDoneEventDto, GenerateStatusEventDto, GenerateDoneEventDto),
|
|
10910
11056
|
(0,common_namespaceObject.Controller)('operations'),
|
|
10911
|
-
(
|
|
10912
|
-
(
|
|
11057
|
+
operations_controller_ts_metadata("design:type", Function),
|
|
11058
|
+
operations_controller_ts_metadata("design:paramtypes", [
|
|
10913
11059
|
typeof OperationsService === "undefined" ? Object : OperationsService
|
|
10914
11060
|
])
|
|
10915
11061
|
], OperationsController);
|
|
10916
11062
|
|
|
10917
11063
|
;// ./src/app/deamon/generator/generator.module.ts
|
|
10918
|
-
|
|
11064
|
+
function generator_module_ts_decorate(decorators, target, key, desc) {
|
|
11065
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11066
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11067
|
+
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;
|
|
11068
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11069
|
+
}
|
|
10919
11070
|
|
|
10920
11071
|
|
|
10921
11072
|
|
|
@@ -10956,13 +11107,20 @@ class GeneratorModule {
|
|
|
10956
11107
|
};
|
|
10957
11108
|
}
|
|
10958
11109
|
}
|
|
10959
|
-
GeneratorModule = (
|
|
11110
|
+
GeneratorModule = generator_module_ts_decorate([
|
|
10960
11111
|
(0,common_namespaceObject.Module)({})
|
|
10961
11112
|
], GeneratorModule);
|
|
10962
11113
|
|
|
10963
11114
|
;// ./src/app/deamon/services/data-search.service.ts
|
|
10964
|
-
|
|
10965
|
-
|
|
11115
|
+
function data_search_service_ts_decorate(decorators, target, key, desc) {
|
|
11116
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11117
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11118
|
+
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;
|
|
11119
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11120
|
+
}
|
|
11121
|
+
function data_search_service_ts_metadata(k, v) {
|
|
11122
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
11123
|
+
}
|
|
10966
11124
|
|
|
10967
11125
|
|
|
10968
11126
|
|
|
@@ -11050,10 +11208,10 @@ class DataSearchService {
|
|
|
11050
11208
|
return await this.generatorBinding.getEndpointDocumentation(result, schemas);
|
|
11051
11209
|
}
|
|
11052
11210
|
}
|
|
11053
|
-
DataSearchService = (
|
|
11211
|
+
DataSearchService = data_search_service_ts_decorate([
|
|
11054
11212
|
(0,common_namespaceObject.Injectable)(),
|
|
11055
|
-
(
|
|
11056
|
-
(
|
|
11213
|
+
data_search_service_ts_metadata("design:type", Function),
|
|
11214
|
+
data_search_service_ts_metadata("design:paramtypes", [
|
|
11057
11215
|
typeof SearchService === "undefined" ? Object : SearchService,
|
|
11058
11216
|
typeof GeneratorBinding === "undefined" ? Object : GeneratorBinding
|
|
11059
11217
|
])
|
|
@@ -11065,8 +11223,15 @@ const external_class_validator_namespaceObject = __WEBPACK_EXTERNAL_createRequir
|
|
|
11065
11223
|
const external_class_transformer_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("class-transformer");
|
|
11066
11224
|
;// ./src/app/deamon/models/search-query.ts
|
|
11067
11225
|
// src/controllers/dto/search-query.dto.ts
|
|
11068
|
-
|
|
11069
|
-
|
|
11226
|
+
function search_query_ts_decorate(decorators, target, key, desc) {
|
|
11227
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11228
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11229
|
+
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;
|
|
11230
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11231
|
+
}
|
|
11232
|
+
function search_query_ts_metadata(k, v) {
|
|
11233
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
11234
|
+
}
|
|
11070
11235
|
|
|
11071
11236
|
|
|
11072
11237
|
|
|
@@ -11076,16 +11241,16 @@ class SearchQuery {
|
|
|
11076
11241
|
this.size = 10;
|
|
11077
11242
|
}
|
|
11078
11243
|
}
|
|
11079
|
-
(
|
|
11244
|
+
search_query_ts_decorate([
|
|
11080
11245
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11081
11246
|
required: false,
|
|
11082
11247
|
description: 'full-text query'
|
|
11083
11248
|
}),
|
|
11084
11249
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
11085
11250
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
11086
|
-
(
|
|
11251
|
+
search_query_ts_metadata("design:type", String)
|
|
11087
11252
|
], SearchQuery.prototype, "query", void 0);
|
|
11088
|
-
(
|
|
11253
|
+
search_query_ts_decorate([
|
|
11089
11254
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11090
11255
|
required: false,
|
|
11091
11256
|
description: 'filter by descriptor type',
|
|
@@ -11096,27 +11261,27 @@ class SearchQuery {
|
|
|
11096
11261
|
}),
|
|
11097
11262
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
11098
11263
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
11099
|
-
(
|
|
11264
|
+
search_query_ts_metadata("design:type", String)
|
|
11100
11265
|
], SearchQuery.prototype, "type", void 0);
|
|
11101
|
-
(
|
|
11266
|
+
search_query_ts_decorate([
|
|
11102
11267
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11103
11268
|
required: false,
|
|
11104
11269
|
description: 'filter by source id'
|
|
11105
11270
|
}),
|
|
11106
11271
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
11107
11272
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
11108
|
-
(
|
|
11273
|
+
search_query_ts_metadata("design:type", String)
|
|
11109
11274
|
], SearchQuery.prototype, "source", void 0);
|
|
11110
|
-
(
|
|
11275
|
+
search_query_ts_decorate([
|
|
11111
11276
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11112
11277
|
required: false,
|
|
11113
11278
|
description: 'filter by REST package path'
|
|
11114
11279
|
}),
|
|
11115
11280
|
(0,external_class_validator_namespaceObject.IsOptional)(),
|
|
11116
11281
|
(0,external_class_validator_namespaceObject.IsString)(),
|
|
11117
|
-
(
|
|
11282
|
+
search_query_ts_metadata("design:type", String)
|
|
11118
11283
|
], SearchQuery.prototype, "pkg", void 0);
|
|
11119
|
-
(
|
|
11284
|
+
search_query_ts_decorate([
|
|
11120
11285
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11121
11286
|
required: false,
|
|
11122
11287
|
description: 'zero-based page index',
|
|
@@ -11128,7 +11293,7 @@ class SearchQuery {
|
|
|
11128
11293
|
(0,external_class_validator_namespaceObject.IsInt)(),
|
|
11129
11294
|
(0,external_class_validator_namespaceObject.Min)(0)
|
|
11130
11295
|
], SearchQuery.prototype, "page", void 0);
|
|
11131
|
-
(
|
|
11296
|
+
search_query_ts_decorate([
|
|
11132
11297
|
(0,swagger_namespaceObject.ApiProperty)({
|
|
11133
11298
|
required: false,
|
|
11134
11299
|
description: 'page size',
|
|
@@ -11142,9 +11307,20 @@ class SearchQuery {
|
|
|
11142
11307
|
], SearchQuery.prototype, "size", void 0);
|
|
11143
11308
|
|
|
11144
11309
|
;// ./src/app/deamon/controllers/data-search.controller.ts
|
|
11145
|
-
|
|
11146
|
-
|
|
11147
|
-
|
|
11310
|
+
function data_search_controller_ts_decorate(decorators, target, key, desc) {
|
|
11311
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11312
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11313
|
+
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;
|
|
11314
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11315
|
+
}
|
|
11316
|
+
function data_search_controller_ts_metadata(k, v) {
|
|
11317
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
11318
|
+
}
|
|
11319
|
+
function data_search_controller_ts_param(paramIndex, decorator) {
|
|
11320
|
+
return function(target, key) {
|
|
11321
|
+
decorator(target, key, paramIndex);
|
|
11322
|
+
};
|
|
11323
|
+
}
|
|
11148
11324
|
|
|
11149
11325
|
|
|
11150
11326
|
|
|
@@ -11188,7 +11364,7 @@ class DataSearchController {
|
|
|
11188
11364
|
return await this.dataSearchService.getStats();
|
|
11189
11365
|
}
|
|
11190
11366
|
}
|
|
11191
|
-
(
|
|
11367
|
+
data_search_controller_ts_decorate([
|
|
11192
11368
|
(0,common_namespaceObject.Get)("/search"),
|
|
11193
11369
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11194
11370
|
summary: 'Search for resources'
|
|
@@ -11221,14 +11397,14 @@ class DataSearchController {
|
|
|
11221
11397
|
},
|
|
11222
11398
|
whitelist: true
|
|
11223
11399
|
})),
|
|
11224
|
-
(0,
|
|
11225
|
-
(
|
|
11226
|
-
(
|
|
11400
|
+
data_search_controller_ts_param(0, (0,common_namespaceObject.Query)()),
|
|
11401
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11402
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11227
11403
|
typeof SearchQuery === "undefined" ? Object : SearchQuery
|
|
11228
11404
|
]),
|
|
11229
|
-
(
|
|
11405
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11230
11406
|
], DataSearchController.prototype, "search", null);
|
|
11231
|
-
(
|
|
11407
|
+
data_search_controller_ts_decorate([
|
|
11232
11408
|
(0,common_namespaceObject.Get)("/get/:id"),
|
|
11233
11409
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11234
11410
|
summary: 'Get resource by ID'
|
|
@@ -11242,14 +11418,14 @@ class DataSearchController {
|
|
|
11242
11418
|
status: 404,
|
|
11243
11419
|
description: 'Resource not found'
|
|
11244
11420
|
}),
|
|
11245
|
-
(0,
|
|
11246
|
-
(
|
|
11247
|
-
(
|
|
11421
|
+
data_search_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
11422
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11423
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11248
11424
|
String
|
|
11249
11425
|
]),
|
|
11250
|
-
(
|
|
11426
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11251
11427
|
], DataSearchController.prototype, "getById", null);
|
|
11252
|
-
(
|
|
11428
|
+
data_search_controller_ts_decorate([
|
|
11253
11429
|
(0,common_namespaceObject.Get)("/get/schema/:id"),
|
|
11254
11430
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11255
11431
|
summary: 'Get schema docs by ID'
|
|
@@ -11263,14 +11439,14 @@ class DataSearchController {
|
|
|
11263
11439
|
status: 404,
|
|
11264
11440
|
description: 'Resource not found'
|
|
11265
11441
|
}),
|
|
11266
|
-
(0,
|
|
11267
|
-
(
|
|
11268
|
-
(
|
|
11442
|
+
data_search_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
11443
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11444
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11269
11445
|
String
|
|
11270
11446
|
]),
|
|
11271
|
-
(
|
|
11447
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11272
11448
|
], DataSearchController.prototype, "getSchemaDocsById", null);
|
|
11273
|
-
(
|
|
11449
|
+
data_search_controller_ts_decorate([
|
|
11274
11450
|
(0,common_namespaceObject.Get)("/get/endpoint/:id"),
|
|
11275
11451
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11276
11452
|
summary: 'Get schema docs by ID'
|
|
@@ -11280,14 +11456,14 @@ class DataSearchController {
|
|
|
11280
11456
|
description: 'Returns a resource',
|
|
11281
11457
|
type: RestDocumentation
|
|
11282
11458
|
}),
|
|
11283
|
-
(0,
|
|
11284
|
-
(
|
|
11285
|
-
(
|
|
11459
|
+
data_search_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
11460
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11461
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11286
11462
|
String
|
|
11287
11463
|
]),
|
|
11288
|
-
(
|
|
11464
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11289
11465
|
], DataSearchController.prototype, "getEndpointById", null);
|
|
11290
|
-
(
|
|
11466
|
+
data_search_controller_ts_decorate([
|
|
11291
11467
|
(0,common_namespaceObject.Get)("/stats"),
|
|
11292
11468
|
(0,swagger_namespaceObject.ApiOperation)({
|
|
11293
11469
|
summary: 'Get stats for a source'
|
|
@@ -11297,21 +11473,26 @@ class DataSearchController {
|
|
|
11297
11473
|
description: 'Returns stats for a source',
|
|
11298
11474
|
type: SourceStats
|
|
11299
11475
|
}),
|
|
11300
|
-
(
|
|
11301
|
-
(
|
|
11302
|
-
(
|
|
11476
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11477
|
+
data_search_controller_ts_metadata("design:paramtypes", []),
|
|
11478
|
+
data_search_controller_ts_metadata("design:returntype", Promise)
|
|
11303
11479
|
], DataSearchController.prototype, "getStats", null);
|
|
11304
|
-
DataSearchController = (
|
|
11480
|
+
DataSearchController = data_search_controller_ts_decorate([
|
|
11305
11481
|
(0,common_namespaceObject.Controller)('data'),
|
|
11306
11482
|
(0,swagger_namespaceObject.ApiExtraModels)(ResourceDescriptor, Page, SchemaDocumentation, RestDocumentation, SourceStats, SearchQuery),
|
|
11307
|
-
(
|
|
11308
|
-
(
|
|
11483
|
+
data_search_controller_ts_metadata("design:type", Function),
|
|
11484
|
+
data_search_controller_ts_metadata("design:paramtypes", [
|
|
11309
11485
|
typeof DataSearchService === "undefined" ? Object : DataSearchService
|
|
11310
11486
|
])
|
|
11311
11487
|
], DataSearchController);
|
|
11312
11488
|
|
|
11313
11489
|
;// ./src/app/deamon/deamon.module.ts
|
|
11314
|
-
|
|
11490
|
+
function deamon_module_ts_decorate(decorators, target, key, desc) {
|
|
11491
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11492
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11493
|
+
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;
|
|
11494
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11495
|
+
}
|
|
11315
11496
|
|
|
11316
11497
|
|
|
11317
11498
|
|
|
@@ -11327,7 +11508,7 @@ DataSearchController = (0,_ts_decorate_namespaceObject._)([
|
|
|
11327
11508
|
|
|
11328
11509
|
class DeamonModule {
|
|
11329
11510
|
}
|
|
11330
|
-
DeamonModule = (
|
|
11511
|
+
DeamonModule = deamon_module_ts_decorate([
|
|
11331
11512
|
(0,common_namespaceObject.Module)({
|
|
11332
11513
|
imports: [
|
|
11333
11514
|
CommonModule,
|
|
@@ -11362,7 +11543,12 @@ DeamonModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
11362
11543
|
});
|
|
11363
11544
|
|
|
11364
11545
|
;// ./src/app/app.module.ts
|
|
11365
|
-
|
|
11546
|
+
function app_module_ts_decorate(decorators, target, key, desc) {
|
|
11547
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11548
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11549
|
+
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;
|
|
11550
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11551
|
+
}
|
|
11366
11552
|
|
|
11367
11553
|
|
|
11368
11554
|
|
|
@@ -11372,7 +11558,7 @@ DeamonModule = (0,_ts_decorate_namespaceObject._)([
|
|
|
11372
11558
|
|
|
11373
11559
|
class AppModule {
|
|
11374
11560
|
}
|
|
11375
|
-
AppModule = (
|
|
11561
|
+
AppModule = app_module_ts_decorate([
|
|
11376
11562
|
(0,common_namespaceObject.Module)({
|
|
11377
11563
|
imports: [
|
|
11378
11564
|
config_namespaceObject.ConfigModule.forRoot({
|