@servicelabsco/nestjs-utility-services 3.0.4 → 3.0.6
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/CHANGELOG.md +50 -6
- package/README.md +164 -60
- package/dist/auth/es6.classes.d.ts +3 -6
- package/dist/auth/es6.classes.js +2 -6
- package/dist/auth/es6.classes.js.map +1 -1
- package/dist/auth/index.d.ts +0 -2
- package/dist/auth/index.js +0 -2
- package/dist/auth/index.js.map +1 -1
- package/dist/common/libraries/common.entity.js +4 -6
- package/dist/common/libraries/common.entity.js.map +1 -1
- package/dist/config/sentry.config.d.ts +1 -1
- package/dist/platformUtility/es6.classes.d.ts +1 -2
- package/dist/platformUtility/es6.classes.js +1 -10
- package/dist/platformUtility/es6.classes.js.map +1 -1
- package/dist/platformUtility/jobs/index.d.ts +0 -1
- package/dist/platformUtility/jobs/index.js +0 -1
- package/dist/platformUtility/jobs/index.js.map +1 -1
- package/dist/platformUtility/services/es6.jobs.service.d.ts +1 -3
- package/dist/platformUtility/services/es6.jobs.service.js +1 -5
- package/dist/platformUtility/services/es6.jobs.service.js.map +1 -1
- package/dist/platformUtility/subscribers/dispatcher.subscriber.d.ts +1 -4
- package/dist/platformUtility/subscribers/dispatcher.subscriber.js +43 -30
- package/dist/platformUtility/subscribers/dispatcher.subscriber.js.map +1 -1
- package/dist/system/es6.classes.d.ts +8 -11
- package/dist/system/es6.classes.js +14 -20
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/index.d.ts +1 -0
- package/dist/system/index.js +1 -0
- package/dist/system/index.js.map +1 -1
- package/dist/system/jobs/client.credential.job.d.ts +0 -2
- package/dist/system/jobs/client.credential.job.js +0 -4
- package/dist/system/jobs/client.credential.job.js.map +1 -1
- package/dist/system/jobs/code.fix.script.job.d.ts +0 -4
- package/dist/system/jobs/code.fix.script.job.js +0 -21
- package/dist/system/jobs/code.fix.script.job.js.map +1 -1
- package/dist/system/jobs/index.d.ts +0 -10
- package/dist/system/jobs/index.js +0 -10
- package/dist/system/jobs/index.js.map +1 -1
- package/dist/system/jobs/material.view.job.d.ts +0 -4
- package/dist/system/jobs/material.view.job.js +0 -21
- package/dist/system/jobs/material.view.job.js.map +1 -1
- package/dist/system/jobs/property.job.d.ts +0 -3
- package/dist/system/jobs/property.job.js +0 -9
- package/dist/system/jobs/property.job.js.map +1 -1
- package/dist/system/jobs/recurring.query.job.d.ts +0 -4
- package/dist/system/jobs/recurring.query.job.js +0 -21
- package/dist/system/jobs/recurring.query.job.js.map +1 -1
- package/dist/system/jobs/scheduled.event.job.d.ts +0 -4
- package/dist/system/jobs/scheduled.event.job.js +0 -21
- package/dist/system/jobs/scheduled.event.job.js.map +1 -1
- package/dist/system/services/es6.jobs.service.d.ts +1 -21
- package/dist/system/services/es6.jobs.service.js +1 -41
- package/dist/system/services/es6.jobs.service.js.map +1 -1
- package/dist/system/subscribers/client.credential.subscriber.d.ts +9 -0
- package/dist/system/subscribers/client.credential.subscriber.js +35 -0
- package/dist/system/subscribers/client.credential.subscriber.js.map +1 -0
- package/dist/system/subscribers/code.fix.script.subscriber.d.ts +11 -0
- package/dist/system/subscribers/code.fix.script.subscriber.js +53 -0
- package/dist/system/subscribers/code.fix.script.subscriber.js.map +1 -0
- package/dist/system/subscribers/index.d.ts +6 -0
- package/dist/{auth/jobs → system/subscribers}/index.js +6 -1
- package/dist/system/subscribers/index.js.map +1 -0
- package/dist/system/subscribers/material.view.subscriber.d.ts +11 -0
- package/dist/system/subscribers/material.view.subscriber.js +53 -0
- package/dist/system/subscribers/material.view.subscriber.js.map +1 -0
- package/dist/system/subscribers/property.subscriber.d.ts +10 -0
- package/dist/{auth/subscribers/session.identifier.subscriber.js → system/subscribers/property.subscriber.js} +17 -17
- package/dist/system/subscribers/property.subscriber.js.map +1 -0
- package/dist/system/subscribers/recurring.query.subscriber.d.ts +11 -0
- package/dist/system/subscribers/recurring.query.subscriber.js +53 -0
- package/dist/system/subscribers/recurring.query.subscriber.js.map +1 -0
- package/dist/system/subscribers/scheduled.event.subscriber.d.ts +11 -0
- package/dist/system/subscribers/scheduled.event.subscriber.js +53 -0
- package/dist/system/subscribers/scheduled.event.subscriber.js.map +1 -0
- package/dist/system/system.module.js +1 -1
- package/dist/system/system.module.js.map +1 -1
- package/docs/subscribe-for.md +201 -19
- package/package.json +1 -1
- package/dist/auth/jobs/index.d.ts +0 -1
- package/dist/auth/jobs/index.js.map +0 -1
- package/dist/auth/jobs/session.identifier.job.d.ts +0 -9
- package/dist/auth/jobs/session.identifier.job.js +0 -30
- package/dist/auth/jobs/session.identifier.job.js.map +0 -1
- package/dist/auth/services/es6.jobs.service.d.ts +0 -8
- package/dist/auth/services/es6.jobs.service.js +0 -37
- package/dist/auth/services/es6.jobs.service.js.map +0 -1
- package/dist/auth/subscribers/index.d.ts +0 -1
- package/dist/auth/subscribers/index.js +0 -18
- package/dist/auth/subscribers/index.js.map +0 -1
- package/dist/auth/subscribers/session.identifier.subscriber.d.ts +0 -12
- package/dist/auth/subscribers/session.identifier.subscriber.js.map +0 -1
- package/dist/platformUtility/jobs/remote.request.log.job.d.ts +0 -9
- package/dist/platformUtility/jobs/remote.request.log.job.js +0 -33
- package/dist/platformUtility/jobs/remote.request.log.job.js.map +0 -1
- package/dist/system/jobs/client.job.d.ts +0 -12
- package/dist/system/jobs/client.job.js +0 -46
- package/dist/system/jobs/client.job.js.map +0 -1
- package/dist/system/jobs/code.fix.log.job.d.ts +0 -9
- package/dist/system/jobs/code.fix.log.job.js +0 -33
- package/dist/system/jobs/code.fix.log.job.js.map +0 -1
- package/dist/system/jobs/data.log.job.d.ts +0 -9
- package/dist/system/jobs/data.log.job.js +0 -33
- package/dist/system/jobs/data.log.job.js.map +0 -1
- package/dist/system/jobs/executable.script.job.d.ts +0 -9
- package/dist/system/jobs/executable.script.job.js +0 -33
- package/dist/system/jobs/executable.script.job.js.map +0 -1
- package/dist/system/jobs/mail.event.job.d.ts +0 -9
- package/dist/system/jobs/mail.event.job.js +0 -33
- package/dist/system/jobs/mail.event.job.js.map +0 -1
- package/dist/system/jobs/mail.recipient.job.d.ts +0 -9
- package/dist/system/jobs/mail.recipient.job.js +0 -33
- package/dist/system/jobs/mail.recipient.job.js.map +0 -1
- package/dist/system/jobs/mail.validation.job.d.ts +0 -9
- package/dist/system/jobs/mail.validation.job.js +0 -31
- package/dist/system/jobs/mail.validation.job.js.map +0 -1
- package/dist/system/jobs/mobile.validation.job.d.ts +0 -9
- package/dist/system/jobs/mobile.validation.job.js +0 -31
- package/dist/system/jobs/mobile.validation.job.js.map +0 -1
- package/dist/system/jobs/report.sheet.job.d.ts +0 -9
- package/dist/system/jobs/report.sheet.job.js +0 -33
- package/dist/system/jobs/report.sheet.job.js.map +0 -1
- package/dist/system/jobs/sms.message.job.d.ts +0 -9
- package/dist/system/jobs/sms.message.job.js +0 -31
- package/dist/system/jobs/sms.message.job.js.map +0 -1
|
@@ -12,9 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.MaterialViewJob = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
14
|
const date_fns_1 = require("date-fns");
|
|
15
|
-
const form_exception_1 = require("../../common/exceptions/form.exception");
|
|
16
15
|
const common_job_1 = require("../../common/libraries/common.job");
|
|
17
|
-
const platform_utility_1 = require("../../common/libraries/platform.utility");
|
|
18
16
|
const subscriber_registry_1 = require("../../common/libraries/subscriber.registry");
|
|
19
17
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
|
20
18
|
const material_view_entity_1 = require("../entities/material.view.entity");
|
|
@@ -26,25 +24,6 @@ let MaterialViewJob = class MaterialViewJob extends common_job_1.CommonJob {
|
|
|
26
24
|
this.queueService = queueService;
|
|
27
25
|
this.refreshMaterialViewJob = refreshMaterialViewJob;
|
|
28
26
|
}
|
|
29
|
-
async beforeInsert(event) {
|
|
30
|
-
event.entity.attributes = {
|
|
31
|
-
...event.entity.attributes,
|
|
32
|
-
...{},
|
|
33
|
-
};
|
|
34
|
-
this.validateTiming(event.entity?.timing);
|
|
35
|
-
if (!event.entity.last_scheduled_time)
|
|
36
|
-
event.entity.last_scheduled_time = (0, date_fns_1.subMinutes)(new Date(), 15);
|
|
37
|
-
}
|
|
38
|
-
async beforeUpdate(event) {
|
|
39
|
-
this.validateTiming(event.entity?.timing);
|
|
40
|
-
if (!event.entity.last_scheduled_time)
|
|
41
|
-
event.entity.last_scheduled_time = (0, date_fns_1.subMinutes)(new Date(), 15);
|
|
42
|
-
}
|
|
43
|
-
validateTiming(timing) {
|
|
44
|
-
if (timing && !platform_utility_1.PlatformUtility.isValidCronExpression(timing)) {
|
|
45
|
-
throw new form_exception_1.FormException({ column: 'timing', err: `Invalid cron expression: ${timing}` });
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
27
|
async handle(evt) {
|
|
49
28
|
await this.setSchedule(evt);
|
|
50
29
|
return evt.entity;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"material.view.job.js","sourceRoot":"","sources":["../../../src/system/jobs/material.view.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,uCAAsC;AAEtC,
|
|
1
|
+
{"version":3,"file":"material.view.job.js","sourceRoot":"","sources":["../../../src/system/jobs/material.view.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,uCAAsC;AAEtC,kEAA8D;AAC9D,oFAA0E;AAC1E,gFAA4E;AAC5E,2EAAsE;AACtE,2EAAqE;AACrE,uDAAwD;AAIjD,IAAM,eAAe,GAArB,MAAM,eAAgB,SAAQ,sBAAS;IAC1C,YACuB,YAA0B,EACnC,sBAA8C;QAExD,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAHvB,iBAAY,GAAZ,YAAY,CAAc;QACnC,2BAAsB,GAAtB,sBAAsB,CAAwB;IAG5D,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,GAAyC;QAClD,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAC5B,OAAO,GAAG,CAAC,MAAM,CAAC;IACtB,CAAC;IAEO,KAAK,CAAC,WAAW,CAAC,GAAyC;QAC/D,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAC7C,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,eAAe,CAAC;YAAE,OAAO;QAExD,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAC5B,OAAO,IAAI,CAAC,sBAAsB,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC/D,CAAC;IAEO,KAAK,CAAC,WAAW,CAAC,GAAyC;QAC/D,MAAM,IAAI,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,EAAE,WAAW,EAAE,UAAU,CAAC,YAAY,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;QAEzH,MAAM,CAAC,GAAG,MAAM,yCAAkB,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACxD,CAAC,CAAC,mBAAmB,GAAG,IAAA,qBAAU,EAAC,IAAI,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;QAElD,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;IACpB,CAAC;CACJ,CAAA;AA7BY,0CAAe;0BAAf,eAAe;IAF3B,IAAA,mBAAU,GAAE;IACZ,IAAA,kCAAY,EAAC,yCAAkB,CAAC;qCAGQ,4BAAY;QACX,kDAAsB;GAHnD,eAAe,CA6B3B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InsertEvent, UpdateEvent } from 'typeorm';
|
|
2
1
|
import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
|
|
3
2
|
import { CommonJob } from '../../common/libraries/common.job';
|
|
4
3
|
import { QueueService } from '../../platformUtility/services/queue.service';
|
|
@@ -8,7 +7,5 @@ export declare class PropertyJob extends CommonJob {
|
|
|
8
7
|
protected readonly queueService: QueueService;
|
|
9
8
|
private readonly refreshPropertyCacheJob;
|
|
10
9
|
constructor(queueService: QueueService, refreshPropertyCacheJob: RefreshPropertyCacheJob);
|
|
11
|
-
beforeInsert(event: InsertEvent<PropertyEntity>): Promise<void>;
|
|
12
|
-
beforeUpdate(evt: UpdateEvent<PropertyEntity>): Promise<void>;
|
|
13
10
|
handle(event: DatabaseEventDto<PropertyEntity>): Promise<void>;
|
|
14
11
|
}
|
|
@@ -12,7 +12,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.PropertyJob = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
14
|
const common_job_1 = require("../../common/libraries/common.job");
|
|
15
|
-
const custom_crypt_1 = require("../../common/libraries/custom.crypt");
|
|
16
15
|
const subscriber_registry_1 = require("../../common/libraries/subscriber.registry");
|
|
17
16
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
|
18
17
|
const property_entity_1 = require("../entities/property.entity");
|
|
@@ -23,14 +22,6 @@ let PropertyJob = class PropertyJob extends common_job_1.CommonJob {
|
|
|
23
22
|
this.queueService = queueService;
|
|
24
23
|
this.refreshPropertyCacheJob = refreshPropertyCacheJob;
|
|
25
24
|
}
|
|
26
|
-
async beforeInsert(event) {
|
|
27
|
-
if (event.entity.is_encrypted)
|
|
28
|
-
event.entity.value = custom_crypt_1.CustomCrypt.encrypt(event.entity.value);
|
|
29
|
-
}
|
|
30
|
-
async beforeUpdate(evt) {
|
|
31
|
-
if (evt.entity.is_encrypted && evt.entity.value !== evt.databaseEntity.value)
|
|
32
|
-
evt.entity.value = custom_crypt_1.CustomCrypt.encrypt(evt.entity.value);
|
|
33
|
-
}
|
|
34
25
|
async handle(event) {
|
|
35
26
|
await this.refreshPropertyCacheJob.delayedDispatch(event.entity);
|
|
36
27
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"property.job.js","sourceRoot":"","sources":["../../../src/system/jobs/property.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;
|
|
1
|
+
{"version":3,"file":"property.job.js","sourceRoot":"","sources":["../../../src/system/jobs/property.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAE5C,kEAA8D;AAC9D,oFAA0E;AAC1E,gFAA4E;AAC5E,iEAA6D;AAC7D,6EAAuE;AAUhE,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,sBAAS;IAMtC,YACuB,YAA0B,EAC5B,uBAAgD;QAEjE,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAHvB,iBAAY,GAAZ,YAAY,CAAc;QAC5B,4BAAuB,GAAvB,uBAAuB,CAAyB;IAGrE,CAAC;IAQD,KAAK,CAAC,MAAM,CAAC,KAAuC;QAChD,MAAM,IAAI,CAAC,uBAAuB,CAAC,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrE,CAAC;CACJ,CAAA;AAtBY,kCAAW;sBAAX,WAAW;IAFvB,IAAA,mBAAU,GAAE;IACZ,IAAA,kCAAY,EAAC,gCAAc,CAAC;qCAQY,4BAAY;QACH,oDAAuB;GAR5D,WAAW,CAsBvB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InsertEvent, UpdateEvent } from 'typeorm';
|
|
2
1
|
import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
|
|
3
2
|
import { CommonJob } from '../../common/libraries/common.job';
|
|
4
3
|
import { QueueService } from '../../platformUtility/services/queue.service';
|
|
@@ -10,9 +9,6 @@ export declare class RecurringQueryJob extends CommonJob {
|
|
|
10
9
|
private readonly scheduledEventService;
|
|
11
10
|
protected readonly setRecurringQueryEventJob: SetRecurringQueryEventJob;
|
|
12
11
|
constructor(queueService: QueueService, scheduledEventService: ScheduledEventService, setRecurringQueryEventJob: SetRecurringQueryEventJob);
|
|
13
|
-
beforeInsert(event: InsertEvent<RecurringQueryEntity>): Promise<void>;
|
|
14
|
-
beforeUpdate(event: UpdateEvent<RecurringQueryEntity>): Promise<void>;
|
|
15
|
-
private validateTiming;
|
|
16
12
|
handle(evt: DatabaseEventDto<RecurringQueryEntity>): Promise<void>;
|
|
17
13
|
private setSchedule;
|
|
18
14
|
private cleanRecord;
|
|
@@ -12,9 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.RecurringQueryJob = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
14
|
const date_fns_1 = require("date-fns");
|
|
15
|
-
const form_exception_1 = require("../../common/exceptions/form.exception");
|
|
16
15
|
const common_job_1 = require("../../common/libraries/common.job");
|
|
17
|
-
const platform_utility_1 = require("../../common/libraries/platform.utility");
|
|
18
16
|
const subscriber_registry_1 = require("../../common/libraries/subscriber.registry");
|
|
19
17
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
|
20
18
|
const recurring_query_entity_1 = require("../entities/recurring.query.entity");
|
|
@@ -28,25 +26,6 @@ let RecurringQueryJob = class RecurringQueryJob extends common_job_1.CommonJob {
|
|
|
28
26
|
this.scheduledEventService = scheduledEventService;
|
|
29
27
|
this.setRecurringQueryEventJob = setRecurringQueryEventJob;
|
|
30
28
|
}
|
|
31
|
-
async beforeInsert(event) {
|
|
32
|
-
event.entity.attributes = {
|
|
33
|
-
...event.entity.attributes,
|
|
34
|
-
...{},
|
|
35
|
-
};
|
|
36
|
-
this.validateTiming(event.entity?.timing);
|
|
37
|
-
if (!event.entity.last_scheduled_time)
|
|
38
|
-
event.entity.last_scheduled_time = (0, date_fns_1.subMinutes)(new Date(), 15);
|
|
39
|
-
}
|
|
40
|
-
async beforeUpdate(event) {
|
|
41
|
-
this.validateTiming(event.entity?.timing);
|
|
42
|
-
if (!event.entity.last_scheduled_time)
|
|
43
|
-
event.entity.last_scheduled_time = (0, date_fns_1.subMinutes)(new Date(), 15);
|
|
44
|
-
}
|
|
45
|
-
validateTiming(timing) {
|
|
46
|
-
if (timing && !platform_utility_1.PlatformUtility.isValidCronExpression(timing)) {
|
|
47
|
-
throw new form_exception_1.FormException({ column: 'timing', err: `Invalid cron expression: ${timing}` });
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
29
|
async handle(evt) {
|
|
51
30
|
await this.setSchedule(evt);
|
|
52
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recurring.query.job.js","sourceRoot":"","sources":["../../../src/system/jobs/recurring.query.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,uCAAsC;AAEtC,
|
|
1
|
+
{"version":3,"file":"recurring.query.job.js","sourceRoot":"","sources":["../../../src/system/jobs/recurring.query.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,uCAAsC;AAEtC,kEAA8D;AAC9D,oFAA0E;AAC1E,gFAA4E;AAC5E,+EAA0E;AAC1E,iFAA4E;AAC5E,mFAA4E;AAC5E,uDAAwD;AAIjD,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,sBAAS;IAC5C,YACuB,YAA0B,EAC5B,qBAA4C,EAC1C,yBAAoD;QAEvE,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAJvB,iBAAY,GAAZ,YAAY,CAAc;QAC5B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC1C,8BAAyB,GAAzB,yBAAyB,CAA2B;IAG3E,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,GAA2C;QACpD,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;IAChC,CAAC;IAEO,KAAK,CAAC,WAAW,CAAC,GAA2C;QACjE,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAC7C,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,eAAe,CAAC;YAAE,OAAO;QAExD,MAAM,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;QAC5B,OAAO,IAAI,CAAC,yBAAyB,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAClE,CAAC;IAEO,KAAK,CAAC,WAAW,CAAC,GAA2C;QACjE,MAAM,IAAI,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,EAAE,WAAW,EAAE,UAAU,CAAC,cAAc,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC;QAE1H,MAAM,CAAC,GAAG,MAAM,6CAAoB,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QAC1D,CAAC,CAAC,mBAAmB,GAAG,IAAA,qBAAU,EAAC,IAAI,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;QAElD,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC;IACpB,CAAC;CACJ,CAAA;AA7BY,8CAAiB;4BAAjB,iBAAiB;IAF7B,IAAA,mBAAU,GAAE;IACZ,IAAA,kCAAY,EAAC,6CAAoB,CAAC;qCAGM,4BAAY;QACL,+CAAqB;QACf,yDAAyB;GAJlE,iBAAiB,CA6B7B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { InsertEvent, UpdateEvent } from 'typeorm';
|
|
2
1
|
import { DatabaseEventDto } from '../../common/dtos/database.event.dto';
|
|
3
2
|
import { CommonJob } from '../../common/libraries/common.job';
|
|
4
3
|
import { QueueService } from '../../platformUtility/services/queue.service';
|
|
@@ -10,9 +9,6 @@ export declare class ScheduledEventJob extends CommonJob {
|
|
|
10
9
|
private readonly scheduledEventService;
|
|
11
10
|
private readonly setScheduledEventJob;
|
|
12
11
|
constructor(queueService: QueueService, scheduledEventService: ScheduledEventService, setScheduledEventJob: SetScheduledEventJob);
|
|
13
|
-
beforeInsert(event: InsertEvent<ScheduledEventEntity>): Promise<void>;
|
|
14
|
-
beforeUpdate(event: UpdateEvent<ScheduledEventEntity>): Promise<void>;
|
|
15
|
-
private validateTiming;
|
|
16
12
|
handle(event: DatabaseEventDto<ScheduledEventEntity>): Promise<void>;
|
|
17
13
|
private setSchedule;
|
|
18
14
|
private cleanRecord;
|
|
@@ -12,9 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.ScheduledEventJob = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
14
|
const typeorm_1 = require("typeorm");
|
|
15
|
-
const form_exception_1 = require("../../common/exceptions/form.exception");
|
|
16
15
|
const common_job_1 = require("../../common/libraries/common.job");
|
|
17
|
-
const platform_utility_1 = require("../../common/libraries/platform.utility");
|
|
18
16
|
const subscriber_registry_1 = require("../../common/libraries/subscriber.registry");
|
|
19
17
|
const queue_service_1 = require("../../platformUtility/services/queue.service");
|
|
20
18
|
const event_queue_entity_1 = require("../entities/event.queue.entity");
|
|
@@ -30,25 +28,6 @@ let ScheduledEventJob = class ScheduledEventJob extends common_job_1.CommonJob {
|
|
|
30
28
|
this.scheduledEventService = scheduledEventService;
|
|
31
29
|
this.setScheduledEventJob = setScheduledEventJob;
|
|
32
30
|
}
|
|
33
|
-
async beforeInsert(event) {
|
|
34
|
-
event.entity.attributes = {
|
|
35
|
-
...event.entity.attributes,
|
|
36
|
-
...{},
|
|
37
|
-
};
|
|
38
|
-
this.validateTiming(event.entity?.timing);
|
|
39
|
-
if (!event.entity?.last_scheduled_time)
|
|
40
|
-
event.entity.last_scheduled_time = (0, date_fns_1.subMinutes)(new Date(), 15);
|
|
41
|
-
}
|
|
42
|
-
async beforeUpdate(event) {
|
|
43
|
-
this.validateTiming(event.entity?.timing);
|
|
44
|
-
if (!event.entity?.last_scheduled_time)
|
|
45
|
-
event.entity.last_scheduled_time = (0, date_fns_1.subMinutes)(new Date(), 15);
|
|
46
|
-
}
|
|
47
|
-
validateTiming(timing) {
|
|
48
|
-
if (timing && !platform_utility_1.PlatformUtility.isValidCronExpression(timing)) {
|
|
49
|
-
throw new form_exception_1.FormException({ column: 'timing', err: `Invalid cron expression: ${timing}` });
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
31
|
async handle(event) {
|
|
53
32
|
await this.setSchedule(event);
|
|
54
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled.event.job.js","sourceRoot":"","sources":["../../../src/system/jobs/scheduled.event.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"scheduled.event.job.js","sourceRoot":"","sources":["../../../src/system/jobs/scheduled.event.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,qCAAiC;AAEjC,kEAA8D;AAC9D,oFAA0E;AAC1E,gFAA4E;AAC5E,uEAAkE;AAClE,+EAA0E;AAC1E,iFAA4E;AAC5E,uEAAiE;AACjE,uDAAwD;AACxD,uCAAsC;AAI/B,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,sBAAS;IAC5C,YACuB,YAA0B,EAC5B,qBAA4C,EAC5C,oBAA0C;QAE3D,KAAK,CAAC,kCAAkC,CAAC,CAAC;QAJvB,iBAAY,GAAZ,YAAY,CAAc;QAC5B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,yBAAoB,GAApB,oBAAoB,CAAsB;IAG/D,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,KAA6C;QACtD,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAEO,KAAK,CAAC,WAAW,CAAC,KAA6C;QACnE,MAAM,eAAe,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;QAC3G,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,eAAe,CAAC;YAAE,OAAO;QAE1D,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC9B,OAAO,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC/D,CAAC;IAEO,KAAK,CAAC,WAAW,CAAC,KAA6C;QAMnE,MAAM,UAAU,GAAG,6CAAoB,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;QAC3E,MAAM,UAAU,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE;YAC3C,MAAM,OAAO,CAAC,UAAU,CAAC,qCAAgB,EAAE;gBACvC,WAAW,EAAE,UAAU,CAAC,cAAc;gBACtC,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE;gBAC1B,UAAU,EAAE,IAAA,gBAAM,GAAE;aACvB,CAAC,CAAC;YACH,MAAM,OAAO,CAAC,MAAM,CAAC,6CAAoB,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,EAAE;gBACxD,mBAAmB,EAAE,IAAA,qBAAU,EAAC,IAAI,IAAI,EAAE,EAAE,CAAC,CAAC;aACjD,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AAvCY,8CAAiB;4BAAjB,iBAAiB;IAF7B,IAAA,mBAAU,GAAE;IACZ,IAAA,kCAAY,EAAC,6CAAoB,CAAC;qCAGM,4BAAY;QACL,+CAAqB;QACtB,8CAAoB;GAJtD,iBAAiB,CAuC7B"}
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
import { ClientCredentialJob } from '../jobs/client.credential.job';
|
|
2
|
-
import { ClientJob } from '../jobs/client.job';
|
|
3
|
-
import { CodeFixLogJob } from '../jobs/code.fix.log.job';
|
|
4
2
|
import { CodeFixScriptJob } from '../jobs/code.fix.script.job';
|
|
5
3
|
import { ColumnMapperJob } from '../jobs/column.mapper.job';
|
|
6
4
|
import { CommentJob } from '../jobs/comment.job';
|
|
7
5
|
import { CredentialIpJob } from '../jobs/credential.ip.job';
|
|
8
|
-
import { DataLogJob } from '../jobs/data.log.job';
|
|
9
6
|
import { DocumentJob } from '../jobs/document.job';
|
|
10
|
-
import { ExecutableScriptJob } from '../jobs/executable.script.job';
|
|
11
7
|
import { ExecuteCodeFixJob } from '../jobs/execute.code.fix.job';
|
|
12
8
|
import { ExecuteMaterialViewJob } from '../jobs/execute.material.view.job';
|
|
13
9
|
import { ExecuteRecurringQueryJob } from '../jobs/execute.recurring.query.job';
|
|
14
|
-
import { MailEventJob } from '../jobs/mail.event.job';
|
|
15
|
-
import { MailRecipientJob } from '../jobs/mail.recipient.job';
|
|
16
|
-
import { MailValidationJob } from '../jobs/mail.validation.job';
|
|
17
10
|
import { MaterialViewJob } from '../jobs/material.view.job';
|
|
18
|
-
import { MobileValidationJob } from '../jobs/mobile.validation.job';
|
|
19
11
|
import { ModelScannerJob } from '../jobs/model.scanner.job';
|
|
20
12
|
import { OrphanSweeperJob } from '../jobs/orphan.sweeper.job';
|
|
21
13
|
import { PropertyJob } from '../jobs/property.job';
|
|
@@ -24,13 +16,11 @@ import { RefreshMaterialViewJob } from '../jobs/refresh.material.view.job';
|
|
|
24
16
|
import { RefreshPropertyCacheJob } from '../jobs/refresh.property.cache.job';
|
|
25
17
|
import { RelationshipMapperJob } from '../jobs/relationship.mapper.job';
|
|
26
18
|
import { ReportColumnSyncJob } from '../jobs/report.column.sync.job';
|
|
27
|
-
import { ReportSheetJob } from '../jobs/report.sheet.job';
|
|
28
19
|
import { ScheduledEventJob } from '../jobs/scheduled.event.job';
|
|
29
20
|
import { SetCodefixScriptEventJob } from '../jobs/set.codefix.script.event.job';
|
|
30
21
|
import { SetEventQueueJob } from '../jobs/set.event.queue.job';
|
|
31
22
|
import { SetRecurringQueryEventJob } from '../jobs/set.recurring.query.event.job';
|
|
32
23
|
import { SetScheduledEventJob } from '../jobs/set.scheduled.event.job';
|
|
33
|
-
import { SmsMessageJob } from '../jobs/sms.message.job';
|
|
34
24
|
import { SqsPollingJob } from '../jobs/sqs.polling.job';
|
|
35
25
|
import { SyncAllCodeJob } from '../jobs/sync.all.code.job';
|
|
36
26
|
import { UserGroupMemberJob } from '../jobs/user.group.member.job';
|
|
@@ -38,23 +28,15 @@ import { UserGroupPermissionJob } from '../jobs/user.group.permission.job';
|
|
|
38
28
|
import { UserGroupRoleJob } from '../jobs/user.group.role.job';
|
|
39
29
|
export declare class Es6JobsService {
|
|
40
30
|
private readonly clientCredentialJob;
|
|
41
|
-
private readonly clientJob;
|
|
42
|
-
private readonly codeFixLogJob;
|
|
43
31
|
private readonly codeFixScriptJob;
|
|
44
32
|
private readonly columnMapperJob;
|
|
45
33
|
private readonly commentJob;
|
|
46
34
|
private readonly credentialIpJob;
|
|
47
|
-
private readonly dataLogJob;
|
|
48
35
|
private readonly documentJob;
|
|
49
|
-
private readonly executableScriptJob;
|
|
50
36
|
private readonly executeCodeFixJob;
|
|
51
37
|
private readonly executeMaterialViewJob;
|
|
52
38
|
private readonly executeRecurringQueryJob;
|
|
53
|
-
private readonly mailEventJob;
|
|
54
|
-
private readonly mailRecipientJob;
|
|
55
|
-
private readonly mailValidationJob;
|
|
56
39
|
private readonly materialViewJob;
|
|
57
|
-
private readonly mobileValidationJob;
|
|
58
40
|
private readonly modelScannerJob;
|
|
59
41
|
private readonly orphanSweeperJob;
|
|
60
42
|
private readonly propertyJob;
|
|
@@ -63,20 +45,18 @@ export declare class Es6JobsService {
|
|
|
63
45
|
private readonly refreshPropertyCacheJob;
|
|
64
46
|
private readonly relationshipMapperJob;
|
|
65
47
|
private readonly reportColumnSyncJob;
|
|
66
|
-
private readonly reportSheetJob;
|
|
67
48
|
private readonly scheduledEventJob;
|
|
68
49
|
private readonly setCodefixScriptEventJob;
|
|
69
50
|
private readonly setEventQueueJob;
|
|
70
51
|
private readonly setRecurringQueryEventJob;
|
|
71
52
|
private readonly setScheduledEventJob;
|
|
72
|
-
private readonly smsMessageJob;
|
|
73
53
|
private readonly sqsPollingJob;
|
|
74
54
|
private readonly syncAllCodeJob;
|
|
75
55
|
private readonly userGroupMemberJob;
|
|
76
56
|
private readonly userGroupPermissionJob;
|
|
77
57
|
private readonly userGroupRoleJob;
|
|
78
58
|
private jobs;
|
|
79
|
-
constructor(clientCredentialJob: ClientCredentialJob,
|
|
59
|
+
constructor(clientCredentialJob: ClientCredentialJob, codeFixScriptJob: CodeFixScriptJob, columnMapperJob: ColumnMapperJob, commentJob: CommentJob, credentialIpJob: CredentialIpJob, documentJob: DocumentJob, executeCodeFixJob: ExecuteCodeFixJob, executeMaterialViewJob: ExecuteMaterialViewJob, executeRecurringQueryJob: ExecuteRecurringQueryJob, materialViewJob: MaterialViewJob, modelScannerJob: ModelScannerJob, orphanSweeperJob: OrphanSweeperJob, propertyJob: PropertyJob, recurringQueryJob: RecurringQueryJob, refreshMaterialViewJob: RefreshMaterialViewJob, refreshPropertyCacheJob: RefreshPropertyCacheJob, relationshipMapperJob: RelationshipMapperJob, reportColumnSyncJob: ReportColumnSyncJob, scheduledEventJob: ScheduledEventJob, setCodefixScriptEventJob: SetCodefixScriptEventJob, setEventQueueJob: SetEventQueueJob, setRecurringQueryEventJob: SetRecurringQueryEventJob, setScheduledEventJob: SetScheduledEventJob, sqsPollingJob: SqsPollingJob, syncAllCodeJob: SyncAllCodeJob, userGroupMemberJob: UserGroupMemberJob, userGroupPermissionJob: UserGroupPermissionJob, userGroupRoleJob: UserGroupRoleJob);
|
|
80
60
|
alignJobs(): void;
|
|
81
61
|
setJobs(): void;
|
|
82
62
|
}
|
|
@@ -12,23 +12,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Es6JobsService = void 0;
|
|
13
13
|
const common_1 = require("@nestjs/common");
|
|
14
14
|
const client_credential_job_1 = require("../jobs/client.credential.job");
|
|
15
|
-
const client_job_1 = require("../jobs/client.job");
|
|
16
|
-
const code_fix_log_job_1 = require("../jobs/code.fix.log.job");
|
|
17
15
|
const code_fix_script_job_1 = require("../jobs/code.fix.script.job");
|
|
18
16
|
const column_mapper_job_1 = require("../jobs/column.mapper.job");
|
|
19
17
|
const comment_job_1 = require("../jobs/comment.job");
|
|
20
18
|
const credential_ip_job_1 = require("../jobs/credential.ip.job");
|
|
21
|
-
const data_log_job_1 = require("../jobs/data.log.job");
|
|
22
19
|
const document_job_1 = require("../jobs/document.job");
|
|
23
|
-
const executable_script_job_1 = require("../jobs/executable.script.job");
|
|
24
20
|
const execute_code_fix_job_1 = require("../jobs/execute.code.fix.job");
|
|
25
21
|
const execute_material_view_job_1 = require("../jobs/execute.material.view.job");
|
|
26
22
|
const execute_recurring_query_job_1 = require("../jobs/execute.recurring.query.job");
|
|
27
|
-
const mail_event_job_1 = require("../jobs/mail.event.job");
|
|
28
|
-
const mail_recipient_job_1 = require("../jobs/mail.recipient.job");
|
|
29
|
-
const mail_validation_job_1 = require("../jobs/mail.validation.job");
|
|
30
23
|
const material_view_job_1 = require("../jobs/material.view.job");
|
|
31
|
-
const mobile_validation_job_1 = require("../jobs/mobile.validation.job");
|
|
32
24
|
const model_scanner_job_1 = require("../jobs/model.scanner.job");
|
|
33
25
|
const orphan_sweeper_job_1 = require("../jobs/orphan.sweeper.job");
|
|
34
26
|
const property_job_1 = require("../jobs/property.job");
|
|
@@ -37,13 +29,11 @@ const refresh_material_view_job_1 = require("../jobs/refresh.material.view.job")
|
|
|
37
29
|
const refresh_property_cache_job_1 = require("../jobs/refresh.property.cache.job");
|
|
38
30
|
const relationship_mapper_job_1 = require("../jobs/relationship.mapper.job");
|
|
39
31
|
const report_column_sync_job_1 = require("../jobs/report.column.sync.job");
|
|
40
|
-
const report_sheet_job_1 = require("../jobs/report.sheet.job");
|
|
41
32
|
const scheduled_event_job_1 = require("../jobs/scheduled.event.job");
|
|
42
33
|
const set_codefix_script_event_job_1 = require("../jobs/set.codefix.script.event.job");
|
|
43
34
|
const set_event_queue_job_1 = require("../jobs/set.event.queue.job");
|
|
44
35
|
const set_recurring_query_event_job_1 = require("../jobs/set.recurring.query.event.job");
|
|
45
36
|
const set_scheduled_event_job_1 = require("../jobs/set.scheduled.event.job");
|
|
46
|
-
const sms_message_job_1 = require("../jobs/sms.message.job");
|
|
47
37
|
const sqs_polling_job_1 = require("../jobs/sqs.polling.job");
|
|
48
38
|
const sync_all_code_job_1 = require("../jobs/sync.all.code.job");
|
|
49
39
|
const user_group_member_job_1 = require("../jobs/user.group.member.job");
|
|
@@ -51,25 +41,17 @@ const user_group_permission_job_1 = require("../jobs/user.group.permission.job")
|
|
|
51
41
|
const user_group_role_job_1 = require("../jobs/user.group.role.job");
|
|
52
42
|
const platform_utility_1 = require("../../common/libraries/platform.utility");
|
|
53
43
|
let Es6JobsService = class Es6JobsService {
|
|
54
|
-
constructor(clientCredentialJob,
|
|
44
|
+
constructor(clientCredentialJob, codeFixScriptJob, columnMapperJob, commentJob, credentialIpJob, documentJob, executeCodeFixJob, executeMaterialViewJob, executeRecurringQueryJob, materialViewJob, modelScannerJob, orphanSweeperJob, propertyJob, recurringQueryJob, refreshMaterialViewJob, refreshPropertyCacheJob, relationshipMapperJob, reportColumnSyncJob, scheduledEventJob, setCodefixScriptEventJob, setEventQueueJob, setRecurringQueryEventJob, setScheduledEventJob, sqsPollingJob, syncAllCodeJob, userGroupMemberJob, userGroupPermissionJob, userGroupRoleJob) {
|
|
55
45
|
this.clientCredentialJob = clientCredentialJob;
|
|
56
|
-
this.clientJob = clientJob;
|
|
57
|
-
this.codeFixLogJob = codeFixLogJob;
|
|
58
46
|
this.codeFixScriptJob = codeFixScriptJob;
|
|
59
47
|
this.columnMapperJob = columnMapperJob;
|
|
60
48
|
this.commentJob = commentJob;
|
|
61
49
|
this.credentialIpJob = credentialIpJob;
|
|
62
|
-
this.dataLogJob = dataLogJob;
|
|
63
50
|
this.documentJob = documentJob;
|
|
64
|
-
this.executableScriptJob = executableScriptJob;
|
|
65
51
|
this.executeCodeFixJob = executeCodeFixJob;
|
|
66
52
|
this.executeMaterialViewJob = executeMaterialViewJob;
|
|
67
53
|
this.executeRecurringQueryJob = executeRecurringQueryJob;
|
|
68
|
-
this.mailEventJob = mailEventJob;
|
|
69
|
-
this.mailRecipientJob = mailRecipientJob;
|
|
70
|
-
this.mailValidationJob = mailValidationJob;
|
|
71
54
|
this.materialViewJob = materialViewJob;
|
|
72
|
-
this.mobileValidationJob = mobileValidationJob;
|
|
73
55
|
this.modelScannerJob = modelScannerJob;
|
|
74
56
|
this.orphanSweeperJob = orphanSweeperJob;
|
|
75
57
|
this.propertyJob = propertyJob;
|
|
@@ -78,13 +60,11 @@ let Es6JobsService = class Es6JobsService {
|
|
|
78
60
|
this.refreshPropertyCacheJob = refreshPropertyCacheJob;
|
|
79
61
|
this.relationshipMapperJob = relationshipMapperJob;
|
|
80
62
|
this.reportColumnSyncJob = reportColumnSyncJob;
|
|
81
|
-
this.reportSheetJob = reportSheetJob;
|
|
82
63
|
this.scheduledEventJob = scheduledEventJob;
|
|
83
64
|
this.setCodefixScriptEventJob = setCodefixScriptEventJob;
|
|
84
65
|
this.setEventQueueJob = setEventQueueJob;
|
|
85
66
|
this.setRecurringQueryEventJob = setRecurringQueryEventJob;
|
|
86
67
|
this.setScheduledEventJob = setScheduledEventJob;
|
|
87
|
-
this.smsMessageJob = smsMessageJob;
|
|
88
68
|
this.sqsPollingJob = sqsPollingJob;
|
|
89
69
|
this.syncAllCodeJob = syncAllCodeJob;
|
|
90
70
|
this.userGroupMemberJob = userGroupMemberJob;
|
|
@@ -97,23 +77,15 @@ let Es6JobsService = class Es6JobsService {
|
|
|
97
77
|
alignJobs() {
|
|
98
78
|
this.jobs = {
|
|
99
79
|
'9eb95214fbbb66f7c32576de46c95d60': this.clientCredentialJob,
|
|
100
|
-
aec3ee6a7bb90aef7b99e2289f7c22d6: this.clientJob,
|
|
101
|
-
'22f3e204e242b61c405ded5eb2825441': this.codeFixLogJob,
|
|
102
80
|
'46043a7eb56579d19cc50088d849535d': this.codeFixScriptJob,
|
|
103
81
|
'7f6866a3bd3e6ab3f493425ed2f5cf2a': this.columnMapperJob,
|
|
104
82
|
b573ba7362b8f4b0da4483dfaaa73b25: this.commentJob,
|
|
105
83
|
d14e1d233ff74f0c86d160cc3ec9cbfb: this.credentialIpJob,
|
|
106
|
-
f8f29249c92f1efce56fc05f343d915f: this.dataLogJob,
|
|
107
84
|
'64c1bbde8bd1bc6355f8fa2d86a171f1': this.documentJob,
|
|
108
|
-
cb3cc217d94af6d63d46efe15249452f: this.executableScriptJob,
|
|
109
85
|
'66b85ebd2f93d8d9ad74f91dd448fc10': this.executeCodeFixJob,
|
|
110
86
|
'4231f833daffa443023e954b0eb026c4': this.executeMaterialViewJob,
|
|
111
87
|
'49da21b3b3be45f66e8f88c55be55ebe': this.executeRecurringQueryJob,
|
|
112
|
-
'5cfb77227fad03adc54decf4465d2673': this.mailEventJob,
|
|
113
|
-
'97aad20762421f5972396cc09411f139': this.mailRecipientJob,
|
|
114
|
-
'469fd6148687123ec4ef17ed0ad5ef87': this.mailValidationJob,
|
|
115
88
|
bacdea17d6822f984b34954257acebcf: this.materialViewJob,
|
|
116
|
-
fc454d05d19747fdbb8510bbc00f67dd: this.mobileValidationJob,
|
|
117
89
|
'895d52ea29c17047f690ead67db80c9c': this.modelScannerJob,
|
|
118
90
|
bfea54a004f96cdc92baf197367e084f: this.orphanSweeperJob,
|
|
119
91
|
'5b02b9f5e3aad0a0dbc8982119ced400': this.propertyJob,
|
|
@@ -122,13 +94,11 @@ let Es6JobsService = class Es6JobsService {
|
|
|
122
94
|
b7d57d912c9514786071e4e4e804db13: this.refreshPropertyCacheJob,
|
|
123
95
|
'64724c02cc076f23566976dc765eb6b6': this.relationshipMapperJob,
|
|
124
96
|
'7676ffc477bc85ccfd8418b70f2377c9': this.reportColumnSyncJob,
|
|
125
|
-
e6b4539ef34469f1818e1742479b2144: this.reportSheetJob,
|
|
126
97
|
bb97644f2c505dc135d01f4c6959ec1f: this.scheduledEventJob,
|
|
127
98
|
'60a459ee4607fbd64325b00fe6952f44': this.setCodefixScriptEventJob,
|
|
128
99
|
eedbbd37e8ca956ab13f24b5028aaa83: this.setEventQueueJob,
|
|
129
100
|
'6f2c6980763ef0de2b4b7ee850319f6b': this.setRecurringQueryEventJob,
|
|
130
101
|
'40d4fd2c9c09856b54d90643c5f03171': this.setScheduledEventJob,
|
|
131
|
-
'568a28e3b79c7a722c9ec0d0b55515c6': this.smsMessageJob,
|
|
132
102
|
'844b338ab982fd3e1cf1cea14cfc361d': this.sqsPollingJob,
|
|
133
103
|
'23586389324671244b1775eac38d39ac': this.syncAllCodeJob,
|
|
134
104
|
bf1fee009fc168b17af954099311394e: this.userGroupMemberJob,
|
|
@@ -144,23 +114,15 @@ exports.Es6JobsService = Es6JobsService;
|
|
|
144
114
|
exports.Es6JobsService = Es6JobsService = __decorate([
|
|
145
115
|
(0, common_1.Injectable)(),
|
|
146
116
|
__metadata("design:paramtypes", [client_credential_job_1.ClientCredentialJob,
|
|
147
|
-
client_job_1.ClientJob,
|
|
148
|
-
code_fix_log_job_1.CodeFixLogJob,
|
|
149
117
|
code_fix_script_job_1.CodeFixScriptJob,
|
|
150
118
|
column_mapper_job_1.ColumnMapperJob,
|
|
151
119
|
comment_job_1.CommentJob,
|
|
152
120
|
credential_ip_job_1.CredentialIpJob,
|
|
153
|
-
data_log_job_1.DataLogJob,
|
|
154
121
|
document_job_1.DocumentJob,
|
|
155
|
-
executable_script_job_1.ExecutableScriptJob,
|
|
156
122
|
execute_code_fix_job_1.ExecuteCodeFixJob,
|
|
157
123
|
execute_material_view_job_1.ExecuteMaterialViewJob,
|
|
158
124
|
execute_recurring_query_job_1.ExecuteRecurringQueryJob,
|
|
159
|
-
mail_event_job_1.MailEventJob,
|
|
160
|
-
mail_recipient_job_1.MailRecipientJob,
|
|
161
|
-
mail_validation_job_1.MailValidationJob,
|
|
162
125
|
material_view_job_1.MaterialViewJob,
|
|
163
|
-
mobile_validation_job_1.MobileValidationJob,
|
|
164
126
|
model_scanner_job_1.ModelScannerJob,
|
|
165
127
|
orphan_sweeper_job_1.OrphanSweeperJob,
|
|
166
128
|
property_job_1.PropertyJob,
|
|
@@ -169,13 +131,11 @@ exports.Es6JobsService = Es6JobsService = __decorate([
|
|
|
169
131
|
refresh_property_cache_job_1.RefreshPropertyCacheJob,
|
|
170
132
|
relationship_mapper_job_1.RelationshipMapperJob,
|
|
171
133
|
report_column_sync_job_1.ReportColumnSyncJob,
|
|
172
|
-
report_sheet_job_1.ReportSheetJob,
|
|
173
134
|
scheduled_event_job_1.ScheduledEventJob,
|
|
174
135
|
set_codefix_script_event_job_1.SetCodefixScriptEventJob,
|
|
175
136
|
set_event_queue_job_1.SetEventQueueJob,
|
|
176
137
|
set_recurring_query_event_job_1.SetRecurringQueryEventJob,
|
|
177
138
|
set_scheduled_event_job_1.SetScheduledEventJob,
|
|
178
|
-
sms_message_job_1.SmsMessageJob,
|
|
179
139
|
sqs_polling_job_1.SqsPollingJob,
|
|
180
140
|
sync_all_code_job_1.SyncAllCodeJob,
|
|
181
141
|
user_group_member_job_1.UserGroupMemberJob,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/system/services/es6.jobs.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yEAAoE;AACpE,
|
|
1
|
+
{"version":3,"file":"es6.jobs.service.js","sourceRoot":"","sources":["../../../src/system/services/es6.jobs.service.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DataSource, InsertEvent } from 'typeorm';
|
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
|
3
|
+
import { ClientCredentialEntity } from '../entities/client.credential.entity';
|
|
4
|
+
export declare class ClientCredentialSubscriber extends CommonSubscriber<ClientCredentialEntity> {
|
|
5
|
+
private readonly dataSource;
|
|
6
|
+
constructor(dataSource: DataSource);
|
|
7
|
+
listenTo(): typeof ClientCredentialEntity;
|
|
8
|
+
beforeInsert(evt: InsertEvent<ClientCredentialEntity>): Promise<void>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ClientCredentialSubscriber = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
|
15
|
+
const hash_1 = require("../../common/libraries/hash");
|
|
16
|
+
const client_credential_entity_1 = require("../entities/client.credential.entity");
|
|
17
|
+
let ClientCredentialSubscriber = class ClientCredentialSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
18
|
+
constructor(dataSource) {
|
|
19
|
+
super();
|
|
20
|
+
this.dataSource = dataSource;
|
|
21
|
+
dataSource.subscribers.push(this);
|
|
22
|
+
}
|
|
23
|
+
listenTo() {
|
|
24
|
+
return client_credential_entity_1.ClientCredentialEntity;
|
|
25
|
+
}
|
|
26
|
+
async beforeInsert(evt) {
|
|
27
|
+
evt.entity.credential = hash_1.Hash.hash(evt.entity.credential);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
exports.ClientCredentialSubscriber = ClientCredentialSubscriber;
|
|
31
|
+
exports.ClientCredentialSubscriber = ClientCredentialSubscriber = __decorate([
|
|
32
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
33
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource])
|
|
34
|
+
], ClientCredentialSubscriber);
|
|
35
|
+
//# sourceMappingURL=client.credential.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.credential.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/client.credential.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAmE;AACnE,gFAA4E;AAC5E,sDAAmD;AACnD,mFAA8E;AAOvE,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,oCAAwC;IACpF,YAA6B,UAAsB;QAC/C,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAE/C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IAED,QAAQ;QACJ,OAAO,iDAAsB,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,GAAwC;QACvD,GAAG,CAAC,MAAM,CAAC,UAAU,GAAG,WAAI,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAC7D,CAAC;CACJ,CAAA;AAbY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU;GAD1C,0BAA0B,CAatC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
|
3
|
+
import { CodeFixScriptEntity } from '../entities/code.fix.script.entity';
|
|
4
|
+
export declare class CodeFixScriptSubscriber extends CommonSubscriber<CodeFixScriptEntity> {
|
|
5
|
+
private readonly dataSource;
|
|
6
|
+
constructor(dataSource: DataSource);
|
|
7
|
+
listenTo(): typeof CodeFixScriptEntity;
|
|
8
|
+
beforeInsert(event: InsertEvent<CodeFixScriptEntity>): Promise<void>;
|
|
9
|
+
beforeUpdate(event: UpdateEvent<CodeFixScriptEntity>): Promise<void>;
|
|
10
|
+
private validateTiming;
|
|
11
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CodeFixScriptSubscriber = void 0;
|
|
13
|
+
const date_fns_1 = require("date-fns");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const form_exception_1 = require("../../common/exceptions/form.exception");
|
|
16
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
|
17
|
+
const platform_utility_1 = require("../../common/libraries/platform.utility");
|
|
18
|
+
const code_fix_script_entity_1 = require("../entities/code.fix.script.entity");
|
|
19
|
+
let CodeFixScriptSubscriber = class CodeFixScriptSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
20
|
+
constructor(dataSource) {
|
|
21
|
+
super();
|
|
22
|
+
this.dataSource = dataSource;
|
|
23
|
+
dataSource.subscribers.push(this);
|
|
24
|
+
}
|
|
25
|
+
listenTo() {
|
|
26
|
+
return code_fix_script_entity_1.CodeFixScriptEntity;
|
|
27
|
+
}
|
|
28
|
+
async beforeInsert(event) {
|
|
29
|
+
event.entity.attributes = {
|
|
30
|
+
...event.entity.attributes,
|
|
31
|
+
...{},
|
|
32
|
+
};
|
|
33
|
+
this.validateTiming(event.entity?.timing);
|
|
34
|
+
if (!event.entity?.last_scheduled_time)
|
|
35
|
+
event.entity.last_scheduled_time = (0, date_fns_1.subMinutes)(new Date(), 15);
|
|
36
|
+
}
|
|
37
|
+
async beforeUpdate(event) {
|
|
38
|
+
this.validateTiming(event.entity?.timing);
|
|
39
|
+
if (!event.entity?.last_scheduled_time)
|
|
40
|
+
event.entity.last_scheduled_time = (0, date_fns_1.subMinutes)(new Date(), 15);
|
|
41
|
+
}
|
|
42
|
+
validateTiming(timing) {
|
|
43
|
+
if (timing && !platform_utility_1.PlatformUtility.isValidCronExpression(timing)) {
|
|
44
|
+
throw new form_exception_1.FormException({ column: 'timing', err: `Invalid cron expression: ${timing}` });
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
exports.CodeFixScriptSubscriber = CodeFixScriptSubscriber;
|
|
49
|
+
exports.CodeFixScriptSubscriber = CodeFixScriptSubscriber = __decorate([
|
|
50
|
+
(0, typeorm_1.EventSubscriber)(),
|
|
51
|
+
__metadata("design:paramtypes", [typeorm_1.DataSource])
|
|
52
|
+
], CodeFixScriptSubscriber);
|
|
53
|
+
//# sourceMappingURL=code.fix.script.subscriber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code.fix.script.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/code.fix.script.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAAsC;AACtC,qCAAgF;AAChF,2EAAuE;AACvE,gFAA4E;AAC5E,8EAA0E;AAC1E,+EAAyE;AAOlE,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,oCAAqC;IAC9E,YAA6B,UAAsB;QAC/C,KAAK,EAAE,CAAC;QADiB,eAAU,GAAV,UAAU,CAAY;QAE/C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IAED,QAAQ;QACJ,OAAO,4CAAmB,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,KAAuC;QACtD,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG;YACtB,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU;YAC1B,GAAG,EAAE;SACR,CAAC;QAEF,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAE1C,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,mBAAmB;YAAE,KAAK,CAAC,MAAM,CAAC,mBAAmB,GAAG,IAAA,qBAAU,EAAC,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,KAAuC;QACtD,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;QAE1C,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,mBAAmB;YAAE,KAAK,CAAC,MAAM,CAAC,mBAAmB,GAAG,IAAA,qBAAU,EAAC,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1G,CAAC;IAEO,cAAc,CAAC,MAAiC;QACpD,IAAI,MAAM,IAAI,CAAC,kCAAe,CAAC,qBAAqB,CAAC,MAAM,CAAC,EAAE,CAAC;YAC3D,MAAM,IAAI,8BAAa,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,4BAA4B,MAAM,EAAE,EAAE,CAAC,CAAC;QAC7F,CAAC;IACL,CAAC;CACJ,CAAA;AAhCY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,yBAAe,GAAE;qCAE2B,oBAAU;GAD1C,uBAAuB,CAgCnC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './client.credential.subscriber';
|
|
2
|
+
export * from './code.fix.script.subscriber';
|
|
3
|
+
export * from './material.view.subscriber';
|
|
4
|
+
export * from './property.subscriber';
|
|
5
|
+
export * from './recurring.query.subscriber';
|
|
6
|
+
export * from './scheduled.event.subscriber';
|