@ballistix.digital/types-pbc-react 0.26.0 → 0.28.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 (55) hide show
  1. package/dist/dto/audit/auditEmbedded.dto.d.ts +7 -3
  2. package/dist/dto/audit/auditEmbedded.dto.js +14 -0
  3. package/dist/dto/audit/auditEmbedded.dto.js.map +1 -1
  4. package/dist/dto/{survey/calculated/surveyCalculated.dto.d.ts → audit/calculated/auditCalculatedView.dto.d.ts} +1 -1
  5. package/dist/dto/{survey/calculated/surveyCalculated.dto.js → audit/calculated/auditCalculatedView.dto.js} +13 -13
  6. package/dist/dto/audit/calculated/auditCalculatedView.dto.js.map +1 -0
  7. package/dist/dto/cycle/{cycleCalculatedView.dto.d.ts → calculated/cycleCalculatedView.dto.d.ts} +3 -0
  8. package/dist/dto/cycle/{cycleCalculatedView.dto.js → calculated/cycleCalculatedView.dto.js} +16 -1
  9. package/dist/dto/cycle/calculated/cycleCalculatedView.dto.js.map +1 -0
  10. package/dist/dto/cycle/cycleEmbedded.dto.d.ts +1 -1
  11. package/dist/dto/cycle/cycleEmbedded.dto.js +1 -1
  12. package/dist/dto/cycle/cycleEmbedded.dto.js.map +1 -1
  13. package/dist/dto/favorite/bulkUpdateFavorite.dto.d.ts +10 -0
  14. package/dist/dto/favorite/bulkUpdateFavorite.dto.js +9 -0
  15. package/dist/dto/favorite/bulkUpdateFavorite.dto.js.map +1 -0
  16. package/dist/dto/favorite/changelog/favoriteChangelog.dto.d.ts +10 -0
  17. package/dist/dto/favorite/changelog/favoriteChangelog.dto.js +41 -0
  18. package/dist/dto/favorite/changelog/favoriteChangelog.dto.js.map +1 -0
  19. package/dist/dto/favorite/changelog/favoriteChangelogEmbedded.dto.d.ts +5 -0
  20. package/dist/dto/favorite/changelog/favoriteChangelogEmbedded.dto.js +31 -0
  21. package/dist/dto/favorite/changelog/favoriteChangelogEmbedded.dto.js.map +1 -0
  22. package/dist/dto/favorite/changelog/favoriteChangelogPage.dto.d.ts +13 -0
  23. package/dist/dto/favorite/changelog/favoriteChangelogPage.dto.js +28 -0
  24. package/dist/dto/favorite/changelog/favoriteChangelogPage.dto.js.map +1 -0
  25. package/dist/dto/favorite/createFavorite.dto.d.ts +4 -0
  26. package/dist/dto/favorite/createFavorite.dto.js +31 -0
  27. package/dist/dto/favorite/createFavorite.dto.js.map +1 -0
  28. package/dist/dto/favorite/favorite.dto.d.ts +8 -0
  29. package/dist/dto/favorite/favorite.dto.js +35 -0
  30. package/dist/dto/favorite/favorite.dto.js.map +1 -0
  31. package/dist/dto/favorite/favoriteEmbedded.dto.d.ts +8 -0
  32. package/dist/dto/favorite/favoriteEmbedded.dto.js +44 -0
  33. package/dist/dto/favorite/favoriteEmbedded.dto.js.map +1 -0
  34. package/dist/dto/favorite/favoritePage.dto.d.ts +13 -0
  35. package/dist/dto/favorite/favoritePage.dto.js +28 -0
  36. package/dist/dto/favorite/favoritePage.dto.js.map +1 -0
  37. package/dist/dto/favorite/updateFavorite.dto.d.ts +4 -0
  38. package/dist/dto/favorite/updateFavorite.dto.js +33 -0
  39. package/dist/dto/favorite/updateFavorite.dto.js.map +1 -0
  40. package/dist/dto/survey/calculated/surveyCalculatedView.dto.d.ts +10 -0
  41. package/dist/dto/survey/calculated/surveyCalculatedView.dto.js +58 -0
  42. package/dist/dto/survey/calculated/surveyCalculatedView.dto.js.map +1 -0
  43. package/dist/dto/survey/surveyEmbedded.dto.d.ts +2 -2
  44. package/dist/dto/survey/surveyEmbedded.dto.js +4 -4
  45. package/dist/dto/survey/surveyEmbedded.dto.js.map +1 -1
  46. package/dist/dto/user/userEmbedded.dto.d.ts +2 -0
  47. package/dist/dto/user/userEmbedded.dto.js +7 -0
  48. package/dist/dto/user/userEmbedded.dto.js.map +1 -1
  49. package/dist/index.d.ts +13 -3
  50. package/dist/index.js +27 -7
  51. package/dist/index.js.map +1 -1
  52. package/dist/tsconfig.tsbuildinfo +1 -1
  53. package/package.json +1 -1
  54. package/dist/dto/cycle/cycleCalculatedView.dto.js.map +0 -1
  55. package/dist/dto/survey/calculated/surveyCalculated.dto.js.map +0 -1
