@intelact/bright 0.7.4 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. package/lib/dtos/admin.dto.d.ts +0 -9
  2. package/lib/dtos/admin.dto.js +1 -13
  3. package/lib/dtos/admin.dto.js.map +1 -1
  4. package/lib/dtos/author.dto.d.ts +2 -2
  5. package/lib/dtos/author.dto.js +7 -7
  6. package/lib/dtos/author.dto.js.map +1 -1
  7. package/lib/dtos/boost.dto.d.ts +2 -2
  8. package/lib/dtos/boost.dto.js +8 -9
  9. package/lib/dtos/boost.dto.js.map +1 -1
  10. package/lib/dtos/brand.dto.d.ts +17 -3
  11. package/lib/dtos/brand.dto.js +54 -9
  12. package/lib/dtos/brand.dto.js.map +1 -1
  13. package/lib/dtos/browse.dto.d.ts +3 -0
  14. package/lib/dtos/browse.dto.js +10 -1
  15. package/lib/dtos/browse.dto.js.map +1 -1
  16. package/lib/dtos/bulk.dto.d.ts +3 -0
  17. package/lib/dtos/bulk.dto.js +22 -0
  18. package/lib/dtos/bulk.dto.js.map +1 -0
  19. package/lib/dtos/category.dto.d.ts +1 -4
  20. package/lib/dtos/category.dto.js +5 -13
  21. package/lib/dtos/category.dto.js.map +1 -1
  22. package/lib/dtos/feedback.dto.d.ts +2 -2
  23. package/lib/dtos/feedback.dto.js +7 -9
  24. package/lib/dtos/feedback.dto.js.map +1 -1
  25. package/lib/dtos/index.d.ts +2 -1
  26. package/lib/dtos/index.js +2 -1
  27. package/lib/dtos/index.js.map +1 -1
  28. package/lib/dtos/notification.js.map +1 -1
  29. package/lib/dtos/post.dto.d.ts +7 -10
  30. package/lib/dtos/post.dto.js +22 -30
  31. package/lib/dtos/post.dto.js.map +1 -1
  32. package/lib/dtos/promotion.dto.d.ts +4 -7
  33. package/lib/dtos/promotion.dto.js +18 -27
  34. package/lib/dtos/promotion.dto.js.map +1 -1
  35. package/lib/dtos/publisher.dto.d.ts +2 -13
  36. package/lib/dtos/publisher.dto.js +4 -38
  37. package/lib/dtos/publisher.dto.js.map +1 -1
  38. package/lib/dtos/question.dto.d.ts +4 -7
  39. package/lib/dtos/question.dto.js +22 -31
  40. package/lib/dtos/question.dto.js.map +1 -1
  41. package/lib/dtos/survey.dto.d.ts +5 -20
  42. package/lib/dtos/survey.dto.js +19 -62
  43. package/lib/dtos/survey.dto.js.map +1 -1
  44. package/lib/dtos/topic.dto.d.ts +1 -4
  45. package/lib/dtos/topic.dto.js +6 -14
  46. package/lib/dtos/topic.dto.js.map +1 -1
  47. package/lib/dtos/user.dto.d.ts +25 -0
  48. package/lib/dtos/user.dto.js +91 -0
  49. package/lib/dtos/user.dto.js.map +1 -0
  50. package/lib/models/index.d.ts +0 -1
  51. package/lib/models/index.js +0 -1
  52. package/lib/models/index.js.map +1 -1
  53. package/lib/models/user.d.ts +9 -4
  54. package/lib/models/user.js +6 -21
  55. package/lib/models/user.js.map +1 -1
  56. package/lib/tsconfig.tsbuildinfo +1 -1
  57. package/package.json +1 -1
