@ballistix.digital/types-pb-tool-nest 0.11.0 → 0.13.0

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.
Files changed (112) hide show
  1. package/dist/dto/attachment/attachment.dto.d.ts +1 -1
  2. package/dist/dto/attachment/attachment.dto.js +6 -6
  3. package/dist/dto/attachment/attachment.dto.js.map +1 -1
  4. package/dist/dto/attachment/attachmentEmbedded.dto.d.ts +2 -0
  5. package/dist/dto/attachment/attachmentEmbedded.dto.js +8 -1
  6. package/dist/dto/attachment/attachmentEmbedded.dto.js.map +1 -1
  7. package/dist/dto/attachment/createAttachment.dto.d.ts +2 -1
  8. package/dist/dto/attachment/createAttachment.dto.js +7 -2
  9. package/dist/dto/attachment/createAttachment.dto.js.map +1 -1
  10. package/dist/dto/attachment/updateAttachment.dto.d.ts +1 -3
  11. package/dist/dto/attachment/updateAttachment.dto.js +2 -10
  12. package/dist/dto/attachment/updateAttachment.dto.js.map +1 -1
  13. package/dist/dto/attachmentTag/attachmentTag.dto.d.ts +7 -0
  14. package/dist/dto/attachmentTag/attachmentTag.dto.js +34 -0
  15. package/dist/dto/attachmentTag/attachmentTag.dto.js.map +1 -0
  16. package/dist/dto/attachmentTag/attachmentTagEmbedded.dto.d.ts +7 -0
  17. package/dist/dto/attachmentTag/attachmentTagEmbedded.dto.js +42 -0
  18. package/dist/dto/attachmentTag/attachmentTagEmbedded.dto.js.map +1 -0
  19. package/dist/dto/attachmentTag/attachmentTagPage.dto.d.ts +13 -0
  20. package/dist/dto/attachmentTag/attachmentTagPage.dto.js +35 -0
  21. package/dist/dto/attachmentTag/attachmentTagPage.dto.js.map +1 -0
  22. package/dist/dto/attachmentTag/createAttachmentTag.dto.d.ts +3 -0
  23. package/dist/dto/attachmentTag/createAttachmentTag.dto.js +29 -0
  24. package/dist/dto/attachmentTag/createAttachmentTag.dto.js.map +1 -0
  25. package/dist/dto/attachmentTag/updateAttachmentTag.dto.d.ts +3 -0
  26. package/dist/dto/attachmentTag/updateAttachmentTag.dto.js +29 -0
  27. package/dist/dto/attachmentTag/updateAttachmentTag.dto.js.map +1 -0
  28. package/dist/dto/attachmentTagLink/attachmentTagLink.dto.d.ts +8 -0
  29. package/dist/dto/attachmentTagLink/attachmentTagLink.dto.js +39 -0
  30. package/dist/dto/attachmentTagLink/attachmentTagLink.dto.js.map +1 -0
  31. package/dist/dto/attachmentTagLink/attachmentTagLinkEmbedded.dto.d.ts +9 -0
  32. package/dist/dto/attachmentTagLink/attachmentTagLinkEmbedded.dto.js +49 -0
  33. package/dist/dto/attachmentTagLink/attachmentTagLinkEmbedded.dto.js.map +1 -0
  34. package/dist/dto/attachmentTagLink/attachmentTagLinkPage.dto.d.ts +13 -0
  35. package/dist/dto/attachmentTagLink/attachmentTagLinkPage.dto.js +35 -0
  36. package/dist/dto/attachmentTagLink/attachmentTagLinkPage.dto.js.map +1 -0
  37. package/dist/dto/attachmentTagLink/createAttachmentTagLink.dto.d.ts +4 -0
  38. package/dist/dto/attachmentTagLink/createAttachmentTagLink.dto.js +35 -0
  39. package/dist/dto/attachmentTagLink/createAttachmentTagLink.dto.js.map +1 -0
  40. package/dist/dto/attachmentTagLink/updateAttachmentTagLink.dto.d.ts +4 -0
  41. package/dist/dto/attachmentTagLink/updateAttachmentTagLink.dto.js +37 -0
  42. package/dist/dto/attachmentTagLink/updateAttachmentTagLink.dto.js.map +1 -0
  43. package/dist/dto/note/createNote.dto.d.ts +1 -1
  44. package/dist/dto/note/createNote.dto.js +2 -1
  45. package/dist/dto/note/createNote.dto.js.map +1 -1
  46. package/dist/dto/note/noteEmbedded.dto.d.ts +2 -0
  47. package/dist/dto/note/noteEmbedded.dto.js +8 -1
  48. package/dist/dto/note/noteEmbedded.dto.js.map +1 -1
  49. package/dist/dto/noteTag/createNoteTag.dto.d.ts +3 -0
  50. package/dist/dto/noteTag/createNoteTag.dto.js +29 -0
  51. package/dist/dto/noteTag/createNoteTag.dto.js.map +1 -0
  52. package/dist/dto/noteTag/noteTag.dto.d.ts +7 -0
  53. package/dist/dto/noteTag/noteTag.dto.js +34 -0
  54. package/dist/dto/noteTag/noteTag.dto.js.map +1 -0
  55. package/dist/dto/noteTag/noteTagEmbedded.dto.d.ts +7 -0
  56. package/dist/dto/noteTag/noteTagEmbedded.dto.js +42 -0
  57. package/dist/dto/noteTag/noteTagEmbedded.dto.js.map +1 -0
  58. package/dist/dto/noteTag/noteTagPage.dto.d.ts +13 -0
  59. package/dist/dto/noteTag/noteTagPage.dto.js +35 -0
  60. package/dist/dto/noteTag/noteTagPage.dto.js.map +1 -0
  61. package/dist/dto/noteTag/updateNoteTag.dto.d.ts +3 -0
  62. package/dist/dto/noteTag/updateNoteTag.dto.js +29 -0
  63. package/dist/dto/noteTag/updateNoteTag.dto.js.map +1 -0
  64. package/dist/dto/noteTagLink/createNoteTagLink.dto.d.ts +4 -0
  65. package/dist/dto/noteTagLink/createNoteTagLink.dto.js +35 -0
  66. package/dist/dto/noteTagLink/createNoteTagLink.dto.js.map +1 -0
  67. package/dist/dto/noteTagLink/noteTagLink.dto.d.ts +8 -0
  68. package/dist/dto/noteTagLink/noteTagLink.dto.js +39 -0
  69. package/dist/dto/noteTagLink/noteTagLink.dto.js.map +1 -0
  70. package/dist/dto/noteTagLink/noteTagLinkEmbedded.dto.d.ts +9 -0
  71. package/dist/dto/noteTagLink/noteTagLinkEmbedded.dto.js +49 -0
  72. package/dist/dto/noteTagLink/noteTagLinkEmbedded.dto.js.map +1 -0
  73. package/dist/dto/noteTagLink/noteTagLinkPage.dto.d.ts +13 -0
  74. package/dist/dto/noteTagLink/noteTagLinkPage.dto.js +35 -0
  75. package/dist/dto/noteTagLink/noteTagLinkPage.dto.js.map +1 -0
  76. package/dist/dto/noteTagLink/updateNoteTagLink.dto.d.ts +4 -0
  77. package/dist/dto/noteTagLink/updateNoteTagLink.dto.js +37 -0
  78. package/dist/dto/noteTagLink/updateNoteTagLink.dto.js.map +1 -0
  79. package/dist/dto/response/createResponse.dto.d.ts +1 -1
  80. package/dist/dto/response/createResponse.dto.js +0 -3
  81. package/dist/dto/response/createResponse.dto.js.map +1 -1
  82. package/dist/dto/response/response.dto.d.ts +1 -1
  83. package/dist/dto/response/response.dto.js.map +1 -1
  84. package/dist/dto/response/updateResponse.dto.d.ts +1 -1
  85. package/dist/dto/response/updateResponse.dto.js +3 -5
  86. package/dist/dto/response/updateResponse.dto.js.map +1 -1
  87. package/dist/dto/survey/createSurvey.dto.d.ts +1 -1
  88. package/dist/dto/survey/createSurvey.dto.js.map +1 -1
  89. package/dist/dto/survey/survey.dto.d.ts +1 -1
  90. package/dist/dto/survey/survey.dto.js.map +1 -1
  91. package/dist/dto/survey/updateSurvey.dto.d.ts +1 -1
  92. package/dist/dto/survey/updateSurvey.dto.js.map +1 -1
  93. package/dist/dto/taxReturnAccessRight/taxReturnAccessRight.dto.d.ts +9 -0
  94. package/dist/dto/taxReturnAccessRight/taxReturnAccessRight.dto.js +44 -0
  95. package/dist/dto/taxReturnAccessRight/taxReturnAccessRight.dto.js.map +1 -0
  96. package/dist/dto/taxReturnAccessRight/taxReturnAccessRightEmbedded.dto.d.ts +8 -0
  97. package/dist/dto/taxReturnAccessRight/taxReturnAccessRightEmbedded.dto.js +48 -0
  98. package/dist/dto/taxReturnAccessRight/taxReturnAccessRightEmbedded.dto.js.map +1 -0
  99. package/dist/dto/taxReturnAccessRight/taxReturnAccessRightPage.dto.d.ts +13 -0
  100. package/dist/dto/taxReturnAccessRight/taxReturnAccessRightPage.dto.js +35 -0
  101. package/dist/dto/taxReturnAccessRight/taxReturnAccessRightPage.dto.js.map +1 -0
  102. package/dist/enum/attachmentStatus.enum.d.ts +0 -2
  103. package/dist/enum/attachmentStatus.enum.js +0 -2
  104. package/dist/enum/attachmentStatus.enum.js.map +1 -1
  105. package/dist/enum/role.enum.d.ts +3 -3
  106. package/dist/enum/role.enum.js +3 -3
  107. package/dist/enum/role.enum.js.map +1 -1
  108. package/dist/index.d.ts +25 -2
  109. package/dist/index.js +50 -4
  110. package/dist/index.js.map +1 -1
  111. package/dist/tsconfig.build.tsbuildinfo +1 -1
  112. package/package.json +1 -1