@@ -2,10 +2,14 @@ import { UserDto } from '../user/user.dto';
2
2
  import { SurveyDto } from '../survey/survey.dto';
3
3
  import { AuditTeamDto } from '../auditTeam/auditTeam.dto';
4
4
  import { CustomerDto } from '../customer/customer.dto';
5
+ import { FavoriteDto } from '../favorite/favorite.dto';
6
+ import { AuditCalculatedViewDto } from './calculated/auditCalculatedView.dto';
5
7
  export declare class AuditEmbeddedDto {
6
- surveys: SurveyDto[];
7
- auditTeam: AuditTeamDto;
8
- customer: CustomerDto;
8
+ surveys?: SurveyDto[];
9
+ auditTeam?: AuditTeamDto;
10
+ customer?: CustomerDto;
11
+ favorites?: FavoriteDto[];
12
+ calculated?: AuditCalculatedViewDto;
9
13
  createdBy?: UserDto;
10
14
  updatedBy?: UserDto;
11
15
  }
@@ -16,6 +16,8 @@ const user_dto_1 = require("../user/user.dto");
16
16
  const survey_dto_1 = require("../survey/survey.dto");
17
17
  const auditTeam_dto_1 = require("../auditTeam/auditTeam.dto");
18
18
  const customer_dto_1 = require("../customer/customer.dto");
19
+ const favorite_dto_1 = require("../favorite/favorite.dto");
20
+ const auditCalculatedView_dto_1 = require("./calculated/auditCalculatedView.dto");
19
21
  class AuditEmbeddedDto {
20
22
  }
21
23
  exports.AuditEmbeddedDto = AuditEmbeddedDto;
@@ -37,6 +39,18 @@ __decorate([
37
39
  (0, class_transformer_1.Expose)(),
38
40
  __metadata("design:type", customer_dto_1.CustomerDto)
39
41
  ], AuditEmbeddedDto.prototype, "customer", void 0);