@@ -9,7 +9,7 @@ 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.SortPostGalleryDto = exports.UpdatePostInfoDto = exports.UpdatePostContentDto = exports.UpdatePostTopicDto = exports.UpdatePostWeightDto = exports.UpdatePostDescriptionDto = exports.UpdatePostAuthorDto = exports.UpdatePostTitleDto = exports.CreatePostDto = exports.PostParamsDto = void 0;
12
+ exports.PostInfoDto = exports.PostContentDto = exports.PostTopicDto = exports.PostWeightDto = exports.PostDescriptionDto = exports.PostAuthorDto = exports.PostTitleDto = exports.CreatePostDto = exports.PostParamsDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const enums_1 = require("../enums");
15
15
  class PostParamsDto {
@@ -64,76 +64,68 @@ __decorate([
64
64
  (0, class_validator_1.IsEnum)(enums_1.PostType),
65
65
  __metadata("design:type", String)
66
66
  ], CreatePostDto.prototype, "type", void 0);
67
- class UpdatePostTitleDto {
67
+ class PostTitleDto {
68
68
  title;
69
69
  }
70
- exports.UpdatePostTitleDto = UpdatePostTitleDto;
70
+ exports.PostTitleDto = PostTitleDto;
71
71
  __decorate([
72
72
  (0, class_validator_1.IsNotEmpty)(),
73
73
  (0, class_validator_1.IsString)(),
74
74
  __metadata("design:type", String)
75
- ], UpdatePostTitleDto.prototype, "title", void 0);
76
- class UpdatePostAuthorDto {
75
+ ], PostTitleDto.prototype, "title", void 0);
76
+ class PostAuthorDto {
77
77
  author;
78
78
  }
79
- exports.UpdatePostAuthorDto = UpdatePostAuthorDto;
79
+ exports.PostAuthorDto = PostAuthorDto;
80
80
  __decorate([
81
81
  (0, class_validator_1.IsOptional)(),
82
82
  (0, class_validator_1.IsNumber)(),
83
83
  __metadata("design:type", Number)
84
- ], UpdatePostAuthorDto.prototype, "author", void 0);
85
- class UpdatePostDescriptionDto {
84
+ ], PostAuthorDto.prototype, "author", void 0);
85
+ class PostDescriptionDto {
86
86
  description;
87
87
  }
88
- exports.UpdatePostDescriptionDto = UpdatePostDescriptionDto;
88
+ exports.PostDescriptionDto = PostDescriptionDto;
89
89
  __decorate([
90
90
  (0, class_validator_1.IsOptional)(),
91
91
  (0, class_validator_1.IsString)(),
92
92
  __metadata("design:type", String)
93
- ], UpdatePostDescriptionDto.prototype, "description", void 0);
94
- class UpdatePostWeightDto {
93
+ ], PostDescriptionDto.prototype, "description", void 0);
94
+ class PostWeightDto {
95
95
  weight;
96
96
  }
97
- exports.UpdatePostWeightDto = UpdatePostWeightDto;
97
+ exports.PostWeightDto = PostWeightDto;
98
98
  __decorate([
99
99
  (0, class_validator_1.IsNotEmpty)(),
100
100
  (0, class_validator_1.IsNumber)(),
101
101
  __metadata("design:type", Number)
102
- ], UpdatePostWeightDto.prototype, "weight", void 0);
103
- class UpdatePostTopicDto {
102
+ ], PostWeightDto.prototype, "weight", void 0);
103
+ class PostTopicDto {
104
104
  topics;
105
105
  }
106
- exports.UpdatePostTopicDto = UpdatePostTopicDto;
106
+ exports.PostTopicDto = PostTopicDto;
107
107
  __decorate([
108
108
  (0, class_validator_1.IsNotEmpty)(),
109
109
  (0, class_validator_1.IsNumber)({}, { each: true }),
110
110
  __metadata("design:type", Array)
111
- ], UpdatePostTopicDto.prototype, "topics", void 0);
112
- class UpdatePostContentDto {
111
+ ], PostTopicDto.prototype, "topics", void 0);
112
+ class PostContentDto {
113
113
  content;
114
114
  }
115
- exports.UpdatePostContentDto = UpdatePostContentDto;
115
+ exports.PostContentDto = PostContentDto;
116
116
  __decorate([
117
117
  (0, class_validator_1.IsOptional)(),
118
118
  (0, class_validator_1.IsString)(),
119
119
  __metadata("design:type", String)
120
- ], UpdatePostContentDto.prototype, "content", void 0);
121
- class UpdatePostInfoDto {
120
+ ], PostContentDto.prototype, "content", void 0);
121
+ class PostInfoDto {
122
122
  info;
123
123
  }