@@ -6,6 +6,7 @@ declare const AttachmentDto_base: import("../generic/base.dto").BaseDtoType<Atta
6
6
  export declare class AttachmentDto extends AttachmentDto_base {
7
7
  id: string;
8
8
  name: string;
9
+ questionIdentifier: string;
9
10
  presignedUrl: string;
10
11
  fileSize: number;
11
12
  mimeType: string;
@@ -14,7 +15,6 @@ export declare class AttachmentDto extends AttachmentDto_base {
14
15
  type: AttachmentTypeEnum;
15
16
  status: AttachmentStatusEnum;
16
17
  uploadStatus: AttachmentUploadStatusEnum;
17
- tags: string[];
18
18
  storageId: string;
19
19
  taxReturnId: string;
20
20
  }
@@ -20,7 +20,7 @@ const attachmentType_enum_1 = require("../../enum/attachmentType.enum");
20
20
  const attachmentStatus_enum_1 = require("../../enum/attachmentStatus.enum");
21
21
  class AttachmentDto extends (0, base_dto_1.BaseDto)(attachmentEmbedded_dto_1.AttachmentEmbeddedDto) {
22
22
  static _OPENAPI_METADATA_FACTORY() {
23
- return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, presignedUrl: { required: true, type: () => String }, fileSize: { required: true, type: () => Number }, mimeType: { required: true, type: () => String }, description: { required: true, type: () => String }, publicationDate: { required: true, type: () => String }, type: { required: true, enum: require("../../enum/attachmentType.enum").AttachmentTypeEnum }, status: { required: true, enum: require("../../enum/attachmentStatus.enum").AttachmentStatusEnum }, uploadStatus: { required: true, enum: require("../../enum/attachmentUploadStatus.enum").AttachmentUploadStatusEnum }, tags: { required: true, type: () => [String] }, storageId: { required: true, type: () => String }, taxReturnId: { required: true, type: () => String } };
23
+ return { id: { required: true, type: () => String }, name: { required: true, type: () => String }, questionIdentifier: { required: true, type: () => String }, presignedUrl: { required: true, type: () => String }, fileSize: { required: true, type: () => Number }, mimeType: { required: true, type: () => String }, description: { required: true, type: () => String }, publicationDate: { required: true, type: () => String }, type: { required: true, enum: require("../../enum/attachmentType.enum").AttachmentTypeEnum }, status: { required: true, enum: require("../../enum/attachmentStatus.enum").AttachmentStatusEnum }, uploadStatus: { required: true, enum: require("../../enum/attachmentUploadStatus.enum").AttachmentUploadStatusEnum }, storageId: { required: true, type: () => String }, taxReturnId: { required: true, type: () => String } };
24
24
  }
25
25
  }