42
+ __decorate([
43
+ (0, nestjs_1.ApiProperty)({ type: () => [favorite_dto_1.FavoriteDto], required: false }),
44
+ (0, class_transformer_1.Type)(() => favorite_dto_1.FavoriteDto),
45
+ (0, class_transformer_1.Expose)(),
46
+ __metadata("design:type", Array)
47
+ ], AuditEmbeddedDto.prototype, "favorites", void 0);
48
+ __decorate([
49
+ (0, nestjs_1.ApiProperty)({ type: () => auditCalculatedView_dto_1.AuditCalculatedViewDto, required: false }),
50
+ (0, class_transformer_1.Type)(() => auditCalculatedView_dto_1.AuditCalculatedViewDto),
51
+ (0, class_transformer_1.Expose)(),
52
+ __metadata("design:type", auditCalculatedView_dto_1.AuditCalculatedViewDto)
53
+ ], AuditEmbeddedDto.prototype, "calculated", void 0);
40
54
  __decorate([
41
55
  (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
42
56
  (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
@@ -1 +1 @@
1
- {"version":3,"file":"auditEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/audit/auditEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,qDAAiD;AACjD,8DAA0D;AAC1D,2DAAuD;AAEvD,MAAa,gBAAgB;CAyB5B;AAzBD,4CAyBC;AArBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,sBAAS,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAS,CAAC;IACrB,IAAA,0BAAM,GAAE;;iDACY;AAKrB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,4BAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC1D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;IACxB,IAAA,0BAAM,GAAE;8BACE,4BAAY;mDAAA;AAKvB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,0BAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,0BAAM,GAA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,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACzD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,0BAAM,GAAE;8BACE,0BAAW;kDAAA;AAKtB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,0BAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,0BAAM,GAAE;;mDACiB;AAK1B;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gDAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,0BAAM,GAAE;8BACI,gDAAsB;oDAAC;AAKpC;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;mDAAC;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;mDAAC"}
@@ -1,4 +1,4 @@
1
- export declare class SurveyCalculatedDto {
1
+ export declare class AuditCalculatedViewDto {
2
2
  id: string;
3
3
  nrOfAcceptedQuestions: number;
4
4
  nrOfOpenQuestions: number;
@@ -9,50 +9,50 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.SurveyCalculatedDto = void 0;
13
- const nestjs_1 = require("../../../nestjs");
12
+ exports.AuditCalculatedViewDto = void 0;
14
13
  const class_transformer_1 = require("class-transformer");
15
- class SurveyCalculatedDto {
14
+ const nestjs_1 = require("../../../nestjs");
15
+ class AuditCalculatedViewDto {
16
16
  }
17
- exports.SurveyCalculatedDto = SurveyCalculatedDto;
17
+ exports.AuditCalculatedViewDto = AuditCalculatedViewDto;
18
18
  __decorate([
19
19
  (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
20
20
  (0, class_transformer_1.Expose)(),
21
21
  __metadata("design:type", String)
22
- ], SurveyCalculatedDto.prototype, "id", void 0);
22
+ ], AuditCalculatedViewDto.prototype, "id", void 0);
23
23
  __decorate([
24
24
  (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
25
25
  (0, class_transformer_1.Expose)(),
26
26
  __metadata("design:type", Number)
27
- ], SurveyCalculatedDto.prototype, "nrOfAcceptedQuestions", void 0);
27
+ ], AuditCalculatedViewDto.prototype, "nrOfAcceptedQuestions", void 0);
28
28
  __decorate([
29
29
  (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
30
30
  (0, class_transformer_1.Expose)(),
31
31
  __metadata("design:type", Number)
32
- ], SurveyCalculatedDto.prototype, "nrOfOpenQuestions", void 0);
32
+ ], AuditCalculatedViewDto.prototype, "nrOfOpenQuestions", void 0);
33
33
  __decorate([
34
34
  (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
35
35
  (0, class_transformer_1.Expose)(),
36
36
  __metadata("design:type", Number)
37
- ], SurveyCalculatedDto.prototype, "nrOfRejectedQuestions", void 0);
37
+ ], AuditCalculatedViewDto.prototype, "nrOfRejectedQuestions", void 0);
38
38
  __decorate([
39
39
  (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
40
40
  (0, class_transformer_1.Expose)(),
41
41
  __metadata("design:type", Number)
42
- ], SurveyCalculatedDto.prototype, "nrOfReopenedQuestions", void 0);
42
+ ], AuditCalculatedViewDto.prototype, "nrOfReopenedQuestions", void 0);
43
43
  __decorate([
44
44
  (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
45
45
  (0, class_transformer_1.Expose)(),
46
46
  __metadata("design:type", Number)
47
- ], SurveyCalculatedDto.prototype, "nrOfQuestionsDeadlineExceeded", void 0);
47
+ ], AuditCalculatedViewDto.prototype, "nrOfQuestionsDeadlineExceeded", void 0);
48
48
  __decorate([
49
49
  (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
50
50
  (0, class_transformer_1.Expose)(),
51
51
  __metadata("design:type", Number)
52
- ], SurveyCalculatedDto.prototype, "nrOfQuestionsDeadlineNext7Days", void 0);
52
+ ], AuditCalculatedViewDto.prototype, "nrOfQuestionsDeadlineNext7Days", void 0);
53
53
  __decorate([
54
54
  (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
55
55
  (0, class_transformer_1.Expose)(),
56
56
  __metadata("design:type", Number)
57
- ], SurveyCalculatedDto.prototype, "nrOfQuestionsDeadlineNext14Days", void 0);
58
- //# sourceMappingURL=surveyCalculated.dto.js.map
57
+ ], AuditCalculatedViewDto.prototype, "nrOfQuestionsDeadlineNext14Days", void 0);
58
+ //# sourceMappingURL=auditCalculatedView.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auditCalculatedView.dto.js","sourceRoot":"","sources":["../../../../src/dto/audit/calculated/auditCalculatedView.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,4CAA8C;AAE9C,MAAa,sBAAsB;CAgClC;AAhCD,wDAgCC;AA7BA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;kDACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;qEACsB;AAI/B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;iEACkB;AAI3B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;qEACsB;AAI/B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;qEACsB;AAI/B;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;6EAC8B;AAIvC;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;8EAC+B;AAIxC;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7C,IAAA,0BAAM,GAAE;;+EACgC"}
@@ -4,6 +4,9 @@ export declare class CycleCalculatedViewDto {
4
4
  nrOfOpenQuestions: number;
5
5
  nrOfRejectedQuestions: number;
6
6
  nrOfReopenedQuestions: number;
7
+ nrOfQuestionsDeadlineExceeded: number;
8
+ nrOfQuestionsDeadlineNext7Days: number;
9
+ nrOfQuestionsDeadlineNext14Days: number;
7
10
  hasResponseAccess: boolean;
8
11
  position: number;
9
12
  }
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CycleCalculatedViewDto = void 0;
13
13
  const class_transformer_1 = require("class-transformer");