124
- exports.UpdatePostInfoDto = UpdatePostInfoDto;
124
+ exports.PostInfoDto = PostInfoDto;
125
125
  __decorate([
126
126
  (0, class_validator_1.IsOptional)(),
127
127
  (0, class_validator_1.IsString)(),
128
128
  (0, class_validator_1.IsJSON)(),
129
129
  __metadata("design:type", Object)
130
- ], UpdatePostInfoDto.prototype, "info", void 0);
131
- class SortPostGalleryDto {
132
- ids;
133
- }
134
- exports.SortPostGalleryDto = SortPostGalleryDto;
135
- __decorate([
136
- (0, class_validator_1.IsNotEmpty)(),
137
- __metadata("design:type", Array)
138
- ], SortPostGalleryDto.prototype, "ids", void 0);
130
+ ], PostInfoDto.prototype, "info", void 0);
139
131
  //# sourceMappingURL=post.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"post.dto.js","sourceRoot":"","sources":["../../src/dtos/post.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6F;AAC7F,oCAA0D;AAG1D,MAAa,aAAa;IAIzB,IAAI,CAAW;IAIf,MAAM,CAAa;IAInB,IAAI,CAAS;IAIb,IAAI,CAAW;IAGf,MAAM,CAAW;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AAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;2CACF;AAGhB,MAAa,YAAY;IAGxB,KAAK,CAAS;CACd;AAJD,oCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACG;AAGf,MAAa,aAAa;IAGzB,MAAM,CAAS;CACf;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACI;AAGhB,MAAa,kBAAkB;IAG9B,WAAW,CAAS;CACpB;AAJD,gDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACS;AAGrB,MAAa,aAAa;IAGzB,MAAM,CAAS;CACf;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACI;AAGhB,MAAa,YAAY;IAGxB,MAAM,CAAW;CACjB;AAJD,oCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4CACZ;AAGlB,MAAa,cAAc;IAG1B,OAAO,CAAS;CAChB;AAJD,wCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACK;AAGjB,MAAa,WAAW;IAIvB,IAAI,CAA4B;CAChC;AALD,kCAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,wBAAM,GAAE;;yCACuB"}
@@ -1,21 +1,18 @@
1
1
  import { StatusType, SortType } from '../enums';
