@servicelabsco/nestjs-utility-services 1.1.53 → 1.1.55
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 +4 -6
- package/dist/app.controller.js +13 -10
- package/dist/app.controller.js.map +1 -1
- package/dist/app.module.js +3 -1
- package/dist/app.module.js.map +1 -1
- package/dist/auth/auth.module.js +1 -1
- package/dist/auth/auth.module.js.map +1 -1
- package/dist/auth/controllers/auth.controller.d.ts +6 -5
- package/dist/auth/controllers/auth.controller.js +0 -1
- package/dist/auth/controllers/auth.controller.js.map +1 -1
- package/dist/auth/controllers/social.controller.d.ts +6 -4
- package/dist/auth/controllers/social.controller.js.map +1 -1
- package/dist/auth/middlewares/internal.middleware.js +1 -0
- package/dist/auth/middlewares/internal.middleware.js.map +1 -1
- package/dist/common/es6.classes.d.ts +1 -1
- package/dist/common/libraries/common.entity.d.ts +1 -0
- package/dist/common/libraries/common.entity.js +4 -0
- package/dist/common/libraries/common.entity.js.map +1 -1
- package/dist/common/libraries/common.job.d.ts +1 -0
- package/dist/common/libraries/common.job.js +1 -0
- package/dist/common/libraries/common.job.js.map +1 -1
- package/dist/config/entity.constants.d.ts +4 -0
- package/dist/config/entity.constants.js +4 -0
- package/dist/config/entity.constants.js.map +1 -1
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.d.ts +5 -0
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.js +24 -0
- package/dist/migrations/1678730411972-CreatePendingBullJobTable.js.map +1 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.d.ts +5 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.js +27 -0
- package/dist/migrations/1678789489235-CreateFailedBullJobTable.js.map +1 -0
- package/dist/platformUtility/consumers/job.consumer.d.ts +1 -0
- package/dist/platformUtility/consumers/job.consumer.js +14 -0
- package/dist/platformUtility/consumers/job.consumer.js.map +1 -1
- package/dist/platformUtility/controllers/bull.job.controller.d.ts +15 -0
- package/dist/platformUtility/controllers/bull.job.controller.js +134 -0
- package/dist/platformUtility/controllers/bull.job.controller.js.map +1 -0
- package/dist/platformUtility/controllers/index.d.ts +1 -0
- package/dist/platformUtility/controllers/index.js +1 -0
- package/dist/platformUtility/controllers/index.js.map +1 -1
- package/dist/platformUtility/controllers/queue.controller.d.ts +0 -8
- package/dist/platformUtility/controllers/queue.controller.js +0 -97
- package/dist/platformUtility/controllers/queue.controller.js.map +1 -1
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.d.ts +3 -0
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.js +8 -0
- package/dist/platformUtility/dtos/failed.bull.job.attributes.dto.js.map +1 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.d.ts +3 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.js +8 -0
- package/dist/platformUtility/dtos/pending.bull.job.attributes.dto.js.map +1 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.d.ts +15 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.js +66 -0
- package/dist/platformUtility/entities/failed.bull.job.entity.js.map +1 -0
- package/dist/platformUtility/entities/index.d.ts +2 -0
- package/dist/platformUtility/entities/index.js +19 -0
- package/dist/platformUtility/entities/index.js.map +1 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.d.ts +12 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.js +54 -0
- package/dist/platformUtility/entities/pending.bull.job.entity.js.map +1 -0
- package/dist/platformUtility/es6.classes.d.ts +11 -5
- package/dist/platformUtility/es6.classes.js +12 -2
- package/dist/platformUtility/es6.classes.js.map +1 -1
- package/dist/platformUtility/index.d.ts +1 -0
- package/dist/platformUtility/index.js +1 -0
- package/dist/platformUtility/index.js.map +1 -1
- package/dist/platformUtility/jobs/failed.bull.job.job.d.ts +7 -0
- package/dist/platformUtility/jobs/failed.bull.job.job.js +29 -0
- package/dist/platformUtility/jobs/failed.bull.job.job.js.map +1 -0
- package/dist/platformUtility/jobs/index.d.ts +2 -0
- package/dist/platformUtility/jobs/index.js +2 -0
- package/dist/platformUtility/jobs/index.js.map +1 -1
- package/dist/platformUtility/jobs/load.failed.bull.job.d.ts +9 -0
- package/dist/platformUtility/jobs/load.failed.bull.job.js +54 -0
- package/dist/platformUtility/jobs/load.failed.bull.job.js.map +1 -0
- package/dist/platformUtility/jobs/pending.bull.job.job.d.ts +7 -0
- package/dist/platformUtility/jobs/pending.bull.job.job.js +29 -0
- package/dist/platformUtility/jobs/pending.bull.job.job.js.map +1 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.d.ts +7 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.js +39 -0
- package/dist/platformUtility/jobs/reload.pending.bull.job.js.map +1 -0
- package/dist/platformUtility/jobs/test.job.d.ts +0 -1
- package/dist/platformUtility/jobs/test.job.js +0 -4
- package/dist/platformUtility/jobs/test.job.js.map +1 -1
- package/dist/platformUtility/platform.utility.module.js +3 -2
- package/dist/platformUtility/platform.utility.module.js.map +1 -1
- package/dist/platformUtility/services/cache.service.js +0 -1
- package/dist/platformUtility/services/cache.service.js.map +1 -1
- package/dist/platformUtility/services/es6.jobs.service.d.ts +5 -1
- package/dist/platformUtility/services/es6.jobs.service.js +10 -2
- package/dist/platformUtility/services/es6.jobs.service.js.map +1 -1
- package/dist/platformUtility/services/queue.service.d.ts +7 -1
- package/dist/platformUtility/services/queue.service.js +31 -4
- package/dist/platformUtility/services/queue.service.js.map +1 -1
- package/dist/platformUtility/subscribers/base.subscriber.d.ts +1 -1
- package/dist/platformUtility/subscribers/base.subscriber.js +12 -4
- package/dist/platformUtility/subscribers/base.subscriber.js.map +1 -1
- package/dist/platformUtility/subscribers/failed.bull.job.subscriber.d.ts +12 -0
- package/dist/platformUtility/subscribers/failed.bull.job.subscriber.js +40 -0
- package/dist/platformUtility/subscribers/failed.bull.job.subscriber.js.map +1 -0
- package/dist/platformUtility/subscribers/pending.bull.job.subscriber.d.ts +12 -0
- package/dist/platformUtility/subscribers/pending.bull.job.subscriber.js +40 -0
- package/dist/platformUtility/subscribers/pending.bull.job.subscriber.js.map +1 -0
- package/dist/system/controllers/index.d.ts +0 -1
- package/dist/system/controllers/index.js +0 -1
- package/dist/system/controllers/index.js.map +1 -1
- package/dist/system/entities/property.entity.d.ts +1 -0
- package/dist/system/entities/property.entity.js +4 -0
- package/dist/system/entities/property.entity.js.map +1 -1
- package/dist/system/es6.classes.d.ts +4 -5
- package/dist/system/es6.classes.js +0 -2
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/jobs/property.job.d.ts +4 -4
- package/dist/system/jobs/property.job.js +5 -13
- package/dist/system/jobs/property.job.js.map +1 -1
- package/dist/system/services/property.service.d.ts +2 -1
- package/dist/system/services/property.service.js +10 -0
- package/dist/system/services/property.service.js.map +1 -1
- package/dist/system/system.module.js +1 -1
- package/dist/system/system.module.js.map +1 -1
- package/package.json +4 -5
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
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;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
var _a;
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
+
exports.FailedBullJobSubscriber = void 0;
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
15
|
+
const typeorm_1 = require("typeorm");
|
16
|
+
const failed_bull_job_entity_1 = require("../entities/failed.bull.job.entity");
|
17
|
+
const failed_bull_job_job_1 = require("../jobs/failed.bull.job.job");
|
18
|
+
let FailedBullJobSubscriber = class FailedBullJobSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
19
|
+
constructor(dataSource, failedBullJobJob) {
|
20
|
+
super();
|
21
|
+
this.dataSource = dataSource;
|
22
|
+
this.failedBullJobJob = failedBullJobJob;
|
23
|
+
dataSource.subscribers.push(this);
|
24
|
+
}
|
25
|
+
listenTo() {
|
26
|
+
return failed_bull_job_entity_1.FailedBullJobEntity;
|
27
|
+
}
|
28
|
+
async afterInsert(event) {
|
29
|
+
await this.failedBullJobJob.delayedDispatch(this.getEventData(event));
|
30
|
+
}
|
31
|
+
async afterUpdate(event) {
|
32
|
+
await this.failedBullJobJob.delayedDispatch(this.getEventData(event));
|
33
|
+
}
|
34
|
+
};
|
35
|
+
FailedBullJobSubscriber = __decorate([
|
36
|
+
(0, typeorm_1.EventSubscriber)(),
|
37
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, typeof (_a = typeof failed_bull_job_job_1.FailedBullJobJob !== "undefined" && failed_bull_job_job_1.FailedBullJobJob) === "function" ? _a : Object])
|
38
|
+
], FailedBullJobSubscriber);
|
39
|
+
exports.FailedBullJobSubscriber = FailedBullJobSubscriber;
|
40
|
+
//# sourceMappingURL=failed.bull.job.subscriber.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"failed.bull.job.subscriber.js","sourceRoot":"","sources":["../../../src/platformUtility/subscribers/failed.bull.job.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,+EAAyE;AACzE,qEAA+D;AAExD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,0CAAqC;IAC9E,YAA6B,UAAsB,EAAmB,gBAAkC;QACpG,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,qBAAgB,GAAhB,gBAAgB,CAAkB;QAEpG,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,4CAAmB,CAAC;IAC/B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAuC;QACrD,MAAM,IAAI,CAAC,gBAAgB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1E,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAuC;QACrD,MAAM,IAAI,CAAC,gBAAgB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC1E,CAAC;CACJ,CAAA;AAfY,uBAAuB;IADnC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,sBAAqC,sCAAgB,oBAAhB,sCAAgB;GAD/F,uBAAuB,CAenC;AAfY,0DAAuB"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { CommonSubscriber } from '@servicelabsco/nestjs-utility-services';
|
2
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
3
|
+
import { PendingBullJobEntity } from '../entities/pending.bull.job.entity';
|
4
|
+
import { PendingBullJobJob } from '../jobs/pending.bull.job.job';
|
5
|
+
export declare class PendingBullJobSubscriber extends CommonSubscriber<PendingBullJobEntity> {
|
6
|
+
private readonly dataSource;
|
7
|
+
private readonly pendingBullJobJob;
|
8
|
+
constructor(dataSource: DataSource, pendingBullJobJob: PendingBullJobJob);
|
9
|
+
listenTo(): typeof PendingBullJobEntity;
|
10
|
+
afterInsert(event: InsertEvent<PendingBullJobEntity>): Promise<void>;
|
11
|
+
afterUpdate(event: UpdateEvent<PendingBullJobEntity>): Promise<void>;
|
12
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
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;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
var _a;
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
+
exports.PendingBullJobSubscriber = void 0;
|
14
|
+
const nestjs_utility_services_1 = require("@servicelabsco/nestjs-utility-services");
|
15
|
+
const typeorm_1 = require("typeorm");
|
16
|
+
const pending_bull_job_entity_1 = require("../entities/pending.bull.job.entity");
|
17
|
+
const pending_bull_job_job_1 = require("../jobs/pending.bull.job.job");
|
18
|
+
let PendingBullJobSubscriber = class PendingBullJobSubscriber extends nestjs_utility_services_1.CommonSubscriber {
|
19
|
+
constructor(dataSource, pendingBullJobJob) {
|
20
|
+
super();
|
21
|
+
this.dataSource = dataSource;
|
22
|
+
this.pendingBullJobJob = pendingBullJobJob;
|
23
|
+
dataSource.subscribers.push(this);
|
24
|
+
}
|
25
|
+
listenTo() {
|
26
|
+
return pending_bull_job_entity_1.PendingBullJobEntity;
|
27
|
+
}
|
28
|
+
async afterInsert(event) {
|
29
|
+
await this.pendingBullJobJob.delayedDispatch(this.getEventData(event));
|
30
|
+
}
|
31
|
+
async afterUpdate(event) {
|
32
|
+
await this.pendingBullJobJob.delayedDispatch(this.getEventData(event));
|
33
|
+
}
|
34
|
+
};
|
35
|
+
PendingBullJobSubscriber = __decorate([
|
36
|
+
(0, typeorm_1.EventSubscriber)(),
|
37
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource, typeof (_a = typeof pending_bull_job_job_1.PendingBullJobJob !== "undefined" && pending_bull_job_job_1.PendingBullJobJob) === "function" ? _a : Object])
|
38
|
+
], PendingBullJobSubscriber);
|
39
|
+
exports.PendingBullJobSubscriber = PendingBullJobSubscriber;
|
40
|
+
//# sourceMappingURL=pending.bull.job.subscriber.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pending.bull.job.subscriber.js","sourceRoot":"","sources":["../../../src/platformUtility/subscribers/pending.bull.job.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,oFAA0E;AAC1E,qCAAgF;AAChF,iFAA2E;AAC3E,uEAAiE;AAE1D,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,0CAAsC;IAChF,YAA6B,UAAsB,EAAmB,iBAAoC;QACtG,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAAmB,sBAAiB,GAAjB,iBAAiB,CAAmB;QAEtG,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,8CAAoB,CAAC;IAChC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,KAAwC;QACtD,MAAM,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,KAAwC;QACtD,MAAM,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;IAC3E,CAAC;CACJ,CAAA;AAfY,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU,sBAAsC,wCAAiB,oBAAjB,wCAAiB;GADjG,wBAAwB,CAepC;AAfY,4DAAwB"}
|
@@ -17,7 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./base.controller"), exports);
|
18
18
|
__exportStar(require("./data.controller"), exports);
|
19
19
|
__exportStar(require("./form.controller"), exports);
|
20
|
-
__exportStar(require("./job.controller"), exports);
|
21
20
|
__exportStar(require("./menu.controller"), exports);
|
22
21
|
__exportStar(require("./preference.controller"), exports);
|
23
22
|
__exportStar(require("./report.controller"), exports);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AAClC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,sDAAoC;AACpC,sDAAoC;AACpC,+DAA6C"}
|
@@ -14,6 +14,10 @@ const class_validator_1 = require("class-validator");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
15
15
|
const common_entity_1 = require("../../common/libraries/common.entity");
|
16
16
|
let PropertyEntity = class PropertyEntity extends common_entity_1.CommonEntity {
|
17
|
+
constructor() {
|
18
|
+
super(...arguments);
|
19
|
+
this.enableRecordWatcher = false;
|
20
|
+
}
|
17
21
|
};
|
18
22
|
__decorate([
|
19
23
|
(0, class_validator_1.IsNotEmpty)(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"property.entity.js","sourceRoot":"","sources":["../../../src/system/entities/property.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,qCAAyC;AACzC,wEAAoE;AAS7D,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;
|
1
|
+
{"version":3,"file":"property.entity.js","sourceRoot":"","sources":["../../../src/system/entities/property.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,qCAAyC;AACzC,wEAAoE;AAS7D,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,4BAAY;IAAzC;;QACO,wBAAmB,GAAY,KAAK,CAAC;IASnD,CAAC;CAAA,CAAA;AAPG;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;4CAAc;AACrC;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;6CAAe;AACtC;IAAC,IAAA,gBAAM,GAAE;;0DAA6B;AACtC;IAAC,IAAA,gBAAM,GAAE;;oDAAuB;AAChC;IAAC,IAAA,4BAAU,GAAE;IAAE,IAAA,gBAAM,GAAE;;mDAAqB;AAPnC,cAAc;IAD1B,IAAA,gBAAM,EAAC,gBAAgB,CAAC;GACZ,cAAc,CAU1B;AAVY,wCAAc"}
|
@@ -9,7 +9,6 @@ import { SyncAllCommand } from './commands/sync.all.command';
|
|
9
9
|
import { BaseController } from './controllers/base.controller';
|
10
10
|
import { DataController } from './controllers/data.controller';
|
11
11
|
import { FormController } from './controllers/form.controller';
|
12
|
-
import { JobController } from './controllers/job.controller';
|
13
12
|
import { MenuController } from './controllers/menu.controller';
|
14
13
|
import { PreferenceController } from './controllers/preference.controller';
|
15
14
|
import { ReportController } from './controllers/report.controller';
|
@@ -124,10 +123,10 @@ import { UserGroupPermissionSubscriber } from './subscribers/user.group.permissi
|
|
124
123
|
import { UserGroupRoleSubscriber } from './subscribers/user.group.role.subscriber';
|
125
124
|
declare const es6Classes: {
|
126
125
|
commands: (typeof DbScannerCommand | typeof DynamoScannerCommand | typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SyncAllCommand)[];
|
127
|
-
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof
|
128
|
-
dtos: (typeof DocumentAttributesDto | typeof
|
129
|
-
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 DynamoTableEntity | typeof
|
130
|
-
jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ColumnMapperJob | typeof
|
126
|
+
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof MenuController | typeof PreferenceController | typeof UploadController | typeof UserPreferenceController | typeof ReportController)[];
|
127
|
+
dtos: (typeof DocumentAttributesDto | typeof ModelFormPreferenceCreationDto | typeof S3UploadOptionsDto | typeof LocalFileS3UploadDto | typeof S3ObjectInfoDto | typeof FileUploadSpecDto | typeof UserPreferenceCreationDto | typeof JobRecordParamDto | typeof ModelAllowedColumnDto)[];
|
128
|
+
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 DynamoTableEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof ReportColumnEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ServiceEntity | typeof SecurityRuleEntity | typeof MailLogEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof OpenPropertyEntity | typeof ReportFilterEntity | typeof ScheduledEventEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
|
129
|
+
jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ColumnMapperJob | typeof RefreshPropertyCacheJob | typeof PropertyJob | typeof RelationshipMapperJob | typeof ScheduledEventsJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
131
130
|
libraries: (typeof SyncDynamoTables | typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator)[];
|
132
131
|
modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
|
133
132
|
services: (typeof PropertyService | typeof EventQueueService | typeof EventDetailService | typeof SecurityRuleService | typeof UiActionService | typeof ModelService | typeof CommonService | typeof ClientScriptService | typeof PreferenceService | typeof BusinessRuleService | typeof ListService | typeof FormService | typeof MenuService | typeof UserPreferenceService | typeof ReportService | typeof AwsS3Service | typeof UploadService | typeof ScheduledEventService | typeof ColumnService | typeof CommentService | typeof DocumentService | typeof Es6JobsService | typeof Es6Service)[];
|
@@ -11,7 +11,6 @@ const sync_all_command_1 = require("./commands/sync.all.command");
|
|
11
11
|
const base_controller_1 = require("./controllers/base.controller");
|
12
12
|
const data_controller_1 = require("./controllers/data.controller");
|
13
13
|
const form_controller_1 = require("./controllers/form.controller");
|
14
|
-
const job_controller_1 = require("./controllers/job.controller");
|
15
14
|
const menu_controller_1 = require("./controllers/menu.controller");
|
16
15
|
const preference_controller_1 = require("./controllers/preference.controller");
|
17
16
|
const report_controller_1 = require("./controllers/report.controller");
|
@@ -147,7 +146,6 @@ const es6Classes = {
|
|
147
146
|
base_controller_1.BaseController,
|
148
147
|
data_controller_1.DataController,
|
149
148
|
form_controller_1.FormController,
|
150
|
-
job_controller_1.JobController,
|
151
149
|
menu_controller_1.MenuController,
|
152
150
|
preference_controller_1.PreferenceController,
|
153
151
|
report_controller_1.ReportController,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,8EAAyE;AACzE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,kEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,8EAAyE;AACzE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,kEAA6D;AAC7D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,+EAA2E;AAC3E,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,4EAAuE;AACvE,sEAAgE;AAChE,sEAAgE;AAChE,8EAAuE;AACvE,gGAAyF;AACzF,8EAAwE;AACxE,kGAA2F;AAC3F,kEAA4D;AAC5D,wEAAkE;AAClE,sFAAgF;AAChF,0EAAqE;AACrE,oFAA8E;AAC9E,0DAAsD;AACtD,0EAAqE;AACrE,kFAA6E;AAC7E,4DAAwD;AACxD,8DAA0D;AAC1D,gEAA4D;AAC5D,wEAAmE;AACnE,4EAAuE;AACvE,wEAAmE;AACnE,sEAAiE;AACjE,sEAAiE;AACjE,wDAAoD;AACpD,8EAAyE;AACzE,8EAAyE;AACzE,sEAAiE;AACjE,wEAAmE;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DAAqB;QACrB,wDAAyB;QACzB,4CAAmB;QACnB,6CAAoB;QACpB,iDAAsB;KACzB;IACD,IAAI,EAAE;QACF,kDAAsB;QACtB,mCAAe;QACf,mCAAe;QACf,0BAAW;QACX,oDAAuB;QACvB,+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,EAAE,qCAAgB,CAAC;IACvI,SAAS,EAAE,CAAC,qCAAgB,EAAE,yCAAkB,CAAC;IACjD,QAAQ,EAAE;QACN,6BAAY;QACZ,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"}
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import { CommonJob, DatabaseEventDto } from '../../common';
|
2
2
|
import { QueueService } from '../../platformUtility';
|
3
3
|
import { PropertyEntity } from '../entities';
|
4
|
-
import {
|
4
|
+
import { RefreshPropertyCacheJob } from './refresh.property.cache.job';
|
5
5
|
export declare class PropertyJob extends CommonJob {
|
6
6
|
protected readonly queueService: QueueService;
|
7
|
-
private readonly
|
8
|
-
constructor(queueService: QueueService,
|
9
|
-
handle(event: DatabaseEventDto<PropertyEntity>): Promise<
|
7
|
+
private readonly refreshPropertyCacheJob;
|
8
|
+
constructor(queueService: QueueService, refreshPropertyCacheJob: RefreshPropertyCacheJob);
|
9
|
+
handle(event: DatabaseEventDto<PropertyEntity>): Promise<void>;
|
10
10
|
}
|
@@ -13,28 +13,20 @@ exports.PropertyJob = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
14
14
|
const common_2 = require("../../common");
|
15
15
|
const platformUtility_1 = require("../../platformUtility");
|
16
|
-
const
|
17
|
-
const date_util_1 = require("../../common/libraries/date.util");
|
18
|
-
const custom_crypt_1 = require("../../common/libraries/custom.crypt");
|
16
|
+
const refresh_property_cache_job_1 = require("./refresh.property.cache.job");
|
19
17
|
let PropertyJob = class PropertyJob extends common_2.CommonJob {
|
20
|
-
constructor(queueService,
|
18
|
+
constructor(queueService, refreshPropertyCacheJob) {
|
21
19
|
super();
|
22
20
|
this.queueService = queueService;
|
23
|
-
this.
|
21
|
+
this.refreshPropertyCacheJob = refreshPropertyCacheJob;
|
24
22
|
}
|
25
23
|
async handle(event) {
|
26
|
-
|
27
|
-
if (!entity.is_caching_enabled)
|
28
|
-
return;
|
29
|
-
let value = entity.value;
|
30
|
-
if (entity.is_encrypted)
|
31
|
-
value = custom_crypt_1.CustomCrypt.decrypt(value);
|
32
|
-
return this.cacheService.set(`property.${entity.name}`, value, date_util_1.DateUtil.getFutureDateTime(15));
|
24
|
+
await this.refreshPropertyCacheJob.delayedDispatch(event.entity);
|
33
25
|
}
|
34
26
|
};
|
35
27
|
PropertyJob = __decorate([
|
36
28
|
(0, common_1.Injectable)(),
|
37
|
-
__metadata("design:paramtypes", [platformUtility_1.QueueService,
|
29
|
+
__metadata("design:paramtypes", [platformUtility_1.QueueService, refresh_property_cache_job_1.RefreshPropertyCacheJob])
|
38
30
|
], PropertyJob);
|
39
31
|
exports.PropertyJob = PropertyJob;
|
40
32
|
//# sourceMappingURL=property.job.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"property.job.js","sourceRoot":"","sources":["../../../src/system/jobs/property.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yCAA2D;AAC3D,2DAAqD;
|
1
|
+
{"version":3,"file":"property.job.js","sourceRoot":"","sources":["../../../src/system/jobs/property.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yCAA2D;AAC3D,2DAAqD;AAGrD,6EAAuE;AAShE,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,kBAAS;IAOtC,YAA+B,YAA0B,EAAmB,uBAAgD;QACxH,KAAK,EAAE,CAAC;QADmB,iBAAY,GAAZ,YAAY,CAAc;QAAmB,4BAAuB,GAAvB,uBAAuB,CAAyB;IAE5H,CAAC;IAQD,KAAK,CAAC,MAAM,CAAC,KAAuC;QAChD,MAAM,IAAI,CAAC,uBAAuB,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrE,CAAC;CACJ,CAAA;AApBY,WAAW;IADvB,IAAA,mBAAU,GAAE;qCAQoC,8BAAY,EAA4C,oDAAuB;GAPnH,WAAW,CAoBvB;AApBY,kCAAW"}
|
@@ -4,5 +4,6 @@ export declare class PropertyService {
|
|
4
4
|
private readonly cacheService;
|
5
5
|
constructor(cacheService: CacheService);
|
6
6
|
get(key: string, defaultValue?: any): Promise<string>;
|
7
|
-
|
7
|
+
getFromDb(key: string, defaultValue?: any): Promise<string>;
|
8
|
+
set(property: Partial<PropertyEntity>): Promise<PropertyEntity>;
|
8
9
|
}
|
@@ -37,6 +37,16 @@ let PropertyService = class PropertyService {
|
|
37
37
|
}
|
38
38
|
return pValue;
|
39
39
|
}
|
40
|
+
async getFromDb(key, defaultValue) {
|
41
|
+
defaultValue = defaultValue !== null && defaultValue !== void 0 ? defaultValue : null;
|
42
|
+
const property = await property_entity_1.PropertyEntity.findOne({ where: { name: key } });
|
43
|
+
if (!property)
|
44
|
+
return defaultValue;
|
45
|
+
let pValue = property.value;
|
46
|
+
if (property.is_encrypted)
|
47
|
+
pValue = custom_crypt_1.CustomCrypt.decrypt(pValue);
|
48
|
+
return pValue;
|
49
|
+
}
|
40
50
|
async set(property) {
|
41
51
|
const record = await property_entity_1.PropertyEntity.firstOrNew({
|
42
52
|
name: property.name,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"property.service.js","sourceRoot":"","sources":["../../../src/system/services/property.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,gFAA4E;AAC5E,gEAA4D;AAC5D,iEAA6D;AAC7D,sEAAkE;AAClE,yDAA0D;AAQnD,IAAM,eAAe,GAArB,MAAM,eAAe;IAMxB,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAAG,CAAC;IAS3D,KAAK,CAAC,GAAG,CAAC,GAAW,EAAE,YAAkB;QACrC,YAAY,GAAG,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,IAAI,CAAC;QAEpC,MAAM,KAAK,GAAG,YAAY,GAAG,EAAE,CAAC;QAChC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;QAEvD,IAAI,KAAK;YAAE,OAAO,KAAK,CAAC;QAExB,MAAM,QAAQ,GAAG,MAAM,gCAAc,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;QACxE,IAAI,CAAC,QAAQ;YAAE,OAAO,YAAY,CAAC;QAEnC,IAAI,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC5B,IAAI,QAAQ,CAAC,YAAY;YAAE,MAAM,GAAG,0BAAW,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAGhE,IAAI,QAAQ,CAAC,kBAAkB,EAAE;YAC7B,MAAM,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,oBAAQ,CAAC,iBA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D,KAAK,CAAC,SAAS,CAAC,GAAW,EAAE,YAAkB;QAC3C,YAAY,GAAG,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,IAAI,CAAC;QAEpC,MAAM,QAAQ,GAAG,MAAM,gCAAc,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;QACxE,IAAI,CAAC,QAAQ;YAAE,OAAO,YAAY,CAAC;QAEnC,IAAI,MAAM,GAAG,QAAQ,CAAC,KAAK,CAAC;QAC5B,IAAI,QAAQ,CAAC,YAAY;YAAE,MAAM,GAAG,0BAAW,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAGhE,OAAO,MAAM,CAAC;IAClB,CAAC;IAQD,KAAK,CAAC,GAAG,CAAC,QAAiC;QACvC,MAAM,MAAM,GAAG,MAAM,gCAAc,CAAC,UAAU,CAAC;YAC3C,IAAI,EAAE,QAAQ,CAAC,IAAI;SACtB,CAAC,CAAC;QAEH,MAAM,CAAC,GAAG,IAAA,yCAAqB,EAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC,CAAC;QAEhF,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;IACpB,CAAC;CACJ,CAAA;AAxEY,eAAe;IAD3B,IAAA,mBAAU,GAAE;qCAOkC,4BAAY;GAN9C,eAAe,CAwE3B;AAxEY,0CAAe"}
|
@@ -16,7 +16,7 @@ let SystemModule = class SystemModule {
|
|
16
16
|
};
|
17
17
|
SystemModule = __decorate([
|
18
18
|
(0, common_1.Module)({
|
19
|
-
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), (0, common_1.forwardRef)(() => auth_module_1.AuthModule), (0, common_1.forwardRef)(() => platform_utility_module_1.PlatformUtilityModule)],
|
20
20
|
controllers: es6_classes_1.default.controllers,
|
21
21
|
providers: [...es6_classes_1.default.services, ...es6_classes_1.default.commands, ...es6_classes_1.default.subscribers, ...es6_classes_1.default.jobs],
|
22
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,
|
1
|
+
{"version":3,"file":"system.module.js","sourceRoot":"","sources":["../../src/system/system.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAoD;AACpD,6CAAgD;AAChD,qDAAiD;AACjD,wFAAmF;AACnF,+CAAuC;AAQhC,IAAM,YAAY,GAAlB,MAAM,YAAY;CAAG,CAAA;AAAf,YAAY;IANxB,IAAA,eAAM,EAAC;QACJ,OAAO,EAAE,CAAC,uBAAa,CAAC,UAAU,CAAC,qBAAU,CAAC,QAAQ,CAAC,EAAE,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,wBAAU,CAAC,EAAE,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,+CAAqB,CAAC,CAAC;QAC/H,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.1.
|
3
|
+
"version": "1.1.55",
|
4
4
|
"description": "NestJS generic packages to support development",
|
5
5
|
"author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"@nestjs/bull": "^0.6.0",
|
54
54
|
"@nestjs/common": "^9.0.0",
|
55
55
|
"@nestjs/core": "^9.0.0",
|
56
|
-
"@nestjs/jwt": "^
|
56
|
+
"@nestjs/jwt": "^10.0.2",
|
57
57
|
"@nestjs/passport": "^9.0.0",
|
58
58
|
"@nestjs/platform-express": "^9.0.0",
|
59
59
|
"@nestjs/platform-socket.io": "^9.0.7",
|
@@ -61,14 +61,13 @@
|
|
61
61
|
"@nestjs/typeorm": "^9.0.0",
|
62
62
|
"@nestjs/websockets": "^9.0.7",
|
63
63
|
"@sentry/node": "^7.8.1",
|
64
|
-
"@types/ioredis": "^5.0.0",
|
65
64
|
"axios": "^0.27.2",
|
66
65
|
"bcryptjs": "^2.4.3",
|
67
66
|
"bull": "^4.8.5",
|
68
67
|
"cache-manager": "^4.1.0",
|
69
68
|
"cache-manager-redis-store": "^2.0.0",
|
70
69
|
"class-transformer": "^0.5.1",
|
71
|
-
"class-validator": "^0.
|
70
|
+
"class-validator": "^0.14.0",
|
72
71
|
"compression": "^1.7.4",
|
73
72
|
"config": "^3.3.7",
|
74
73
|
"cron-parser": "^4.5.0",
|
@@ -91,6 +90,7 @@
|
|
91
90
|
"rimraf": "^3.0.2",
|
92
91
|
"rxjs": "^7.5.5",
|
93
92
|
"socket.io": "^4.5.1",
|
93
|
+
"source-map-support": "^0.5.21",
|
94
94
|
"typeorm": "^0.3.7",
|
95
95
|
"typeorm-naming-strategies": "^4.1.0",
|
96
96
|
"ua-parser-js": "^1.0.2"
|
@@ -114,7 +114,6 @@
|
|
114
114
|
"jest": "^28.1.2",
|
115
115
|
"prettier": "^2.7.1",
|
116
116
|
"sonarqube-scanner": "^2.8.1",
|
117
|
-
"source-map-support": "^0.5.21",
|
118
117
|
"supertest": "^6.2.4",
|
119
118
|
"ts-jest": "^28.0.5",
|
120
119
|
"ts-loader": "^9.3.1",
|