@servicelabsco/nestjs-utility-services 1.1.78 → 1.1.80

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.
@@ -28,6 +28,7 @@ __decorate([
28
28
  __decorate([
29
29
  (0, class_transformer_1.Expose)(),
30
30
  (0, class_validator_1.IsNumber)(),
31
+ (0, class_validator_1.IsOptional)(),
31
32
  __metadata("design:type", Number)
32
33
  ], AddCommentDto.prototype, "type_id", void 0);
33
34
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"add.comment.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/add.comment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA8E;AAE9E,MAAa,aAAa;CAkBzB;AAjBG;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yCACD;AAEZ;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;+CACI;AAEjB;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;8CACM;AAEjB;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACgB;AAjBjC,sCAkBC"}
1
+ {"version":3,"file":"add.comment.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/add.comment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,qDAA8E;AAE9E,MAAa,aAAa;CAmBzB;AAlBG;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;yCACD;AAEZ;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;+CACI;AAEjB;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACI;AAEjB;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;0DACgB;AAlBjC,sCAmBC"}
@@ -23,11 +23,13 @@ __decorate([
23
23
  __decorate([
24
24
  (0, class_validator_1.IsNotEmpty)(),
25
25
  (0, class_transformer_1.Expose)(),
26
+ (0, class_validator_1.IsNotEmpty)(),
26
27
  __metadata("design:type", String)
27
28
  ], FileUploadDto.prototype, "document_url", void 0);
28
29
  __decorate([
29
30
  (0, class_transformer_1.Expose)(),
30
31
  (0, class_validator_1.IsNumber)(),
32
+ (0, class_validator_1.IsOptional)(),
31
33
  __metadata("design:type", Number)
32
34
  ], FileUploadDto.prototype, "type_id", void 0);
33
35
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"file.upload.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/file.upload.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAmF;AACnF,uEAAkE;AAElE,MAAa,aAAa;CAsBzB;AArBG;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCACC;AAEZ;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;mDACY;AAErB;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;;8CACM;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+CACS;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+CAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACJ,+CAAqB;iDAAC;AArBvC,sCAsBC"}
1
+ {"version":3,"file":"file.upload.dto.js","sourceRoot":"","sources":["../../../src/system/dtos/file.upload.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,qDAAmF;AACnF,uEAAkE;AAElE,MAAa,aAAa;CAwBzB;AAvBG;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yCACC;AAEZ;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;mDACQ;AAErB;IAAC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACI;AAEjB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;+CACS;AAElB;IAAC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,+CAAqB,CAAC;IACjC,IAAA,gCAAc,GAAE;8BACJ,+CAAqB;iDAAC;AAvBvC,sCAwBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@servicelabsco/nestjs-utility-services",
3
- "version": "1.1.78",
3
+ "version": "1.1.80",
4
4
  "description": "NestJS generic packages to support development",
5
5
  "author": "Hemant Kumar Sah <hemantanshu@gmail.com>",
6
6
  "license": "MIT",
@@ -1,5 +0,0 @@
1
- import { MigrationUtility } from '../common/libraries/migration.utility';
2
- export declare class AddTypeSysDocumentsTable1684648951523 extends MigrationUtility {
3
- constructor();
4
- process(): void;
5
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AddTypeSysDocumentsTable1684648951523 = void 0;
4
- const migration_utility_1 = require("../common/libraries/migration.utility");
5
- class AddTypeSysDocumentsTable1684648951523 extends migration_utility_1.MigrationUtility {
6
- constructor() {
7
- super('sys_documents');
8
- this.process();
9
- }
10
- process() {
11
- this.foreign({ name: 'type_id', foreignTable: 'sys_lookup_values', });
12
- this.index(['source_type', 'source_id', 'type_id'], 'sys_documents_source_type_index');
13
- }
14
- }
15
- exports.AddTypeSysDocumentsTable1684648951523 = AddTypeSysDocumentsTable1684648951523;
16
- //# sourceMappingURL=1684648951523-AddTypeSysDocumentsTable.ts.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"1684648951523-AddTypeSysDocumentsTable.ts.js","sourceRoot":"","sources":["../../src/migrations/1684648951523-AddTypeSysDocumentsTable.ts.ts"],"names":[],"mappings":";;;AAAA,6EAAyE;AAEzE,MAAa,qCAAsC,SAAQ,oCAAgB;IACzE;QACE,KAAK,CAAC,eAAe,CAAC,CAAC;QACvB,IAAI,CAAC,OAAO,EAAE,CAAC;IACjB,CAAC;IAED,OAAO;QACL,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,mBAAmB,GAAG,CAAC,CAAC;QAEtE,IAAI,CAAC,KAAK,CAAC,CAAC,aAAa,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,iCAAiC,CAAC,CAAC;IACzF,CAAC;CACF;AAXD,sFAWC"}