2
- export declare class PromotionFilterDto {
2
+ export declare class PromotionParamsDto {
3
3
  status: StatusType;
4
4
  startDate: Date;
5
5
  endDate: Date;
6
6
  term: string;
7
7
  sort: SortType;
8
8
  }
9
- export declare class CreatePromotionDto {
9
+ export declare class PromotionTitleDto {
10
10
  title: string;
11
11
  }
12
- export declare class UpdatePromotionTitleDto {
13
- title: string;
14
- }
15
- export declare class UpdatePromotionPeriodDto {
12
+ export declare class PromotionPeriodDto {
16
13
  startDate: Date;
17
14
  endDate: Date;
18
15
  }
19
- export declare class UpdatePromotionUrlDto {
16
+ export declare class PromotionUrlDto {
20
17
  url: string;
21
18
  }
@@ -9,87 +9,78 @@ 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.UpdatePromotionUrlDto = exports.UpdatePromotionPeriodDto = exports.UpdatePromotionTitleDto = exports.CreatePromotionDto = exports.PromotionFilterDto = void 0;
12
+ exports.PromotionUrlDto = exports.PromotionPeriodDto = exports.PromotionTitleDto = exports.PromotionParamsDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const enums_1 = require("../enums");
16
- class PromotionFilterDto {
16
+ class PromotionParamsDto {
17
17
  status;
18
18
  startDate;
19
19
  endDate;
20
20
  term;
21
21
  sort;
22
22
  }
23
- exports.PromotionFilterDto = PromotionFilterDto;
23
+ exports.PromotionParamsDto = PromotionParamsDto;
24
24
  __decorate([
25
25
  (0, class_validator_1.IsNotEmpty)(),
26
26
  (0, class_validator_1.IsEnum)(enums_1.StatusType),
27
27
  __metadata("design:type", String)
28
- ], PromotionFilterDto.prototype, "status", void 0);
28
+ ], PromotionParamsDto.prototype, "status", void 0);
29
29
  __decorate([
30
30
  (0, class_validator_1.IsOptional)(),
31
31
  (0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
32
32
  (0, class_validator_1.IsDate)(),
33
33
  __metadata("design:type", Date)
34
- ], PromotionFilterDto.prototype, "startDate", void 0);
34
+ ], PromotionParamsDto.prototype, "startDate", void 0);
35
35
  __decorate([
36
36
  (0, class_validator_1.IsOptional)(),
37
37
  (0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
38
38
  (0, class_validator_1.IsDate)(),
39
39
  __metadata("design:type", Date)
40
- ], PromotionFilterDto.prototype, "endDate", void 0);
40
+ ], PromotionParamsDto.prototype, "endDate", void 0);
41
41
  __decorate([
42
42
  (0, class_validator_1.IsOptional)(),
43
43
  (0, class_validator_1.IsString)(),
44
44
  __metadata("design:type", String)
45
- ], PromotionFilterDto.prototype, "term", void 0);
45
+ ], PromotionParamsDto.prototype, "term", void 0);
46
46
  __decorate([
47
47
  (0, class_validator_1.IsOptional)(),
48
48
  (0, class_validator_1.IsEnum)(enums_1.SortType),
49
49
  __metadata("design:type", String)
50
- ], PromotionFilterDto.prototype, "sort", void 0);
51
- class CreatePromotionDto {
50
+ ], PromotionParamsDto.prototype, "sort", void 0);
51
+ class PromotionTitleDto {
52
52
  title;
53
53
  }
54
- exports.CreatePromotionDto = CreatePromotionDto;
54
+ exports.PromotionTitleDto = PromotionTitleDto;
55
55
  __decorate([
56
56
  (0, class_validator_1.IsNotEmpty)(),
57
57
  (0, class_validator_1.IsString)(),
58
58
  __metadata("design:type", String)
59
- ], CreatePromotionDto.prototype, "title", void 0);
60
- class UpdatePromotionTitleDto {
61
- title;
62
- }
63
- exports.UpdatePromotionTitleDto = UpdatePromotionTitleDto;
64
- __decorate([
65
- (0, class_validator_1.IsNotEmpty)(),
66
- (0, class_validator_1.IsString)(),
67
- __metadata("design:type", String)
68
- ], UpdatePromotionTitleDto.prototype, "title", void 0);
69
- class UpdatePromotionPeriodDto {
59
+ ], PromotionTitleDto.prototype, "title", void 0);
60
+ class PromotionPeriodDto {
70
61
  startDate;
71
62
  endDate;
72
63
  }
73
- exports.UpdatePromotionPeriodDto = UpdatePromotionPeriodDto;
64
+ exports.PromotionPeriodDto = PromotionPeriodDto;
74
65
  __decorate([
75
66
  (0, class_validator_1.IsNotEmpty)(),
76
67
  (0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
77
68
  (0, class_validator_1.IsDate)(),
78
69
  __metadata("design:type", Date)
79
- ], UpdatePromotionPeriodDto.prototype, "startDate", void 0);
70
+ ], PromotionPeriodDto.prototype, "startDate", void 0);
80
71
  __decorate([
81
72
  (0, class_validator_1.IsNotEmpty)(),
82
73
  (0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
83
74
  (0, class_validator_1.IsDate)(),
84
75
  __metadata("design:type", Date)
85
- ], UpdatePromotionPeriodDto.prototype, "endDate", void 0);
86
- class UpdatePromotionUrlDto {
76
+ ], PromotionPeriodDto.prototype, "endDate", void 0);
77
+ class PromotionUrlDto {
87
78
  url;
88
79
  }
