@neohm/nestend 3.0.2 → 3.0.3
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/README.md +46 -13
- package/dist/admin/admin.module.d.ts +2 -3
- package/dist/admin/admin.module.d.ts.map +1 -1
- package/dist/admin/admin.module.js.map +1 -1
- package/dist/admin/controllers/admin.user.controller.d.ts +1 -1
- package/dist/admin/libraries/bulk.user.data.processor.d.ts +2 -5
- package/dist/admin/libraries/bulk.user.data.processor.d.ts.map +1 -1
- package/dist/admin/libraries/bulk.user.data.processor.js.map +1 -1
- package/dist/admin/types/admin.types.d.ts +9 -0
- package/dist/admin/types/admin.types.d.ts.map +1 -0
- package/dist/admin/types/admin.types.js +3 -0
- package/dist/admin/types/admin.types.js.map +1 -0
- package/dist/auth/auth.module.d.ts +2 -3
- package/dist/auth/auth.module.d.ts.map +1 -1
- package/dist/auth/auth.module.js.map +1 -1
- package/dist/auth/es6.classes.d.ts +2 -12
- package/dist/auth/es6.classes.d.ts.map +1 -1
- package/dist/auth/es6.classes.js +2 -24
- package/dist/auth/es6.classes.js.map +1 -1
- package/dist/auth/helpers/admin.auth.d.ts.map +1 -1
- package/dist/auth/helpers/admin.auth.js.map +1 -1
- package/dist/auth/helpers/auth.d.ts.map +1 -1
- package/dist/auth/helpers/auth.js.map +1 -1
- package/dist/auth/types/auth.types.d.ts +11 -0
- package/dist/auth/types/auth.types.d.ts.map +1 -1
- package/dist/common/consumers/job.consumer.d.ts +4 -0
- package/dist/common/consumers/job.consumer.d.ts.map +1 -1
- package/dist/common/consumers/job.consumer.js +22 -2
- package/dist/common/consumers/job.consumer.js.map +1 -1
- package/dist/common/entities/scheduled.event.entity.d.ts.map +1 -1
- package/dist/common/entities/scheduled.event.entity.js.map +1 -1
- package/dist/common/es6.classes.d.ts +3 -21
- package/dist/common/es6.classes.d.ts.map +1 -1
- package/dist/common/es6.classes.js +2 -20
- package/dist/common/es6.classes.js.map +1 -1
- package/dist/common/jobs/dispatch.scheduled.event.job.d.ts +2 -0
- package/dist/common/jobs/dispatch.scheduled.event.job.d.ts.map +1 -1
- package/dist/common/jobs/dispatch.scheduled.event.job.js +18 -7
- package/dist/common/jobs/dispatch.scheduled.event.job.js.map +1 -1
- package/dist/common/jobs/set.scheduled.event.job.d.ts +1 -2
- package/dist/common/jobs/set.scheduled.event.job.d.ts.map +1 -1
- package/dist/common/jobs/set.scheduled.event.job.js +22 -19
- package/dist/common/jobs/set.scheduled.event.job.js.map +1 -1
- package/dist/common/jobs/system.scheduled.task.job.d.ts.map +1 -1
- package/dist/common/jobs/system.scheduled.task.job.js +3 -1
- package/dist/common/jobs/system.scheduled.task.job.js.map +1 -1
- package/dist/common/libraries/common.data.processor.d.ts +2 -4
- package/dist/common/libraries/common.data.processor.d.ts.map +1 -1
- package/dist/common/libraries/common.data.processor.js.map +1 -1
- package/dist/common/queue.module.d.ts.map +1 -1
- package/dist/common/queue.module.js +8 -0
- package/dist/common/queue.module.js.map +1 -1
- package/dist/common/services/queue.service.d.ts +2 -2
- package/dist/common/services/queue.service.d.ts.map +1 -1
- package/dist/common/services/queue.service.js.map +1 -1
- package/dist/common/services/system.property.service.d.ts +3 -4
- package/dist/common/services/system.property.service.d.ts.map +1 -1
- package/dist/common/services/system.property.service.js +12 -14
- package/dist/common/services/system.property.service.js.map +1 -1
- package/dist/common/subscribers/common.subscriber.d.ts.map +1 -1
- package/dist/common/subscribers/common.subscriber.js +8 -0
- package/dist/common/subscribers/common.subscriber.js.map +1 -1
- package/dist/common/system.property.module.d.ts +2 -3
- package/dist/common/system.property.module.d.ts.map +1 -1
- package/dist/common/system.property.module.js.map +1 -1
- package/dist/common/types/data.processor.types.d.ts +5 -0
- package/dist/common/types/data.processor.types.d.ts.map +1 -0
- package/dist/common/types/data.processor.types.js +3 -0
- package/dist/common/types/data.processor.types.js.map +1 -0
- package/dist/common/types/queue.types.d.ts +1 -0
- package/dist/common/types/queue.types.d.ts.map +1 -1
- package/dist/common/types/system.property.types.d.ts +12 -0
- package/dist/common/types/system.property.types.d.ts.map +1 -0
- package/dist/common/types/system.property.types.js +3 -0
- package/dist/common/types/system.property.types.js.map +1 -0
- package/dist/constants/job.constants.d.ts +0 -16
- package/dist/constants/job.constants.d.ts.map +1 -1
- package/dist/constants/job.constants.js +0 -16
- package/dist/constants/job.constants.js.map +1 -1
- package/dist/constants/job.maps.d.ts +0 -32
- package/dist/constants/job.maps.d.ts.map +1 -1
- package/dist/constants/job.maps.js +0 -32
- package/dist/constants/job.maps.js.map +1 -1
- package/dist/document/document.module.d.ts +2 -3
- package/dist/document/document.module.d.ts.map +1 -1
- package/dist/document/document.module.js.map +1 -1
- package/dist/document/types/document.types.d.ts +3 -0
- package/dist/document/types/document.types.d.ts.map +1 -1
- package/dist/global/filters/global.exception.filter.d.ts.map +1 -1
- package/dist/global/filters/global.exception.filter.js.map +1 -1
- package/dist/global/types/exception.filter.types.d.ts +9 -0
- package/dist/global/types/exception.filter.types.d.ts.map +1 -0
- package/dist/global/types/exception.filter.types.js +3 -0
- package/dist/global/types/exception.filter.types.js.map +1 -0
- package/dist/global/types/seeder.utility.types.d.ts +5 -0
- package/dist/global/types/seeder.utility.types.d.ts.map +1 -0
- package/dist/global/types/seeder.utility.types.js +3 -0
- package/dist/global/types/seeder.utility.types.js.map +1 -0
- package/dist/global/utilities/schedule.utility.d.ts.map +1 -1
- package/dist/global/utilities/schedule.utility.js +1 -5
- package/dist/global/utilities/schedule.utility.js.map +1 -1
- package/dist/global/utilities/seeder.utility.d.ts.map +1 -1
- package/dist/global/utilities/seeder.utility.js.map +1 -1
- package/dist/index.d.ts +1 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -17
- package/dist/index.js.map +1 -1
- package/dist/notification/es6.classes.d.ts +2 -6
- package/dist/notification/es6.classes.d.ts.map +1 -1
- package/dist/notification/es6.classes.js +2 -6
- package/dist/notification/es6.classes.js.map +1 -1
- package/dist/notification/notification.module.d.ts +2 -3
- package/dist/notification/notification.module.d.ts.map +1 -1
- package/dist/notification/notification.module.js.map +1 -1
- package/dist/notification/types/notification.types.d.ts +3 -0
- package/dist/notification/types/notification.types.d.ts.map +1 -1
- package/dist/tenant/tenant.module.d.ts +2 -3
- package/dist/tenant/tenant.module.d.ts.map +1 -1
- package/dist/tenant/tenant.module.js.map +1 -1
- package/dist/tenant/types/tenant.types.d.ts +3 -0
- package/dist/tenant/types/tenant.types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/auth/jobs/system.refresh.token.job.d.ts +0 -8
- package/dist/auth/jobs/system.refresh.token.job.d.ts.map +0 -1
- package/dist/auth/jobs/system.refresh.token.job.js +0 -31
- package/dist/auth/jobs/system.refresh.token.job.js.map +0 -1
- package/dist/auth/jobs/system.role.job.d.ts +0 -8
- package/dist/auth/jobs/system.role.job.d.ts.map +0 -1
- package/dist/auth/jobs/system.role.job.js +0 -31
- package/dist/auth/jobs/system.role.job.js.map +0 -1
- package/dist/auth/jobs/user.details.job.d.ts +0 -8
- package/dist/auth/jobs/user.details.job.d.ts.map +0 -1
- package/dist/auth/jobs/user.details.job.js +0 -31
- package/dist/auth/jobs/user.details.job.js.map +0 -1
- package/dist/auth/jobs/user.job.d.ts +0 -8
- package/dist/auth/jobs/user.job.d.ts.map +0 -1
- package/dist/auth/jobs/user.job.js +0 -31
- package/dist/auth/jobs/user.job.js.map +0 -1
- package/dist/auth/jobs/user.role.job.d.ts +0 -8
- package/dist/auth/jobs/user.role.job.d.ts.map +0 -1
- package/dist/auth/jobs/user.role.job.js +0 -31
- package/dist/auth/jobs/user.role.job.js.map +0 -1
- package/dist/auth/subscribers/system.refresh.token.subscriber.d.ts +0 -10
- package/dist/auth/subscribers/system.refresh.token.subscriber.d.ts.map +0 -1
- package/dist/auth/subscribers/system.refresh.token.subscriber.js +0 -33
- package/dist/auth/subscribers/system.refresh.token.subscriber.js.map +0 -1
- package/dist/auth/subscribers/system.role.subscriber.d.ts +0 -10
- package/dist/auth/subscribers/system.role.subscriber.d.ts.map +0 -1
- package/dist/auth/subscribers/system.role.subscriber.js +0 -33
- package/dist/auth/subscribers/system.role.subscriber.js.map +0 -1
- package/dist/auth/subscribers/user.details.subscriber.d.ts +0 -10
- package/dist/auth/subscribers/user.details.subscriber.d.ts.map +0 -1
- package/dist/auth/subscribers/user.details.subscriber.js +0 -33
- package/dist/auth/subscribers/user.details.subscriber.js.map +0 -1
- package/dist/auth/subscribers/user.role.subscriber.d.ts +0 -10
- package/dist/auth/subscribers/user.role.subscriber.d.ts.map +0 -1
- package/dist/auth/subscribers/user.role.subscriber.js +0 -33
- package/dist/auth/subscribers/user.role.subscriber.js.map +0 -1
- package/dist/auth/subscribers/user.subscriber.d.ts +0 -11
- package/dist/auth/subscribers/user.subscriber.d.ts.map +0 -1
- package/dist/auth/subscribers/user.subscriber.js +0 -39
- package/dist/auth/subscribers/user.subscriber.js.map +0 -1
- package/dist/common/jobs/activity.log.job.d.ts +0 -8
- package/dist/common/jobs/activity.log.job.d.ts.map +0 -1
- package/dist/common/jobs/activity.log.job.js +0 -31
- package/dist/common/jobs/activity.log.job.js.map +0 -1
- package/dist/common/jobs/document.job.d.ts +0 -8
- package/dist/common/jobs/document.job.d.ts.map +0 -1
- package/dist/common/jobs/document.job.js +0 -31
- package/dist/common/jobs/document.job.js.map +0 -1
- package/dist/common/jobs/scheduled.event.job.d.ts +0 -10
- package/dist/common/jobs/scheduled.event.job.d.ts.map +0 -1
- package/dist/common/jobs/scheduled.event.job.js +0 -29
- package/dist/common/jobs/scheduled.event.job.js.map +0 -1
- package/dist/common/jobs/system.audit.log.job.d.ts +0 -8
- package/dist/common/jobs/system.audit.log.job.d.ts.map +0 -1
- package/dist/common/jobs/system.audit.log.job.js +0 -31
- package/dist/common/jobs/system.audit.log.job.js.map +0 -1
- package/dist/common/jobs/system.constant.job.d.ts +0 -8
- package/dist/common/jobs/system.constant.job.d.ts.map +0 -1
- package/dist/common/jobs/system.constant.job.js +0 -31
- package/dist/common/jobs/system.constant.job.js.map +0 -1
- package/dist/common/jobs/system.constant.type.job.d.ts +0 -8
- package/dist/common/jobs/system.constant.type.job.d.ts.map +0 -1
- package/dist/common/jobs/system.constant.type.job.js +0 -31
- package/dist/common/jobs/system.constant.type.job.js.map +0 -1
- package/dist/common/jobs/system.failed.job.job.d.ts +0 -8
- package/dist/common/jobs/system.failed.job.job.d.ts.map +0 -1
- package/dist/common/jobs/system.failed.job.job.js +0 -31
- package/dist/common/jobs/system.failed.job.job.js.map +0 -1
- package/dist/common/jobs/system.notification.job.d.ts +0 -8
- package/dist/common/jobs/system.notification.job.d.ts.map +0 -1
- package/dist/common/jobs/system.notification.job.js +0 -31
- package/dist/common/jobs/system.notification.job.js.map +0 -1
- package/dist/common/jobs/system.property.job.d.ts +0 -8
- package/dist/common/jobs/system.property.job.d.ts.map +0 -1
- package/dist/common/jobs/system.property.job.js +0 -31
- package/dist/common/jobs/system.property.job.js.map +0 -1
- package/dist/common/subscribers/activity.log.subscriber.d.ts +0 -10
- package/dist/common/subscribers/activity.log.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/activity.log.subscriber.js +0 -33
- package/dist/common/subscribers/activity.log.subscriber.js.map +0 -1
- package/dist/common/subscribers/document.subscriber.d.ts +0 -10
- package/dist/common/subscribers/document.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/document.subscriber.js +0 -33
- package/dist/common/subscribers/document.subscriber.js.map +0 -1
- package/dist/common/subscribers/scheduled.event.subscriber.d.ts +0 -11
- package/dist/common/subscribers/scheduled.event.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/scheduled.event.subscriber.js +0 -35
- package/dist/common/subscribers/scheduled.event.subscriber.js.map +0 -1
- package/dist/common/subscribers/system.audit.log.subscriber.d.ts +0 -10
- package/dist/common/subscribers/system.audit.log.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/system.audit.log.subscriber.js +0 -33
- package/dist/common/subscribers/system.audit.log.subscriber.js.map +0 -1
- package/dist/common/subscribers/system.constant.subscriber.d.ts +0 -10
- package/dist/common/subscribers/system.constant.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/system.constant.subscriber.js +0 -33
- package/dist/common/subscribers/system.constant.subscriber.js.map +0 -1
- package/dist/common/subscribers/system.constant.type.subscriber.d.ts +0 -10
- package/dist/common/subscribers/system.constant.type.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/system.constant.type.subscriber.js +0 -33
- package/dist/common/subscribers/system.constant.type.subscriber.js.map +0 -1
- package/dist/common/subscribers/system.failed.job.subscriber.d.ts +0 -10
- package/dist/common/subscribers/system.failed.job.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/system.failed.job.subscriber.js +0 -33
- package/dist/common/subscribers/system.failed.job.subscriber.js.map +0 -1
- package/dist/common/subscribers/system.notification.subscriber.d.ts +0 -10
- package/dist/common/subscribers/system.notification.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/system.notification.subscriber.js +0 -33
- package/dist/common/subscribers/system.notification.subscriber.js.map +0 -1
- package/dist/common/subscribers/system.property.subscriber.d.ts +0 -10
- package/dist/common/subscribers/system.property.subscriber.d.ts.map +0 -1
- package/dist/common/subscribers/system.property.subscriber.js +0 -33
- package/dist/common/subscribers/system.property.subscriber.js.map +0 -1
- package/dist/notification/jobs/email.notification.log.job.d.ts +0 -8
- package/dist/notification/jobs/email.notification.log.job.d.ts.map +0 -1
- package/dist/notification/jobs/email.notification.log.job.js +0 -31
- package/dist/notification/jobs/email.notification.log.job.js.map +0 -1
- package/dist/notification/jobs/email.template.job.d.ts +0 -8
- package/dist/notification/jobs/email.template.job.d.ts.map +0 -1
- package/dist/notification/jobs/email.template.job.js +0 -31
- package/dist/notification/jobs/email.template.job.js.map +0 -1
- package/dist/notification/subscribers/email.notification.log.subscriber.d.ts +0 -11
- package/dist/notification/subscribers/email.notification.log.subscriber.d.ts.map +0 -1
- package/dist/notification/subscribers/email.notification.log.subscriber.js +0 -35
- package/dist/notification/subscribers/email.notification.log.subscriber.js.map +0 -1
- package/dist/notification/subscribers/email.template.subscriber.d.ts +0 -11
- package/dist/notification/subscribers/email.template.subscriber.d.ts.map +0 -1
- package/dist/notification/subscribers/email.template.subscriber.js +0 -35
- package/dist/notification/subscribers/email.template.subscriber.js.map +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
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.ScheduledEventSubscriber = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const scheduled_event_entity_1 = require("../entities/scheduled.event.entity");
|
|
15
|
-
const typeorm_2 = require("typeorm");
|
|
16
|
-
const scheduled_event_job_1 = require("../jobs/scheduled.event.job");
|
|
17
|
-
const common_subscriber_1 = require("./common.subscriber");
|
|
18
|
-
let ScheduledEventSubscriber = class ScheduledEventSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
19
|
-
constructor(datasource, entityJob) {
|
|
20
|
-
super();
|
|
21
|
-
this.datasource = datasource;
|
|
22
|
-
this.entityJob = entityJob;
|
|
23
|
-
datasource.subscribers.push(this);
|
|
24
|
-
}
|
|
25
|
-
listenTo() {
|
|
26
|
-
return scheduled_event_entity_1.ScheduledEventEntity;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.ScheduledEventSubscriber = ScheduledEventSubscriber;
|
|
30
|
-
exports.ScheduledEventSubscriber = ScheduledEventSubscriber = __decorate([
|
|
31
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
32
|
-
__metadata("design:paramtypes", [typeorm_2.DataSource,
|
|
33
|
-
scheduled_event_job_1.ScheduledEventJob])
|
|
34
|
-
], ScheduledEventSubscriber);
|
|
35
|
-
//# sourceMappingURL=scheduled.event.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled.event.subscriber.js","sourceRoot":"","sources":["../../../src/common/subscribers/scheduled.event.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAA0C;AAC1C,+EAA0E;AAC1E,qCAAqC;AACrC,qEAAgE;AAChE,2DAAuD;AAGhD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,oCAAsC;IAClF,YACqB,UAAsB,EACtB,SAA4B;QAE/C,KAAK,EAAE,CAAC;QAHW,eAAU,GAAV,UAAU,CAAY;QACtB,cAAS,GAAT,SAAS,CAAmB;QAG/C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,6CAAoB,CAAC;IAC9B,CAAC;CACF,CAAA;AAZY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAGiB,oBAAU;QACX,uCAAiB;GAHtC,wBAAwB,CAYpC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataSource } from 'typeorm';
|
|
2
|
-
import { CommonSubscriber } from './common.subscriber';
|
|
3
|
-
import { SystemAuditLogEntity } from '../entities/system.audit.log.entity';
|
|
4
|
-
import { SystemAuditLogJob } from '../jobs/system.audit.log.job';
|
|
5
|
-
export declare class SystemAuditLogSubscriber extends CommonSubscriber<SystemAuditLogEntity> {
|
|
6
|
-
protected readonly entityJob: SystemAuditLogJob;
|
|
7
|
-
constructor(dataSource: DataSource, entityJob: SystemAuditLogJob);
|
|
8
|
-
listenTo(): typeof SystemAuditLogEntity;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=system.audit.log.subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.audit.log.subscriber.d.ts","sourceRoot":"","sources":["../../../src/common/subscribers/system.audit.log.subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,qBACa,wBAAyB,SAAQ,gBAAgB,CAAC,oBAAoB,CAAC;IAGhF,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,iBAAiB;gBAD/C,UAAU,EAAE,UAAU,EACH,SAAS,EAAE,iBAAiB;IAMjD,QAAQ;CAGT"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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.SystemAuditLogSubscriber = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const common_subscriber_1 = require("./common.subscriber");
|
|
15
|
-
const system_audit_log_entity_1 = require("../entities/system.audit.log.entity");
|
|
16
|
-
const system_audit_log_job_1 = require("../jobs/system.audit.log.job");
|
|
17
|
-
let SystemAuditLogSubscriber = class SystemAuditLogSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
18
|
-
constructor(dataSource, entityJob) {
|
|
19
|
-
super();
|
|
20
|
-
this.entityJob = entityJob;
|
|
21
|
-
dataSource.subscribers.push(this);
|
|
22
|
-
}
|
|
23
|
-
listenTo() {
|
|
24
|
-
return system_audit_log_entity_1.SystemAuditLogEntity;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.SystemAuditLogSubscriber = SystemAuditLogSubscriber;
|
|
28
|
-
exports.SystemAuditLogSubscriber = SystemAuditLogSubscriber = __decorate([
|
|
29
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
30
|
-
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
31
|
-
system_audit_log_job_1.SystemAuditLogJob])
|
|
32
|
-
], SystemAuditLogSubscriber);
|
|
33
|
-
//# sourceMappingURL=system.audit.log.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.audit.log.subscriber.js","sourceRoot":"","sources":["../../../src/common/subscribers/system.audit.log.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsD;AACtD,2DAAuD;AACvD,iFAA2E;AAC3E,uEAAiE;AAG1D,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,oCAAsC;IAClF,YACE,UAAsB,EACH,SAA4B;QAE/C,KAAK,EAAE,CAAC;QAFW,cAAS,GAAT,SAAS,CAAmB;QAG/C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,8CAAoB,CAAC;IAC9B,CAAC;CACF,CAAA;AAZY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAGF,oBAAU;QACQ,wCAAiB;GAHtC,wBAAwB,CAYpC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataSource } from 'typeorm';
|
|
2
|
-
import { CommonSubscriber } from './common.subscriber';
|
|
3
|
-
import { SystemConstantEntity } from '../entities/system.constant.entity';
|
|
4
|
-
import { SystemConstantJob } from '../jobs/system.constant.job';
|
|
5
|
-
export declare class SystemConstantSubscriber extends CommonSubscriber<SystemConstantEntity> {
|
|
6
|
-
protected readonly entityJob: SystemConstantJob;
|
|
7
|
-
constructor(dataSource: DataSource, entityJob: SystemConstantJob);
|
|
8
|
-
listenTo(): typeof SystemConstantEntity;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=system.constant.subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.constant.subscriber.d.ts","sourceRoot":"","sources":["../../../src/common/subscribers/system.constant.subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,qBACa,wBAAyB,SAAQ,gBAAgB,CAAC,oBAAoB,CAAC;IAGhF,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,iBAAiB;gBAD/C,UAAU,EAAE,UAAU,EACH,SAAS,EAAE,iBAAiB;IAMjD,QAAQ;CAGT"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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.SystemConstantSubscriber = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const common_subscriber_1 = require("./common.subscriber");
|
|
15
|
-
const system_constant_entity_1 = require("../entities/system.constant.entity");
|
|
16
|
-
const system_constant_job_1 = require("../jobs/system.constant.job");
|
|
17
|
-
let SystemConstantSubscriber = class SystemConstantSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
18
|
-
constructor(dataSource, entityJob) {
|
|
19
|
-
super();
|
|
20
|
-
this.entityJob = entityJob;
|
|
21
|
-
dataSource.subscribers.push(this);
|
|
22
|
-
}
|
|
23
|
-
listenTo() {
|
|
24
|
-
return system_constant_entity_1.SystemConstantEntity;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.SystemConstantSubscriber = SystemConstantSubscriber;
|
|
28
|
-
exports.SystemConstantSubscriber = SystemConstantSubscriber = __decorate([
|
|
29
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
30
|
-
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
31
|
-
system_constant_job_1.SystemConstantJob])
|
|
32
|
-
], SystemConstantSubscriber);
|
|
33
|
-
//# sourceMappingURL=system.constant.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.constant.subscriber.js","sourceRoot":"","sources":["../../../src/common/subscribers/system.constant.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsD;AACtD,2DAAuD;AACvD,+EAA0E;AAC1E,qEAAgE;AAGzD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,oCAAsC;IAClF,YACE,UAAsB,EACH,SAA4B;QAE/C,KAAK,EAAE,CAAC;QAFW,cAAS,GAAT,SAAS,CAAmB;QAG/C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,6CAAoB,CAAC;IAC9B,CAAC;CACF,CAAA;AAZY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAGF,oBAAU;QACQ,uCAAiB;GAHtC,wBAAwB,CAYpC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataSource } from 'typeorm';
|
|
2
|
-
import { CommonSubscriber } from './common.subscriber';
|
|
3
|
-
import { SystemConstantTypeEntity } from '../entities/system.constant.type.entity';
|
|
4
|
-
import { SystemConstantTypeJob } from '../jobs/system.constant.type.job';
|
|
5
|
-
export declare class SystemConstantTypeSubscriber extends CommonSubscriber<SystemConstantTypeEntity> {
|
|
6
|
-
protected readonly entityJob: SystemConstantTypeJob;
|
|
7
|
-
constructor(dataSource: DataSource, entityJob: SystemConstantTypeJob);
|
|
8
|
-
listenTo(): typeof SystemConstantTypeEntity;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=system.constant.type.subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.constant.type.subscriber.d.ts","sourceRoot":"","sources":["../../../src/common/subscribers/system.constant.type.subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAEzE,qBACa,4BAA6B,SAAQ,gBAAgB,CAAC,wBAAwB,CAAC;IAGxF,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,qBAAqB;gBADnD,UAAU,EAAE,UAAU,EACH,SAAS,EAAE,qBAAqB;IAMrD,QAAQ;CAGT"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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.SystemConstantTypeSubscriber = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const common_subscriber_1 = require("./common.subscriber");
|
|
15
|
-
const system_constant_type_entity_1 = require("../entities/system.constant.type.entity");
|
|
16
|
-
const system_constant_type_job_1 = require("../jobs/system.constant.type.job");
|
|
17
|
-
let SystemConstantTypeSubscriber = class SystemConstantTypeSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
18
|
-
constructor(dataSource, entityJob) {
|
|
19
|
-
super();
|
|
20
|
-
this.entityJob = entityJob;
|
|
21
|
-
dataSource.subscribers.push(this);
|
|
22
|
-
}
|
|
23
|
-
listenTo() {
|
|
24
|
-
return system_constant_type_entity_1.SystemConstantTypeEntity;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.SystemConstantTypeSubscriber = SystemConstantTypeSubscriber;
|
|
28
|
-
exports.SystemConstantTypeSubscriber = SystemConstantTypeSubscriber = __decorate([
|
|
29
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
30
|
-
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
31
|
-
system_constant_type_job_1.SystemConstantTypeJob])
|
|
32
|
-
], SystemConstantTypeSubscriber);
|
|
33
|
-
//# sourceMappingURL=system.constant.type.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.constant.type.subscriber.js","sourceRoot":"","sources":["../../../src/common/subscribers/system.constant.type.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsD;AACtD,2DAAuD;AACvD,yFAAmF;AACnF,+EAAyE;AAGlE,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,oCAA0C;IAC1F,YACE,UAAsB,EACH,SAAgC;QAEnD,KAAK,EAAE,CAAC;QAFW,cAAS,GAAT,SAAS,CAAuB;QAGnD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,sDAAwB,CAAC;IAClC,CAAC;CACF,CAAA;AAZY,oEAA4B;uCAA5B,4BAA4B;IADxC,IAAA,yBAAe,GAAE;qCAGF,oBAAU;QACQ,gDAAqB;GAH1C,4BAA4B,CAYxC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataSource } from 'typeorm';
|
|
2
|
-
import { CommonSubscriber } from './common.subscriber';
|
|
3
|
-
import { SystemFailedJobEntity } from '../entities/system.failed.job.entity';
|
|
4
|
-
import { SystemFailedJobJob } from '../jobs/system.failed.job.job';
|
|
5
|
-
export declare class SystemFailedJobSubscriber extends CommonSubscriber<SystemFailedJobEntity> {
|
|
6
|
-
protected readonly entityJob: SystemFailedJobJob;
|
|
7
|
-
constructor(dataSource: DataSource, entityJob: SystemFailedJobJob);
|
|
8
|
-
listenTo(): typeof SystemFailedJobEntity;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=system.failed.job.subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.failed.job.subscriber.d.ts","sourceRoot":"","sources":["../../../src/common/subscribers/system.failed.job.subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,qBACa,yBAA0B,SAAQ,gBAAgB,CAAC,qBAAqB,CAAC;IAGlF,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,kBAAkB;gBADhD,UAAU,EAAE,UAAU,EACH,SAAS,EAAE,kBAAkB;IAMlD,QAAQ;CAGT"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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.SystemFailedJobSubscriber = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const common_subscriber_1 = require("./common.subscriber");
|
|
15
|
-
const system_failed_job_entity_1 = require("../entities/system.failed.job.entity");
|
|
16
|
-
const system_failed_job_job_1 = require("../jobs/system.failed.job.job");
|
|
17
|
-
let SystemFailedJobSubscriber = class SystemFailedJobSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
18
|
-
constructor(dataSource, entityJob) {
|
|
19
|
-
super();
|
|
20
|
-
this.entityJob = entityJob;
|
|
21
|
-
dataSource.subscribers.push(this);
|
|
22
|
-
}
|
|
23
|
-
listenTo() {
|
|
24
|
-
return system_failed_job_entity_1.SystemFailedJobEntity;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.SystemFailedJobSubscriber = SystemFailedJobSubscriber;
|
|
28
|
-
exports.SystemFailedJobSubscriber = SystemFailedJobSubscriber = __decorate([
|
|
29
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
30
|
-
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
31
|
-
system_failed_job_job_1.SystemFailedJobJob])
|
|
32
|
-
], SystemFailedJobSubscriber);
|
|
33
|
-
//# sourceMappingURL=system.failed.job.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.failed.job.subscriber.js","sourceRoot":"","sources":["../../../src/common/subscribers/system.failed.job.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsD;AACtD,2DAAuD;AACvD,mFAA6E;AAC7E,yEAAmE;AAG5D,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,oCAAuC;IACpF,YACE,UAAsB,EACH,SAA6B;QAEhD,KAAK,EAAE,CAAC;QAFW,cAAS,GAAT,SAAS,CAAoB;QAGhD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,gDAAqB,CAAC;IAC/B,CAAC;CACF,CAAA;AAZY,8DAAyB;oCAAzB,yBAAyB;IADrC,IAAA,yBAAe,GAAE;qCAGF,oBAAU;QACQ,0CAAkB;GAHvC,yBAAyB,CAYrC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataSource } from 'typeorm';
|
|
2
|
-
import { CommonSubscriber } from './common.subscriber';
|
|
3
|
-
import { SystemNotificationEntity } from '../entities/system.notification.entity';
|
|
4
|
-
import { SystemNotificationJob } from '../jobs/system.notification.job';
|
|
5
|
-
export declare class SystemNotificationSubscriber extends CommonSubscriber<SystemNotificationEntity> {
|
|
6
|
-
protected readonly entityJob: SystemNotificationJob;
|
|
7
|
-
constructor(dataSource: DataSource, entityJob: SystemNotificationJob);
|
|
8
|
-
listenTo(): typeof SystemNotificationEntity;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=system.notification.subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.notification.subscriber.d.ts","sourceRoot":"","sources":["../../../src/common/subscribers/system.notification.subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAExE,qBACa,4BAA6B,SAAQ,gBAAgB,CAAC,wBAAwB,CAAC;IAGxF,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,qBAAqB;gBADnD,UAAU,EAAE,UAAU,EACH,SAAS,EAAE,qBAAqB;IAMrD,QAAQ;CAGT"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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.SystemNotificationSubscriber = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const common_subscriber_1 = require("./common.subscriber");
|
|
15
|
-
const system_notification_entity_1 = require("../entities/system.notification.entity");
|
|
16
|
-
const system_notification_job_1 = require("../jobs/system.notification.job");
|
|
17
|
-
let SystemNotificationSubscriber = class SystemNotificationSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
18
|
-
constructor(dataSource, entityJob) {
|
|
19
|
-
super();
|
|
20
|
-
this.entityJob = entityJob;
|
|
21
|
-
dataSource.subscribers.push(this);
|
|
22
|
-
}
|
|
23
|
-
listenTo() {
|
|
24
|
-
return system_notification_entity_1.SystemNotificationEntity;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.SystemNotificationSubscriber = SystemNotificationSubscriber;
|
|
28
|
-
exports.SystemNotificationSubscriber = SystemNotificationSubscriber = __decorate([
|
|
29
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
30
|
-
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
31
|
-
system_notification_job_1.SystemNotificationJob])
|
|
32
|
-
], SystemNotificationSubscriber);
|
|
33
|
-
//# sourceMappingURL=system.notification.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.notification.subscriber.js","sourceRoot":"","sources":["../../../src/common/subscribers/system.notification.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsD;AACtD,2DAAuD;AACvD,uFAAkF;AAClF,6EAAwE;AAGjE,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,oCAA0C;IAC1F,YACE,UAAsB,EACH,SAAgC;QAEnD,KAAK,EAAE,CAAC;QAFW,cAAS,GAAT,SAAS,CAAuB;QAGnD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,qDAAwB,CAAC;IAClC,CAAC;CACF,CAAA;AAZY,oEAA4B;uCAA5B,4BAA4B;IADxC,IAAA,yBAAe,GAAE;qCAGF,oBAAU;QACQ,+CAAqB;GAH1C,4BAA4B,CAYxC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataSource } from 'typeorm';
|
|
2
|
-
import { CommonSubscriber } from './common.subscriber';
|
|
3
|
-
import { SystemPropertyEntity } from '../entities/system.property.entity';
|
|
4
|
-
import { SystemPropertyJob } from '../jobs/system.property.job';
|
|
5
|
-
export declare class SystemPropertySubscriber extends CommonSubscriber<SystemPropertyEntity> {
|
|
6
|
-
protected readonly entityJob: SystemPropertyJob;
|
|
7
|
-
constructor(dataSource: DataSource, entityJob: SystemPropertyJob);
|
|
8
|
-
listenTo(): typeof SystemPropertyEntity;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=system.property.subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.property.subscriber.d.ts","sourceRoot":"","sources":["../../../src/common/subscribers/system.property.subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAmB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,qBACa,wBAAyB,SAAQ,gBAAgB,CAAC,oBAAoB,CAAC;IAGhF,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,iBAAiB;gBAD/C,UAAU,EAAE,UAAU,EACH,SAAS,EAAE,iBAAiB;IAMjD,QAAQ;CAGT"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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.SystemPropertySubscriber = void 0;
|
|
13
|
-
const typeorm_1 = require("typeorm");
|
|
14
|
-
const common_subscriber_1 = require("./common.subscriber");
|
|
15
|
-
const system_property_entity_1 = require("../entities/system.property.entity");
|
|
16
|
-
const system_property_job_1 = require("../jobs/system.property.job");
|
|
17
|
-
let SystemPropertySubscriber = class SystemPropertySubscriber extends common_subscriber_1.CommonSubscriber {
|
|
18
|
-
constructor(dataSource, entityJob) {
|
|
19
|
-
super();
|
|
20
|
-
this.entityJob = entityJob;
|
|
21
|
-
dataSource.subscribers.push(this);
|
|
22
|
-
}
|
|
23
|
-
listenTo() {
|
|
24
|
-
return system_property_entity_1.SystemPropertyEntity;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
exports.SystemPropertySubscriber = SystemPropertySubscriber;
|
|
28
|
-
exports.SystemPropertySubscriber = SystemPropertySubscriber = __decorate([
|
|
29
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
30
|
-
__metadata("design:paramtypes", [typeorm_1.DataSource,
|
|
31
|
-
system_property_job_1.SystemPropertyJob])
|
|
32
|
-
], SystemPropertySubscriber);
|
|
33
|
-
//# sourceMappingURL=system.property.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"system.property.subscriber.js","sourceRoot":"","sources":["../../../src/common/subscribers/system.property.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAsD;AACtD,2DAAuD;AACvD,+EAA0E;AAC1E,qEAAgE;AAGzD,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,oCAAsC;IAClF,YACE,UAAsB,EACH,SAA4B;QAE/C,KAAK,EAAE,CAAC;QAFW,cAAS,GAAT,SAAS,CAAmB;QAG/C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,6CAAoB,CAAC;IAC9B,CAAC;CACF,CAAA;AAZY,4DAAwB;mCAAxB,wBAAwB;IADpC,IAAA,yBAAe,GAAE;qCAGF,oBAAU;QACQ,uCAAiB;GAHtC,wBAAwB,CAYpC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CommonJob } from '../../common/jobs/common.job';
|
|
2
|
-
import { QueueService } from '../../common/services/queue.service';
|
|
3
|
-
export declare class EmailNotificationLogJob extends CommonJob {
|
|
4
|
-
protected readonly queueService: QueueService;
|
|
5
|
-
constructor(queueService: QueueService);
|
|
6
|
-
handle(event: any): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=email.notification.log.job.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.notification.log.job.d.ts","sourceRoot":"","sources":["../../../src/notification/jobs/email.notification.log.job.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,qBACa,uBAAwB,SAAQ,SAAS;IACxC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY;gBAA1B,YAAY,EAAE,YAAY;IAInD,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAGxC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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.EmailNotificationLogJob = void 0;
|
|
13
|
-
const common_1 = require("@nestjs/common");
|
|
14
|
-
const common_job_1 = require("../../common/jobs/common.job");
|
|
15
|
-
const queue_service_1 = require("../../common/services/queue.service");
|
|
16
|
-
const job_constants_1 = require("../../constants/job.constants");
|
|
17
|
-
let EmailNotificationLogJob = class EmailNotificationLogJob extends common_job_1.CommonJob {
|
|
18
|
-
constructor(queueService) {
|
|
19
|
-
super(job_constants_1.baseJobConstants.emailNotificationLogJob);
|
|
20
|
-
this.queueService = queueService;
|
|
21
|
-
}
|
|
22
|
-
async handle(event) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
exports.EmailNotificationLogJob = EmailNotificationLogJob;
|
|
27
|
-
exports.EmailNotificationLogJob = EmailNotificationLogJob = __decorate([
|
|
28
|
-
(0, common_1.Injectable)(),
|
|
29
|
-
__metadata("design:paramtypes", [queue_service_1.QueueService])
|
|
30
|
-
], EmailNotificationLogJob);
|
|
31
|
-
//# sourceMappingURL=email.notification.log.job.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.notification.log.job.js","sourceRoot":"","sources":["../../../src/notification/jobs/email.notification.log.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAyD;AACzD,uEAAmE;AACnE,iEAAiE;AAG1D,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,sBAAS;IACpD,YAA+B,YAA0B;QACvD,KAAK,CAAC,gCAAgB,CAAC,uBAAuB,CAAC,CAAC;QADnB,iBAAY,GAAZ,YAAY,CAAc;IAEzD,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,KAAU;QACrB,OAAO;IACT,CAAC;CACF,CAAA;AARY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,mBAAU,GAAE;qCAEkC,4BAAY;GAD9C,uBAAuB,CAQnC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CommonJob } from '../../common/jobs/common.job';
|
|
2
|
-
import { QueueService } from '../../common/services/queue.service';
|
|
3
|
-
export declare class EmailTemplateJob extends CommonJob {
|
|
4
|
-
protected readonly queueService: QueueService;
|
|
5
|
-
constructor(queueService: QueueService);
|
|
6
|
-
handle(event: any): Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=email.template.job.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.template.job.d.ts","sourceRoot":"","sources":["../../../src/notification/jobs/email.template.job.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,qBACa,gBAAiB,SAAQ,SAAS;IACjC,SAAS,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY;gBAA1B,YAAY,EAAE,YAAY;IAInD,MAAM,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAGxC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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.EmailTemplateJob = void 0;
|
|
13
|
-
const common_1 = require("@nestjs/common");
|
|
14
|
-
const common_job_1 = require("../../common/jobs/common.job");
|
|
15
|
-
const queue_service_1 = require("../../common/services/queue.service");
|
|
16
|
-
const job_constants_1 = require("../../constants/job.constants");
|
|
17
|
-
let EmailTemplateJob = class EmailTemplateJob extends common_job_1.CommonJob {
|
|
18
|
-
constructor(queueService) {
|
|
19
|
-
super(job_constants_1.baseJobConstants.emailTemplateJob);
|
|
20
|
-
this.queueService = queueService;
|
|
21
|
-
}
|
|
22
|
-
async handle(event) {
|
|
23
|
-
return;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
exports.EmailTemplateJob = EmailTemplateJob;
|
|
27
|
-
exports.EmailTemplateJob = EmailTemplateJob = __decorate([
|
|
28
|
-
(0, common_1.Injectable)(),
|
|
29
|
-
__metadata("design:paramtypes", [queue_service_1.QueueService])
|
|
30
|
-
], EmailTemplateJob);
|
|
31
|
-
//# sourceMappingURL=email.template.job.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.template.job.js","sourceRoot":"","sources":["../../../src/notification/jobs/email.template.job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6DAAyD;AACzD,uEAAmE;AACnE,iEAAiE;AAG1D,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,sBAAS;IAC7C,YAA+B,YAA0B;QACvD,KAAK,CAAC,gCAAgB,CAAC,gBAAgB,CAAC,CAAC;QADZ,iBAAY,GAAZ,YAAY,CAAc;IAEzD,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,KAAU;QACrB,OAAO;IACT,CAAC;CACF,CAAA;AARY,4CAAgB;2BAAhB,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;qCAEkC,4BAAY;GAD9C,gBAAgB,CAQ5B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CommonSubscriber } from '../../common/subscribers/common.subscriber';
|
|
2
|
-
import { EmailNotificationLogEntity } from '../entities/email.notification.log.entity';
|
|
3
|
-
import { DataSource } from 'typeorm';
|
|
4
|
-
import { EmailNotificationLogJob } from '../jobs/email.notification.log.job';
|
|
5
|
-
export declare class EmailNotificationLogSubscriber extends CommonSubscriber<EmailNotificationLogEntity> {
|
|
6
|
-
protected readonly datasource: DataSource;
|
|
7
|
-
protected readonly entityJob: EmailNotificationLogJob;
|
|
8
|
-
constructor(datasource: DataSource, entityJob: EmailNotificationLogJob);
|
|
9
|
-
listenTo(): typeof EmailNotificationLogEntity;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=email.notification.log.subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.notification.log.subscriber.d.ts","sourceRoot":"","sources":["../../../src/notification/subscribers/email.notification.log.subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAE9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAE7E,qBACa,8BAA+B,SAAQ,gBAAgB,CAAC,0BAA0B,CAAC;IAE5F,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,uBAAuB;gBADlC,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,uBAAuB;IAMvD,QAAQ;CAGT"}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.EmailNotificationLogSubscriber = void 0;
|
|
13
|
-
const common_subscriber_1 = require("../../common/subscribers/common.subscriber");
|
|
14
|
-
const typeorm_1 = require("typeorm");
|
|
15
|
-
const email_notification_log_entity_1 = require("../entities/email.notification.log.entity");
|
|
16
|
-
const typeorm_2 = require("typeorm");
|
|
17
|
-
const email_notification_log_job_1 = require("../jobs/email.notification.log.job");
|
|
18
|
-
let EmailNotificationLogSubscriber = class EmailNotificationLogSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
19
|
-
constructor(datasource, entityJob) {
|
|
20
|
-
super();
|
|
21
|
-
this.datasource = datasource;
|
|
22
|
-
this.entityJob = entityJob;
|
|
23
|
-
datasource.subscribers.push(this);
|
|
24
|
-
}
|
|
25
|
-
listenTo() {
|
|
26
|
-
return email_notification_log_entity_1.EmailNotificationLogEntity;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.EmailNotificationLogSubscriber = EmailNotificationLogSubscriber;
|
|
30
|
-
exports.EmailNotificationLogSubscriber = EmailNotificationLogSubscriber = __decorate([
|
|
31
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
32
|
-
__metadata("design:paramtypes", [typeorm_2.DataSource,
|
|
33
|
-
email_notification_log_job_1.EmailNotificationLogJob])
|
|
34
|
-
], EmailNotificationLogSubscriber);
|
|
35
|
-
//# sourceMappingURL=email.notification.log.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.notification.log.subscriber.js","sourceRoot":"","sources":["../../../src/notification/subscribers/email.notification.log.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kFAA8E;AAC9E,qCAA0C;AAC1C,6FAAuF;AACvF,qCAAqC;AACrC,mFAA6E;AAGtE,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,oCAA4C;IAC9F,YACqB,UAAsB,EACtB,SAAkC;QAErD,KAAK,EAAE,CAAC;QAHW,eAAU,GAAV,UAAU,CAAY;QACtB,cAAS,GAAT,SAAS,CAAyB;QAGrD,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,0DAA0B,CAAC;IACpC,CAAC;CACF,CAAA;AAZY,wEAA8B;yCAA9B,8BAA8B;IAD1C,IAAA,yBAAe,GAAE;qCAGiB,oBAAU;QACX,oDAAuB;GAH5C,8BAA8B,CAY1C"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CommonSubscriber } from '../../common/subscribers/common.subscriber';
|
|
2
|
-
import { EmailTemplateEntity } from '../entities/email.template.entity';
|
|
3
|
-
import { DataSource } from 'typeorm';
|
|
4
|
-
import { EmailTemplateJob } from '../jobs/email.template.job';
|
|
5
|
-
export declare class EmailTemplateSubscriber extends CommonSubscriber<EmailTemplateEntity> {
|
|
6
|
-
protected readonly datasource: DataSource;
|
|
7
|
-
protected readonly entityJob: EmailTemplateJob;
|
|
8
|
-
constructor(datasource: DataSource, entityJob: EmailTemplateJob);
|
|
9
|
-
listenTo(): typeof EmailTemplateEntity;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=email.template.subscriber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.template.subscriber.d.ts","sourceRoot":"","sources":["../../../src/notification/subscribers/email.template.subscriber.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,qBACa,uBAAwB,SAAQ,gBAAgB,CAAC,mBAAmB,CAAC;IAE9E,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU;IACzC,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,gBAAgB;gBAD3B,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,gBAAgB;IAMhD,QAAQ;CAGT"}
|
|
@@ -1,35 +0,0 @@
|
|
|
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.EmailTemplateSubscriber = void 0;
|
|
13
|
-
const common_subscriber_1 = require("../../common/subscribers/common.subscriber");
|
|
14
|
-
const typeorm_1 = require("typeorm");
|
|
15
|
-
const email_template_entity_1 = require("../entities/email.template.entity");
|
|
16
|
-
const typeorm_2 = require("typeorm");
|
|
17
|
-
const email_template_job_1 = require("../jobs/email.template.job");
|
|
18
|
-
let EmailTemplateSubscriber = class EmailTemplateSubscriber extends common_subscriber_1.CommonSubscriber {
|
|
19
|
-
constructor(datasource, entityJob) {
|
|
20
|
-
super();
|
|
21
|
-
this.datasource = datasource;
|
|
22
|
-
this.entityJob = entityJob;
|
|
23
|
-
datasource.subscribers.push(this);
|
|
24
|
-
}
|
|
25
|
-
listenTo() {
|
|
26
|
-
return email_template_entity_1.EmailTemplateEntity;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
exports.EmailTemplateSubscriber = EmailTemplateSubscriber;
|
|
30
|
-
exports.EmailTemplateSubscriber = EmailTemplateSubscriber = __decorate([
|
|
31
|
-
(0, typeorm_1.EventSubscriber)(),
|
|
32
|
-
__metadata("design:paramtypes", [typeorm_2.DataSource,
|
|
33
|
-
email_template_job_1.EmailTemplateJob])
|
|
34
|
-
], EmailTemplateSubscriber);
|
|
35
|
-
//# sourceMappingURL=email.template.subscriber.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"email.template.subscriber.js","sourceRoot":"","sources":["../../../src/notification/subscribers/email.template.subscriber.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kFAA8E;AAC9E,qCAA0C;AAC1C,6EAAwE;AACxE,qCAAqC;AACrC,mEAA8D;AAGvD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,oCAAqC;IAChF,YACqB,UAAsB,EACtB,SAA2B;QAE9C,KAAK,EAAE,CAAC;QAHW,eAAU,GAAV,UAAU,CAAY;QACtB,cAAS,GAAT,SAAS,CAAkB;QAG9C,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpC,CAAC;IAED,QAAQ;QACN,OAAO,2CAAmB,CAAC;IAC7B,CAAC;CACF,CAAA;AAZY,0DAAuB;kCAAvB,uBAAuB;IADnC,IAAA,yBAAe,GAAE;qCAGiB,oBAAU;QACX,qCAAgB;GAHrC,uBAAuB,CAYnC"}
|