@nmxjs/types 1.0.17 → 1.0.19

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.
@@ -1,4 +1,5 @@
1
1
  export declare abstract class GetOneRequestDto<T extends object = object> {
2
2
  id: string;
3
3
  select?: Array<keyof T>;
4
+ reject?: boolean;
4
5
  }
@@ -29,4 +29,10 @@ __decorate([
29
29
  }),
30
30
  __metadata("design:type", Array)
31
31
  ], GetOneRequestDto.prototype, "select", void 0);
32
+ __decorate([
33
+ (0, validation_1.Field)({
34
+ type: Boolean,
35
+ }),
36
+ __metadata("design:type", Boolean)
37
+ ], GetOneRequestDto.prototype, "reject", void 0);
32
38
  //# sourceMappingURL=GetOneRequestDto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GetOneRequestDto.js","sourceRoot":"","sources":["../../src/dto/GetOneRequestDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA0C;AAE1C,MAAsB,gBAAgB;CAarC;AAbD,4CAaC;AATC;IAHC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,MAAM;KACb,CAAC;;4CACS;AAQX;IANC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,IAAI;KACrB,CAAC;8BACO,KAAK;gDAAU"}
1
+ {"version":3,"file":"GetOneRequestDto.js","sourceRoot":"","sources":["../../src/dto/GetOneRequestDto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA0C;AAE1C,MAAsB,gBAAgB;CAkBrC;AAlBD,4CAkBC;AAdC;IAHC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,MAAM;KACb,CAAC;;4CACS;AAQX;IANC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,IAAI;QACX,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE,IAAI;KACrB,CAAC;8BACO,KAAK;gDAAU;AAKxB;IAHC,IAAA,kBAAK,EAAC;QACL,IAAI,EAAE,OAAO;KACd,CAAC;;gDACe"}
@@ -1,3 +1,3 @@
1
1
  export declare abstract class GetOneResponseDto<T extends object = object> {
2
- abstract item: T;
2
+ abstract item?: T;
3
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nmxjs/types",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",