89
- exports.UpdatePromotionUrlDto = UpdatePromotionUrlDto;
80
+ exports.PromotionUrlDto = PromotionUrlDto;
90
81
  __decorate([
91
82
  (0, class_validator_1.IsNotEmpty)(),
92
83
  (0, class_validator_1.IsUrl)(),
93
84
  __metadata("design:type", String)
94
- ], UpdatePromotionUrlDto.prototype, "url", void 0);
85
+ ], PromotionUrlDto.prototype, "url", void 0);
95
86
  //# sourceMappingURL=promotion.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"promotion.dto.js","sourceRoot":"","sources":["../../src/dtos/promotion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0F;AAC1F,yDAA8C;AAC9C,oCAAgD;AAEhD,MAAa,kBAAkB;IAI9B,MAAM,CAAa;IAKnB,SAAS,CAAO;IAKhB,OAAO,CAAO;IAId,IAAI,CAAS;IAIb,IAAI,CAAW;CACf;AAvBD,gDAuBC;AAnBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;kDACA;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;qDAAC;AAKhB;IAHC,IAAA,4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AAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;qDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACA,IAAI;mDAAC;AAGf,MAAa,eAAe;IAG3B,GAAG,CAAS;CACZ;AAJD,0CAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACI"}
@@ -1,19 +1,8 @@
1
- import { AccountStatusType, PostType } from '../enums';
2
- import { Permission } from '../security';
1
+ import { PostType } from '../enums';
3
2
  export declare class InvitePublisherDto {
4
3
  email: string;
5
4
  postTypes: PostType[];
6
5
  }
