@servicelabsco/nestjs-utility-services 1.0.147 → 1.0.151
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.controller.d.ts +1 -1
- package/dist/app.controller.js +3 -1
- package/dist/app.controller.js.map +1 -1
- package/dist/app.module.js +2 -2
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +32 -0
- package/dist/cli.js.map +1 -0
- package/dist/common/libraries/common.job.d.ts +1 -0
- package/dist/common/libraries/common.job.js +17 -2
- package/dist/common/libraries/common.job.js.map +1 -1
- package/dist/platformUtility/commands/entity.generator.command.d.ts +3 -4
- package/dist/platformUtility/commands/entity.generator.command.js +24 -20
- package/dist/platformUtility/commands/entity.generator.command.js.map +1 -1
- package/dist/platformUtility/commands/index.d.ts +1 -0
- package/dist/platformUtility/commands/index.js +1 -0
- package/dist/platformUtility/commands/index.js.map +1 -1
- package/dist/platformUtility/commands/maintenance.command.js +9 -10
- package/dist/platformUtility/commands/maintenance.command.js.map +1 -1
- package/dist/platformUtility/commands/sqs.worker.command.d.ts +15 -0
- package/dist/platformUtility/commands/sqs.worker.command.js +118 -0
- package/dist/platformUtility/commands/sqs.worker.command.js.map +1 -0
- package/dist/platformUtility/commands/sync.class.command.d.ts +2 -4
- package/dist/platformUtility/commands/sync.class.command.js +17 -12
- package/dist/platformUtility/commands/sync.class.command.js.map +1 -1
- package/dist/platformUtility/es6.classes.d.ts +8 -5
- package/dist/platformUtility/es6.classes.js +6 -2
- package/dist/platformUtility/es6.classes.js.map +1 -1
- package/dist/platformUtility/jobs/index.d.ts +1 -0
- package/dist/platformUtility/jobs/index.js +1 -0
- package/dist/platformUtility/jobs/index.js.map +1 -1
- package/dist/platformUtility/jobs/test.job.d.ts +8 -0
- package/dist/platformUtility/jobs/test.job.js +42 -0
- package/dist/platformUtility/jobs/test.job.js.map +1 -0
- package/dist/platformUtility/platform.utility.module.js +1 -2
- package/dist/platformUtility/platform.utility.module.js.map +1 -1
- package/dist/platformUtility/services/dynamo.service.js +4 -4
- package/dist/platformUtility/services/dynamo.service.js.map +1 -1
- package/dist/platformUtility/services/es6.jobs.service.d.ts +3 -1
- package/dist/platformUtility/services/es6.jobs.service.js +7 -2
- package/dist/platformUtility/services/es6.jobs.service.js.map +1 -1
- package/dist/platformUtility/services/index.d.ts +1 -0
- package/dist/platformUtility/services/index.js +1 -0
- package/dist/platformUtility/services/index.js.map +1 -1
- package/dist/platformUtility/services/queue.service.d.ts +7 -4
- package/dist/platformUtility/services/queue.service.js +23 -10
- package/dist/platformUtility/services/queue.service.js.map +1 -1
- package/dist/platformUtility/services/sqs.service.d.ts +9 -0
- package/dist/platformUtility/services/sqs.service.js +90 -0
- package/dist/platformUtility/services/sqs.service.js.map +1 -0
- package/dist/system/commands/db.scanner.command.d.ts +3 -4
- package/dist/system/commands/db.scanner.command.js +16 -12
- package/dist/system/commands/db.scanner.command.js.map +1 -1
- package/dist/system/commands/event.queue.command.d.ts +4 -4
- package/dist/system/commands/event.queue.command.js +20 -16
- package/dist/system/commands/event.queue.command.js.map +1 -1
- package/dist/system/commands/index.d.ts +0 -1
- package/dist/system/commands/index.js +0 -1
- package/dist/system/commands/index.js.map +1 -1
- package/dist/system/commands/jobs.scanner.command.d.ts +3 -5
- package/dist/system/commands/jobs.scanner.command.js +16 -13
- package/dist/system/commands/jobs.scanner.command.js.map +1 -1
- package/dist/system/commands/model.scanner.command.d.ts +2 -4
- package/dist/system/commands/model.scanner.command.js +15 -12
- package/dist/system/commands/model.scanner.command.js.map +1 -1
- package/dist/system/commands/report.scanner.command.d.ts +2 -4
- package/dist/system/commands/report.scanner.command.js +15 -12
- package/dist/system/commands/report.scanner.command.js.map +1 -1
- package/dist/system/commands/service.scanner.command.d.ts +3 -4
- package/dist/system/commands/service.scanner.command.js +17 -13
- package/dist/system/commands/service.scanner.command.js.map +1 -1
- package/dist/system/es6.classes.d.ts +1 -2
- package/dist/system/es6.classes.js +1 -10
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/system.module.js +1 -2
- package/dist/system/system.module.js.map +1 -1
- package/package.json +5 -5
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"db.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/db.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"db.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/db.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,yDAA0D;AAC1D,mDAAyC;AACzC,yCAAoC;AACpC,gFAA4E;AAC5E,gFAA4E;AAC5E,8EAA0E;AAC1E,qFAAgF;AAChF,+DAA2D;AAC3D,6DAAyD;AACzD,2EAAuE;AACvE,uDAAwD;AAUxD,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;IAqBzB,YAA6B,YAA0B,EAAmB,UAAsB;QAAnE,iBAAY,GAAZ,YAAY,CAAc;QAAmB,eAAU,GAAV,UAAU,CAAY;QAdxF,WAAM,GAAW,IAAI,eAAM,CAAC,WAAW,CAAC,CAAC;QAOzC,4BAAuB,GAAG,EAAE,CAAC;IAO8D,CAAC;IAU9F,OAAO;;YACT,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;YAGhC,MAAM,IAAI,CAAC,mBAAmB,EAAE,CAAC;YAGjC,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;YAG1B,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;YAGzC,MAAM,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;YAGnC,MAAM,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;QAC7C,CAAC;KAAA;IASK,YAAY;;YAEd,MAAM,GAAG,GAAG,4GAA4G,CAAC;YACzH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,C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AAC,EAAE,CAAC;gBAClD,CAAC,CAAC,CAAC;YACP,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;IAEO,oBAAoB,CAAC,GAAW;QACpC,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAChC,IAAI,QAAQ,KAAK,KAAK;YAAE,GAAG,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAE/C,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;QAE7B,OAAO,kCAAe,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACxC,CAAC;IAEO,mBAAmB,CAAC,GAAW;QACnC,IAAI,GAAG,KAAK,YAAY;YAAE,OAAO,SAAS,CAAC;QAE3C,IAAI,GAAG,KAAK,YAAY;YAAE,OAAO,SAAS,CAAC;QAE3C,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAChC,IAAI,QAAQ,KAAK,KAAK;YAAE,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QAEhD,OAAO,GAAG,CAAC;IACf,CAAC;CACJ,CAAA;AA/WG;IARC,IAAA,wBAAO,EAAC;QACL,OAAO,EAAE,SAAS;QAClB,QAAQ,EAAE,uCAAuC;KACpD,CAAC;;;;+CAsBD;AAhDQ,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;qCAsBkC,4BAAY,EAA+B,wBAAU;GArBvF,gBAAgB,CA8Y5B;AA9YY,4CAAgB"}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import { ConsoleService } from 'nestjs-console';
|
2
1
|
import { QueueService } from '../../platformUtility/services/queue.service';
|
3
2
|
import { EventQueueService } from '../services/event.queue.service';
|
4
3
|
export declare class EventQueueCommand {
|
5
4
|
private readonly queueService;
|
6
5
|
private readonly eventQueueService;
|
7
|
-
private readonly consoleService;
|
8
6
|
private counter;
|
9
7
|
private start_time;
|
10
|
-
|
11
|
-
|
8
|
+
private startTimeIdentifier;
|
9
|
+
private logger;
|
10
|
+
constructor(queueService: QueueService, eventQueueService: EventQueueService);
|
11
|
+
process(): Promise<void>;
|
12
12
|
private processEvents;
|
13
13
|
private processEvent;
|
14
14
|
private checkForSystem;
|
@@ -20,19 +20,21 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
exports.EventQueueCommand = void 0;
|
22
22
|
const common_1 = require("@nestjs/common");
|
23
|
-
const
|
24
|
-
const nestjs_console_1 = require("nestjs-console");
|
25
|
-
const date_util_1 = require("../../common/libraries/date.util");
|
23
|
+
const nestjs_command_1 = require("nestjs-command");
|
26
24
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
27
25
|
const event_queue_service_1 = require("../services/event.queue.service");
|
26
|
+
const date_util_1 = require("./../../common/libraries/date.util");
|
28
27
|
let EventQueueCommand = class EventQueueCommand {
|
29
|
-
constructor(queueService, eventQueueService
|
28
|
+
constructor(queueService, eventQueueService) {
|
30
29
|
this.queueService = queueService;
|
31
30
|
this.eventQueueService = eventQueueService;
|
32
|
-
this.consoleService = consoleService;
|
33
31
|
this.counter = 0;
|
34
|
-
this.start_time =
|
35
|
-
this.
|
32
|
+
this.start_time = date_util_1.DateUtil.now();
|
33
|
+
this.startTimeIdentifier = date_util_1.DateUtil.getDateTimeInFormat();
|
34
|
+
this.logger = new common_1.Logger('EventQueue');
|
35
|
+
}
|
36
|
+
process() {
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
36
38
|
while (true) {
|
37
39
|
yield this.queueService.pause();
|
38
40
|
yield this.checkForSystem();
|
@@ -41,14 +43,9 @@ let EventQueueCommand = class EventQueueCommand {
|
|
41
43
|
yield this.queueService.sleep(2000);
|
42
44
|
if (pendingEvents.length)
|
43
45
|
yield this.processEvents(pendingEvents);
|
44
|
-
|
46
|
+
this.logger.log(`[events] ${this.counter} since ${this.startTimeIdentifier} ${date_util_1.DateUtil.now() - this.start_time}s`);
|
45
47
|
}
|
46
48
|
});
|
47
|
-
const cli = this.consoleService.getCli();
|
48
|
-
this.consoleService.createCommand({
|
49
|
-
command: 'queue:work',
|
50
|
-
description: 'description',
|
51
|
-
}, this.processQueue, cli);
|
52
49
|
}
|
53
50
|
processEvents(events) {
|
54
51
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -80,11 +77,18 @@ let EventQueueCommand = class EventQueueCommand {
|
|
80
77
|
});
|
81
78
|
}
|
82
79
|
};
|
80
|
+
__decorate([
|
81
|
+
(0, nestjs_command_1.Command)({
|
82
|
+
command: 'queue:work',
|
83
|
+
describe: 'push the queue from normal db to job',
|
84
|
+
}),
|
85
|
+
__metadata("design:type", Function),
|
86
|
+
__metadata("design:paramtypes", []),
|
87
|
+
__metadata("design:returntype", Promise)
|
88
|
+
], EventQueueCommand.prototype, "process", null);
|
83
89
|
EventQueueCommand = __decorate([
|
84
90
|
(0, common_1.Injectable)(),
|
85
|
-
__metadata("design:paramtypes", [queue_service_1.QueueService,
|
86
|
-
event_queue_service_1.EventQueueService,
|
87
|
-
nestjs_console_1.ConsoleService])
|
91
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService, event_queue_service_1.EventQueueService])
|
88
92
|
], EventQueueCommand);
|
89
93
|
exports.EventQueueCommand = EventQueueCommand;
|
90
94
|
//# sourceMappingURL=event.queue.command.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"event.queue.command.js","sourceRoot":"","sources":["../../../src/system/commands/event.queue.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"event.queue.command.js","sourceRoot":"","sources":["../../../src/system/commands/event.queue.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,mDAAyC;AACzC,gFAA4E;AAE5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C,GAAG,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;gBACtC,OAAO,GAAG,CAAC;YACf,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;IAEa,YAAY,CAAC,KAAuB;;YAC9C,EAAE,IAAI,CAAC,OAAO,CAAC;YAGf,KAAK,CAAC,UAAU,GAAG,oBAAQ,CAAC,WAAW,EAAE,CAAC;YAC1C,MAAM,KAAK,CAAC,IAAI,EAAE,CAAC;YAEnB,MAAM,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;YAExE,KAAK,CAAC,QAAQ,GAAG,oBAAQ,CAAC,WAAW,EAAE,CAAC;YACxC,OAAO,KAAK,CAAC,IAAI,EAAE,CAAC;QACxB,CAAC;KAAA;IAQa,cAAc;;YACxB,MAAM,IAAI,CAAC,YAAY,CAAC,mBAAmB,EAAE,CAAC;YAE9C,IAAI,MAAM,IAAI,CAAC,YAAY,CAAC,qBAAqB,EAAE,EAAE;gBACjD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACnB;QACL,CAAC;KAAA;CACJ,CAAA;AAtDG;IAJC,IAAA,wBAAO,EAAC;QACL,OAAO,EAAE,YAAY;QACrB,QAAQ,EAAE,sCAAsC;KACnD,CAAC;;;;gDAeD;AAtCQ,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;qCAoBkC,4BAAY,EAAsC,uCAAiB;GAnBrG,iBAAiB,CA8E7B;AA9EY,8CAAiB"}
|
@@ -16,5 +16,4 @@ __exportStar(require("./jobs.scanner.command"), exports);
|
|
16
16
|
__exportStar(require("./model.scanner.command"), exports);
|
17
17
|
__exportStar(require("./report.scanner.command"), exports);
|
18
18
|
__exportStar(require("./service.scanner.command"), exports);
|
19
|
-
__exportStar(require("./vaccine.command"), exports);
|
20
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C"}
|
@@ -1,10 +1,8 @@
|
|
1
|
-
import { ConsoleService } from 'nestjs-console';
|
2
|
-
import { EventDetailService } from '../services/event.detail.service';
|
3
1
|
import { QueueService } from '../../platformUtility/services/queue.service';
|
2
|
+
import { EventDetailService } from '../services/event.detail.service';
|
4
3
|
export declare class JobsScannerCommand {
|
5
|
-
private readonly consoleService;
|
6
4
|
private readonly eventDetailService;
|
7
5
|
private readonly queueService;
|
8
|
-
constructor(
|
9
|
-
|
6
|
+
constructor(eventDetailService: EventDetailService, queueService: QueueService);
|
7
|
+
process(): Promise<void>;
|
10
8
|
}
|
@@ -20,16 +20,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
exports.JobsScannerCommand = void 0;
|
22
22
|
const common_1 = require("@nestjs/common");
|
23
|
-
const
|
23
|
+
const nestjs_command_1 = require("nestjs-command");
|
24
24
|
const platform_constants_1 = require("../../config/platform.constants");
|
25
|
-
const event_detail_service_1 = require("../services/event.detail.service");
|
26
25
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
26
|
+
const event_detail_service_1 = require("../services/event.detail.service");
|
27
27
|
let JobsScannerCommand = class JobsScannerCommand {
|
28
|
-
constructor(
|
29
|
-
this.consoleService = consoleService;
|
28
|
+
constructor(eventDetailService, queueService) {
|
30
29
|
this.eventDetailService = eventDetailService;
|
31
30
|
this.queueService = queueService;
|
32
|
-
|
31
|
+
}
|
32
|
+
process() {
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
33
34
|
yield this.queueService.pause();
|
34
35
|
const jobs = platform_constants_1.default.jobs;
|
35
36
|
for (const key of Object.keys(jobs)) {
|
@@ -37,18 +38,20 @@ let JobsScannerCommand = class JobsScannerCommand {
|
|
37
38
|
global.console.log('processed job : ', entity.name);
|
38
39
|
}
|
39
40
|
});
|
40
|
-
const cli = this.consoleService.getCli();
|
41
|
-
this.consoleService.createCommand({
|
42
|
-
command: 'sync:job',
|
43
|
-
description: 'this would find all the jobs defined in the system and set it up in our database',
|
44
|
-
}, this.syncJob, cli);
|
45
41
|
}
|
46
42
|
};
|
43
|
+
__decorate([
|
44
|
+
(0, nestjs_command_1.Command)({
|
45
|
+
command: 'sync:job',
|
46
|
+
describe: 'this would find all the jobs defined in the system and set it up in our database',
|
47
|
+
}),
|
48
|
+
__metadata("design:type", Function),
|
49
|
+
__metadata("design:paramtypes", []),
|
50
|
+
__metadata("design:returntype", Promise)
|
51
|
+
], JobsScannerCommand.prototype, "process", null);
|
47
52
|
JobsScannerCommand = __decorate([
|
48
53
|
(0, common_1.Injectable)(),
|
49
|
-
__metadata("design:paramtypes", [
|
50
|
-
event_detail_service_1.EventDetailService,
|
51
|
-
queue_service_1.QueueService])
|
54
|
+
__metadata("design:paramtypes", [event_detail_service_1.EventDetailService, queue_service_1.QueueService])
|
52
55
|
], JobsScannerCommand);
|
53
56
|
exports.JobsScannerCommand = JobsScannerCommand;
|
54
57
|
//# sourceMappingURL=jobs.scanner.command.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"jobs.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/jobs.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,
|
1
|
+
{"version":3,"file":"jobs.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/jobs.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mDAAyC;AACzC,wEAAgE;AAChE,gFAA4E;AAC5E,2EAAsE;AAQtE,IAAa,kBAAkB,GAA/B,MAAa,kBAAkB;IAO3B,YAA6B,kBAAsC,EAAmB,YAA0B;QAAnF,uBAAkB,GAAlB,kBAAkB,CAAoB;QAAmB,iBAAY,GAAZ,YAAY,CAAc;IAAG,CAAC;IAU9G,OAAO;;YACT,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;YAEhC,MAAM,IAAI,GAAG,4BAAiB,CAAC,IAAI,CAAC;YAEpC,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;gBACjC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;gBACnE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;aACvD;QACL,CAAC;KAAA;CACJ,CAAA;AAVG;IAJC,IAAA,wBAAO,EAAC;QACL,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,kFAAkF;KAC/F,CAAC;;;;iDAUD;AA1BQ,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAQwC,yCAAkB,EAAiC,4BAAY;GAPvG,kBAAkB,CA2B9B;AA3BY,gDAAkB"}
|
@@ -1,12 +1,10 @@
|
|
1
|
-
import { ConsoleService } from 'nestjs-console';
|
2
1
|
import { QueueService } from '../../platformUtility/services/queue.service';
|
3
2
|
import { ModelScannerJob } from '../jobs/model.scanner.job';
|
4
3
|
export declare class ModelScannerCommand {
|
5
4
|
private readonly queueService;
|
6
|
-
private readonly consoleService;
|
7
5
|
private readonly modelScannerJob;
|
8
|
-
constructor(queueService: QueueService,
|
9
|
-
|
6
|
+
constructor(queueService: QueueService, modelScannerJob: ModelScannerJob);
|
7
|
+
process(): Promise<void>;
|
10
8
|
private createAllModels;
|
11
9
|
private loadModelRelations;
|
12
10
|
}
|
@@ -20,26 +20,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
exports.ModelScannerCommand = void 0;
|
22
22
|
const common_1 = require("@nestjs/common");
|
23
|
-
const
|
23
|
+
const nestjs_command_1 = require("nestjs-command");
|
24
24
|
const platform_constants_1 = require("../../config/platform.constants");
|
25
25
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
26
26
|
const model_scanner_job_1 = require("../jobs/model.scanner.job");
|
27
27
|
const model_sync_1 = require("../libraries/model.sync");
|
28
28
|
let ModelScannerCommand = class ModelScannerCommand {
|
29
|
-
constructor(queueService,
|
29
|
+
constructor(queueService, modelScannerJob) {
|
30
30
|
this.queueService = queueService;
|
31
|
-
this.consoleService = consoleService;
|
32
31
|
this.modelScannerJob = modelScannerJob;
|
33
|
-
|
32
|
+
}
|
33
|
+
process() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
34
35
|
yield this.queueService.pause();
|
35
36
|
yield this.createAllModels();
|
36
37
|
yield this.loadModelRelations();
|
37
38
|
});
|
38
|
-
const cli = this.consoleService.getCli();
|
39
|
-
this.consoleService.createCommand({
|
40
|
-
command: 'sync:model',
|
41
|
-
description: 'sync all entities and their definitions defined within the system',
|
42
|
-
}, this.syncModel, cli);
|
43
39
|
}
|
44
40
|
createAllModels() {
|
45
41
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -61,11 +57,18 @@ let ModelScannerCommand = class ModelScannerCommand {
|
|
61
57
|
});
|
62
58
|
}
|
63
59
|
};
|
60
|
+
__decorate([
|
61
|
+
(0, nestjs_command_1.Command)({
|
62
|
+
command: 'sync:model',
|
63
|
+
describe: 'sync all entities and their definitions defined within the system',
|
64
|
+
}),
|
65
|
+
__metadata("design:type", Function),
|
66
|
+
__metadata("design:paramtypes", []),
|
67
|
+
__metadata("design:returntype", Promise)
|
68
|
+
], ModelScannerCommand.prototype, "process", null);
|
64
69
|
ModelScannerCommand = __decorate([
|
65
70
|
(0, common_1.Injectable)(),
|
66
|
-
__metadata("design:paramtypes", [queue_service_1.QueueService,
|
67
|
-
nestjs_console_1.ConsoleService,
|
68
|
-
model_scanner_job_1.ModelScannerJob])
|
71
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService, model_scanner_job_1.ModelScannerJob])
|
69
72
|
], ModelScannerCommand);
|
70
73
|
exports.ModelScannerCommand = ModelScannerCommand;
|
71
74
|
//# sourceMappingURL=model.scanner.command.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"model.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/model.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,
|
1
|
+
{"version":3,"file":"model.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/model.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mDAAyC;AACzC,wEAAgE;AAChE,gFAA4E;AAC5E,iEAA4D;AAC5D,wDAAoD;AAGpD,IAAa,mBAAmB,GAAhC,MAAa,mBAAmB;IAM5B,YAA6B,YAA0B,EAAmB,eAAgC;QAA7E,iBAAY,GAAZ,YAAY,CAAc;QAAmB,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAKxG,OAAO;;YACT,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;YAEhC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;YAC7B,MAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACpC,CAAC;KAAA;IAEa,eAAe;;YACzB,KAAK,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,4BAAiB,CAAC,QAAQ,CAAC,EAAE;gBACpE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;gBACnD,MAAM,IAAI,sBAAS,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC;aACtC;QACL,CAAC;KAAA;IAEa,kBAAkB;;YAC5B,MAAM,QAAQ,GAAG,EAAE,CAAC;YAEpB,KAAK,MAAM,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,4BAAiB,CAAC,QAAQ,CAAC,EAAE;gBAC5D,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;aACrD;YAED,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;gBACtC,OAAO,GAAG,CAAC;YACf,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;CACJ,CAAA;AAzBG;IAJC,IAAA,wBAAO,EAAC;QACL,OAAO,EAAE,YAAY;QACrB,QAAQ,EAAE,mEAAmE;KAChF,CAAC;;;;kDAMD;AAhBQ,mBAAmB;IAD/B,IAAA,mBAAU,GAAE;qCAOkC,4BAAY,EAAoC,mCAAe;GANjG,mBAAmB,CAoC/B;AApCY,kDAAmB"}
|
@@ -1,10 +1,8 @@
|
|
1
|
-
import { ConsoleService } from 'nestjs-console';
|
2
1
|
import { QueueService } from '../../platformUtility/services/queue.service';
|
3
2
|
import { ReportColumnSyncJob } from '../jobs/report.column.sync.job';
|
4
3
|
export declare class ReportScannerCommand {
|
5
4
|
private readonly queueService;
|
6
|
-
private readonly consoleService;
|
7
5
|
private readonly reportColumnSyncJob;
|
8
|
-
constructor(queueService: QueueService,
|
9
|
-
|
6
|
+
constructor(queueService: QueueService, reportColumnSyncJob: ReportColumnSyncJob);
|
7
|
+
process(): Promise<any[]>;
|
10
8
|
}
|
@@ -20,16 +20,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
exports.ReportScannerCommand = void 0;
|
22
22
|
const common_1 = require("@nestjs/common");
|
23
|
-
const
|
23
|
+
const nestjs_command_1 = require("nestjs-command");
|
24
24
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
25
25
|
const report_entity_1 = require("../entities/report.entity");
|
26
26
|
const report_column_sync_job_1 = require("../jobs/report.column.sync.job");
|
27
27
|
let ReportScannerCommand = class ReportScannerCommand {
|
28
|
-
constructor(queueService,
|
28
|
+
constructor(queueService, reportColumnSyncJob) {
|
29
29
|
this.queueService = queueService;
|
30
|
-
this.consoleService = consoleService;
|
31
30
|
this.reportColumnSyncJob = reportColumnSyncJob;
|
32
|
-
|
31
|
+
}
|
32
|
+
process() {
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
33
34
|
yield this.queueService.pause();
|
34
35
|
const reports = yield report_entity_1.ReportEntity.find();
|
35
36
|
const promises = [];
|
@@ -40,18 +41,20 @@ let ReportScannerCommand = class ReportScannerCommand {
|
|
40
41
|
return res;
|
41
42
|
});
|
42
43
|
});
|
43
|
-
const cli = this.consoleService.getCli();
|
44
|
-
this.consoleService.createCommand({
|
45
|
-
command: 'sync:report',
|
46
|
-
description: 'sync up report columns and relationships',
|
47
|
-
}, this.syncReports, cli);
|
48
44
|
}
|
49
45
|
};
|
46
|
+
__decorate([
|
47
|
+
(0, nestjs_command_1.Command)({
|
48
|
+
command: 'sync:report',
|
49
|
+
describe: 'sync up report columns and relationships',
|
50
|
+
}),
|
51
|
+
__metadata("design:type", Function),
|
52
|
+
__metadata("design:paramtypes", []),
|
53
|
+
__metadata("design:returntype", Promise)
|
54
|
+
], ReportScannerCommand.prototype, "process", null);
|
50
55
|
ReportScannerCommand = __decorate([
|
51
56
|
(0, common_1.Injectable)(),
|
52
|
-
__metadata("design:paramtypes", [queue_service_1.QueueService,
|
53
|
-
nestjs_console_1.ConsoleService,
|
54
|
-
report_column_sync_job_1.ReportColumnSyncJob])
|
57
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService, report_column_sync_job_1.ReportColumnSyncJob])
|
55
58
|
], ReportScannerCommand);
|
56
59
|
exports.ReportScannerCommand = ReportScannerCommand;
|
57
60
|
//# sourceMappingURL=report.scanner.command.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"report.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/report.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,
|
1
|
+
{"version":3,"file":"report.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/report.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mDAAyC;AACzC,gFAA4E;AAC5E,6DAAyD;AACzD,2EAAqE;AAGrE,IAAa,oBAAoB,GAAjC,MAAa,oBAAoB;IAM7B,YAA6B,YAA0B,EAAmB,mBAAwC;QAArF,iBAAY,GAAZ,YAAY,CAAc;QAAmB,wBAAmB,GAAnB,mBAAmB,CAAqB;IAAG,CAAC;IAMhH,OAAO;;YACT,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;YAEhC,MAAM,OAAO,GAAG,MAAM,4BAAY,CAAC,IAAI,EAAE,CAAC;YAC1C,MAAM,QAAQ,GAAG,EAAE,CAAC;YAEpB,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,EAAE;gBACvB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;YAChE,CAAC,CAAC,CAAC;YAEH,OAAO,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE;gBACtC,OAAO,GAAG,CAAC;YACf,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;CACJ,CAAA;AAdG;IAJC,IAAA,wBAAO,EAAC;QACL,OAAO,EAAE,aAAa;QACtB,QAAQ,EAAE,0CAA0C;KACvD,CAAC;;;;mDAcD;AAzBQ,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAOkC,4BAAY,EAAwC,4CAAmB;GANzG,oBAAoB,CA0BhC;AA1BY,oDAAoB"}
|
@@ -1,10 +1,9 @@
|
|
1
|
-
import { ConsoleService } from 'nestjs-console';
|
2
1
|
import { QueueService } from '../../platformUtility/services/queue.service';
|
3
2
|
import { CommonService } from '../services/common.service';
|
4
3
|
export declare class ServiceScannerCommand {
|
5
|
-
private readonly consoleService;
|
6
4
|
private readonly queueService;
|
7
5
|
private readonly commonService;
|
8
|
-
|
9
|
-
|
6
|
+
private logger;
|
7
|
+
constructor(queueService: QueueService, commonService: CommonService);
|
8
|
+
process(): Promise<void>;
|
10
9
|
}
|
@@ -20,35 +20,39 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
21
21
|
exports.ServiceScannerCommand = void 0;
|
22
22
|
const common_1 = require("@nestjs/common");
|
23
|
-
const
|
23
|
+
const nestjs_command_1 = require("nestjs-command");
|
24
24
|
const platform_constants_1 = require("../../config/platform.constants");
|
25
25
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
26
26
|
const common_service_1 = require("../services/common.service");
|
27
27
|
let ServiceScannerCommand = class ServiceScannerCommand {
|
28
|
-
constructor(
|
29
|
-
this.consoleService = consoleService;
|
28
|
+
constructor(queueService, commonService) {
|
30
29
|
this.queueService = queueService;
|
31
30
|
this.commonService = commonService;
|
32
|
-
this.
|
31
|
+
this.logger = new common_1.Logger('ConsoleCommand');
|
32
|
+
}
|
33
|
+
process() {
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
33
35
|
yield this.queueService.pause();
|
34
36
|
const services = platform_constants_1.default.services;
|
35
37
|
for (const key of Object.keys(services)) {
|
36
38
|
const entity = yield this.commonService.checkOrSetRecord(key);
|
37
|
-
|
39
|
+
this.logger.log('processed service : ', entity.name);
|
38
40
|
}
|
39
41
|
});
|
40
|
-
const cli = this.consoleService.getCli();
|
41
|
-
this.consoleService.createCommand({
|
42
|
-
command: 'sync:service',
|
43
|
-
description: 'sync up all the services defined in the system',
|
44
|
-
}, this.syncServices, cli);
|
45
42
|
}
|
46
43
|
};
|
44
|
+
__decorate([
|
45
|
+
(0, nestjs_command_1.Command)({
|
46
|
+
command: 'sync:service',
|
47
|
+
describe: 'sync up all the services defined in the system',
|
48
|
+
}),
|
49
|
+
__metadata("design:type", Function),
|
50
|
+
__metadata("design:paramtypes", []),
|
51
|
+
__metadata("design:returntype", Promise)
|
52
|
+
], ServiceScannerCommand.prototype, "process", null);
|
47
53
|
ServiceScannerCommand = __decorate([
|
48
54
|
(0, common_1.Injectable)(),
|
49
|
-
__metadata("design:paramtypes", [
|
50
|
-
queue_service_1.QueueService,
|
51
|
-
common_service_1.CommonService])
|
55
|
+
__metadata("design:paramtypes", [queue_service_1.QueueService, common_service_1.CommonService])
|
52
56
|
], ServiceScannerCommand);
|
53
57
|
exports.ServiceScannerCommand = ServiceScannerCommand;
|
54
58
|
//# sourceMappingURL=service.scanner.command.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"service.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/service.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"service.scanner.command.js","sourceRoot":"","sources":["../../../src/system/commands/service.scanner.command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAAoD;AACpD,mDAAyC;AACzC,wEAAgE;AAChE,gFAA4E;AAC5E,+DAA2D;AAQ3D,IAAa,qBAAqB,GAAlC,MAAa,qBAAqB;IAe9B,YAA6B,YAA0B,EAAmB,aAA4B;QAAzE,iBAAY,GAAZ,YAAY,CAAc;QAAmB,kBAAa,GAAb,aAAa,CAAe;QAR9F,WAAM,GAAW,IAAI,eAAM,CAAC,gBAAgB,CAAC,CAAC;IAQmD,CAAC;IAMpG,OAAO;;YACT,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;YAEhC,MAAM,QAAQ,GAAG,4BAAiB,CAAC,QAAQ,CAAC;YAE5C,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;gBACrC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,gBAAgB,CAAC,GAAG,CAAC,CAAC;gBAE9D,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,sBAAsB,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;aACxD;QACL,CAAC;KAAA;CACJ,CAAA;AAXG;IAJC,IAAA,wBAAO,EAAC;QACL,OAAO,EAAE,cAAc;QACvB,QAAQ,EAAE,gDAAgD;KAC7D,CAAC;;;;oDAWD;AA/BQ,qBAAqB;IADjC,IAAA,mBAAU,GAAE;qCAgBkC,4BAAY,EAAkC,8BAAa;GAf7F,qBAAqB,CAgCjC;AAhCY,sDAAqB"}
|
@@ -4,7 +4,6 @@ import { JobsScannerCommand } from './commands/jobs.scanner.command';
|
|
4
4
|
import { ModelScannerCommand } from './commands/model.scanner.command';
|
5
5
|
import { ReportScannerCommand } from './commands/report.scanner.command';
|
6
6
|
import { ServiceScannerCommand } from './commands/service.scanner.command';
|
7
|
-
import { VaccineCommand } from './commands/vaccine.command';
|
8
7
|
import { BaseController } from './controllers/base.controller';
|
9
8
|
import { DataController } from './controllers/data.controller';
|
10
9
|
import { FormController } from './controllers/form.controller';
|
@@ -110,7 +109,7 @@ import { UserGroupMemberSubscriber } from './subscribers/user.group.member.subsc
|
|
110
109
|
import { UserGroupPermissionSubscriber } from './subscribers/user.group.permission.subscriber';
|
111
110
|
import { UserGroupRoleSubscriber } from './subscribers/user.group.role.subscriber';
|
112
111
|
declare const es6Classes: {
|
113
|
-
commands: (typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof
|
112
|
+
commands: (typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof DbScannerCommand)[];
|
114
113
|
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof JobController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
|
115
114
|
dtos: (typeof JobRecordParamDto | typeof ModelFormPreferenceCreationDto | typeof LocalFileS3UploadDto | typeof UserPreferenceCreationDto | typeof ModelAllowedColumnDto)[];
|
116
115
|
entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientScriptEntity | typeof CommentEntity | typeof DocumentEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof MailLogEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof OpenPropertyEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ReportColumnEntity | typeof ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity)[];
|
@@ -6,7 +6,6 @@ const jobs_scanner_command_1 = require("./commands/jobs.scanner.command");
|
|
6
6
|
const model_scanner_command_1 = require("./commands/model.scanner.command");
|
7
7
|
const report_scanner_command_1 = require("./commands/report.scanner.command");
|
8
8
|
const service_scanner_command_1 = require("./commands/service.scanner.command");
|
9
|
-
const vaccine_command_1 = require("./commands/vaccine.command");
|
10
9
|
const base_controller_1 = require("./controllers/base.controller");
|
11
10
|
const data_controller_1 = require("./controllers/data.controller");
|
12
11
|
const form_controller_1 = require("./controllers/form.controller");
|
@@ -119,15 +118,7 @@ const user_group_member_subscriber_1 = require("./subscribers/user.group.member.
|
|
119
118
|
const user_group_permission_subscriber_1 = require("./subscribers/user.group.permission.subscriber");
|
120
119
|
const user_group_role_subscriber_1 = require("./subscribers/user.group.role.subscriber");
|
121
120
|
const es6Classes = {
|
122
|
-
commands: [
|
123
|
-
db_scanner_command_1.DbScannerCommand,
|
124
|
-
event_queue_command_1.EventQueueCommand,
|
125
|
-
jobs_scanner_command_1.JobsScannerCommand,
|
126
|
-
model_scanner_command_1.ModelScannerCommand,
|
127
|
-
report_scanner_command_1.ReportScannerCommand,
|
128
|
-
service_scanner_command_1.ServiceScannerCommand,
|
129
|
-
vaccine_command_1.VaccineCommand,
|
130
|
-
],
|
121
|
+
commands: [db_scanner_command_1.DbScannerCommand, event_queue_command_1.EventQueueCommand, jobs_scanner_command_1.JobsScannerCommand, model_scanner_command_1.ModelScannerCommand, report_scanner_command_1.ReportScannerCommand, service_scanner_command_1.ServiceScannerCommand],
|
131
122
|
controllers: [
|
132
123
|
base_controller_1.BaseController,
|
133
124
|
data_controller_1.DataController,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAA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uCAAiB;QACjB,gCAAc;QACd,wCAAkB;QAClB,yCAAkB;QAClB,4BAAY;QACZ,uCAAiB;QACjB,qDAAwB;QACxB,qCAAgB;QAChB,6CAAoB;QACpB,2CAAmB;QACnB,yCAAkB;QAClB,8BAAa;QACb,uCAAiB;QACjB,yCAAkB;QAClB,iCAAc;QACd,sDAAwB;QACxB,0CAAkB;QAClB,mCAAe;QACf,gDAAqB;QACrB,wDAAyB;QACzB,4CAAmB;QACnB,6CAAoB;KACvB;IACD,IAAI,EAAE;QACF,kDAAsB;QACtB,mCAAe;QACf,mCAAe;QACf,+CAAqB;QACrB,4CAAmB;QACnB,uCAAiB;QACjB,yCAAkB;QAClB,0CAAkB;QAClB,kDAAsB;QACtB,sCAAgB;KACnB;IACD,SAAS,EAAE,CAAC,4DAA2B,EAAE,0DAA0B,EAAE,8BAAa,EAAE,sBAAS,EAAE,+CAAqB,CAAC;IACrH,SAAS,EAAE,CAAC,qCAAgB,EAAE,yCAAkB,CAAC;IACjD,QAAQ,EAAE;QACN,2CAAmB;QACnB,2CAAmB;QACnB,8BAAa;QACb,gCAAc;QACd,8BAAa;QACb,kCAAe;QACf,iCAAc;QACd,wBAAU;QACV,yCAAkB;QAClB,uCAAiB;QACjB,0BAAW;QACX,0BAAW;QACX,0BAAW;QACX,4BAAY;QACZ,sCAAiB;QACjB,kCAAe;QACf,8BAAa;QACb,+CAAqB;QACrB,2CAAmB;QACnB,mCAAe;QACf,8BAAa;QACb,+CAAqB;KACxB;IACD,WAAW,EAAE;QACT,oCAAgB;QAChB,wCAAkB;QAClB,gDAAsB;QACtB,qDAAwB;QACxB,wDAAyB;QACzB,gEAA6B;QAC7B,oDAAuB;KAC1B;CACJ,CAAC;AAEF,kBAAe,UAAU,CAAC"}
|
@@ -9,7 +9,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.SystemModule = void 0;
|
10
10
|
const common_1 = require("@nestjs/common");
|
11
11
|
const typeorm_1 = require("@nestjs/typeorm");
|
12
|
-
const nestjs_console_1 = require("nestjs-console");
|
13
12
|
const auth_module_1 = require("../auth/auth.module");
|
14
13
|
const platform_utility_module_1 = require("../platformUtility/platform.utility.module");
|
15
14
|
const es6_classes_1 = require("./es6.classes");
|
@@ -17,7 +16,7 @@ let SystemModule = class SystemModule {
|
|
17
16
|
};
|
18
17
|
SystemModule = __decorate([
|
19
18
|
(0, common_1.Module)({
|
20
|
-
imports: [typeorm_1.TypeOrmModule.forFeature(es6_classes_1.default.entities), auth_module_1.AuthModule, platform_utility_module_1.PlatformUtilityModule
|
19
|
+
imports: [typeorm_1.TypeOrmModule.forFeature(es6_classes_1.default.entities), auth_module_1.AuthModule, platform_utility_module_1.PlatformUtilityModule],
|
21
20
|
controllers: es6_classes_1.default.controllers,
|
22
21
|
providers: [...es6_classes_1.default.services, ...es6_classes_1.default.commands, ...es6_classes_1.default.subscribers, ...es6_classes_1.default.jobs],
|
23
22
|
exports: [...es6_classes_1.default.services, ...es6_classes_1.default.jobs],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"system.module.js","sourceRoot":"","sources":["../../src/system/system.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAChD,
|
1
|
+
{"version":3,"file":"system.module.js","sourceRoot":"","sources":["../../src/system/system.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,6CAAgD;AAChD,qDAAiD;AACjD,wFAAmF;AACnF,+CAAuC;AAQvC,IAAa,YAAY,GAAzB,MAAa,YAAY;CAAG,CAAA;AAAf,YAAY;IANxB,IAAA,eAAM,EAAC;QACJ,OAAO,EAAE,CAAC,uBAAa,CAAC,UAAU,CAAC,qBAAU,CAAC,QAAQ,CAAC,EAAE,wBAAU,EAAE,+CAAqB,CAAC;QAC3F,WAAW,EAAE,qBAAU,CAAC,WAAW;QACnC,SAAS,EAAE,CAAC,GAAG,qBAAU,CAAC,QAAQ,EAAE,GAAG,qBAAU,CAAC,QAAQ,EAAE,GAAG,qBAAU,CAAC,WAAW,EAAE,GAAG,qBAAU,CAAC,IAAI,CAAC;QAC1G,OAAO,EAAE,CAAC,GAAG,qBAAU,CAAC,QAAQ,EAAE,GAAG,qBAAU,CAAC,IAAI,CAAC;KACxD,CAAC;GACW,YAAY,CAAG;AAAf,oCAAY"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@servicelabsco/nestjs-utility-services",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.151",
|
4
4
|
"description": "NestJS generic packages to support development",
|
5
5
|
"author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -28,8 +28,7 @@
|
|
28
28
|
"m:r": "npm run typeorm migration:run",
|
29
29
|
"m:c": "npm run typeorm migration:create -- -n",
|
30
30
|
"m:rev": "npm run typeorm migration:revert",
|
31
|
-
"console
|
32
|
-
"console": "node dist/console.js",
|
31
|
+
"console": "npx nestjs-command",
|
33
32
|
"sonar": "node sonar-project.js"
|
34
33
|
},
|
35
34
|
"keywords": [
|
@@ -64,12 +63,14 @@
|
|
64
63
|
"express-rate-limit": "^5.5.0",
|
65
64
|
"helmet": "^4.6.0",
|
66
65
|
"md5": "^2.3.0",
|
66
|
+
"nestjs-command": "^3.1.1",
|
67
67
|
"parse-bearer-token": "^1.0.1",
|
68
68
|
"passport-facebook": "^3.0.0",
|
69
69
|
"passport-google-oauth20": "^2.0.0",
|
70
70
|
"prompt-sync": "^4.2.0",
|
71
71
|
"randomstring": "^1.2.1",
|
72
|
-
"ua-parser-js": "^0.7.28"
|
72
|
+
"ua-parser-js": "^0.7.28",
|
73
|
+
"yargs": "^17.3.1"
|
73
74
|
},
|
74
75
|
"devDependencies": {
|
75
76
|
"@nestjs/bull": "^0.4.2",
|
@@ -97,7 +98,6 @@
|
|
97
98
|
"express-http-context": "^1.2.4",
|
98
99
|
"install-peers-cli": "^2.2.0",
|
99
100
|
"jest": "^27.3.1",
|
100
|
-
"nestjs-console": "^7.0.0",
|
101
101
|
"passport": "^0.5.0",
|
102
102
|
"pg": "^8.7.1",
|
103
103
|
"prettier": "^2.4.1",
|