14
- const nestjs_1 = require("../../nestjs");
14
+ const nestjs_1 = require("../../../nestjs");
15
15
  class CycleCalculatedViewDto {
16
16
  }
17
17
  exports.CycleCalculatedViewDto = CycleCalculatedViewDto;
@@ -40,6 +40,21 @@ __decorate([
40
40
  (0, class_transformer_1.Expose)(),
41
41
  __metadata("design:type", Number)
42
42
  ], CycleCalculatedViewDto.prototype, "nrOfReopenedQuestions", void 0);
43
+ __decorate([
44
+ (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
45
+ (0, class_transformer_1.Expose)(),
46
+ __metadata("design:type", Number)
47
+ ], CycleCalculatedViewDto.prototype, "nrOfQuestionsDeadlineExceeded", void 0);
48
+ __decorate([
49
+ (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
50
+ (0, class_transformer_1.Expose)(),
51
+ __metadata("design:type", Number)
52
+ ], CycleCalculatedViewDto.prototype, "nrOfQuestionsDeadlineNext7Days", void 0);
53
+ __decorate([
54
+ (0, nestjs_1.ApiProperty)({ type: Number, required: true }),
55
+ (0, class_transformer_1.Expose)(),
56
+ __metadata("design:type", Number)
57
+ ], CycleCalculatedViewDto.prototype, "nrOfQuestionsDeadlineNext14Days", void 0);
43
58
  __decorate([
44
59
  (0, nestjs_1.ApiProperty)({ type: Boolean, required: true }),
45
60
  (0, class_transformer_1.Expose)(),
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cycleCalculatedView.dto.js","sourceRoot":"","sources":["../../../../src/dto/cycle/calculated/cycleCalculatedView.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA2C;AAC3C,4CAA8C;AAE9C,MAAa,sBAAsB;CAwClC;AAxCD,wDAwCC;AArCA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;kDACG;AAIZ;IAFC,IAAA,oBAA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to } from '../question/question.dto';
4
- import { CycleCalculatedViewDto } from './cycleCalculatedView.dto';
4
+ import { CycleCalculatedViewDto } from './calculated/cycleCalculatedView.dto';
5
5
  export declare class CycleEmbeddedDto {
6
6
  survey?: SurveyDto;
7
7
  questions: QuestionDto[];
@@ -15,7 +15,7 @@ const class_transformer_1 = require("class-transformer");
15
15
  const user_dto_1 = require("../user/user.dto");
16
16
  const survey_dto_1 = require("../survey/survey.dto");
17
17
  const question_dto_1 = require("../question/question.dto");
18
- const cycleCalculatedView_dto_1 = require("./cycleCalculatedView.dto");
18
+ const cycleCalculatedView_dto_1 = require("./calculated/cycleCalculatedView.dto");
19
19
  class CycleEmbeddedDto {
20
20
  }
21
21
  exports.CycleEmbeddedDto = CycleEmbeddedDto;
@@ -1 +1 @@
1
- {"version":3,"file":"cycleEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/cycle/cycleEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,qDAAiD;AACjD,2DAAuD;AACvD,uEAAmE;AAEnE,MAAa,gBAAgB;CAyB5B;AAzBD,4CAyBC;AArBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,sBAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACvD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sBAAS,CAAC;IACrB,IAAA,0BAAM,GAAE;8BACA,sBAAS;gDAAC;AAKnB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,0BAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,0BAAM,GAAE;;mDACgB;AAKzB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gD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A,0BAAM,GAAE;;mDACgB;AAKzB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,gDAAsB,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACpE,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAsB,CAAC;IAClC,IAAA,0BAAM,GAAE;8BACI,gDAAsB;oDAAC;AAKpC;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;mDAAC;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;mDAAC"}
@@ -0,0 +1,10 @@
1
+ declare const BulkUpdateFavoriteDto_base: {
2
+ new (): {
3
+ items: {
4
+ id: string;
5
+ }[];
6
+ };
7
+ };
8
+ export declare class BulkUpdateFavoriteDto extends BulkUpdateFavoriteDto_base {
9
+ }
10
+ export {};
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BulkUpdateFavoriteDto = void 0;
4
+ const bulk_dto_1 = require("../generic/bulk.dto");
5
+ const updateFavorite_dto_1 = require("./updateFavorite.dto");
6
+ class BulkUpdateFavoriteDto extends (0, bulk_dto_1.BulkDto)(updateFavorite_dto_1.UpdateFavoriteDto) {
7
+ }
8
+ exports.BulkUpdateFavoriteDto = BulkUpdateFavoriteDto;
9
+ //# sourceMappingURL=bulkUpdateFavorite.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bulkUpdateFavorite.dto.js","sourceRoot":"","sources":["../../../src/dto/favorite/bulkUpdateFavorite.dto.ts"],"names":[],"mappings":";;;AAAA,kDAA8C;AAC9C,6DAAyD;AAEzD,MAAa,qBAAsB,SAAQ,IAAA,kBAAO,EAAC,sCAAiB,CAAC;CAAG;AAAxE,sDAAwE"}
@@ -0,0 +1,10 @@
1
+ import { ChangelogOperationEnum } from '../../../enum/changelogOperationEnum';
2
+ import { FavoriteChangelogEmbeddedDto } from './favoriteChangelogEmbedded.dto';
3
+ declare const FavoriteChangelogDto_base: import("../../generic/base.dto").BaseDtoType<FavoriteChangelogEmbeddedDto>;
4
+ export declare class FavoriteChangelogDto extends FavoriteChangelogDto_base {
5
+ id: string;
6
+ operation: ChangelogOperationEnum;
7
+ userId: string;
8
+ auditId: string;
9
+ }
10
+ export {};
@@ -0,0 +1,41 @@
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.FavoriteChangelogDto = void 0;
13
+ const base_dto_1 = require("../../generic/base.dto");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const nestjs_1 = require("../../../nestjs");
16
+ const changelogOperationEnum_1 = require("../../../enum/changelogOperationEnum");
17
+ const favoriteChangelogEmbedded_dto_1 = require("./favoriteChangelogEmbedded.dto");
18
+ class FavoriteChangelogDto extends (0, base_dto_1.BaseDto)(favoriteChangelogEmbedded_dto_1.FavoriteChangelogEmbeddedDto) {
19
+ }
20
+ exports.FavoriteChangelogDto = FavoriteChangelogDto;
21
+ __decorate([
22
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
23
+ (0, class_transformer_1.Expose)(),
24
+ __metadata("design:type", String)
25
+ ], FavoriteChangelogDto.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, nestjs_1.ApiProperty)({ enum: changelogOperationEnum_1.ChangelogOperationEnum, required: true }),
28
+ (0, class_transformer_1.Expose)(),
29
+ __metadata("design:type", String)
30
+ ], FavoriteChangelogDto.prototype, "operation", void 0);
31
+ __decorate([
32
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
33
+ (0, class_transformer_1.Expose)(),
34
+ __metadata("design:type", String)
35
+ ], FavoriteChangelogDto.prototype, "userId", void 0);
36
+ __decorate([
37
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
38
+ (0, class_transformer_1.Expose)(),
39
+ __metadata("design:type", String)
40
+ ], FavoriteChangelogDto.prototype, "auditId", void 0);
41
+ //# sourceMappingURL=favoriteChangelog.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"favoriteChangelog.dto.js","sourceRoot":"","sources":["../../../../src/dto/favorite/changelog/favoriteChangelog.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AACjD,yDAA2C;AAC3C,4CAA8C;AAC9C,iFAA8E;AAC9E,mFAA+E;AAE/E,MAAa,oBAAqB,SAAQ,IAAA,kBAAO,EAAC,4DAA4B,CAAC;CAgB9E;AAhBD,oDAgBC;AAbA;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,+CAAsB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;uDAC0B;AAInC;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;oDACO;AAIhB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;qDACQ"}
@@ -0,0 +1,5 @@
1
+ import { UserDto } from '../../user/user.dto';
2
+ export declare class FavoriteChangelogEmbeddedDto {
3
+ createdBy?: UserDto;
4
+ updatedBy?: UserDto;
5
+ }
@@ -0,0 +1,31 @@
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.FavoriteChangelogEmbeddedDto = void 0;
13
+ const nestjs_1 = require("../../../nestjs");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const user_dto_1 = require("../../user/user.dto");
16
+ class FavoriteChangelogEmbeddedDto {
17
+ }
18
+ exports.FavoriteChangelogEmbeddedDto = FavoriteChangelogEmbeddedDto;
19
+ __decorate([
20
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
21
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
22
+ (0, class_transformer_1.Expose)(),
23
+ __metadata("design:type", user_dto_1.UserDto)
24
+ ], FavoriteChangelogEmbeddedDto.prototype, "createdBy", void 0);
25
+ __decorate([
26
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
27
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
28
+ (0, class_transformer_1.Expose)(),
29
+ __metadata("design:type", user_dto_1.UserDto)
30
+ ], FavoriteChangelogEmbeddedDto.prototype, "updatedBy", void 0);
31
+ //# sourceMappingURL=favoriteChangelogEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"favoriteChangelogEmbedded.dto.js","sourceRoot":"","sources":["../../../../src/dto/favorite/changelog/favoriteChangelogEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4CAA8C;AAC9C,yDAAiD;AACjD,kDAA8C;AAE9C,MAAa,4BAA4B;CAUxC;AAVD,oEAUC;AANA;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 { FavoriteChangelogDto } from './favoriteChangelog.dto';
2
+ declare class EmbeddedFavoriteChangelog {
3
+ favoriteChangelogs?: FavoriteChangelogDto[];
4
+ }
5
+ declare const FavoriteChangelogPageDto_base: {
6
+ new (): {
7
+ _page: import("../../..").PageInfoDto;
8
+ _embedded: EmbeddedFavoriteChangelog;
9
+ };
10
+ };
11
+ export declare class FavoriteChangelogPageDto extends FavoriteChangelogPageDto_base {
12
+ }
13
+ export {};
@@ -0,0 +1,28 @@
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.FavoriteChangelogPageDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const nestjs_1 = require("../../../nestjs");
15
+ const page_dto_1 = require("../../generic/page.dto");
16
+ const favoriteChangelog_dto_1 = require("./favoriteChangelog.dto");
17
+ class EmbeddedFavoriteChangelog {
18
+ }
19
+ __decorate([
20
+ (0, nestjs_1.ApiProperty)({ type: () => [favoriteChangelog_dto_1.FavoriteChangelogDto], required: false }),
21
+ (0, class_transformer_1.Type)(() => favoriteChangelog_dto_1.FavoriteChangelogDto),
22
+ (0, class_transformer_1.Expose)({ name: 'items' }),
23
+ __metadata("design:type", Array)
24
+ ], EmbeddedFavoriteChangelog.prototype, "favoriteChangelogs", void 0);
25
+ class FavoriteChangelogPageDto extends (0, page_dto_1.PageDto)(EmbeddedFavoriteChangelog) {
26
+ }
27
+ exports.FavoriteChangelogPageDto = FavoriteChangelogPageDto;
28
+ //# sourceMappingURL=favoriteChangelogPage.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"favoriteChangelogPage.dto.js","sourceRoot":"","sources":["../../../../src/dto/favorite/changelog/favoriteChangelogPage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,4CAA8C;AAC9C,qDAAiD;AACjD,mEAA+D;AAE/D,MAAM,yBAAyB;CAK9B;AADA;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,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;qEACkB;AAG7C,MAAa,wBAAyB,SAAQ,IAAA,kBAAO,EAAC,yBAAyB,CAAC;CAAG;AAAnF,4DAAmF"}
@@ -0,0 +1,4 @@
1
+ export declare class CreateFavoriteDto {
2
+ userId: string;
3
+ auditId: string;
4
+ }
@@ -0,0 +1,31 @@
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.CreateFavoriteDto = void 0;
13
+ const nestjs_1 = require("../../nestjs");
14
+ const class_validator_1 = require("class-validator");
15
+ const class_transformer_1 = require("class-transformer");
16
+ class CreateFavoriteDto {
17
+ }
18
+ exports.CreateFavoriteDto = CreateFavoriteDto;
19
+ __decorate([
20
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
21
+ (0, class_validator_1.IsUUID)(),
22
+ (0, class_transformer_1.Expose)(),
23
+ __metadata("design:type", String)
24
+ ], CreateFavoriteDto.prototype, "userId", void 0);
25
+ __decorate([
26
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
27
+ (0, class_validator_1.IsUUID)(),
28
+ (0, class_transformer_1.Expose)(),
29
+ __metadata("design:type", String)
30
+ ], CreateFavoriteDto.prototype, "auditId", void 0);
31
+ //# sourceMappingURL=createFavorite.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createFavorite.dto.js","sourceRoot":"","sources":["../../../src/dto/favorite/createFavorite.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,qDAAyC;AACzC,yDAA2C;AAE3C,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AANA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;iDACO;AAKhB;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,wBAAM,GAAE;IACR,IAAA,0BAAM,GAAE;;kDACQ"}
@@ -0,0 +1,8 @@
1
+ import { FavoriteEmbeddedDto } from './favoriteEmbedded.dto';
2
+ declare const FavoriteDto_base: import("../generic/base.dto").BaseDtoType<FavoriteEmbeddedDto>;
3
+ export declare class FavoriteDto extends FavoriteDto_base {
4
+ id: string;
5
+ userId: string;
6
+ auditId: string;
7
+ }
8
+ 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.FavoriteDto = void 0;
13
+ const base_dto_1 = require("../generic/base.dto");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const nestjs_1 = require("../../nestjs");
16
+ const favoriteEmbedded_dto_1 = require("./favoriteEmbedded.dto");
17
+ class FavoriteDto extends (0, base_dto_1.BaseDto)(favoriteEmbedded_dto_1.FavoriteEmbeddedDto) {
18
+ }
19
+ exports.FavoriteDto = FavoriteDto;
20
+ __decorate([
21
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
22
+ (0, class_transformer_1.Expose)(),
23
+ __metadata("design:type", String)
24
+ ], FavoriteDto.prototype, "id", void 0);
25
+ __decorate([
26
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
27
+ (0, class_transformer_1.Expose)(),
28
+ __metadata("design:type", String)
29
+ ], FavoriteDto.prototype, "userId", void 0);
30
+ __decorate([
31
+ (0, nestjs_1.ApiProperty)({ type: String, required: true, format: 'uuid' }),
32
+ (0, class_transformer_1.Expose)(),
33
+ __metadata("design:type", String)
34
+ ], FavoriteDto.prototype, "auditId", void 0);
35
+ //# sourceMappingURL=favorite.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"favorite.dto.js","sourceRoot":"","sources":["../../../src/dto/favorite/favorite.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAA8C;AAC9C,yDAA2C;AAC3C,yCAA2C;AAC3C,iEAA6D;AAE7D,MAAa,WAAY,SAAQ,IAAA,kBAAO,EAAC,0CAAmB,CAAC;CAY5D;AAZD,kCAYC;AATA;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;uCACG;AAIZ;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;2CACO;AAIhB;IAFC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IAC7D,IAAA,0BAAM,GAAE;;4CACQ"}
@@ -0,0 +1,8 @@
1
+ import { UserDto } from '../user/user.dto';
2
+ import { AuditDto } from '../audit/audit.dto';
3
+ export declare class FavoriteEmbeddedDto {
4
+ audit?: AuditDto;
5
+ user?: UserDto;
6
+ createdBy?: UserDto;
7
+ updatedBy?: UserDto;
8
+ }
@@ -0,0 +1,44 @@
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.FavoriteEmbeddedDto = void 0;
13
+ const nestjs_1 = require("../../nestjs");
14
+ const class_transformer_1 = require("class-transformer");
15
+ const user_dto_1 = require("../user/user.dto");
16
+ const audit_dto_1 = require("../audit/audit.dto");
17
+ class FavoriteEmbeddedDto {
18
+ }
19
+ exports.FavoriteEmbeddedDto = FavoriteEmbeddedDto;
20
+ __decorate([
21
+ (0, nestjs_1.ApiProperty)({ type: () => audit_dto_1.AuditDto, required: false }),
22
+ (0, class_transformer_1.Type)(() => audit_dto_1.AuditDto),
23
+ (0, class_transformer_1.Expose)(),
24
+ __metadata("design:type", audit_dto_1.AuditDto)
25
+ ], FavoriteEmbeddedDto.prototype, "audit", void 0);
26
+ __decorate([
27
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
28
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
29
+ (0, class_transformer_1.Expose)(),
30
+ __metadata("design:type", user_dto_1.UserDto)
31
+ ], FavoriteEmbeddedDto.prototype, "user", void 0);
32
+ __decorate([
33
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
34
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
35
+ (0, class_transformer_1.Expose)(),
36
+ __metadata("design:type", user_dto_1.UserDto)
37
+ ], FavoriteEmbeddedDto.prototype, "createdBy", void 0);
38
+ __decorate([
39
+ (0, nestjs_1.ApiProperty)({ type: () => user_dto_1.UserDto, required: false }),
40
+ (0, class_transformer_1.Type)(() => user_dto_1.UserDto),
41
+ (0, class_transformer_1.Expose)(),
42
+ __metadata("design:type", user_dto_1.UserDto)
43
+ ], FavoriteEmbeddedDto.prototype, "updatedBy", void 0);
44
+ //# sourceMappingURL=favoriteEmbedded.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"favoriteEmbedded.dto.js","sourceRoot":"","sources":["../../../src/dto/favorite/favoriteEmbedded.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAA2C;AAC3C,yDAAiD;AACjD,+CAA2C;AAC3C,kDAA8C;AAE9C,MAAa,mBAAmB;CAoB/B;AApBD,kDAoBC;AAhBA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IACtD,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,oBAAQ,CAAC;IACpB,IAAA,0BAAM,GAAE;8BACD,oBAAQ;kDAAC;AAKjB;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;8BACF,kBAAO;iDAAC;AAKf;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;sDAAC;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;sDAAC"}
@@ -0,0 +1,13 @@
1
+ import { FavoriteDto } from './favorite.dto';
2
+ declare class EmbeddedFavorite {
3
+ favorites?: FavoriteDto[];
4
+ }
5
+ declare const FavoritePageDto_base: {
6
+ new (): {
7
+ _page: import("../..").PageInfoDto;
8
+ _embedded: EmbeddedFavorite;
9
+ };
10
+ };
11
+ export declare class FavoritePageDto extends FavoritePageDto_base {
12
+ }
13
+ export {};
@@ -0,0 +1,28 @@
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.FavoritePageDto = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const nestjs_1 = require("../../nestjs");
15
+ const page_dto_1 = require("../generic/page.dto");
16
+ const favorite_dto_1 = require("./favorite.dto");
17
+ class EmbeddedFavorite {
18
+ }
19
+ __decorate([
20
+ (0, nestjs_1.ApiProperty)({ type: () => [favorite_dto_1.FavoriteDto], required: false }),
21
+ (0, class_transformer_1.Type)(() => favorite_dto_1.FavoriteDto),
22
+ (0, class_transformer_1.Expose)({ name: 'items' }),
23
+ __metadata("design:type", Array)
24
+ ], EmbeddedFavorite.prototype, "favorites", void 0);
25
+ class FavoritePageDto extends (0, page_dto_1.PageDto)(EmbeddedFavorite) {
26
+ }
27
+ exports.FavoritePageDto = FavoritePageDto;
28
+ //# sourceMappingURL=favoritePage.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"favoritePage.dto.js","sourceRoot":"","sources":["../../../src/dto/favorite/favoritePage.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,yCAA2C;AAC3C,kDAA8C;AAC9C,iDAA6C;AAE7C,MAAM,gBAAgB;CAKrB;AADA;IAHC,IAAA,oBAAW,EAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC,0BAAW,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;IAC3D,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,0BAAW,CAAC;IACvB,IAAA,0BAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;mDACA;AAG3B,MAAa,eAAgB,SAAQ,IAAA,kBAAO,EAAC,gBAAgB,CAAC;CAAG;AAAjE,0CAAiE"}
@@ -0,0 +1,4 @@
1
+ export declare class UpdateFavoriteDto {
2
+ userId?: string;
3
+ auditId?: string;
4
+ }