26
26
  exports.AttachmentDto = AttachmentDto;
@@ -34,6 +34,11 @@ __decorate([
34
34
  (0, class_transformer_1.Expose)(),
35
35
  __metadata("design:type", String)
36
36
  ], AttachmentDto.prototype, "name", void 0);
37
+ __decorate([
38
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
39
+ (0, class_transformer_1.Expose)(),
40
+ __metadata("design:type", String)
41
+ ], AttachmentDto.prototype, "questionIdentifier", void 0);
37
42
  __decorate([
38
43
  (0, nestjs_1.ApiProperty)({ type: String, required: true }),
39
44
  (0, class_transformer_1.Expose)(),
@@ -74,11 +79,6 @@ __decorate([
74
79
  (0, class_transformer_1.Expose)(),
75
80
  __metadata("design:type", String)
76
81
  ], AttachmentDto.prototype, "uploadStatus", void 0);
77
- __decorate([
78
- (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
79
- (0, class_transformer_1.Expose)(),
80
- __metadata("design:type", Array)
81
- ], AttachmentDto.prototype, "tags", void 0);
82
82
  __decorate([
83
83
  (0, nestjs_1.ApiProperty)({ type: String, required: true }),
84
84
  (0, class_transformer_1.Expose)(),
@@ -1 +1 @@
1
- {"version":3,"file":"attachment.dto.js","sourceRoot":"","sources":["../../../src/dto/attachment/attachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAE3C,kDAA8C;AAE9C,qEAAiE;AACjE,wFAAoF;AACpF,wEAAoE;AACpE,4EAAwE;AAExE,MAAa,aAAc,SAAQ,IAAA,kBAAO,EAAC,8CAAqB,CAAC;;;;CAoDhE;AApDD,sCAoDC;AAjDA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAA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,GAAE;;kDACW"}
@@ -1,7 +1,9 @@
1
1
  import { TaxReturnDto } from '../taxReturn/taxReturn.dto';
2
2
  import { UserDto } from '../user/user.dto';
3
+ import { AttachmentTagLinkDto } from '../attachmentTagLink/attachmentTagLink.dto';
3
4
  export declare class AttachmentEmbeddedDto {
4
5
  taxReturn?: TaxReturnDto;
6
+ attachmentTagLinks?: AttachmentTagLinkDto[];
5
7
  createdBy?: UserDto;
6
8
  updatedBy?: UserDto;
7
9
  }
@@ -15,9 +15,10 @@ const taxReturn_dto_1 = require("../taxReturn/taxReturn.dto");
15
15
  const nestjs_1 = require("../../nestjs");
16
16
  const class_transformer_1 = require("class-transformer");
17
17
  const user_dto_1 = require("../user/user.dto");
18
+ const attachmentTagLink_dto_1 = require("../attachmentTagLink/attachmentTagLink.dto");
18
19
  class AttachmentEmbeddedDto {
19
20
  static _OPENAPI_METADATA_FACTORY() {
20
- return { taxReturn: { required: false, type: () => require("../taxReturn/taxReturn.dto").TaxReturnDto }, createdBy: { required: false, type: () => require("../user/user.dto").UserDto }, updatedBy: { required: false, type: () => require("../user/user.dto").UserDto } };
21
+ return { taxReturn: { required: false, type: () => require("../taxReturn/taxReturn.dto").TaxReturnDto }, attachmentTagLinks: { required: false, type: () => [require("../attachmentTagLink/attachmentTagLink.dto").AttachmentTagLinkDto] }, createdBy: { required: false, type: () => require("../user/user.dto").UserDto }, updatedBy: { required: false, type: () => require("../user/user.dto").UserDto } };
21
22
  }
22
23
  }
23
24
  exports.AttachmentEmbeddedDto = AttachmentEmbeddedDto;
@@ -27,6 +28,12 @@ __decorate([
27
28
  (0, class_transformer_1.Expose)(),
28
29
  __metadata("design:type", taxReturn_dto_1.TaxReturnDto)
29
30
  ], AttachmentEmbeddedDto.prototype, "taxReturn", void 0);
31
+ __decorate([
32
+ (0, nestjs_1.ApiProperty)({ type: () => [attachmentTagLink_dto_1.AttachmentTagLinkDto], required: true }),
33
+ (0, class_transformer_1.Type)(() => attachmentTagLink_dto_1.AttachmentTagLinkDto),
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", Array)
36
+ ], AttachmentEmbeddedDto.prototype, "attachmentTagLinks", void 0);
30
37
  __decorate([
31
38
  (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
32
39
  (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
@@ -1 +1 @@
1
- {"version":3,"file":"attachmentEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/attachment/attachmentEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8DAA0D;AAC1D,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAE3C,MAAa,qBAAqB;;;;CAejC;AAfD,sDAeC;AAXA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4BAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IACxB,IAAA,0BAAM,GAAE;8BACG,4BAAY;wDAAC;AAKzB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;wDAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;wDAAC"}
1
+ {"version":3,"file":"attachmentEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/attachment/attachmentEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,8DAA0D;AAC1D,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,sFAAkF;AAElF,MAAa,qBAAqB;;;;CAoBjC;AApBD,sDAoBC;AAhBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4BAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACzD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IACxB,IAAA,0BAAM,GAAE;8BACG,4BAAY;wDAAC;AAKzB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,4CAAoB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACnE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAoB,CAAC;IAChC,IAAA,0BAAM,GAAE;;iEACmC;AAK5C;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;wDAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;wDAAC"}
@@ -1,9 +1,10 @@
1
1
  import { AttachmentTypeEnum } from '../../enum/attachmentType.enum';
2
2
  export declare class CreateAttachmentDto {
3
3
  name: string;
4
+ questionIdentifier: string;
4
5
  description?: string;
5
6
  publicationDate?: string;
6
- tags: string[];
7
+ attachmentTags: string[];
7
8
  type: AttachmentTypeEnum;
8
9
  taxReturnId: string;
9
10
  }
@@ -18,7 +18,7 @@ const lodash_1 = require("lodash");
18
18
  const attachmentType_enum_1 = require("../../enum/attachmentType.enum");
19
19
  class CreateAttachmentDto {
20
20
  static _OPENAPI_METADATA_FACTORY() {
21
- return { name: { required: true, type: () => String }, description: { required: false, type: () => String }, publicationDate: { required: false, type: () => String }, tags: { required: true, type: () => [String] }, type: { required: true, enum: require("../../enum/attachmentType.enum").AttachmentTypeEnum, enum: (0, lodash_1.values)(attachmentType_enum_1.AttachmentTypeEnum) }, taxReturnId: { required: true, type: () => String } };
21
+ return { name: { required: true, type: () => String }, questionIdentifier: { required: true, type: () => String }, description: { required: false, type: () => String }, publicationDate: { required: false, type: () => String }, attachmentTags: { required: true, type: () => [String] }, type: { required: true, enum: require("../../enum/attachmentType.enum").AttachmentTypeEnum, enum: (0, lodash_1.values)(attachmentType_enum_1.AttachmentTypeEnum) }, taxReturnId: { required: true, type: () => String } };
22
22
  }
23
23
  }
24
24
  exports.CreateAttachmentDto = CreateAttachmentDto;
@@ -28,6 +28,11 @@ __decorate([
28
28
  (0, class_transformer_1.Expose)(),
29
29
  __metadata("design:type", String)
30
30
  ], CreateAttachmentDto.prototype, "name", void 0);
31
+ __decorate([
32
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", String)
35
+ ], CreateAttachmentDto.prototype, "questionIdentifier", void 0);
31
36
  __decorate([
32
37
  (0, nestjs_1.ApiProperty)({ type: String, required: false }),
33
38
  (0, class_validator_1.IsOptional)(),
@@ -45,7 +50,7 @@ __decorate([
45
50
  (0, nestjs_1.ApiProperty)({ type: [String], required: true }),
46
51
  (0, class_transformer_1.Expose)(),
47
52
  __metadata("design:type", Array)
48
- ], CreateAttachmentDto.prototype, "tags", void 0);
53
+ ], CreateAttachmentDto.prototype, "attachmentTags", void 0);
49
54
  __decorate([
50
55
  (0, nestjs_1.ApiProperty)({ enum: attachmentType_enum_1.AttachmentTypeEnum, required: true }),
51
56
  (0, class_validator_1.IsIn)((0, lodash_1.values)(attachmentType_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,CAAC;IACzD,IAAA,sBAAI,EAAC,IAAA,eAAM,EAAC,wCAAkB,CAAC,CAAC;IAChC,IAAA,0BAAM,GAAE;;iDACgB;AAKzB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,wBAAM,EAAC,CAAC,CAAC;IACT,IAAA,0BAAM,GAAE;;wDACW"}
@@ -1,12 +1,10 @@
1
1
  import { AttachmentUploadStatusEnum } from '../../enum/attachmentUploadStatus.enum';
2
- import { AttachmentTypeEnum } from '../../enum/attachmentType.enum';
3
2
  import { AttachmentStatusEnum } from '../../enum/attachmentStatus.enum';
4
3
  export declare class UpdateAttachmentDto {
5
4
  name?: string;
6
5
  description?: string;
7
6
  publicationDate?: string;
8
- type?: AttachmentTypeEnum;
9
7
  uploadStatus?: AttachmentUploadStatusEnum;
10
8
  status?: AttachmentStatusEnum;
11
- tags?: string[];
9
+ attachmentTags?: string[];
12
10
  }
@@ -16,11 +16,10 @@ const class_transformer_1 = require("class-transformer");
16
16
  const class_validator_1 = require("class-validator");
17
17
  const lodash_1 = require("lodash");
18
18
  const attachmentUploadStatus_enum_1 = require("../../enum/attachmentUploadStatus.enum");
19
- const attachmentType_enum_1 = require("../../enum/attachmentType.enum");
20
19
  const attachmentStatus_enum_1 = require("../../enum/attachmentStatus.enum");
21
20
  class UpdateAttachmentDto {
22
21
  static _OPENAPI_METADATA_FACTORY() {
23
- return { name: { required: false, type: () => String }, description: { required: false, type: () => String }, publicationDate: { required: false, type: () => String }, type: { required: false, enum: require("../../enum/attachmentType.enum").AttachmentTypeEnum, enum: (0, lodash_1.values)(attachmentType_enum_1.AttachmentTypeEnum) }, uploadStatus: { required: false, enum: require("../../enum/attachmentUploadStatus.enum").AttachmentUploadStatusEnum, enum: (0, lodash_1.values)(attachmentUploadStatus_enum_1.AttachmentUploadStatusEnum) }, status: { required: false, enum: require("../../enum/attachmentStatus.enum").AttachmentStatusEnum, enum: (0, lodash_1.values)(attachmentStatus_enum_1.AttachmentStatusEnum) }, tags: { required: false, type: () => [String] } };
22
+ return { name: { required: false, type: () => String }, description: { required: false, type: () => String }, publicationDate: { required: false, type: () => String }, uploadStatus: { required: false, enum: require("../../enum/attachmentUploadStatus.enum").AttachmentUploadStatusEnum, enum: (0, lodash_1.values)(attachmentUploadStatus_enum_1.AttachmentUploadStatusEnum) }, status: { required: false, enum: require("../../enum/attachmentStatus.enum").AttachmentStatusEnum, enum: (0, lodash_1.values)(attachmentStatus_enum_1.AttachmentStatusEnum) }, attachmentTags: { required: false, type: () => [String] } };
24
23
  }
25
24
  }
26
25
  exports.UpdateAttachmentDto = UpdateAttachmentDto;
@@ -45,13 +44,6 @@ __decorate([
45
44
  (0, class_transformer_1.Expose)(),
46
45
  __metadata("design:type", String)
47
46
  ], UpdateAttachmentDto.prototype, "publicationDate", void 0);
48
- __decorate([
49
- (0, nestjs_1.ApiProperty)({ enum: attachmentType_enum_1.AttachmentTypeEnum, required: false }),
50
- (0, class_validator_1.IsOptional)(),
51
- (0, class_validator_1.IsIn)((0, lodash_1.values)(attachmentType_enum_1.AttachmentTypeEnum)),
52
- (0, class_transformer_1.Expose)(),
53
- __metadata("design:type", String)
54
- ], UpdateAttachmentDto.prototype, "type", void 0);
55
47
  __decorate([
56
48
  (0, nestjs_1.ApiProperty)({ enum: attachmentUploadStatus_enum_1.AttachmentUploadStatusEnum, required: false }),
57
49
  (0, class_validator_1.IsOptional)(),
@@ -72,5 +64,5 @@ __decorate([
72
64
  (0, class_validator_1.IsString)({ each: true }),
73
65
  (0, class_transformer_1.Expose)(),
74
66
  __metadata("design:type", Array)
75
- ], UpdateAttachmentDto.prototype, "tags", void 0);
67
+ ], UpdateAttachmentDto.prototype, "attachmentTags", void 0);
76
68
  //# sourceMappingURL=updateAttachment.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"updateAttachment.dto.js","sourceRoot":"","sources":["../../../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E,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9C,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;4DACgB;AAMzB;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,wDAA0B,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClE,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,IAAA,eAAM,EAAC,wDAA0B,CAAC,CAAC;IACxC,IAAA,0BAAM,GAAE;;yDACiC;AAM1C;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,4CAAoB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC5D,IAAA,4BAAU,GAAE;IACZ,IAAA,sBAAI,EAAC,IAAA,eAAM,EAAC,4CAAoB,CAAC,CAAC;IAClC,IAAA,0BAAM,GAAE;;mDACqB;AAM9B;IAJC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChD,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,0BAAM,GAAE;;2DACiB"}
@@ -0,0 +1,7 @@
1
+ import { AttachmentTagEmbeddedDto } from './attachmentTagEmbedded.dto';
2
+ declare const AttachmentTagDto_base: import("../generic/base.dto").BaseDtoType<AttachmentTagEmbeddedDto>;
3
+ export declare class AttachmentTagDto extends AttachmentTagDto_base {
4
+ id: string;
5
+ label: string;
6
+ }
7
+ export {};
@@ -0,0 +1,34 @@
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.AttachmentTagDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const nestjs_1 = require("../../nestjs");
16
+ const base_dto_1 = require("../generic/base.dto");
17
+ const attachmentTagEmbedded_dto_1 = require("./attachmentTagEmbedded.dto");
18
+ class AttachmentTagDto extends (0, base_dto_1.BaseDto)(attachmentTagEmbedded_dto_1.AttachmentTagEmbeddedDto) {
19
+ static _OPENAPI_METADATA_FACTORY() {
20
+ return { id: { required: true, type: () => String }, label: { required: true, type: () => String } };
21
+ }
22
+ }
23
+ exports.AttachmentTagDto = AttachmentTagDto;
24
+ __decorate([
25
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], AttachmentTagDto.prototype, "id", void 0);
29
+ __decorate([
30
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
33
+ ], AttachmentTagDto.prototype, "label", void 0);
34
+ //# sourceMappingURL=attachmentTag.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachmentTag.dto.js","sourceRoot":"","sources":["../../../src/dto/attachmentTag/attachmentTag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAA2C;AAC3C,yCAA2C;AAE3C,kDAA8C;AAC9C,2EAAuE;AAEvE,MAAa,gBAAiB,SAAQ,IAAA,kBAAO,EAAC,oDAAwB,CAAC;;;;CAQtE;AARD,4CAQC;AALA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;4CACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;+CACM"}
@@ -0,0 +1,7 @@
1
+ import { UserDto } from '../user/user.dto';
2
+ import { AttachmentTagLinkDto } from '../attachmentTagLink/attachmentTagLink.dto';
3
+ export declare class AttachmentTagEmbeddedDto {
4
+ attachmentTagLinks?: AttachmentTagLinkDto[];
5
+ createdBy?: UserDto;
6
+ updatedBy?: UserDto;
7
+ }
@@ -0,0 +1,42 @@
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.AttachmentTagEmbeddedDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const user_dto_1 = require("../user/user.dto");
16
+ const class_transformer_1 = require("class-transformer");
17
+ const attachmentTagLink_dto_1 = require("../attachmentTagLink/attachmentTagLink.dto");
18
+ class AttachmentTagEmbeddedDto {
19
+ static _OPENAPI_METADATA_FACTORY() {
20
+ return { attachmentTagLinks: { required: false, type: () => [require("../attachmentTagLink/attachmentTagLink.dto").AttachmentTagLinkDto] }, createdBy: { required: false, type: () => require("../user/user.dto").UserDto }, updatedBy: { required: false, type: () => require("../user/user.dto").UserDto } };
21
+ }
22
+ }
23
+ exports.AttachmentTagEmbeddedDto = AttachmentTagEmbeddedDto;
24
+ __decorate([
25
+ (0, nestjs_1.ApiProperty)({ type: () => [attachmentTagLink_dto_1.AttachmentTagLinkDto], required: false }),
26
+ (0, class_transformer_1.Type)(() => attachmentTagLink_dto_1.AttachmentTagLinkDto),
27
+ (0, class_transformer_1.Expose)(),
28
+ __metadata("design:type", Array)
29
+ ], AttachmentTagEmbeddedDto.prototype, "attachmentTagLinks", void 0);
30
+ __decorate([
31
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
32
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", user_dto_1.UserDto)
35
+ ], AttachmentTagEmbeddedDto.prototype, "createdBy", void 0);
36
+ __decorate([
37
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
38
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
39
+ (0, class_transformer_1.Expose)(),
40
+ __metadata("design:type", user_dto_1.UserDto)
41
+ ], AttachmentTagEmbeddedDto.prototype, "updatedBy", void 0);
42
+ //# sourceMappingURL=attachmentTagEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachmentTagEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/attachmentTag/attachmentTagEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,+CAA2C;AAC3C,yDAAiD;AACjD,sFAAkF;AAElF,MAAa,wBAAwB;;;;CAepC;AAfD,4DAeC;AAXA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,4CAAoB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4CAAoB,CAAC;IAChC,IAAA,0BAAM,GAAE;;oEACmC;AAK5C;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;2DAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;2DAAC"}
@@ -0,0 +1,13 @@
1
+ import { AttachmentTagDto } from './attachmentTag.dto';
2
+ declare class EmbeddedAttachmentTag {
3
+ attachmentTags?: AttachmentTagDto[];
4
+ }
5
+ declare const AttachmentTagPageDto_base: {
6
+ new (): {
7
+ _page: import("../..").PageInfoDto;
8
+ _embedded: EmbeddedAttachmentTag;
9
+ };
10
+ };
11
+ export declare class AttachmentTagPageDto extends AttachmentTagPageDto_base {
12
+ }
13
+ export {};
@@ -0,0 +1,35 @@
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.AttachmentTagPageDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const class_transformer_1 = require("class-transformer");
16
+ const page_dto_1 = require("../generic/page.dto");
17
+ const attachmentTag_dto_1 = require("./attachmentTag.dto");
18
+ class EmbeddedAttachmentTag {
19
+ static _OPENAPI_METADATA_FACTORY() {
20
+ return { attachmentTags: { required: false, type: () => [require("./attachmentTag.dto").AttachmentTagDto] } };
21
+ }
22
+ }
23
+ __decorate([
24
+ (0, nestjs_1.ApiProperty)({ type: () => [attachmentTag_dto_1.AttachmentTagDto], required: false }),
25
+ (0, class_transformer_1.Type)(() => attachmentTag_dto_1.AttachmentTagDto),
26
+ (0, class_transformer_1.Expose)({ name: 'items' }),
27
+ __metadata("design:type", Array)
28
+ ], EmbeddedAttachmentTag.prototype, "attachmentTags", void 0);
29
+ class AttachmentTagPageDto extends (0, page_dto_1.PageDto)(EmbeddedAttachmentTag) {
30
+ static _OPENAPI_METADATA_FACTORY() {
31
+ return {};
32
+ }
33
+ }
34
+ exports.AttachmentTagPageDto = AttachmentTagPageDto;
35
+ //# sourceMappingURL=attachmentTagPage.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachmentTagPage.dto.js","sourceRoot":"","sources":["../../../src/dto/attachmentTag/attachmentTagPage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,kDAA8C;AAC9C,2DAAuD;AAEvD,MAAM,qBAAqB;;;;CAK1B;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,oCAAgB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAChE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,0BAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;6DACU;AAGrC,MAAa,oBAAqB,SAAQ,IAAA,kBAAO,EAAC,qBAAqB,CAAC;;;;CAAG;AAA3E,oDAA2E"}
@@ -0,0 +1,3 @@
1
+ export declare class CreateAttachmentTagDto {
2
+ label: string;
3
+ }
@@ -0,0 +1,29 @@
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.CreateAttachmentTagDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const class_validator_1 = require("class-validator");
16
+ const class_transformer_1 = require("class-transformer");
17
+ class CreateAttachmentTagDto {
18
+ static _OPENAPI_METADATA_FACTORY() {
19
+ return { label: { required: true, type: () => String } };
20
+ }
21
+ }
22
+ exports.CreateAttachmentTagDto = CreateAttachmentTagDto;
23
+ __decorate([
24
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
25
+ (0, class_validator_1.IsString)(),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], CreateAttachmentTagDto.prototype, "label", void 0);
29
+ //# sourceMappingURL=createAttachmentTag.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAttachmentTag.dto.js","sourceRoot":"","sources":["../../../src/dto/attachmentTag/createAttachmentTag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAA2C;AAC3C,yDAA2C;AAE3C,MAAa,sBAAsB;;;;CAKlC;AALD,wDAKC;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;qDACM"}
@@ -0,0 +1,3 @@
1
+ export declare class UpdateAttachmentTagDto {
2
+ label: string;
3
+ }
@@ -0,0 +1,29 @@
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.UpdateAttachmentTagDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const class_validator_1 = require("class-validator");
16
+ const class_transformer_1 = require("class-transformer");
17
+ class UpdateAttachmentTagDto {
18
+ static _OPENAPI_METADATA_FACTORY() {
19
+ return { label: { required: true, type: () => String } };
20
+ }
21
+ }
22
+ exports.UpdateAttachmentTagDto = UpdateAttachmentTagDto;
23
+ __decorate([
24
+ (0, nestjs_1.ApiProperty)({ type: String, required: true }),
25
+ (0, class_validator_1.IsString)(),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], UpdateAttachmentTagDto.prototype, "label", void 0);
29
+ //# sourceMappingURL=updateAttachmentTag.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateAttachmentTag.dto.js","sourceRoot":"","sources":["../../../src/dto/attachmentTag/updateAttachmentTag.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAA2C;AAC3C,yDAA2C;AAE3C,MAAa,sBAAsB;;;;CAKlC;AALD,wDAKC;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAQ,GAAE;IACV,IAAA,0BAAM,GAAE;;qDACM"}
@@ -0,0 +1,8 @@
1
+ import { AttachmentTagLinkEmbeddedDto } from './attachmentTagLinkEmbedded.dto';
2
+ declare const AttachmentTagLinkDto_base: import("../generic/base.dto").BaseDtoType<AttachmentTagLinkEmbeddedDto>;
3
+ export declare class AttachmentTagLinkDto extends AttachmentTagLinkDto_base {
4
+ id: string;
5
+ tagId: string;
6
+ attachmentId: string;
7
+ }
8
+ export {};
@@ -0,0 +1,39 @@
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.AttachmentTagLinkDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const base_dto_1 = require("../generic/base.dto");
15
+ const nestjs_1 = require("../../nestjs");
16
+ const class_transformer_1 = require("class-transformer");
17
+ const attachmentTagLinkEmbedded_dto_1 = require("./attachmentTagLinkEmbedded.dto");
18
+ class AttachmentTagLinkDto extends (0, base_dto_1.BaseDto)(attachmentTagLinkEmbedded_dto_1.AttachmentTagLinkEmbeddedDto) {
19
+ static _OPENAPI_METADATA_FACTORY() {
20
+ return { id: { required: true, type: () => String }, tagId: { required: true, type: () => String }, attachmentId: { required: true, type: () => String } };
21
+ }
22
+ }
23
+ exports.AttachmentTagLinkDto = AttachmentTagLinkDto;
24
+ __decorate([
25
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
26
+ (0, class_transformer_1.Expose)(),
27
+ __metadata("design:type", String)
28
+ ], AttachmentTagLinkDto.prototype, "id", void 0);
29
+ __decorate([
30
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
31
+ (0, class_transformer_1.Expose)(),
32
+ __metadata("design:type", String)
33
+ ], AttachmentTagLinkDto.prototype, "tagId", void 0);
34
+ __decorate([
35
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
36
+ (0, class_transformer_1.Expose)(),
37
+ __metadata("design:type", String)
38
+ ], AttachmentTagLinkDto.prototype, "attachmentId", void 0);
39
+ //# sourceMappingURL=attachmentTagLink.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachmentTagLink.dto.js","sourceRoot":"","sources":["../../../src/dto/attachmentTagLink/attachmentTagLink.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yCAA2C;AAC3C,yDAA2C;AAC3C,mFAA+E;AAE/E,MAAa,oBAAqB,SAAQ,IAAA,kBAAO,EAChD,4DAA4B,CAC5B;;;;CAYA;AAdD,oDAcC;AATA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;gDACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;mDACM;AAIf;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;0DACa"}
@@ -0,0 +1,9 @@
1
+ import { UserDto } from '../user/user.dto';
2
+ import { AttachmentTagDto } from '../attachmentTag/attachmentTag.dto';
3
+ import { AttachmentDto } from '../attachment/attachment.dto';
4
+ export declare class AttachmentTagLinkEmbeddedDto {
5
+ tag?: AttachmentTagDto;
6
+ attachment: AttachmentDto;
7
+ createdBy?: UserDto;
8
+ updatedBy?: UserDto;
9
+ }
@@ -0,0 +1,49 @@
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.AttachmentTagLinkEmbeddedDto = void 0;
13
+ const openapi = require("@nestjs/swagger");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const class_transformer_1 = require("class-transformer");
16
+ const user_dto_1 = require("../user/user.dto");
17
+ const attachmentTag_dto_1 = require("../attachmentTag/attachmentTag.dto");
18
+ const attachment_dto_1 = require("../attachment/attachment.dto");
19
+ class AttachmentTagLinkEmbeddedDto {
20
+ static _OPENAPI_METADATA_FACTORY() {
21
+ return { tag: { required: false, type: () => require("../attachmentTag/attachmentTag.dto").AttachmentTagDto }, attachment: { required: true, type: () => require("../attachment/attachment.dto").AttachmentDto }, createdBy: { required: false, type: () => require("../user/user.dto").UserDto }, updatedBy: { required: false, type: () => require("../user/user.dto").UserDto } };
22
+ }
23
+ }
24
+ exports.AttachmentTagLinkEmbeddedDto = AttachmentTagLinkEmbeddedDto;
25
+ __decorate([
26
+ (0, nestjs_1.ApiProperty)({ type: () => attachmentTag_dto_1.AttachmentTagDto, required: false }),
27
+ (0, class_transformer_1.Type)(() => attachmentTag_dto_1.AttachmentTagDto),
28
+ (0, class_transformer_1.Expose)(),
29
+ __metadata("design:type", attachmentTag_dto_1.AttachmentTagDto)
30
+ ], AttachmentTagLinkEmbeddedDto.prototype, "tag", void 0);
31
+ __decorate([
32
+ (0, nestjs_1.ApiProperty)({ type: () => attachment_dto_1.AttachmentDto, required: false }),
33
+ (0, class_transformer_1.Type)(() => attachment_dto_1.AttachmentDto),
34
+ (0, class_transformer_1.Expose)(),
35
+ __metadata("design:type", attachment_dto_1.AttachmentDto)
36
+ ], AttachmentTagLinkEmbeddedDto.prototype, "attachment", void 0);
37
+ __decorate([
38
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
39
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
40
+ (0, class_transformer_1.Expose)(),
41
+ __metadata("design:type", user_dto_1.UserDto)
42
+ ], AttachmentTagLinkEmbeddedDto.prototype, "createdBy", void 0);
43
+ __decorate([
44
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
45
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
46
+ (0, class_transformer_1.Expose)(),
47
+ __metadata("design:type", user_dto_1.UserDto)
48
+ ], AttachmentTagLinkEmbeddedDto.prototype, "updatedBy", void 0);
49
+ //# sourceMappingURL=attachmentTagLinkEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attachmentTagLinkEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/attachmentTagLink/attachmentTagLinkEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AAEjD,+CAA2C;AAC3C,0EAAsE;AACtE,iEAA6D;AAE7D,MAAa,4BAA4B;;;;CAoBxC;AApBD,oEAoBC;AAhBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oCAAgB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC9D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oCAAgB,CAAC;IAC5B,IAAA,0BAAM,GAAE;8BACH,oCAAgB;yDAAC;AAKvB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,8BAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,8BAAa,CAAC;IACzB,IAAA,0BAAM,GAAE;8BACG,8BAAa;gEAAC;AAK1B;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;+DAAC;AAKpB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,kBAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACrD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kBAAO,CAAC;IACnB,IAAA,0BAAM,GAAE;8BACG,kBAAO;+DAAC"}
@@ -0,0 +1,13 @@
1
+ import { AttachmentTagLinkDto } from './attachmentTagLink.dto';
2
+ declare class EmbeddedAttachmentTagLink {
3
+ attachmentTagLinks?: AttachmentTagLinkDto[];
4
+ }
5
+ declare const AttachmentTagLinkPageDto_base: {
6
+ new (): {
7
+ _page: import("../..").PageInfoDto;
8
+ _embedded: EmbeddedAttachmentTagLink;
9
+ };
10
+ };
11
+ export declare class AttachmentTagLinkPageDto extends AttachmentTagLinkPageDto_base {
12
+ }
13
+ export {};