7
- export declare class UpdatePublisherPostTypesDto {
6
+ export declare class PublisherPostTypesDto {
8
7
  postTypes: PostType[];
9
8
  }
10
- export declare class InvitePublisherUserDto {
11
- email: string;
12
- permissions: Permission[];
13
- }
14
- export declare class ChangePublisherUserStatusDto {
15
- status: AccountStatusType;
16
- }
17
- export declare class UpdatePublisherUserPermissionsDto {
18
- permissions: Permission[];
19
- }
@@ -9,10 +9,9 @@ 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.UpdatePublisherUserPermissionsDto = exports.ChangePublisherUserStatusDto = exports.InvitePublisherUserDto = exports.UpdatePublisherPostTypesDto = exports.InvitePublisherDto = void 0;
12
+ exports.PublisherPostTypesDto = exports.InvitePublisherDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const enums_1 = require("../enums");
15
- const security_1 = require("../security");
16
15
  class InvitePublisherDto {
17
16
  email;
18
17
  postTypes;
@@ -28,46 +27,13 @@ __decorate([
28
27
  (0, class_validator_1.IsEnum)(enums_1.PostType, { each: true }),
29
28
  __metadata("design:type", Array)
30
29
  ], InvitePublisherDto.prototype, "postTypes", void 0);
31
- class UpdatePublisherPostTypesDto {
30
+ class PublisherPostTypesDto {
32
31
  postTypes;
33
32
  }
34
- exports.UpdatePublisherPostTypesDto = UpdatePublisherPostTypesDto;
33
+ exports.PublisherPostTypesDto = PublisherPostTypesDto;
35
34
  __decorate([
36
35
  (0, class_validator_1.IsNotEmpty)(),
37
36
  (0, class_validator_1.IsEnum)(enums_1.PostType, { each: true }),
38
37
  __metadata("design:type", Array)
39
- ], UpdatePublisherPostTypesDto.prototype, "postTypes", void 0);
40
- class InvitePublisherUserDto {
41
- email;
42
- permissions;
43
- }
44
- exports.InvitePublisherUserDto = InvitePublisherUserDto;
45
- __decorate([
46
- (0, class_validator_1.IsNotEmpty)(),
47
- (0, class_validator_1.IsEmail)(),
48
- __metadata("design:type", String)
49
- ], InvitePublisherUserDto.prototype, "email", void 0);
50
- __decorate([
51
- (0, class_validator_1.IsNotEmpty)(),
52
- (0, class_validator_1.IsEnum)(security_1.Permission, { each: true }),
53
- __metadata("design:type", Array)
54
- ], InvitePublisherUserDto.prototype, "permissions", void 0);
55
- class ChangePublisherUserStatusDto {
56
- status;
57
- }
58
- exports.ChangePublisherUserStatusDto = ChangePublisherUserStatusDto;
59
- __decorate([
60
- (0, class_validator_1.IsNotEmpty)(),
61
- (0, class_validator_1.IsEnum)(enums_1.AccountStatusType),
62
- __metadata("design:type", String)
63
- ], ChangePublisherUserStatusDto.prototype, "status", void 0);
64
- class UpdatePublisherUserPermissionsDto {
65
- permissions;
66
- }
67
- exports.UpdatePublisherUserPermissionsDto = UpdatePublisherUserPermissionsDto;
68
- __decorate([
69
- (0, class_validator_1.IsNotEmpty)(),
70
- (0, class_validator_1.IsEnum)(security_1.Permission, { each: true }),
71
- __metadata("design:type", Array)
72
- ], UpdatePublisherUserPermissionsDto.prototype, "permissions", void 0);
38
+ ], PublisherPostTypesDto.prototype, "postTypes", void 0);
73
39
  //# sourceMappingURL=publisher.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"publisher.dto.js","sourceRoot":"","sources":["../../src/dtos/publisher.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoE;AACpE,oCAAuD;AACvD,0CAAyC;AAEzC,MAAa,kBAAkB;IAI9B,KAAK,CAAS;IAId,SAAS,CAAa;CACtB;AATD,gDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACX;AAGvB,MAAa,2BAA2B;IAIvC,SAAS,CAAa;CACtB;AALD,kEAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8DACX;AAGvB,MAAa,sBAAsB;IAI/B,KAAK,CAAS;IAId,WAAW,CAAe;CAC7B;AATD,wDASC;AALG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;qDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qBAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;2DACT;AAG9B,MAAa,4BAA4B;IAGrC,MAAM,CAAoB;CAC7B;AAJD,oEAIC;AADG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,yBAAiB,CAAC;;4DACA;AAG9B,MAAa,iCAAiC;IAG1C,WAAW,CAAe;CAC7B;AAJD,8EAIC;AADG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qBAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sEACT"}
1
+ {"version":3,"file":"publisher.dto.js","sourceRoot":"","sources":["../../src/dtos/publisher.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoE;AACpE,oCAAuD;AAGvD,MAAa,kBAAkB;IAI9B,KAAK,CAAS;IAId,SAAS,CAAa;CACtB;AATD,gDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACX;AAGvB,MAAa,qBAAqB;IAIjC,SAAS,CAAa;CACtB;AALD,sDAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACX"}
@@ -5,7 +5,7 @@ export declare class QuestionParamsDto {
5
5
  sort: SortType;
6
6
  authors: number[];
7
7
  }
8
- export declare class SubmitQuestionDto {
8
+ export declare class AskQuestionDto {
9
9
  slug: string;
10
10
  topics: string[];
11
11
  title: string;
@@ -15,16 +15,13 @@ export declare class SubmitQuestionDto {
15
15
  phone: string;
16
16
  private: boolean;
17
17
  }
18
- export declare class SubmitCommentDto {
19
- comment: string;
20
- }
21
- export declare class UpdateQuestionTitleDto {
18
+ export declare class QuestionTitleDto {
22
19
  title: string;
23
20
  }
24
- export declare class UpdateQuestionDto {
21
+ export declare class QuestionContentDto {
25
22
  question: string;
26
23
  }
27
- export declare class SubmitAuthorCommentDto {
24
+ export declare class QuestionCommentDto {
28
25
  content: string;
29
26
  authorId: number;
30
27
  }
@@ -9,7 +9,7 @@ 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.SubmitAuthorCommentDto = exports.UpdateQuestionDto = exports.UpdateQuestionTitleDto = exports.SubmitCommentDto = exports.SubmitQuestionDto = exports.QuestionParamsDto = void 0;
12
+ exports.QuestionCommentDto = exports.QuestionContentDto = exports.QuestionTitleDto = exports.AskQuestionDto = exports.QuestionParamsDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const enums_1 = require("../enums");
15
15
  class QuestionParamsDto {
@@ -37,7 +37,7 @@ __decorate([
37
37
  (0, class_validator_1.IsOptional)(),
38
38
  __metadata("design:type", Array)
39
39
  ], QuestionParamsDto.prototype, "authors", void 0);
40
- class SubmitQuestionDto {
40
+ class AskQuestionDto {
41
41
  slug;
42
42
  topics;
43
43
  title;
@@ -47,86 +47,77 @@ class SubmitQuestionDto {
47
47
  phone;
48
48
  private;
49
49
  }
50
- exports.SubmitQuestionDto = SubmitQuestionDto;
50
+ exports.AskQuestionDto = AskQuestionDto;
51
51
  __decorate([
52
52
  (0, class_validator_1.IsOptional)(),
53
53
  (0, class_validator_1.IsString)(),
54
54
  __metadata("design:type", String)
55
- ], SubmitQuestionDto.prototype, "slug", void 0);
55
+ ], AskQuestionDto.prototype, "slug", void 0);
56
56
  __decorate([
57
57
  (0, class_validator_1.IsOptional)(),
58
58
  __metadata("design:type", Array)
59
- ], SubmitQuestionDto.prototype, "topics", void 0);
59
+ ], AskQuestionDto.prototype, "topics", void 0);
60
60
  __decorate([
61
61
  (0, class_validator_1.IsOptional)(),
62
62
  (0, class_validator_1.IsString)(),
63
63
  __metadata("design:type", String)
64
- ], SubmitQuestionDto.prototype, "title", void 0);
64
+ ], AskQuestionDto.prototype, "title", void 0);
65
65
  __decorate([
66
66
  (0, class_validator_1.IsNotEmpty)(),
67
67
  (0, class_validator_1.IsString)(),
68
68
  __metadata("design:type", String)
69
- ], SubmitQuestionDto.prototype, "question", void 0);
69
+ ], AskQuestionDto.prototype, "question", void 0);
70
70
  __decorate([
71
71
  (0, class_validator_1.IsOptional)(),
72
72
  (0, class_validator_1.IsString)(),
73
73
  __metadata("design:type", String)
74
- ], SubmitQuestionDto.prototype, "name", void 0);
74
+ ], AskQuestionDto.prototype, "name", void 0);
75
75
  __decorate([
76
76
  (0, class_validator_1.IsOptional)(),
77
77
  (0, class_validator_1.IsString)(),
78
78
  __metadata("design:type", String)
79
- ], SubmitQuestionDto.prototype, "email", void 0);
79
+ ], AskQuestionDto.prototype, "email", void 0);
80
80
  __decorate([
81
81
  (0, class_validator_1.IsOptional)(),
82
82
  (0, class_validator_1.IsString)(),
83
83
  __metadata("design:type", String)
84
- ], SubmitQuestionDto.prototype, "phone", void 0);
84
+ ], AskQuestionDto.prototype, "phone", void 0);
85
85
  __decorate([
86
86
  (0, class_validator_1.IsOptional)(),
87
87
  (0, class_validator_1.IsBoolean)(),
88
88
  __metadata("design:type", Boolean)
89
- ], SubmitQuestionDto.prototype, "private", void 0);
90
- class SubmitCommentDto {
91
- comment;
92
- }
93
- exports.SubmitCommentDto = SubmitCommentDto;
94
- __decorate([
95
- (0, class_validator_1.IsNotEmpty)(),
96
- (0, class_validator_1.IsString)(),
97
- __metadata("design:type", String)
98
- ], SubmitCommentDto.prototype, "comment", void 0);
99
- class UpdateQuestionTitleDto {
89
+ ], AskQuestionDto.prototype, "private", void 0);
90
+ class QuestionTitleDto {
100
91
  title;
101
92
  }
