@servicelabsco/nestjs-utility-services 1.0.157 → 1.0.160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.controller.d.ts +1 -1
- package/dist/app.controller.js +1 -3
- package/dist/app.controller.js.map +1 -1
- package/dist/auth/controllers/index.js +5 -1
- package/dist/auth/controllers/index.js.map +1 -1
- package/dist/auth/dtos/index.js +5 -1
- package/dist/auth/dtos/index.js.map +1 -1
- package/dist/auth/entities/index.js +5 -1
- package/dist/auth/entities/index.js.map +1 -1
- package/dist/auth/index.js +5 -1
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/middlewares/index.js +5 -1
- package/dist/auth/middlewares/index.js.map +1 -1
- package/dist/auth/services/index.js +5 -1
- package/dist/auth/services/index.js.map +1 -1
- package/dist/auth/strategies/index.js +5 -1
- package/dist/auth/strategies/index.js.map +1 -1
- package/dist/common/dtos/index.js +5 -1
- package/dist/common/dtos/index.js.map +1 -1
- package/dist/common/exceptions/index.js +5 -1
- package/dist/common/exceptions/index.js.map +1 -1
- package/dist/common/guards/index.js +5 -1
- package/dist/common/guards/index.js.map +1 -1
- package/dist/common/index.js +5 -1
- package/dist/common/index.js.map +1 -1
- package/dist/common/libraries/index.js +5 -1
- package/dist/common/libraries/index.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.d.ts +5 -0
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.js +15 -0
- package/dist/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.js.map +1 -0
- package/dist/platformUtility/commands/index.js +5 -1
- package/dist/platformUtility/commands/index.js.map +1 -1
- package/dist/platformUtility/consumers/index.js +5 -1
- package/dist/platformUtility/consumers/index.js.map +1 -1
- package/dist/platformUtility/dtos/index.js +5 -1
- package/dist/platformUtility/dtos/index.js.map +1 -1
- package/dist/platformUtility/es6.classes.d.ts +7 -4
- package/dist/platformUtility/es6.classes.js +14 -1
- package/dist/platformUtility/es6.classes.js.map +1 -1
- package/dist/platformUtility/index.js +5 -1
- package/dist/platformUtility/index.js.map +1 -1
- package/dist/platformUtility/jobs/index.js +5 -1
- package/dist/platformUtility/jobs/index.js.map +1 -1
- package/dist/platformUtility/libraries/index.d.ts +3 -0
- package/dist/platformUtility/libraries/index.js +8 -1
- package/dist/platformUtility/libraries/index.js.map +1 -1
- package/dist/platformUtility/libraries/process.common.mail.d.ts +9 -0
- package/dist/platformUtility/libraries/process.common.mail.js +60 -0
- package/dist/platformUtility/libraries/process.common.mail.js.map +1 -0
- package/dist/platformUtility/libraries/process.postmark.mail.d.ts +9 -0
- package/dist/platformUtility/libraries/process.postmark.mail.js +59 -0
- package/dist/platformUtility/libraries/process.postmark.mail.js.map +1 -0
- package/dist/platformUtility/libraries/process.sendgrid.mail.d.ts +8 -0
- package/dist/platformUtility/libraries/process.sendgrid.mail.js +50 -0
- package/dist/platformUtility/libraries/process.sendgrid.mail.js.map +1 -0
- package/dist/platformUtility/middlewares/index.js +5 -1
- package/dist/platformUtility/middlewares/index.js.map +1 -1
- package/dist/platformUtility/services/index.js +5 -1
- package/dist/platformUtility/services/index.js.map +1 -1
- package/dist/platformUtility/services/mail.service.d.ts +2 -6
- package/dist/platformUtility/services/mail.service.js +18 -73
- package/dist/platformUtility/services/mail.service.js.map +1 -1
- package/dist/platformUtility/subscribers/index.js +5 -1
- package/dist/platformUtility/subscribers/index.js.map +1 -1
- package/dist/security/entities/index.js +5 -1
- package/dist/security/entities/index.js.map +1 -1
- package/dist/security/index.js +5 -1
- package/dist/security/index.js.map +1 -1
- package/dist/system/commands/db.scanner.command.js +3 -2
- package/dist/system/commands/db.scanner.command.js.map +1 -1
- package/dist/system/commands/index.d.ts +1 -0
- package/dist/system/commands/index.js +6 -1
- package/dist/system/commands/index.js.map +1 -1
- package/dist/system/commands/sync.all.command.d.ts +16 -0
- package/dist/system/commands/sync.all.command.js +81 -0
- package/dist/system/commands/sync.all.command.js.map +1 -0
- package/dist/system/controllers/index.js +5 -1
- package/dist/system/controllers/index.js.map +1 -1
- package/dist/system/dtos/index.js +5 -1
- package/dist/system/dtos/index.js.map +1 -1
- package/dist/system/entities/email.template.entity.d.ts +1 -0
- package/dist/system/entities/email.template.entity.js +4 -0
- package/dist/system/entities/email.template.entity.js.map +1 -1
- package/dist/system/entities/index.js +5 -1
- package/dist/system/entities/index.js.map +1 -1
- package/dist/system/es6.classes.d.ts +3 -2
- package/dist/system/es6.classes.js +10 -1
- package/dist/system/es6.classes.js.map +1 -1
- package/dist/system/index.js +5 -1
- package/dist/system/index.js.map +1 -1
- package/dist/system/jobs/index.js +5 -1
- package/dist/system/jobs/index.js.map +1 -1
- package/dist/system/libraries/index.js +5 -1
- package/dist/system/libraries/index.js.map +1 -1
- package/dist/system/modifiers/index.js +5 -1
- package/dist/system/modifiers/index.js.map +1 -1
- package/dist/system/services/common.service.js +3 -3
- package/dist/system/services/common.service.js.map +1 -1
- package/dist/system/services/index.js +5 -1
- package/dist/system/services/index.js.map +1 -1
- package/dist/system/services/property.service.js +1 -1
- package/dist/system/services/property.service.js.map +1 -1
- package/dist/system/subscribers/index.js +5 -1
- package/dist/system/subscribers/index.js.map +1 -1
- package/package.json +2 -1
@@ -30,6 +30,10 @@ __decorate([
|
|
30
30
|
(0, typeorm_1.Column)(),
|
31
31
|
__metadata("design:type", String)
|
32
32
|
], EmailTemplateEntity.prototype, "body", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, typeorm_1.Column)(),
|
35
|
+
__metadata("design:type", String)
|
36
|
+
], EmailTemplateEntity.prototype, "subject", void 0);
|
33
37
|
__decorate([
|
34
38
|
(0, typeorm_1.Column)('json'),
|
35
39
|
__metadata("design:type", Object)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"email.template.entity.js","sourceRoot":"","sources":["../../../src/system/entities/email.template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0EAAsE;AACtE,qCAAyC;AASzC,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,4BAAY;
|
1
|
+
{"version":3,"file":"email.template.entity.js","sourceRoot":"","sources":["../../../src/system/entities/email.template.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0EAAsE;AACtE,qCAAyC;AASzC,IAAa,mBAAmB,GAAhC,MAAa,mBAAoB,SAAQ,4BAAY;CAoBpD,CAAA;AAlBG;IADC,IAAA,gBAAM,GAAE;;iDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;uDACU;AAGnB;IADC,IAAA,gBAAM,GAAE;;iDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;iDACI;AAGb;IADC,IAAA,gBAAM,GAAE;;oDACO;AAGhB;IADC,IAAA,gBAAM,EAAC,MAAM,CAAC;;uDACC;AAjBP,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,mBAAmB,CAoB/B;AApBY,kDAAmB"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/entities/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,8DAA4C;AAC5C,iDAA+B;AAC/B,yDAAuC;AACvC,6DAA2C;AAC3C,kDAAgC;AAChC,mDAAiC;AACjC,oDAAkC;AAClC,wDAAsC;AACtC,uDAAqC;AACrC,uDAAqC;AACrC,gDAA8B;AAC9B,2DAAyC;AACzC,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,gDAA8B;AAC9B,qDAAmC;AACnC,wDAAsC;AACtC,iDAA+B;AAC/B,8DAA4C;AAC5C,sDAAoC;AACpC,kDAAgC;AAChC,uDAAqC;AACrC,yDAAuC;AACvC,2DAAyC;AACzC,uDAAqC;AACrC,wDAAsC;AACtC,oDAAkC;AAClC,wDAAsC;AACtC,yDAAuC;AACvC,kDAAgC;AAChC,wDAAsC;AACtC,+DAA6C;AAC7C,uDAAqC;AACrC,2DAAyC;AACzC,0DAAwC;AACxC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,wDAAsC;AACtC,yDAAuC;AACvC,qDAAmC;AACnC,gEAA8C;AAC9C,0DAAwC;AACxC,sDAAoC;AACpC,6DAA2C;AAC3C,iEAA+C;AAC/C,2DAAyC;AACzC,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C"}
|
@@ -4,6 +4,7 @@ import { JobsScannerCommand } from './commands/jobs.scanner.command';
|
|
4
4
|
import { ModelScannerCommand } from './commands/model.scanner.command';
|
5
5
|
import { ReportScannerCommand } from './commands/report.scanner.command';
|
6
6
|
import { ServiceScannerCommand } from './commands/service.scanner.command';
|
7
|
+
import { SyncAllCommand } from './commands/sync.all.command';
|
7
8
|
import { BaseController } from './controllers/base.controller';
|
8
9
|
import { DataController } from './controllers/data.controller';
|
9
10
|
import { FormController } from './controllers/form.controller';
|
@@ -111,10 +112,10 @@ import { UserGroupMemberSubscriber } from './subscribers/user.group.member.subsc
|
|
111
112
|
import { UserGroupPermissionSubscriber } from './subscribers/user.group.permission.subscriber';
|
112
113
|
import { UserGroupRoleSubscriber } from './subscribers/user.group.role.subscriber';
|
113
114
|
declare const es6Classes: {
|
114
|
-
commands: (typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof DbScannerCommand)[];
|
115
|
+
commands: (typeof EventQueueCommand | typeof JobsScannerCommand | typeof ModelScannerCommand | typeof ReportScannerCommand | typeof ServiceScannerCommand | typeof SyncAllCommand | typeof DbScannerCommand)[];
|
115
116
|
controllers: (typeof BaseController | typeof DataController | typeof FormController | typeof JobController | typeof MenuController | typeof PreferenceController | typeof ReportController | typeof UploadController | typeof UserPreferenceController)[];
|
116
117
|
dtos: (typeof JobRecordParamDto | typeof ModelFormPreferenceCreationDto | typeof LocalFileS3UploadDto | typeof UserPreferenceCreationDto | typeof ModelAllowedColumnDto)[];
|
117
|
-
entities: (typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientScriptEntity | typeof CommentEntity | typeof DocumentEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof
|
118
|
+
entities: (typeof MailLogEntity | typeof LookupTypeEntity | typeof UserGroupRoleEntity | typeof UserGroupEntity | typeof UserGroupMemberEntity | typeof BusinessRuleRoleEntity | typeof BusinessRuleEntity | typeof ColumnDefinitionEntity | typeof ColumnEntity | typeof ModelEntity | typeof FormPreferenceEntity | typeof ModelColumnEntity | typeof RelationshipEntity | typeof ModelRelationshipEntity | typeof ModelRoleEntity | typeof FormColumnEntity | typeof SystemScriptEntity | typeof UiActionPermissionEntity | typeof UiActionEntity | typeof UiActionRoleEntity | typeof PrimaryAxisEntity | typeof ChartEntity | typeof ClientScriptEntity | typeof CommentEntity | typeof DocumentEntity | typeof EventDetailEntity | typeof EventQueueEntity | typeof MenuRoleEntity | typeof MenuEntity | typeof ModuleEntity | typeof ModuleMenuEntity | typeof PageDefinitionEntity | typeof ParentMenuEntity | typeof OpenPropertyEntity | typeof ReportEntity | typeof ReportRelationshipEntity | typeof ReportRoleEntity | typeof ReportColumnEntity | typeof ScheduledEventEntity | typeof SecurityRuleEntity | typeof ServiceEntity | typeof SmsTemplateEntity | typeof SmsMessageEntity | typeof UserGroupPermissionEntity | typeof UserPreferenceEntity | typeof WhatsappTemplateEntity)[];
|
118
119
|
jobs: (typeof ModelScannerJob | typeof ReportColumnSyncJob | typeof ScheduledEventJob | typeof CleanScheduledEventJob | typeof ColumnMapperJob | typeof RelationshipMapperJob | typeof ScheduledEventsJob | typeof UserGroupMemberJob | typeof UserGroupPermissionJob | typeof UserGroupRoleJob)[];
|
119
120
|
libraries: (typeof ModelSync | typeof SecurityRuleEvaluator | typeof ColumnManager | typeof BusinessRuleFilterValidator | typeof BusinessRuleQueryEvaluator)[];
|
120
121
|
modifiers: (typeof MenuListModifier | typeof ModuleListModifier)[];
|
@@ -6,6 +6,7 @@ const jobs_scanner_command_1 = require("./commands/jobs.scanner.command");
|
|
6
6
|
const model_scanner_command_1 = require("./commands/model.scanner.command");
|
7
7
|
const report_scanner_command_1 = require("./commands/report.scanner.command");
|
8
8
|
const service_scanner_command_1 = require("./commands/service.scanner.command");
|
9
|
+
const sync_all_command_1 = require("./commands/sync.all.command");
|
9
10
|
const base_controller_1 = require("./controllers/base.controller");
|
10
11
|
const data_controller_1 = require("./controllers/data.controller");
|
11
12
|
const form_controller_1 = require("./controllers/form.controller");
|
@@ -121,7 +122,15 @@ const user_group_member_subscriber_1 = require("./subscribers/user.group.member.
|
|
121
122
|
const user_group_permission_subscriber_1 = require("./subscribers/user.group.permission.subscriber");
|
122
123
|
const user_group_role_subscriber_1 = require("./subscribers/user.group.role.subscriber");
|
123
124
|
const es6Classes = {
|
124
|
-
commands: [
|
125
|
+
commands: [
|
126
|
+
db_scanner_command_1.DbScannerCommand,
|
127
|
+
event_queue_command_1.EventQueueCommand,
|
128
|
+
jobs_scanner_command_1.JobsScannerCommand,
|
129
|
+
model_scanner_command_1.ModelScannerCommand,
|
130
|
+
report_scanner_command_1.ReportScannerCommand,
|
131
|
+
service_scanner_command_1.ServiceScannerCommand,
|
132
|
+
sync_all_command_1.SyncAllCommand,
|
133
|
+
],
|
125
134
|
controllers: [
|
126
135
|
base_controller_1.BaseController,
|
127
136
|
data_controller_1.DataController,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,wEAAmE;AACnE,0EAAqE;AACrE,4EAAuE;AACvE,8EAAyE;AACzE,gFAA2E;AAC3E,mEAA+D;AAC/D,mEAA+D;AAC/D,mEAA+D;AAC/D,iEAA6D;AAC7D,mEAA+D;AAC/D,+EAA2E;AAC3E,uEAAmE;AACnE,uEAAmE;AACnE,yFAAoF;AACpF,sEAAgE;AAChE,8EAAuE;AACvE,gGAAyF;AACzF,8EAAwE;AACxE,kGAA2F;AAC3F,sFAAgF;AAChF,0EAAqE;AACrE,oFAA8E;AAC9E,0DAAsD;AACtD,0EAAqE;AACrE,kFAA6E;AAC7E,4DAAwD;AACxD,8DAA0D;AAC1D,gEAA4D;AAC5D,4EAAuE;AACvE,wEAAmE;AACnE,sEAAiE;AACjE,sEAAiE;AACjE,wDAAoD;AACpD,8EAAyE;AACzE,8EAAyE;AACzE,sEAAiE;AACjE,wEAAmE;AACnE,gEAA2D;AAC3D,wDAAoD;AACpD,kEAA6D;AAC7D,wEAAmE;AACnE,0DAAsD;AACtD,oFAA+E;AAC/E,oEAA+D;AAC/D,4DAAwD;AACxD,sEAAiE;AACjE,0EAAqE;AACrE,8EAAyE;AACzE,sEAAiE;AACjE,wEAAmE;AACnE,gEAA4D;AAC5D,wEAAoE;AACpE,0EAAqE;AACrE,4DAAwD;AACxD,wEAAmE;AACnE,sFAAiF;AACjF,sEAAiE;AACjE,8EAAyE;AACzE,4EAAuE;AACvE,0EAAqE;AACrE,8DAA0D;AAC1D,sEAAiE;AACjE,wEAAmE;AACnE,0EAAqE;AACrE,kEAA6D;AAC7D,wFAAkF;AAClF,4EAAsE;AACtE,oEAA+D;AAC/D,kFAA4E;AAC5E,0FAAoF;AACpF,8EAAwE;AACxE,8EAAyE;AACzE,kFAA6E;AAC7E,gFAA0E;AAC1E,gEAA2D;AAC3D,gEAA2D;AAC3D,4EAAuE;AACvE,0EAAoE;AACpE,oEAA+D;AAC/D,sEAAiE;AACjE,wEAAkE;AAClE,gFAA0E;AAC1E,oEAA8D;AAC9D,+FAAyF;AACzF,6FAAuF;AACvF,+DAA2D;AAC3D,uDAAmD;AACnD,iFAA4E;AAC5E,uEAAkE;AAClE,2EAAsE;AACtE,4EAAuE;AACvE,4EAAuE;AACvE,8DAA0D;AAC1D,gEAA4D;AAC5D,8DAA0D;AAC1D,kEAA8D;AAC9D,kEAA6D;AAC7D,wDAAoD;AACpD,0EAAqE;AACrE,wEAAmE;AACnE,0DAAsD;AACtD,0DAAsD;AACtD,0DAAsD;AACtD,4DAAwD;AACxD,sEAAkE;AAClE,kEAA8D;AAC9D,8DAA0D;AAC1D,gFAA2E;AAC3E,4EAAuE;AACvE,oEAA+D;AAC/D,8DAA0D;AAC1D,gFAA2E;AAC3E,uEAAmE;AACnE,2EAAuE;AACvE,mFAA+E;AAC/E,yFAAoF;AACpF,6FAAuF;AACvF,qGAA+F;AAC/F,yFAAmF;AAEnF,MAAM,UAAU,GAAG;IACf,QAAQ,EAAE,
|
1
|
+
{"version":3,"file":"es6.classes.js","sourceRoot":"","sources":["../../src/system/es6.classes.ts"],"names":[],"mappings":";;AAAA,sEAAiE;AACjE,wEAAmE;AACnE,0EAAqE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/dist/system/index.js
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
package/dist/system/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,gDAA8B;AAC9B,yCAAuB;AACvB,6CAA2B;AAC3B,yCAAuB;AACvB,8CAA4B;AAC5B,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,kDAAgC"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/jobs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,2DAAyC;AACzC,wDAAsC;AACtC,yDAAuC;AACvC,0DAAwC;AACxC,8DAA4C;AAC5C,wDAAsC"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/libraries/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/libraries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,kEAAgD;AAChD,mDAAiC;AACjC,+CAA6B;AAC7B,4DAA0C"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/modifiers/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/modifiers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC"}
|
@@ -32,11 +32,11 @@ let CommonService = class CommonService {
|
|
32
32
|
}
|
33
33
|
checkOrSetRecord(hash) {
|
34
34
|
return __awaiter(this, void 0, void 0, function* () {
|
35
|
-
const
|
35
|
+
const service = yield service_entity_1.ServiceEntity.findOne({
|
36
36
|
where: { hash },
|
37
37
|
});
|
38
|
-
if (
|
39
|
-
return
|
38
|
+
if (service)
|
39
|
+
return service;
|
40
40
|
const record = (0, class_transformer_1.plainToClass)(service_entity_1.ServiceEntity, {
|
41
41
|
name: platform_constants_1.default.services[hash].constructor.name,
|
42
42
|
hash,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"common.service.js","sourceRoot":"","sources":["../../../src/system/services/common.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yDAAiD;AACjD,wEAAgE;AAChE,+DAA2D;AAC3D,oGAA+F;AAC/F,mDAA+C;AAQ/C,IAAa,aAAa,GAA1B,MAAa,aAAa;IACtB,YAA6B,YAA0B,EAAmB,oBAA0C;QAAvF,iBAAY,GAAZ,YAAY,CAAc;QAAmB,yBAAoB,GAApB,oBAAoB,CAAsB;IAAG,CAAC;IAQ3G,gBAAgB,CAAC,IAAY;;YACtC,MAAM,
|
1
|
+
{"version":3,"file":"common.service.js","sourceRoot":"","sources":["../../../src/system/services/common.service.ts"],"names":[],"mappings":";;;;;;;;;;;;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KAAK,CAAC;gBAAE,OAAO;YAEpC,MAAM,MAAM,GAAG,MAAM,8BAAa,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC;YAC3D,IAAI,MAAM;gBAAE,OAAO,MAAM,CAAC;YAE1B,OAAO,8BAAa,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QACvD,CAAC;KAAA;CACJ,CAAA;AAhEY,aAAa;IADzB,IAAA,mBAAU,GAAE;qCAEkC,4BAAY,EAAyC,6CAAoB;GAD3G,aAAa,CAgEzB;AAhEY,sCAAa"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/services/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,0DAAwC;AACxC,mDAAiC;AACjC,oDAAkC;AAClC,mDAAiC;AACjC,qDAAmC;AACnC,yDAAuC;AACvC,wDAAsC;AACtC,iDAA+B;AAC/B,iDAA+B;AAC/B,iDAA+B;AAC/B,kDAAgC;AAChC,uDAAqC;AACrC,qDAAmC;AACnC,mDAAiC;AACjC,4DAA0C;AAC1C,0DAAwC;AACxC,sDAAoC;AACpC,mDAAiC;AACjC,4DAA0C"}
|
@@ -32,7 +32,7 @@ let PropertyService = class PropertyService {
|
|
32
32
|
defaultValue = defaultValue !== null && defaultValue !== void 0 ? defaultValue : null;
|
33
33
|
const index = `property.${key}`;
|
34
34
|
const value = yield this.cacheService.get(index, null);
|
35
|
-
if (value
|
35
|
+
if (value)
|
36
36
|
return value;
|
37
37
|
const property = yield property_entity_1.PropertyEntity.findOne({ where: { name: key } });
|
38
38
|
if (!property)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"property.service.js","sourceRoot":"","sources":["../../../src/system/services/property.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,gFAA4E;AAC5E,gEAA4D;AAC5D,iEAA6D;AAQ7D,IAAa,eAAe,GAA5B,MAAa,eAAe;IAMxB,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAAG,CAAC;IASrD,GAAG,CAAC,GAAW,EAAE,YAAkB;;YACrC,YAAY,GAAG,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,IAAI,CAAC;YAEpC,MAAM,KAAK,GAAG,YAAY,GAAG,EAAE,CAAC;YAChC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YAEvD,IAAI,KAAK
|
1
|
+
{"version":3,"file":"property.service.js","sourceRoot":"","sources":["../../../src/system/services/property.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,gFAA4E;AAC5E,gEAA4D;AAC5D,iEAA6D;AAQ7D,IAAa,eAAe,GAA5B,MAAa,eAAe;IAMxB,YAA6B,YAA0B;QAA1B,iBAAY,GAAZ,YAAY,CAAc;IAAG,CAAC;IASrD,GAAG,CAAC,GAAW,EAAE,YAAkB;;YACrC,YAAY,GAAG,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,IAAI,CA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AAE;qCAOkC,4BAAY;GAN9C,eAAe,CAwD3B;AAxDY,0CAAe"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/subscribers/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/subscribers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,wDAAsC;AACtC,4DAA0C;AAC1C,+DAA6C;AAC7C,iEAA+C;AAC/C,qEAAmD;AACnD,+DAA6C"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@servicelabsco/nestjs-utility-services",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.160",
|
4
4
|
"description": "NestJS generic packages to support development",
|
5
5
|
"author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
|
6
6
|
"license": "MIT",
|
@@ -69,6 +69,7 @@
|
|
69
69
|
"parse-bearer-token": "^1.0.1",
|
70
70
|
"passport-facebook": "^3.0.0",
|
71
71
|
"passport-google-oauth20": "^2.0.0",
|
72
|
+
"postmark": "^3.0.1",
|
72
73
|
"prompt-sync": "^4.2.0",
|
73
74
|
"randomstring": "^1.2.1",
|
74
75
|
"ua-parser-js": "^0.7.28",
|