@servicelabsco/nestjs-utility-services 1.0.157 → 1.0.158

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.
@@ -0,0 +1,5 @@
1
+ import { MigrationUtility } from './../common/libraries/migration.utility';
2
+ export declare class AddSubjectSysEmailTemplatesTable1645886071349 extends MigrationUtility {
3
+ constructor();
4
+ process(): void;
5
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AddSubjectSysEmailTemplatesTable1645886071349 = void 0;
4
+ const migration_utility_1 = require("./../common/libraries/migration.utility");
5
+ class AddSubjectSysEmailTemplatesTable1645886071349 extends migration_utility_1.MigrationUtility {
6
+ constructor() {
7
+ super('sys_email_templates');
8
+ this.process();
9
+ }
10
+ process() {
11
+ this.string('subject', { width: 1024 });
12
+ }
13
+ }
14
+ exports.AddSubjectSysEmailTemplatesTable1645886071349 = AddSubjectSysEmailTemplatesTable1645886071349;
15
+ //# sourceMappingURL=1645886071349-AddSubjectSysEmailTemplatesTable.ts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1645886071349-AddSubjectSysEmailTemplatesTable.ts.js","sourceRoot":"","sources":["../../src/migrations/1645886071349-AddSubjectSysEmailTemplatesTable.ts.ts"],"names":[],"mappings":";;;AAAA,+EAA2E;AAC3E,MAAa,6CAA8C,SAAQ,oCAAgB;IAC/E;QACI,KAAK,CAAC,qBAAqB,CAAC,CAAC;QAC7B,IAAI,CAAC,OAAO,EAAE,CAAC;IACnB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5C,CAAC;CACJ;AATD,sGASC"}
@@ -4,5 +4,6 @@ export declare class EmailTemplateEntity extends CommonEntity {
4
4
  identifier: string;
5
5
  path: string;
6
6
  body: string;
7
+ subject: string;
7
8
  attributes: any;
8
9
  }
@@ -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;CAiBpD,CAAA;AAfG;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,EAAC,MAAM,CAAC;;uDACC;AAdP,mBAAmB;IAD/B,IAAA,gBAAM,EAAC,qBAAqB,CAAC;GACjB,mBAAmB,CAiB/B;AAjBY,kDAAmB"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicelabsco/nestjs-utility-services",
3
- "version": "1.0.157",
3
+ "version": "1.0.158",
4
4
  "description": "NestJS generic packages to support development",
5
5
  "author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
6
6
  "license": "MIT",