@servicelabsco/nestjs-utility-services 1.2.70 → 1.2.72
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 -4
- package/dist/app.controller.js.map +1 -1
- package/dist/auth/controllers/admin.auth.controller.d.ts +1 -1
- package/dist/auth/services/access.service.d.ts +1 -1
- package/dist/auth/services/auth.service.d.ts +3 -3
- package/dist/auth/services/auth.service.js +7 -7
- package/dist/auth/services/auth.service.js.map +1 -1
- package/dist/auth/services/refresh.token.service.d.ts +1 -1
- package/dist/auth/services/refresh.token.service.js +4 -4
- package/dist/auth/services/refresh.token.service.js.map +1 -1
- package/dist/common/libraries/common.subscriber.d.ts +1 -0
- package/dist/common/libraries/common.subscriber.js +9 -0
- package/dist/common/libraries/common.subscriber.js.map +1 -1
- package/dist/health.check.controller.d.ts +1 -1
- package/dist/health.check.controller.js +1 -1
- package/dist/platformUtility/controllers/bull.job.controller.d.ts +7 -7
- package/dist/platformUtility/controllers/queue.controller.d.ts +1 -1
- package/dist/platformUtility/libraries/process.kaleyra.sms.d.ts +1 -1
- package/dist/platformUtility/services/sms.service.d.ts +1 -1
- package/dist/platformUtility/subscribers/base.subscriber.js +2 -4
- package/dist/platformUtility/subscribers/base.subscriber.js.map +1 -1
- package/dist/system/controllers/base.controller.d.ts +5 -31
- package/dist/system/controllers/form.controller.d.ts +1 -8
- package/dist/system/controllers/menu.controller.d.ts +3 -6
- package/dist/system/controllers/preference.controller.d.ts +7 -9
- package/dist/system/controllers/report.controller.d.ts +1 -2
- package/dist/system/controllers/upload.controller.d.ts +2 -2
- package/dist/system/controllers/user.preference.controller.d.ts +2 -3
- package/dist/system/services/form.service.d.ts +1 -1
- package/dist/system/subscribers/client.credential.subscriber.d.ts +3 -3
- package/dist/system/subscribers/client.credential.subscriber.js +6 -6
- package/dist/system/subscribers/client.credential.subscriber.js.map +1 -1
- package/dist/system/subscribers/client.subscriber.d.ts +3 -3
- package/dist/system/subscribers/client.subscriber.js +5 -5
- package/dist/system/subscribers/client.subscriber.js.map +1 -1
- package/dist/system/subscribers/column.subscriber.d.ts +2 -2
- package/dist/system/subscribers/column.subscriber.js +4 -4
- package/dist/system/subscribers/column.subscriber.js.map +1 -1
- package/dist/system/subscribers/comment.subscriber.d.ts +2 -2
- package/dist/system/subscribers/comment.subscriber.js +4 -4
- package/dist/system/subscribers/comment.subscriber.js.map +1 -1
- package/dist/system/subscribers/credential.ip.subscriber.d.ts +3 -3
- package/dist/system/subscribers/credential.ip.subscriber.js +5 -5
- package/dist/system/subscribers/credential.ip.subscriber.js.map +1 -1
- package/dist/system/subscribers/document.subscriber.d.ts +2 -2
- package/dist/system/subscribers/document.subscriber.js +4 -4
- package/dist/system/subscribers/document.subscriber.js.map +1 -1
- package/dist/system/subscribers/mail.event.subscriber.d.ts +3 -3
- package/dist/system/subscribers/mail.event.subscriber.js +3 -3
- package/dist/system/subscribers/mail.event.subscriber.js.map +1 -1
- package/dist/system/subscribers/mail.recipient.subscriber.d.ts +2 -2
- package/dist/system/subscribers/mail.recipient.subscriber.js +2 -2
- package/dist/system/subscribers/mail.recipient.subscriber.js.map +1 -1
- package/dist/system/subscribers/mail.validation.subscriber.d.ts +3 -3
- package/dist/system/subscribers/mail.validation.subscriber.js +5 -5
- package/dist/system/subscribers/mail.validation.subscriber.js.map +1 -1
- package/dist/system/subscribers/mobile.validation.subscriber.d.ts +2 -2
- package/dist/system/subscribers/mobile.validation.subscriber.js +4 -4
- package/dist/system/subscribers/mobile.validation.subscriber.js.map +1 -1
- package/dist/system/subscribers/property.subscriber.d.ts +3 -3
- package/dist/system/subscribers/property.subscriber.js +7 -7
- package/dist/system/subscribers/property.subscriber.js.map +1 -1
- package/dist/system/subscribers/relationship.subscriber.d.ts +5 -4
- package/dist/system/subscribers/relationship.subscriber.js +7 -5
- package/dist/system/subscribers/relationship.subscriber.js.map +1 -1
- package/dist/system/subscribers/scheduled.event.subscriber.d.ts +2 -2
- package/dist/system/subscribers/scheduled.event.subscriber.js +4 -4
- package/dist/system/subscribers/scheduled.event.subscriber.js.map +1 -1
- package/dist/system/subscribers/sms.message.subscriber.d.ts +2 -2
- package/dist/system/subscribers/sms.message.subscriber.js +4 -4
- package/dist/system/subscribers/sms.message.subscriber.js.map +1 -1
- package/dist/system/subscribers/user.group.member.subscriber.d.ts +3 -3
- package/dist/system/subscribers/user.group.member.subscriber.js +5 -5
- package/dist/system/subscribers/user.group.member.subscriber.js.map +1 -1
- package/dist/system/subscribers/user.group.permission.subscriber.d.ts +2 -2
- package/dist/system/subscribers/user.group.permission.subscriber.js +4 -4
- package/dist/system/subscribers/user.group.permission.subscriber.js.map +1 -1
- package/dist/system/subscribers/user.group.role.subscriber.d.ts +3 -3
- package/dist/system/subscribers/user.group.role.subscriber.js +5 -5
- package/dist/system/subscribers/user.group.role.subscriber.js.map +1 -1
- package/package.json +1 -1
- package/dist/seeders/sys_column_definitions.json +0 -255
- package/dist/seeders/sys_lookup_types.json +0 -102
- package/dist/seeders/sys_lookup_values.json +0 -386
- package/dist/seeders/sys_menu_details.json +0 -622
- package/dist/seeders/sys_menu_roles.json +0 -202
- package/dist/seeders/sys_module_details.json +0 -26
- package/dist/seeders/sys_module_menus.json +0 -222
- package/dist/seeders/sys_page_definitions.json +0 -112
- package/dist/seeders/sys_parent_menus.json +0 -112
- package/dist/seeders/sys_roles.json +0 -50
- package/dist/seeders/sys_security_rules.json +0 -178
- package/dist/seeders/sys_system_scripts.json +0 -145
- package/dist/seeders/sys_ui_actions.json +0 -386
- package/dist/seeders/sys_user_roles.json +0 -12
- package/dist/tsconfig.build.tsbuildinfo +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"comment.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/comment.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,+DAA2D;AAC3D,qDAAiD;AAG1C,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,oCAA+B;IAClE,YACqB,UAAsB,EACtB,UAAsB;QAEvC,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,eAAU,GAAV,UAAU,CAAY;QAGvC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,8BAAa,CAAC;IACzB,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"comment.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/comment.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,+DAA2D;AAC3D,qDAAiD;AAG1C,IAAM,iBAAiB,GAAvB,MAAM,iBAAkB,SAAQ,oCAA+B;IAClE,YACqB,UAAsB,EACtB,UAAsB;QAEvC,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,eAAU,GAAV,UAAU,CAAY;QAGvC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,8BAAa,CAAC;IACzB,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAA+B;QAC7C,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAA+B;QAC7C,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC;IACjD,CAAC;CACJ,CAAA;AAlBY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACV,wBAAU;GAHlC,iBAAiB,CAkB7B"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
2
3
|
import { CredentialIpEntity } from '../entities/credential.ip.entity';
|
3
4
|
import { CredentialIpJob } from '../jobs/credential.ip.job';
|
4
|
-
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
5
5
|
export declare class CredentialIpSubscriber extends CommonSubscriber<CredentialIpEntity> {
|
6
6
|
private readonly dataSource;
|
7
7
|
private readonly credentialIpJob;
|
8
8
|
constructor(dataSource: DataSource, credentialIpJob: CredentialIpJob);
|
9
9
|
listenTo(): typeof CredentialIpEntity;
|
10
|
-
afterInsert(
|
11
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<CredentialIpEntity>): Promise<any>;
|
11
|
+
afterUpdate(evt: UpdateEvent<CredentialIpEntity>): Promise<any>;
|
12
12
|
}
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.CredentialIpSubscriber = void 0;
|
13
13
|
const typeorm_1 = require("typeorm");
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
14
15
|
const credential_ip_entity_1 = require("../entities/credential.ip.entity");
|
15
16
|
const credential_ip_job_1 = require("../jobs/credential.ip.job");
|
16
|
-
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
17
17
|
let CredentialIpSubscriber = class CredentialIpSubscriber extends common_subscriber_1.CommonSubscriber {
|
18
18
|
constructor(dataSource, credentialIpJob) {
|
19
19
|
super();
|
@@ -24,11 +24,11 @@ let CredentialIpSubscriber = class CredentialIpSubscriber extends common_subscri
|
|
24
24
|
listenTo() {
|
25
25
|
return credential_ip_entity_1.CredentialIpEntity;
|
26
26
|
}
|
27
|
-
async afterInsert(
|
28
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.credentialIpJob);
|
29
29
|
}
|
30
|
-
async afterUpdate(
|
31
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.credentialIpJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.CredentialIpSubscriber = CredentialIpSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"credential.ip.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/credential.ip.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,2EAAsE;AACtE,iEAA4D;
|
1
|
+
{"version":3,"file":"credential.ip.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/credential.ip.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,2EAAsE;AACtE,iEAA4D;AAErD,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,oCAAoC;IAC5E,YACqB,UAAsB,EACtB,eAAgC;QAEjD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,oBAAe,GAAf,eAAe,CAAiB;QAGjD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,yCAAkB,CAAC;IAC9B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAoC;QAClD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IACtD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAoC;QAClD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IACtD,CAAC;CACJ,CAAA;AAlBY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACL,mCAAe;GAH5C,sBAAsB,CAkBlC"}
|
@@ -7,6 +7,6 @@ export declare class DocumentSubscriber extends CommonSubscriber<DocumentEntity>
|
|
7
7
|
private readonly documentJob;
|
8
8
|
constructor(dataSource: DataSource, documentJob: DocumentJob);
|
9
9
|
listenTo(): typeof DocumentEntity;
|
10
|
-
afterInsert(
|
11
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<DocumentEntity>): Promise<any>;
|
11
|
+
afterUpdate(evt: UpdateEvent<DocumentEntity>): Promise<any>;
|
12
12
|
}
|
@@ -24,11 +24,11 @@ let DocumentSubscriber = class DocumentSubscriber extends common_subscriber_1.Co
|
|
24
24
|
listenTo() {
|
25
25
|
return document_entity_1.DocumentEntity;
|
26
26
|
}
|
27
|
-
async afterInsert(
|
28
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.documentJob);
|
29
29
|
}
|
30
|
-
async afterUpdate(
|
31
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.documentJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.DocumentSubscriber = DocumentSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"document.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/document.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,iEAA6D;AAC7D,uDAAmD;AAG5C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,oCAAgC;IACpE,YACqB,UAAsB,EACtB,WAAwB;QAEzC,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,gBAAW,GAAX,WAAW,CAAa;QAGzC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,gCAAc,CAAC;IAC1B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"document.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/document.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,iEAA6D;AAC7D,uDAAmD;AAG5C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,oCAAgC;IACpE,YACqB,UAAsB,EACtB,WAAwB;QAEzC,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,gBAAW,GAAX,WAAW,CAAa;QAGzC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,gCAAc,CAAC;IAC1B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAgC;QAC9C,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAgC;QAC9C,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;CACJ,CAAA;AAlBY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACT,0BAAW;GAHpC,kBAAkB,CAkB9B"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
2
3
|
import { MailEventEntity } from '../entities/mail.event.entity';
|
3
4
|
import { MailEventJob } from '../jobs/mail.event.job';
|
4
|
-
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
5
5
|
export declare class MailEventSubscriber extends CommonSubscriber<MailEventEntity> {
|
6
6
|
private readonly dataSource;
|
7
7
|
private readonly mailEventJob;
|
8
8
|
constructor(dataSource: DataSource, mailEventJob: MailEventJob);
|
9
9
|
listenTo(): typeof MailEventEntity;
|
10
|
-
afterInsert(evt: InsertEvent<MailEventEntity>): Promise<
|
11
|
-
afterUpdate(evt: UpdateEvent<MailEventEntity>): Promise<
|
10
|
+
afterInsert(evt: InsertEvent<MailEventEntity>): Promise<any>;
|
11
|
+
afterUpdate(evt: UpdateEvent<MailEventEntity>): Promise<any>;
|
12
12
|
}
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.MailEventSubscriber = void 0;
|
13
13
|
const typeorm_1 = require("typeorm");
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
14
15
|
const mail_event_entity_1 = require("../entities/mail.event.entity");
|
15
16
|
const mail_event_job_1 = require("../jobs/mail.event.job");
|
16
|
-
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
17
17
|
let MailEventSubscriber = class MailEventSubscriber extends common_subscriber_1.CommonSubscriber {
|
18
18
|
constructor(dataSource, mailEventJob) {
|
19
19
|
super();
|
@@ -25,10 +25,10 @@ let MailEventSubscriber = class MailEventSubscriber extends common_subscriber_1.
|
|
25
25
|
return mail_event_entity_1.MailEventEntity;
|
26
26
|
}
|
27
27
|
async afterInsert(evt) {
|
28
|
-
|
28
|
+
return this.triggerJob(evt, this.mailEventJob);
|
29
29
|
}
|
30
30
|
async afterUpdate(evt) {
|
31
|
-
|
31
|
+
return this.triggerJob(evt, this.mailEventJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.MailEventSubscriber = MailEventSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mail.event.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/mail.event.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,qEAAgE;AAChE,2DAAsD;
|
1
|
+
{"version":3,"file":"mail.event.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/mail.event.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,qEAAgE;AAChE,2DAAsD;AAG/C,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,oCAAiC;IACtE,YACqB,UAAsB,EACtB,YAA0B;QAE3C,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,iBAAY,GAAZ,YAAY,CAAc;QAG3C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,mCAAe,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAiC;QAC/C,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACnD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAiC;QAC/C,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;IACnD,CAAC;CACJ,CAAA;AAlBY,kDAAmB;8BAAnB,mBAAmB;IAD/B,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACR,6BAAY;GAHtC,mBAAmB,CAkB/B"}
|
@@ -7,6 +7,6 @@ export declare class MailRecipientSubscriber extends CommonSubscriber<MailRecipi
|
|
7
7
|
private readonly mailRecipientJob;
|
8
8
|
constructor(dataSource: DataSource, mailRecipientJob: MailRecipientJob);
|
9
9
|
listenTo(): typeof MailRecipientEntity;
|
10
|
-
afterInsert(evt: InsertEvent<MailRecipientEntity>): Promise<
|
11
|
-
afterUpdate(evt: UpdateEvent<MailRecipientEntity>): Promise<
|
10
|
+
afterInsert(evt: InsertEvent<MailRecipientEntity>): Promise<any>;
|
11
|
+
afterUpdate(evt: UpdateEvent<MailRecipientEntity>): Promise<any>;
|
12
12
|
}
|
@@ -25,10 +25,10 @@ let MailRecipientSubscriber = class MailRecipientSubscriber extends common_subsc
|
|
25
25
|
return mail_recipient_entity_1.MailRecipientEntity;
|
26
26
|
}
|
27
27
|
async afterInsert(evt) {
|
28
|
-
|
28
|
+
return this.triggerJob(evt, this.mailRecipientJob);
|
29
29
|
}
|
30
30
|
async afterUpdate(evt) {
|
31
|
-
|
31
|
+
return this.triggerJob(evt, this.mailRecipientJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.MailRecipientSubscriber = MailRecipientSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mail.recipient.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/mail.recipient.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,6EAAwE;AACxE,mEAA8D;AAGvD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,oCAAqC;IAC9E,YACqB,UAAsB,EACtB,gBAAkC;QAEnD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,qBAAgB,GAAhB,gBAAgB,CAAkB;QAGnD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,2CAAmB,CAAC;IAC/B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAqC;QACnD,
|
1
|
+
{"version":3,"file":"mail.recipient.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/mail.recipient.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,6EAAwE;AACxE,mEAA8D;AAGvD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,oCAAqC;IAC9E,YACqB,UAAsB,EACtB,gBAAkC;QAEnD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,qBAAgB,GAAhB,gBAAgB,CAAkB;QAGnD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,2CAAmB,CAAC;IAC/B,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAqC;QACnD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACvD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAqC;QACnD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACvD,CAAC;CACJ,CAAA;AAlBY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACJ,qCAAgB;GAH9C,uBAAuB,CAkBnC"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
2
3
|
import { MailValidationEntity } from '../entities/mail.validation.entity';
|
3
4
|
import { MailValidationJob } from '../jobs/mail.validation.job';
|
4
|
-
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
5
5
|
export declare class MailValidationSubscriber extends CommonSubscriber<MailValidationEntity> {
|
6
6
|
private readonly dataSource;
|
7
7
|
private readonly mailValidationJob;
|
8
8
|
constructor(dataSource: DataSource, mailValidationJob: MailValidationJob);
|
9
9
|
listenTo(): typeof MailValidationEntity;
|
10
|
-
afterInsert(
|
11
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<MailValidationEntity>): Promise<any>;
|
11
|
+
afterUpdate(evt: UpdateEvent<MailValidationEntity>): Promise<any>;
|
12
12
|
}
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.MailValidationSubscriber = void 0;
|
13
13
|
const typeorm_1 = require("typeorm");
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
14
15
|
const mail_validation_entity_1 = require("../entities/mail.validation.entity");
|
15
16
|
const mail_validation_job_1 = require("../jobs/mail.validation.job");
|
16
|
-
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
17
17
|
let MailValidationSubscriber = class MailValidationSubscriber extends common_subscriber_1.CommonSubscriber {
|
18
18
|
constructor(dataSource, mailValidationJob) {
|
19
19
|
super();
|
@@ -24,11 +24,11 @@ let MailValidationSubscriber = class MailValidationSubscriber extends common_sub
|
|
24
24
|
listenTo() {
|
25
25
|
return mail_validation_entity_1.MailValidationEntity;
|
26
26
|
}
|
27
|
-
async afterInsert(
|
28
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.mailValidationJob);
|
29
29
|
}
|
30
|
-
async afterUpdate(
|
31
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.mailValidationJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.MailValidationSubscriber = MailValidationSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mail.validation.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/mail.validation.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,+EAA0E;AAC1E,qEAAgE;
|
1
|
+
{"version":3,"file":"mail.validation.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/mail.validation.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,+EAA0E;AAC1E,qEAAgE;AAEzD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,oCAAsC;IAChF,YACqB,UAAsB,EACtB,iBAAoC;QAErD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,sBAAiB,GAAjB,iBAAiB,CAAmB;QAGrD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,6CAAoB,CAAC;IAChC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAsC;QACpD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACxD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAsC;QACpD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACxD,CAAC;CACJ,CAAA;AAlBY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACH,uCAAiB;GAHhD,wBAAwB,CAkBpC"}
|
@@ -7,6 +7,6 @@ export declare class MobileValidationSubscriber extends CommonSubscriber<MobileV
|
|
7
7
|
private readonly mobileValidationJob;
|
8
8
|
constructor(dataSource: DataSource, mobileValidationJob: MobileValidationJob);
|
9
9
|
listenTo(): typeof MobileValidationEntity;
|
10
|
-
afterInsert(
|
11
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<MobileValidationEntity>): Promise<any>;
|
11
|
+
afterUpdate(evt: UpdateEvent<MobileValidationEntity>): Promise<any>;
|
12
12
|
}
|
@@ -24,11 +24,11 @@ let MobileValidationSubscriber = class MobileValidationSubscriber extends common
|
|
24
24
|
listenTo() {
|
25
25
|
return mobile_validation_entity_1.MobileValidationEntity;
|
26
26
|
}
|
27
|
-
async afterInsert(
|
28
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.mobileValidationJob);
|
29
29
|
}
|
30
|
-
async afterUpdate(
|
31
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.mobileValidationJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.MobileValidationSubscriber = MobileValidationSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"mobile.validation.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/mobile.validation.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,mFAA8E;AAC9E,yEAAoE;AAE7D,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,oCAAwC;IACpF,YACqB,UAAsB,EACtB,mBAAwC;QAEzD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,wBAAmB,GAAnB,mBAAmB,CAAqB;QAGzD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,iDAAsB,CAAC;IAClC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"mobile.validation.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/mobile.validation.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,mFAA8E;AAC9E,yEAAoE;AAE7D,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,oCAAwC;IACpF,YACqB,UAAsB,EACtB,mBAAwC;QAEzD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,wBAAmB,GAAnB,mBAAmB,CAAqB;QAGzD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,iDAAsB,CAAC;IAClC,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAwC;QACtD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC1D,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAwC;QACtD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC1D,CAAC;CACJ,CAAA;AAlBY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACD,2CAAmB;GAHpD,0BAA0B,CAkBtC"}
|
@@ -8,7 +8,7 @@ export declare class PropertySubscriber extends CommonSubscriber<PropertyEntity>
|
|
8
8
|
constructor(dataSource: DataSource, propertyJob: PropertyJob);
|
9
9
|
listenTo(): typeof PropertyEntity;
|
10
10
|
beforeInsert(event: InsertEvent<PropertyEntity>): Promise<void>;
|
11
|
-
afterInsert(
|
12
|
-
beforeUpdate(
|
13
|
-
afterUpdate(
|
11
|
+
afterInsert(evt: InsertEvent<PropertyEntity>): Promise<any>;
|
12
|
+
beforeUpdate(evt: UpdateEvent<PropertyEntity>): Promise<void>;
|
13
|
+
afterUpdate(evt: UpdateEvent<PropertyEntity>): Promise<any>;
|
14
14
|
}
|
@@ -29,15 +29,15 @@ let PropertySubscriber = class PropertySubscriber extends common_subscriber_1.Co
|
|
29
29
|
if (event.entity.is_encrypted)
|
30
30
|
event.entity.value = custom_crypt_1.CustomCrypt.encrypt(event.entity.value);
|
31
31
|
}
|
32
|
-
async afterInsert(
|
33
|
-
return this.
|
32
|
+
async afterInsert(evt) {
|
33
|
+
return this.triggerJob(evt, this.propertyJob);
|
34
34
|
}
|
35
|
-
async beforeUpdate(
|
36
|
-
if (
|
37
|
-
|
35
|
+
async beforeUpdate(evt) {
|
36
|
+
if (evt.entity.is_encrypted && evt.entity.value !== evt.databaseEntity.value)
|
37
|
+
evt.entity.value = custom_crypt_1.CustomCrypt.encrypt(evt.entity.value);
|
38
38
|
}
|
39
|
-
async afterUpdate(
|
40
|
-
return this.
|
39
|
+
async afterUpdate(evt) {
|
40
|
+
return this.triggerJob(evt, this.propertyJob);
|
41
41
|
}
|
42
42
|
};
|
43
43
|
exports.PropertySubscriber = PropertySubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"property.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/property.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,sEAAkE;AAClE,iEAA6D;AAC7D,uDAAmD;AAE5C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,oCAAgC;IACpE,YACqB,UAAsB,EACtB,WAAwB;QAEzC,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,gBAAW,GAAX,WAAW,CAAa;QAGzC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,gCAAc,CAAC;IAC1B,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,KAAkC;QACjD,IAAI,KAAK,CAAC,MAAM,CAAC,YAAY;YAAE,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,0BAAW,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAChG,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"property.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/property.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,sEAAkE;AAClE,iEAA6D;AAC7D,uDAAmD;AAE5C,IAAM,kBAAkB,GAAxB,MAAM,kBAAmB,SAAQ,oCAAgC;IACpE,YACqB,UAAsB,EACtB,WAAwB;QAEzC,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,gBAAW,GAAX,WAAW,CAAa;QAGzC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,gCAAc,CAAC;IAC1B,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,KAAkC;QACjD,IAAI,KAAK,CAAC,MAAM,CAAC,YAAY;YAAE,KAAK,CAAC,MAAM,CAAC,KAAK,GAAG,0BAAW,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAChG,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAgC;QAC9C,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,GAAgC;QAC/C,IAAI,GAAG,CAAC,MAAM,CAAC,YAAY,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,KAAK,GAAG,CAAC,cAAc,CAAC,KAAK;YAAE,GAAG,CAAC,MAAM,CAAC,KAAK,GAAG,0BAAW,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC3I,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAgC;QAC9C,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;CACJ,CAAA;AA3BY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACT,0BAAW;GAHpC,kBAAkB,CA2B9B"}
|
@@ -1,11 +1,12 @@
|
|
1
|
-
import { DataSource,
|
1
|
+
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
2
3
|
import { RelationshipEntity } from '../entities/relationship.entity';
|
3
4
|
import { RelationshipMapperJob } from '../jobs/relationship.mapper.job';
|
4
|
-
export declare class RelationshipSubscriber
|
5
|
+
export declare class RelationshipSubscriber extends CommonSubscriber<RelationshipEntity> {
|
5
6
|
private readonly dataSource;
|
6
7
|
private readonly relationshipMapperJob;
|
7
8
|
constructor(dataSource: DataSource, relationshipMapperJob: RelationshipMapperJob);
|
8
9
|
listenTo(): typeof RelationshipEntity;
|
9
|
-
afterInsert(
|
10
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<RelationshipEntity>): Promise<any>;
|
11
|
+
afterUpdate(evt: UpdateEvent<RelationshipEntity>): Promise<any>;
|
11
12
|
}
|
@@ -11,10 +11,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.RelationshipSubscriber = void 0;
|
13
13
|
const typeorm_1 = require("typeorm");
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
14
15
|
const relationship_entity_1 = require("../entities/relationship.entity");
|
15
16
|
const relationship_mapper_job_1 = require("../jobs/relationship.mapper.job");
|
16
|
-
let RelationshipSubscriber = class RelationshipSubscriber {
|
17
|
+
let RelationshipSubscriber = class RelationshipSubscriber extends common_subscriber_1.CommonSubscriber {
|
17
18
|
constructor(dataSource, relationshipMapperJob) {
|
19
|
+
super();
|
18
20
|
this.dataSource = dataSource;
|
19
21
|
this.relationshipMapperJob = relationshipMapperJob;
|
20
22
|
dataSource.subscribers.push(this);
|
@@ -22,11 +24,11 @@ let RelationshipSubscriber = class RelationshipSubscriber {
|
|
22
24
|
listenTo() {
|
23
25
|
return relationship_entity_1.RelationshipEntity;
|
24
26
|
}
|
25
|
-
async afterInsert(
|
26
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.relationshipMapperJob);
|
27
29
|
}
|
28
|
-
async afterUpdate(
|
29
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.relationshipMapperJob);
|
30
32
|
}
|
31
33
|
};
|
32
34
|
exports.RelationshipSubscriber = RelationshipSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"relationship.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/relationship.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"relationship.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/relationship.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,yEAAqE;AACrE,6EAAwE;AAGjE,IAAM,sBAAsB,GAA5B,MAAM,sBAAuB,SAAQ,oCAAoC;IAC5E,YACqB,UAAsB,EACtB,qBAA4C;QAE7D,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,0BAAqB,GAArB,qBAAqB,CAAuB;QAG7D,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,wCAAkB,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAoC;QAClD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAC5D,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAoC;QAClD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,qBAAqB,CAAC,CAAC;IAC5D,CAAC;CACJ,CAAA;AAnBY,wDAAsB;iCAAtB,sBAAsB;IADlC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACC,+CAAqB;GAHxD,sBAAsB,CAmBlC"}
|
@@ -8,6 +8,6 @@ export declare class ScheduledEventSubscriber extends CommonSubscriber<Scheduled
|
|
8
8
|
constructor(dataSource: DataSource, scheduledEventJob: ScheduledEventJob);
|
9
9
|
listenTo(): typeof ScheduledEventEntity;
|
10
10
|
beforeInsert(event: InsertEvent<ScheduledEventEntity>): Promise<void>;
|
11
|
-
afterInsert(
|
12
|
-
afterUpdate(
|
11
|
+
afterInsert(evt: InsertEvent<ScheduledEventEntity>): Promise<any>;
|
12
|
+
afterUpdate(evt: UpdateEvent<ScheduledEventEntity>): Promise<any>;
|
13
13
|
}
|
@@ -30,11 +30,11 @@ let ScheduledEventSubscriber = class ScheduledEventSubscriber extends common_sub
|
|
30
30
|
...{},
|
31
31
|
};
|
32
32
|
}
|
33
|
-
async afterInsert(
|
34
|
-
|
33
|
+
async afterInsert(evt) {
|
34
|
+
return this.triggerJob(evt, this.scheduledEventJob);
|
35
35
|
}
|
36
|
-
async afterUpdate(
|
37
|
-
|
36
|
+
async afterUpdate(evt) {
|
37
|
+
return this.triggerJob(evt, this.scheduledEventJob);
|
38
38
|
}
|
39
39
|
};
|
40
40
|
exports.ScheduledEventSubscriber = ScheduledEventSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scheduled.event.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/scheduled.event.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,+EAA0E;AAC1E,qEAAgE;AAGzD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,oCAAsC;IAChF,YACqB,UAAsB,EACtB,iBAAoC;QAErD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,sBAAiB,GAAjB,iBAAiB,CAAmB;QAGrD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,6CAAoB,CAAC;IAChC,CAAC;IACD,KAAK,CAAC,YAAY,CAAC,KAAwC;QACvD,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG;YACtB,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU;YAC1B,GAAG,EAAE;SACR,CAAC;IACN,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"scheduled.event.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/scheduled.event.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,+EAA0E;AAC1E,qEAAgE;AAGzD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,oCAAsC;IAChF,YACqB,UAAsB,EACtB,iBAAoC;QAErD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,sBAAiB,GAAjB,iBAAiB,CAAmB;QAGrD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,6CAAoB,CAAC;IAChC,CAAC;IACD,KAAK,CAAC,YAAY,CAAC,KAAwC;QACvD,KAAK,CAAC,MAAM,CAAC,UAAU,GAAG;YACtB,GAAG,KAAK,CAAC,MAAM,CAAC,UAAU;YAC1B,GAAG,EAAE;SACR,CAAC;IACN,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAsC;QACpD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACxD,CAAC;IACD,KAAK,CAAC,WAAW,CAAC,GAAsC;QACpD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACxD,CAAC;CACJ,CAAA;AAxBY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACH,uCAAiB;GAHhD,wBAAwB,CAwBpC"}
|
@@ -7,6 +7,6 @@ export declare class SmsMessageSubscriber extends CommonSubscriber<SmsMessageEnt
|
|
7
7
|
private readonly smsMessageJob;
|
8
8
|
constructor(dataSource: DataSource, smsMessageJob: SmsMessageJob);
|
9
9
|
listenTo(): typeof SmsMessageEntity;
|
10
|
-
afterInsert(
|
11
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<SmsMessageEntity>): Promise<any>;
|
11
|
+
afterUpdate(evt: UpdateEvent<SmsMessageEntity>): Promise<any>;
|
12
12
|
}
|
@@ -24,11 +24,11 @@ let SmsMessageSubscriber = class SmsMessageSubscriber extends common_subscriber_
|
|
24
24
|
listenTo() {
|
25
25
|
return sms_message_entity_1.SmsMessageEntity;
|
26
26
|
}
|
27
|
-
async afterInsert(
|
28
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.smsMessageJob);
|
29
29
|
}
|
30
|
-
async afterUpdate(
|
31
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.smsMessageJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.SmsMessageSubscriber = SmsMessageSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sms.message.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/sms.message.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,uEAAkE;AAClE,6DAAwD;AAGjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oCAAkC;IACxE,YACqB,UAAsB,EACtB,aAA4B;QAE7C,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,kBAAa,GAAb,aAAa,CAAe;QAG7C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,qCAAgB,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"sms.message.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/sms.message.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,uEAAkE;AAClE,6DAAwD;AAGjD,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oCAAkC;IACxE,YACqB,UAAsB,EACtB,aAA4B;QAE7C,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,kBAAa,GAAb,aAAa,CAAe;QAG7C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,qCAAgB,CAAC;IAC5B,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAkC;QAChD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IACpD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAkC;QAChD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,aAAa,CAAC,CAAC;IACpD,CAAC;CACJ,CAAA;AAnBY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACP,+BAAa;GAHxC,oBAAoB,CAmBhC"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
2
3
|
import { UserGroupMemberEntity } from '../entities/user.group.member.entity';
|
3
4
|
import { UserGroupMemberJob } from '../jobs/user.group.member.job';
|
4
|
-
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
5
5
|
export declare class UserGroupMemberSubscriber extends CommonSubscriber<UserGroupMemberEntity> {
|
6
6
|
private readonly dataSource;
|
7
7
|
private readonly userGroupMemberJob;
|
8
8
|
constructor(dataSource: DataSource, userGroupMemberJob: UserGroupMemberJob);
|
9
9
|
listenTo(): typeof UserGroupMemberEntity;
|
10
|
-
afterInsert(
|
11
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<UserGroupMemberEntity>): Promise<void>;
|
11
|
+
afterUpdate(evt: UpdateEvent<UserGroupMemberEntity>): Promise<void>;
|
12
12
|
}
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.UserGroupMemberSubscriber = void 0;
|
13
13
|
const typeorm_1 = require("typeorm");
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
14
15
|
const user_group_member_entity_1 = require("../entities/user.group.member.entity");
|
15
16
|
const user_group_member_job_1 = require("../jobs/user.group.member.job");
|
16
|
-
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
17
17
|
let UserGroupMemberSubscriber = class UserGroupMemberSubscriber extends common_subscriber_1.CommonSubscriber {
|
18
18
|
constructor(dataSource, userGroupMemberJob) {
|
19
19
|
super();
|
@@ -24,11 +24,11 @@ let UserGroupMemberSubscriber = class UserGroupMemberSubscriber extends common_s
|
|
24
24
|
listenTo() {
|
25
25
|
return user_group_member_entity_1.UserGroupMemberEntity;
|
26
26
|
}
|
27
|
-
async afterInsert(
|
28
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.userGroupMemberJob);
|
29
29
|
}
|
30
|
-
async afterUpdate(
|
31
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.userGroupMemberJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.UserGroupMemberSubscriber = UserGroupMemberSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user.group.member.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/user.group.member.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,mFAA6E;AAC7E,yEAAmE;
|
1
|
+
{"version":3,"file":"user.group.member.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/user.group.member.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,mFAA6E;AAC7E,yEAAmE;AAG5D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,oCAAuC;IAClF,YACqB,UAAsB,EACtB,kBAAsC;QAEvD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,uBAAkB,GAAlB,kBAAkB,CAAoB;QAGvD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,gDAAqB,CAAC;IACjC,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAuC;QACrD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACzD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAuC;QACrD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACzD,CAAC;CACJ,CAAA;AAnBY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACF,0CAAkB;GAHlD,yBAAyB,CAmBrC"}
|
@@ -7,6 +7,6 @@ export declare class UserGroupPermissionSubscriber extends CommonSubscriber<User
|
|
7
7
|
private readonly userGroupPermissionJob;
|
8
8
|
constructor(dataSource: DataSource, userGroupPermissionJob: UserGroupPermissionJob);
|
9
9
|
listenTo(): typeof UserGroupPermissionEntity;
|
10
|
-
afterInsert(
|
11
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<UserGroupPermissionEntity>): Promise<void>;
|
11
|
+
afterUpdate(evt: UpdateEvent<UserGroupPermissionEntity>): Promise<void>;
|
12
12
|
}
|
@@ -24,11 +24,11 @@ let UserGroupPermissionSubscriber = class UserGroupPermissionSubscriber extends
|
|
24
24
|
listenTo() {
|
25
25
|
return user_group_permission_entity_1.UserGroupPermissionEntity;
|
26
26
|
}
|
27
|
-
async afterInsert(
|
28
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.userGroupPermissionJob);
|
29
29
|
}
|
30
|
-
async afterUpdate(
|
31
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.userGroupPermissionJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.UserGroupPermissionSubscriber = UserGroupPermissionSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user.group.permission.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/user.group.permission.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,2FAAqF;AACrF,iFAA2E;AAC3E,gFAA4E;AAGrE,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,oCAA2C;IAC1F,YACqB,UAAsB,EACtB,sBAA8C;QAE/D,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,2BAAsB,GAAtB,sBAAsB,CAAwB;QAG/D,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,wDAAyB,CAAC;IACrC,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,
|
1
|
+
{"version":3,"file":"user.group.permission.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/user.group.permission.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,2FAAqF;AACrF,iFAA2E;AAC3E,gFAA4E;AAGrE,IAAM,6BAA6B,GAAnC,MAAM,6BAA8B,SAAQ,oCAA2C;IAC1F,YACqB,UAAsB,EACtB,sBAA8C;QAE/D,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,2BAAsB,GAAtB,sBAAsB,CAAwB;QAG/D,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,wDAAyB,CAAC;IACrC,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAA2C;QACzD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAC7D,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAA2C;QACzD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,sBAAsB,CAAC,CAAC;IAC7D,CAAC;CACJ,CAAA;AAnBY,sEAA6B;wCAA7B,6BAA6B;IADzC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACE,kDAAsB;GAH1D,6BAA6B,CAmBzC"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import { DataSource, InsertEvent, UpdateEvent } from 'typeorm';
|
2
|
+
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
2
3
|
import { UserGroupRoleEntity } from '../entities/user.group.role.entity';
|
3
4
|
import { UserGroupRoleJob } from '../jobs/user.group.role.job';
|
4
|
-
import { CommonSubscriber } from '../../common/libraries/common.subscriber';
|
5
5
|
export declare class UserGroupRoleSubscriber extends CommonSubscriber<UserGroupRoleEntity> {
|
6
6
|
private readonly dataSource;
|
7
7
|
private readonly userGroupRoleJob;
|
8
8
|
constructor(dataSource: DataSource, userGroupRoleJob: UserGroupRoleJob);
|
9
9
|
listenTo(): typeof UserGroupRoleEntity;
|
10
|
-
afterInsert(
|
11
|
-
afterUpdate(
|
10
|
+
afterInsert(evt: InsertEvent<UserGroupRoleEntity>): Promise<void>;
|
11
|
+
afterUpdate(evt: UpdateEvent<UserGroupRoleEntity>): Promise<void>;
|
12
12
|
}
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.UserGroupRoleSubscriber = void 0;
|
13
13
|
const typeorm_1 = require("typeorm");
|
14
|
+
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
14
15
|
const user_group_role_entity_1 = require("../entities/user.group.role.entity");
|
15
16
|
const user_group_role_job_1 = require("../jobs/user.group.role.job");
|
16
|
-
const common_subscriber_1 = require("../../common/libraries/common.subscriber");
|
17
17
|
let UserGroupRoleSubscriber = class UserGroupRoleSubscriber extends common_subscriber_1.CommonSubscriber {
|
18
18
|
constructor(dataSource, userGroupRoleJob) {
|
19
19
|
super();
|
@@ -24,11 +24,11 @@ let UserGroupRoleSubscriber = class UserGroupRoleSubscriber extends common_subsc
|
|
24
24
|
listenTo() {
|
25
25
|
return user_group_role_entity_1.UserGroupRoleEntity;
|
26
26
|
}
|
27
|
-
async afterInsert(
|
28
|
-
|
27
|
+
async afterInsert(evt) {
|
28
|
+
return this.triggerJob(evt, this.userGroupRoleJob);
|
29
29
|
}
|
30
|
-
async afterUpdate(
|
31
|
-
|
30
|
+
async afterUpdate(evt) {
|
31
|
+
return this.triggerJob(evt, this.userGroupRoleJob);
|
32
32
|
}
|
33
33
|
};
|
34
34
|
exports.UserGroupRoleSubscriber = UserGroupRoleSubscriber;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user.group.role.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/user.group.role.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,+EAAyE;AACzE,qEAA+D;
|
1
|
+
{"version":3,"file":"user.group.role.subscriber.js","sourceRoot":"","sources":["../../../src/system/subscribers/user.group.role.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgF;AAChF,gFAA4E;AAC5E,+EAAyE;AACzE,qEAA+D;AAGxD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,oCAAqC;IAC9E,YACqB,UAAsB,EACtB,gBAAkC;QAEnD,KAAK,EAAE,CAAC;QAHS,eAAU,GAAV,UAAU,CAAY;QACtB,qBAAgB,GAAhB,gBAAgB,CAAkB;QAGnD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IACD,QAAQ;QACJ,OAAO,4CAAmB,CAAC;IAC/B,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAqC;QACnD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACvD,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,GAAqC;QACnD,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACvD,CAAC;CACJ,CAAA;AAnBY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,yBAAe,GAAE;qCAGmB,oBAAU;QACJ,sCAAgB;GAH9C,uBAAuB,CAmBnC"}
|
package/package.json
CHANGED