102
- exports.UpdateQuestionTitleDto = UpdateQuestionTitleDto;
93
+ exports.QuestionTitleDto = QuestionTitleDto;
103
94
  __decorate([
104
95
  (0, class_validator_1.IsNotEmpty)(),
105
96
  (0, class_validator_1.IsString)(),
106
97
  __metadata("design:type", String)
107
- ], UpdateQuestionTitleDto.prototype, "title", void 0);
108
- class UpdateQuestionDto {
98
+ ], QuestionTitleDto.prototype, "title", void 0);
99
+ class QuestionContentDto {
109
100
  question;
110
101
  }
111
- exports.UpdateQuestionDto = UpdateQuestionDto;
102
+ exports.QuestionContentDto = QuestionContentDto;
112
103
  __decorate([
113
104
  (0, class_validator_1.IsNotEmpty)(),
114
105
  (0, class_validator_1.IsString)(),
115
106
  __metadata("design:type", String)
116
- ], UpdateQuestionDto.prototype, "question", void 0);
117
- class SubmitAuthorCommentDto {
107
+ ], QuestionContentDto.prototype, "question", void 0);
108
+ class QuestionCommentDto {
118
109
  content;
119
110
  authorId;
120
111
  }
121
- exports.SubmitAuthorCommentDto = SubmitAuthorCommentDto;
112
+ exports.QuestionCommentDto = QuestionCommentDto;
122
113
  __decorate([
123
114
  (0, class_validator_1.IsNotEmpty)(),
124
115
  (0, class_validator_1.IsString)(),
125
116
  __metadata("design:type", String)
126
- ], SubmitAuthorCommentDto.prototype, "content", void 0);
117
+ ], QuestionCommentDto.prototype, "content", void 0);
127
118
  __decorate([
128
- (0, class_validator_1.IsNotEmpty)(),
119
+ (0, class_validator_1.IsOptional)(),
129
120
  (0, class_validator_1.IsNumber)(),
130
121
  __metadata("design:type", Number)
131
- ], SubmitAuthorCommentDto.prototype, "authorId", void 0);
122
+ ], QuestionCommentDto.prototype, "authorId", void 0);
132
123
  //# sourceMappingURL=question.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"question.dto.js","sourceRoot":"","sources":["../../src/dtos/question.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,oCAAoC;AAEpC,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAGb,MAAM,CAAW;IAIjB,IAAI,CAAW;IAGf,OAAO,CAAW;CAClB;AAfD,8CAeC;AAXA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAGb;IADC,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;+CACF;AAGf;IADC,IAAA,4BAAU,GAAE;;kDACK;AAGnB,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAGb,MAAM,CAAW;IAIjB,KAAK,CAAS;IAId,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,KAAK,CAAS;IAId,OAAO,CAAU;CACjB;AAhCD,8CAgCC;AA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;IAI9B,OAAO,CAAS;IAIhB,QAAQ,CAAS;CACjB;AATD,gDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACM"}
@@ -6,35 +6,20 @@ export declare class SurveyParamsDto {
6
6
  term: string;
7
7
  sort: SortType;
8
8
  }
9
- export declare class CreateSurveyDto {
9
+ export declare class SurveyNameDto {
10
10
  name: string;
11
11
  }
12
- export declare class UpdateSurveyNameDto {
13
- name: string;
14
- }
15
- export declare class UpdateSurveyDescriptionDto {
12
+ export declare class SurveyDescriptionDto {
16
13
  description: string;
17
14
  }
18
- export declare class UpdateSurveyPeriodDto {
15
+ export declare class SurveyPeriodDto {
19
16
  startDate: Date;
20
17
  endDate: Date;
21
18
  }
22
- export declare class CreateSurveyQuestionDto {
19
+ export declare class SurveyQuestionDto {
23
20
  question: string;
24
21
  multiple: boolean;
25
22
  }
26
- export declare class UpdateSurveyQuestionDto {
27
- question: string;
28
- }
29
- export declare class SortSurveyQuestionsDto {
30
- ids: number[];
31
- }
32
- export declare class CreateSurveyOptionDto {
33
- content: string;
34
- }
35
- export declare class UpdateSurveyOptionDto {
23
+ export declare class SurveyOptionDto {
36
24
  content: string;
37
25
  }
38
- export declare class SortSurveyOptionsDto {
39
- ids: number[];
40
- }