@intelact/bright 0.9.127 → 0.9.129

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. package/lib/brand/brand.model.d.ts +1 -0
  2. package/lib/brand/brand.model.js +6 -0
  3. package/lib/brand/brand.model.js.map +1 -1
  4. package/lib/feedback/feedback.model.d.ts +2 -0
  5. package/lib/feedback/feedback.model.js +9 -0
  6. package/lib/feedback/feedback.model.js.map +1 -1
  7. package/lib/publisher/publisher.model.d.ts +2 -0
  8. package/lib/publisher/publisher.model.js +9 -0
  9. package/lib/publisher/publisher.model.js.map +1 -1
  10. package/lib/tsconfig.tsbuildinfo +1 -1
  11. package/package.json +1 -1
  12. package/lib/author/author.sort.d.ts +0 -7
  13. package/lib/author/author.sort.js +0 -12
  14. package/lib/author/author.sort.js.map +0 -1
  15. package/lib/common/browse.dto.d.ts +0 -9
  16. package/lib/common/browse.dto.js +0 -47
  17. package/lib/common/browse.dto.js.map +0 -1
  18. package/lib/dtos/asset.dto.d.ts +0 -14
  19. package/lib/dtos/asset.dto.js +0 -70
  20. package/lib/dtos/asset.dto.js.map +0 -1
  21. package/lib/dtos/auth.dto.d.ts +0 -39
  22. package/lib/dtos/auth.dto.js +0 -162
  23. package/lib/dtos/auth.dto.js.map +0 -1
  24. package/lib/dtos/author.dto.d.ts +0 -14
  25. package/lib/dtos/author.dto.js +0 -57
  26. package/lib/dtos/author.dto.js.map +0 -1
  27. package/lib/dtos/boost.dto.d.ts +0 -5
  28. package/lib/dtos/boost.dto.js +0 -38
  29. package/lib/dtos/boost.dto.js.map +0 -1
  30. package/lib/dtos/brand.dto.d.ts +0 -6
  31. package/lib/dtos/brand.dto.js +0 -41
  32. package/lib/dtos/brand.dto.js.map +0 -1
  33. package/lib/dtos/browse.dto.d.ts +0 -11
  34. package/lib/dtos/browse.dto.js +0 -55
  35. package/lib/dtos/browse.dto.js.map +0 -1
  36. package/lib/dtos/bulk.dto.d.ts +0 -3
  37. package/lib/dtos/bulk.dto.js +0 -22
  38. package/lib/dtos/bulk.dto.js.map +0 -1
  39. package/lib/dtos/category.dto.d.ts +0 -7
  40. package/lib/dtos/category.dto.js +0 -38
  41. package/lib/dtos/category.dto.js.map +0 -1
  42. package/lib/dtos/contact.dto.d.ts +0 -5
  43. package/lib/dtos/contact.dto.js +0 -35
  44. package/lib/dtos/contact.dto.js.map +0 -1
  45. package/lib/dtos/feedback.dto.d.ts +0 -9
  46. package/lib/dtos/feedback.dto.js +0 -47
  47. package/lib/dtos/feedback.dto.js.map +0 -1
  48. package/lib/dtos/general.dto.d.ts +0 -25
  49. package/lib/dtos/general.dto.js +0 -94
  50. package/lib/dtos/general.dto.js.map +0 -1
  51. package/lib/dtos/index.d.ts +0 -15
  52. package/lib/dtos/index.js +0 -32
  53. package/lib/dtos/index.js.map +0 -1
  54. package/lib/dtos/notification.d.ts +0 -4
  55. package/lib/dtos/notification.dto.d.ts +0 -4
  56. package/lib/dtos/notification.dto.js +0 -29
  57. package/lib/dtos/notification.dto.js.map +0 -1
  58. package/lib/dtos/notification.js +0 -29
  59. package/lib/dtos/notification.js.map +0 -1
  60. package/lib/dtos/post.dto.d.ts +0 -25
  61. package/lib/dtos/post.dto.js +0 -118
  62. package/lib/dtos/post.dto.js.map +0 -1
  63. package/lib/dtos/promotion.dto.d.ts +0 -5
  64. package/lib/dtos/promotion.dto.js +0 -38
  65. package/lib/dtos/promotion.dto.js.map +0 -1
  66. package/lib/dtos/publisher.dto.d.ts +0 -8
  67. package/lib/dtos/publisher.dto.js +0 -39
  68. package/lib/dtos/publisher.dto.js.map +0 -1
  69. package/lib/dtos/question.dto.d.ts +0 -15
  70. package/lib/dtos/question.dto.js +0 -86
  71. package/lib/dtos/question.dto.js.map +0 -1
  72. package/lib/dtos/search.dto.d.ts +0 -12
  73. package/lib/dtos/search.dto.js +0 -72
  74. package/lib/dtos/search.dto.js.map +0 -1
  75. package/lib/dtos/survey.dto.d.ts +0 -9
  76. package/lib/dtos/survey.dto.js +0 -54
  77. package/lib/dtos/survey.dto.js.map +0 -1
  78. package/lib/dtos/topic.dto.d.ts +0 -12
  79. package/lib/dtos/topic.dto.js +0 -50
  80. package/lib/dtos/topic.dto.js.map +0 -1
  81. package/lib/dtos/user.dto.d.ts +0 -24
  82. package/lib/dtos/user.dto.js +0 -99
  83. package/lib/dtos/user.dto.js.map +0 -1
  84. package/lib/enums/account.enum.d.ts +0 -11
  85. package/lib/enums/account.enum.js +0 -17
  86. package/lib/enums/account.enum.js.map +0 -1
  87. package/lib/enums/asset.enum.d.ts +0 -7
  88. package/lib/enums/asset.enum.js +0 -12
  89. package/lib/enums/asset.enum.js.map +0 -1
  90. package/lib/enums/color.enum.d.ts +0 -30
  91. package/lib/enums/color.enum.js +0 -37
  92. package/lib/enums/color.enum.js.map +0 -1
  93. package/lib/enums/feed.enum.d.ts +0 -5
  94. package/lib/enums/feed.enum.js +0 -10
  95. package/lib/enums/feed.enum.js.map +0 -1
  96. package/lib/enums/index.d.ts +0 -13
  97. package/lib/enums/index.js +0 -30
  98. package/lib/enums/index.js.map +0 -1
  99. package/lib/enums/module.enum.d.ts +0 -28
  100. package/lib/enums/module.enum.js +0 -34
  101. package/lib/enums/module.enum.js.map +0 -1
  102. package/lib/enums/notification.enum.d.ts +0 -12
  103. package/lib/enums/notification.enum.js +0 -18
  104. package/lib/enums/notification.enum.js.map +0 -1
  105. package/lib/enums/popularity.enum.d.ts +0 -8
  106. package/lib/enums/popularity.enum.js +0 -13
  107. package/lib/enums/popularity.enum.js.map +0 -1
  108. package/lib/enums/post.enum.d.ts +0 -8
  109. package/lib/enums/post.enum.js +0 -13
  110. package/lib/enums/post.enum.js.map +0 -1
  111. package/lib/enums/setting.enum.d.ts +0 -10
  112. package/lib/enums/setting.enum.js +0 -15
  113. package/lib/enums/setting.enum.js.map +0 -1
  114. package/lib/enums/social.enum.d.ts +0 -14
  115. package/lib/enums/social.enum.js +0 -20
  116. package/lib/enums/social.enum.js.map +0 -1
  117. package/lib/enums/sort.enum.d.ts +0 -21
  118. package/lib/enums/sort.enum.js +0 -28
  119. package/lib/enums/sort.enum.js.map +0 -1
  120. package/lib/enums/status.enum.d.ts +0 -13
  121. package/lib/enums/status.enum.js +0 -19
  122. package/lib/enums/status.enum.js.map +0 -1
  123. package/lib/enums/survey.enum.d.ts +0 -6
  124. package/lib/enums/survey.enum.js +0 -11
  125. package/lib/enums/survey.enum.js.map +0 -1
  126. package/lib/enums/tracks.enum.d.ts +0 -38
  127. package/lib/enums/tracks.enum.js +0 -46
  128. package/lib/enums/tracks.enum.js.map +0 -1
  129. package/lib/enums/verification.enum.d.ts +0 -5
  130. package/lib/enums/verification.enum.js +0 -10
  131. package/lib/enums/verification.enum.js.map +0 -1
  132. package/lib/helpers/index.d.ts +0 -2
  133. package/lib/helpers/index.js +0 -19
  134. package/lib/helpers/index.js.map +0 -1
  135. package/lib/helpers/popularity.helper.d.ts +0 -2
  136. package/lib/helpers/popularity.helper.js +0 -58
  137. package/lib/helpers/popularity.helper.js.map +0 -1
  138. package/lib/helpers/post.helper.d.ts +0 -2
  139. package/lib/helpers/post.helper.js +0 -22
  140. package/lib/helpers/post.helper.js.map +0 -1
  141. package/lib/metric/metric.interface.d.ts +0 -11
  142. package/lib/metric/metric.interface.js +0 -3
  143. package/lib/metric/metric.interface.js.map +0 -1
  144. package/lib/models/asset.d.ts +0 -10
  145. package/lib/models/asset.js +0 -54
  146. package/lib/models/asset.js.map +0 -1
  147. package/lib/models/author.d.ts +0 -16
  148. package/lib/models/author.js +0 -83
  149. package/lib/models/author.js.map +0 -1
  150. package/lib/models/boost.d.ts +0 -14
  151. package/lib/models/boost.js +0 -73
  152. package/lib/models/boost.js.map +0 -1
  153. package/lib/models/brand.d.ts +0 -38
  154. package/lib/models/brand.js +0 -241
  155. package/lib/models/brand.js.map +0 -1
  156. package/lib/models/category.d.ts +0 -13
  157. package/lib/models/category.js +0 -69
  158. package/lib/models/category.js.map +0 -1
  159. package/lib/models/collection.d.ts +0 -14
  160. package/lib/models/collection.js +0 -65
  161. package/lib/models/collection.js.map +0 -1
  162. package/lib/models/feedback.d.ts +0 -38
  163. package/lib/models/feedback.js +0 -157
  164. package/lib/models/feedback.js.map +0 -1
  165. package/lib/models/gallery.d.ts +0 -6
  166. package/lib/models/gallery.js +0 -36
  167. package/lib/models/gallery.js.map +0 -1
  168. package/lib/models/index.d.ts +0 -23
  169. package/lib/models/index.js +0 -40
  170. package/lib/models/index.js.map +0 -1
  171. package/lib/models/item.d.ts +0 -14
  172. package/lib/models/item.js +0 -37
  173. package/lib/models/item.js.map +0 -1
  174. package/lib/models/link.d.ts +0 -16
  175. package/lib/models/link.js +0 -35
  176. package/lib/models/link.js.map +0 -1
  177. package/lib/models/log.d.ts +0 -11
  178. package/lib/models/log.js +0 -16
  179. package/lib/models/log.js.map +0 -1
  180. package/lib/models/metric.d.ts +0 -20
  181. package/lib/models/metric.js +0 -186
  182. package/lib/models/metric.js.map +0 -1
  183. package/lib/models/notification.d.ts +0 -14
  184. package/lib/models/notification.js +0 -64
  185. package/lib/models/notification.js.map +0 -1
  186. package/lib/models/pagination.d.ts +0 -17
  187. package/lib/models/pagination.js +0 -3
  188. package/lib/models/pagination.js.map +0 -1
  189. package/lib/models/post.d.ts +0 -88
  190. package/lib/models/post.js +0 -466
  191. package/lib/models/post.js.map +0 -1
  192. package/lib/models/promotion.d.ts +0 -21
  193. package/lib/models/promotion.js +0 -108
  194. package/lib/models/promotion.js.map +0 -1
  195. package/lib/models/publisher.d.ts +0 -25
  196. package/lib/models/publisher.js +0 -118
  197. package/lib/models/publisher.js.map +0 -1
  198. package/lib/models/question.d.ts +0 -47
  199. package/lib/models/question.js +0 -238
  200. package/lib/models/question.js.map +0 -1
  201. package/lib/models/quote.d.ts +0 -5
  202. package/lib/models/quote.js +0 -31
  203. package/lib/models/quote.js.map +0 -1
  204. package/lib/models/response.d.ts +0 -6
  205. package/lib/models/response.js +0 -3
  206. package/lib/models/response.js.map +0 -1
  207. package/lib/models/share.d.ts +0 -6
  208. package/lib/models/share.js +0 -3
  209. package/lib/models/share.js.map +0 -1
  210. package/lib/models/survey.d.ts +0 -43
  211. package/lib/models/survey.js +0 -214
  212. package/lib/models/survey.js.map +0 -1
  213. package/lib/models/token.d.ts +0 -7
  214. package/lib/models/token.js +0 -3
  215. package/lib/models/token.js.map +0 -1
  216. package/lib/models/topic.d.ts +0 -17
  217. package/lib/models/topic.js +0 -90
  218. package/lib/models/topic.js.map +0 -1
  219. package/lib/models/user.d.ts +0 -49
  220. package/lib/models/user.js +0 -258
  221. package/lib/models/user.js.map +0 -1
  222. package/lib/survey/survey.event.d.ts +0 -5
  223. package/lib/survey/survey.event.js +0 -10
  224. package/lib/survey/survey.event.js.map +0 -1
@@ -1,38 +0,0 @@
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.CategoryHashDto = exports.CategoryDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class CategoryDto {
15
- title;
16
- description;
17
- }
18
- exports.CategoryDto = CategoryDto;
19
- __decorate([
20
- (0, class_validator_1.IsNotEmpty)(),
21
- (0, class_validator_1.IsString)(),
22
- __metadata("design:type", String)
23
- ], CategoryDto.prototype, "title", void 0);
24
- __decorate([
25
- (0, class_validator_1.IsOptional)(),
26
- (0, class_validator_1.IsString)(),
27
- __metadata("design:type", String)
28
- ], CategoryDto.prototype, "description", void 0);
29
- class CategoryHashDto {
30
- hash;
31
- }
32
- exports.CategoryHashDto = CategoryHashDto;
33
- __decorate([
34
- (0, class_validator_1.IsNotEmpty)(),
35
- (0, class_validator_1.IsString)(),
36
- __metadata("design:type", String)
37
- ], CategoryHashDto.prototype, "hash", void 0);
38
- //# sourceMappingURL=category.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"category.dto.js","sourceRoot":"","sources":["../../src/dtos/category.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,WAAW;IAIvB,KAAK,CAAS;IAId,WAAW,CAAS;CACpB;AATD,kCASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACS;AAGrB,MAAa,eAAe;IAG3B,IAAI,CAAS;CACb;AAJD,0CAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE"}
@@ -1,5 +0,0 @@
1
- export declare class ContactEmailDto {
2
- name: string;
3
- email: string;
4
- message: string;
5
- }
@@ -1,35 +0,0 @@
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.ContactEmailDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class ContactEmailDto {
15
- name;
16
- email;
17
- message;
18
- }
19
- exports.ContactEmailDto = ContactEmailDto;
20
- __decorate([
21
- (0, class_validator_1.IsNotEmpty)(),
22
- (0, class_validator_1.IsString)(),
23
- __metadata("design:type", String)
24
- ], ContactEmailDto.prototype, "name", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsNotEmpty)(),
27
- (0, class_validator_1.IsString)(),
28
- __metadata("design:type", String)
29
- ], ContactEmailDto.prototype, "email", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsNotEmpty)(),
32
- (0, class_validator_1.IsString)(),
33
- __metadata("design:type", String)
34
- ], ContactEmailDto.prototype, "message", void 0);
35
- //# sourceMappingURL=contact.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contact.dto.js","sourceRoot":"","sources":["../../src/dtos/contact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,OAAO,CAAS;CAChB;AAbD,0CAaC;AATA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACK"}
@@ -1,9 +0,0 @@
1
- import { PostType } from '../enums';
2
- export declare class CreateFeedbackDto {
3
- name: string;
4
- postType: PostType;
5
- }
6
- export declare class FeedbackItemDto {
7
- question: string;
8
- multiple: boolean;
9
- }
@@ -1,47 +0,0 @@
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.FeedbackItemDto = exports.CreateFeedbackDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const enums_1 = require("../enums");
15
- const class_transformer_1 = require("class-transformer");
16
- class CreateFeedbackDto {
17
- name;
18
- postType;
19
- }
20
- exports.CreateFeedbackDto = CreateFeedbackDto;
21
- __decorate([
22
- (0, class_validator_1.IsNotEmpty)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], CreateFeedbackDto.prototype, "name", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsNotEmpty)(),
28
- (0, class_validator_1.IsEnum)(enums_1.PostType),
29
- __metadata("design:type", String)
30
- ], CreateFeedbackDto.prototype, "postType", void 0);
31
- class FeedbackItemDto {
32
- question;
33
- multiple;
34
- }
35
- exports.FeedbackItemDto = FeedbackItemDto;
36
- __decorate([
37
- (0, class_validator_1.IsNotEmpty)(),
38
- (0, class_validator_1.IsString)(),
39
- __metadata("design:type", String)
40
- ], FeedbackItemDto.prototype, "question", void 0);
41
- __decorate([
42
- (0, class_validator_1.IsOptional)(),
43
- (0, class_validator_1.IsBoolean)(),
44
- (0, class_transformer_1.Type)(() => Boolean),
45
- __metadata("design:type", Boolean)
46
- ], FeedbackItemDto.prototype, "multiple", void 0);
47
- //# sourceMappingURL=feedback.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"feedback.dto.js","sourceRoot":"","sources":["../../src/dtos/feedback.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsF;AACtF,oCAAoC;AACpC,yDAAyC;AAEzC,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAIb,QAAQ,CAAW;CACnB;AATD,8CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;mDACE;AAGpB,MAAa,eAAe;IAI3B,QAAQ,CAAS;IAKjB,QAAQ,CAAU;CAClB;AAVD,0CAUC;AANA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACM;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;iDACF"}
@@ -1,25 +0,0 @@
1
- export declare class TitleDto {
2
- title: string;
3
- }
4
- export declare class NameDto {
5
- name: string;
6
- }
7
- export declare class ContentDto {
8
- content: string;
9
- }
10
- export declare class EmailDto {
11
- email: string;
12
- }
13
- export declare class PhoneDto {
14
- email: string;
15
- }
16
- export declare class SortDto {
17
- ids: number[];
18
- }
19
- export declare class PeriodDto {
20
- startDate: Date;
21
- endDate: Date;
22
- }
23
- export declare class UrlDto {
24
- url: string;
25
- }
@@ -1,94 +0,0 @@
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.UrlDto = exports.PeriodDto = exports.SortDto = exports.PhoneDto = exports.EmailDto = exports.ContentDto = exports.NameDto = exports.TitleDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- class TitleDto {
16
- title;
17
- }
18
- exports.TitleDto = TitleDto;
19
- __decorate([
20
- (0, class_validator_1.IsNotEmpty)(),
21
- (0, class_validator_1.IsString)(),
22
- __metadata("design:type", String)
23
- ], TitleDto.prototype, "title", void 0);
24
- class NameDto {
25
- name;
26
- }
27
- exports.NameDto = NameDto;
28
- __decorate([
29
- (0, class_validator_1.IsNotEmpty)(),
30
- (0, class_validator_1.IsString)(),
31
- __metadata("design:type", String)
32
- ], NameDto.prototype, "name", void 0);
33
- class ContentDto {
34
- content;
35
- }
36
- exports.ContentDto = ContentDto;
37
- __decorate([
38
- (0, class_validator_1.IsNotEmpty)(),
39
- (0, class_validator_1.IsString)(),
40
- __metadata("design:type", String)
41
- ], ContentDto.prototype, "content", void 0);
42
- class EmailDto {
43
- email;
44
- }
45
- exports.EmailDto = EmailDto;
46
- __decorate([
47
- (0, class_validator_1.IsNotEmpty)(),
48
- (0, class_validator_1.IsEmail)(),
49
- __metadata("design:type", String)
50
- ], EmailDto.prototype, "email", void 0);
51
- class PhoneDto {
52
- email;
53
- }
54
- exports.PhoneDto = PhoneDto;
55
- __decorate([
56
- (0, class_validator_1.IsNotEmpty)(),
57
- (0, class_validator_1.IsPhoneNumber)(),
58
- __metadata("design:type", String)
59
- ], PhoneDto.prototype, "email", void 0);
60
- class SortDto {
61
- ids;
62
- }
63
- exports.SortDto = SortDto;
64
- __decorate([
65
- (0, class_validator_1.IsNotEmpty)(),
66
- __metadata("design:type", Array)
67
- ], SortDto.prototype, "ids", void 0);
68
- class PeriodDto {
69
- startDate;
70
- endDate;
71
- }
72
- exports.PeriodDto = PeriodDto;
73
- __decorate([
74
- (0, class_validator_1.IsNotEmpty)(),
75
- (0, class_validator_1.IsDate)(),
76
- (0, class_transformer_1.Type)(() => Date),
77
- __metadata("design:type", Date)
78
- ], PeriodDto.prototype, "startDate", void 0);
79
- __decorate([
80
- (0, class_validator_1.IsNotEmpty)(),
81
- (0, class_validator_1.IsDate)(),
82
- (0, class_transformer_1.Type)(() => Date),
83
- __metadata("design:type", Date)
84
- ], PeriodDto.prototype, "endDate", void 0);
85
- class UrlDto {
86
- url;
87
- }
88
- exports.UrlDto = UrlDto;
89
- __decorate([
90
- (0, class_validator_1.IsNotEmpty)(),
91
- (0, class_validator_1.IsUrl)(),
92
- __metadata("design:type", String)
93
- ], UrlDto.prototype, "url", void 0);
94
- //# sourceMappingURL=general.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../src/dtos/general.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkH;AAClH,yDAAoD;AAGpD,MAAa,QAAQ;IAGpB,KAAK,CAAS;CACd;AAJD,4BAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uCACG;AAGf,MAAa,OAAO;IAGnB,IAAI,CAAS;CACb;AAJD,0BAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qCACE;AAGd,MAAa,UAAU;IAGtB,OAAO,CAAS;CAChB;AAJD,gCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACK;AAGjB,MAAa,QAAQ;IAGpB,KAAK,CAAS;CACd;AAJD,4BAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;uCACI;AAGf,MAAa,QAAQ;IAGpB,KAAK,CAAS;CACd;AAJD,4BAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAa,GAAE;;uCACF;AAGf,MAAa,OAAO;IAEnB,GAAG,CAAW;CACd;AAHD,0BAGC;AADA;IADC,IAAA,4BAAU,GAAE;;oCACC;AAGf,MAAa,SAAS;IAKrB,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAXD,8BAWC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;4CAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;0CAAC;AAGf,MAAa,MAAM;IAGlB,GAAG,CAAS;CACZ;AAJD,wBAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mCACI"}
@@ -1,15 +0,0 @@
1
- export * from './auth.dto';
2
- export * from './boost.dto';
3
- export * from './brand.dto';
4
- export * from './browse.dto';
5
- export * from './contact.dto';
6
- export * from './feedback.dto';
7
- export * from './general.dto';
8
- export * from './search.dto';
9
- export * from './notification.dto';
10
- export * from './post.dto';
11
- export * from './promotion.dto';
12
- export * from './publisher.dto';
13
- export * from './question.dto';
14
- export * from './survey.dto';
15
- export * from './user.dto';
package/lib/dtos/index.js DELETED
@@ -1,32 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./auth.dto"), exports);
18
- __exportStar(require("./boost.dto"), exports);
19
- __exportStar(require("./brand.dto"), exports);
20
- __exportStar(require("./browse.dto"), exports);
21
- __exportStar(require("./contact.dto"), exports);
22
- __exportStar(require("./feedback.dto"), exports);
23
- __exportStar(require("./general.dto"), exports);
24
- __exportStar(require("./search.dto"), exports);
25
- __exportStar(require("./notification.dto"), exports);
26
- __exportStar(require("./post.dto"), exports);
27
- __exportStar(require("./promotion.dto"), exports);
28
- __exportStar(require("./publisher.dto"), exports);
29
- __exportStar(require("./question.dto"), exports);
30
- __exportStar(require("./survey.dto"), exports);
31
- __exportStar(require("./user.dto"), exports);
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,gDAA8B;AAC9B,iDAA+B;AAC/B,gDAA8B;AAC9B,+CAA6B;AAC7B,qDAAmC;AACnC,6CAA2B;AAC3B,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B;AAC7B,6CAA2B"}
@@ -1,4 +0,0 @@
1
- export declare class NotificationTokenDto {
2
- token: string;
3
- deviceType: string;
4
- }
@@ -1,4 +0,0 @@
1
- export declare class NotificationTokenDto {
2
- token: string;
3
- deviceType: string;
4
- }
@@ -1,29 +0,0 @@
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.NotificationTokenDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class NotificationTokenDto {
15
- token;
16
- deviceType;
17
- }
18
- exports.NotificationTokenDto = NotificationTokenDto;
19
- __decorate([
20
- (0, class_validator_1.IsOptional)(),
21
- (0, class_validator_1.IsString)(),
22
- __metadata("design:type", String)
23
- ], NotificationTokenDto.prototype, "token", void 0);
24
- __decorate([
25
- (0, class_validator_1.IsNotEmpty)(),
26
- (0, class_validator_1.IsString)(),
27
- __metadata("design:type", String)
28
- ], NotificationTokenDto.prototype, "deviceType", void 0);
29
- //# sourceMappingURL=notification.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.dto.js","sourceRoot":"","sources":["../../src/dtos/notification.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,oBAAoB;IAIhC,KAAK,CAAQ;IAIb,UAAU,CAAQ;CAClB;AATD,oDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO"}
@@ -1,29 +0,0 @@
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.NotificationTokenDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class NotificationTokenDto {
15
- token;
16
- deviceType;
17
- }
18
- exports.NotificationTokenDto = NotificationTokenDto;
19
- __decorate([
20
- (0, class_validator_1.IsOptional)(),
21
- (0, class_validator_1.IsString)(),
22
- __metadata("design:type", String)
23
- ], NotificationTokenDto.prototype, "token", void 0);
24
- __decorate([
25
- (0, class_validator_1.IsNotEmpty)(),
26
- (0, class_validator_1.IsString)(),
27
- __metadata("design:type", String)
28
- ], NotificationTokenDto.prototype, "deviceType", void 0);
29
- //# sourceMappingURL=notification.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/dtos/notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,oBAAoB;IAIhC,KAAK,CAAQ;IAIb,UAAU,CAAQ;CAClB;AATD,oDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO"}
@@ -1,25 +0,0 @@
1
- import { PostType, SortType, StatusType } from '../enums';
2
- export declare class PostParamsDto {
3
- type: PostType;
4
- status: StatusType;
5
- term: string;
6
- sort: SortType;
7
- topics: string[];
8
- authors: string[];
9
- }
10
- export declare class PostAdminParamsDto {
11
- types: PostType[];
12
- statuses: StatusType[];
13
- term: string;
14
- sort: SortType;
15
- topics: number[];
16
- authors: number[];
17
- publishers: number[];
18
- }
19
- export declare class CreatePostDto {
20
- title: string;
21
- type: PostType;
22
- }
23
- export declare class PostAuthorDto {
24
- author: number;
25
- }
@@ -1,118 +0,0 @@
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.PostAuthorDto = exports.CreatePostDto = exports.PostAdminParamsDto = exports.PostParamsDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const enums_1 = require("../enums");
15
- class PostParamsDto {
16
- type;
17
- status;
18
- term;
19
- sort;
20
- topics;
21
- authors;
22
- }
23
- exports.PostParamsDto = PostParamsDto;
24
- __decorate([
25
- (0, class_validator_1.IsOptional)(),
26
- (0, class_validator_1.IsEnum)(enums_1.PostType),
27
- __metadata("design:type", String)
28
- ], PostParamsDto.prototype, "type", void 0);
29
- __decorate([
30
- (0, class_validator_1.IsOptional)(),
31
- (0, class_validator_1.IsEnum)(enums_1.StatusType),
32
- __metadata("design:type", String)
33
- ], PostParamsDto.prototype, "status", void 0);
34
- __decorate([
35
- (0, class_validator_1.IsOptional)(),
36
- (0, class_validator_1.IsString)(),
37
- __metadata("design:type", String)
38
- ], PostParamsDto.prototype, "term", void 0);
39
- __decorate([
40
- (0, class_validator_1.IsOptional)(),
41
- (0, class_validator_1.IsEnum)(enums_1.SortType),
42
- __metadata("design:type", String)
43
- ], PostParamsDto.prototype, "sort", void 0);
44
- __decorate([
45
- (0, class_validator_1.IsOptional)(),
46
- __metadata("design:type", Array)
47
- ], PostParamsDto.prototype, "topics", void 0);
48
- __decorate([
49
- (0, class_validator_1.IsOptional)(),
50
- __metadata("design:type", Array)
51
- ], PostParamsDto.prototype, "authors", void 0);
52
- class PostAdminParamsDto {
53
- types;
54
- statuses;
55
- term;
56
- sort;
57
- topics;
58
- authors;
59
- publishers;
60
- }
61
- exports.PostAdminParamsDto = PostAdminParamsDto;
62
- __decorate([
63
- (0, class_validator_1.IsOptional)(),
64
- (0, class_validator_1.IsEnum)(enums_1.PostType),
65
- __metadata("design:type", Array)
66
- ], PostAdminParamsDto.prototype, "types", void 0);
67
- __decorate([
68
- (0, class_validator_1.IsOptional)(),
69
- (0, class_validator_1.IsEnum)(enums_1.StatusType),
70
- __metadata("design:type", Array)
71
- ], PostAdminParamsDto.prototype, "statuses", void 0);
72
- __decorate([
73
- (0, class_validator_1.IsOptional)(),
74
- (0, class_validator_1.IsString)(),
75
- __metadata("design:type", String)
76
- ], PostAdminParamsDto.prototype, "term", void 0);
77
- __decorate([
78
- (0, class_validator_1.IsOptional)(),
79
- (0, class_validator_1.IsEnum)(enums_1.SortType),
80
- __metadata("design:type", String)
81
- ], PostAdminParamsDto.prototype, "sort", void 0);
82
- __decorate([
83
- (0, class_validator_1.IsOptional)(),
84
- __metadata("design:type", Array)
85
- ], PostAdminParamsDto.prototype, "topics", void 0);
86
- __decorate([
87
- (0, class_validator_1.IsOptional)(),
88
- __metadata("design:type", Array)
89
- ], PostAdminParamsDto.prototype, "authors", void 0);
90
- __decorate([
91
- (0, class_validator_1.IsOptional)(),
92
- __metadata("design:type", Array)
93
- ], PostAdminParamsDto.prototype, "publishers", void 0);
94
- class CreatePostDto {
95
- title;
96
- type;
97
- }
98
- exports.CreatePostDto = CreatePostDto;
99
- __decorate([
100
- (0, class_validator_1.IsNotEmpty)(),
101
- (0, class_validator_1.IsString)(),
102
- __metadata("design:type", String)
103
- ], CreatePostDto.prototype, "title", void 0);
104
- __decorate([
105
- (0, class_validator_1.IsNotEmpty)(),
106
- (0, class_validator_1.IsEnum)(enums_1.PostType),
107
- __metadata("design:type", String)
108
- ], CreatePostDto.prototype, "type", void 0);
109
- class PostAuthorDto {
110
- author;
111
- }
112
- exports.PostAuthorDto = PostAuthorDto;
113
- __decorate([
114
- (0, class_validator_1.IsOptional)(),
115
- (0, class_validator_1.IsNumber)(),
116
- __metadata("design:type", Number)
117
- ], PostAuthorDto.prototype, "author", void 0);
118
- //# sourceMappingURL=post.dto.js.map
@@ -1 +0,0 @@
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;IAGjB,OAAO,CAAW;CAClB;AAvBD,sCAuBC;AAnBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;2CACF;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;6CACA;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;2CACF;AAGf;IADC,IAAA,4BAAU,GAAE;;6CACI;AAGjB;IADC,IAAA,4BAAU,GAAE;;8CACK;AAGnB,MAAa,kBAAkB;IAI9B,KAAK,CAAa;IAIlB,QAAQ,CAAe;IAIvB,IAAI,CAAS;IAIb,IAAI,CAAW;IAGf,MAAM,CAAW;IAGjB,OAAO,CAAW;IAGlB,UAAU,CAAW;CACrB;AA1BD,gDA0BC;AAtBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;iDACC;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;oDACI;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;gDACF;AAGf;IADC,IAAA,4BAAU,GAAE;;kDACI;AAGjB;IADC,IAAA,4BAAU,GAAE;;mDACK;AAGlB;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGtB,MAAa,aAAa;IAGzB,KAAK,CAAS;IAId,IAAI,CAAW;CACf;AARD,sCAQC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;2CACF;AAGhB,MAAa,aAAa;IAGzB,MAAM,CAAS;CACf;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACI"}
@@ -1,5 +0,0 @@
1
- export declare class CreatePromotionDto {
2
- title: string;
3
- startDate: Date;
4
- endDate: Date;
5
- }
@@ -1,38 +0,0 @@
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.CreatePromotionDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- class CreatePromotionDto {
16
- title;
17
- startDate;
18
- endDate;
19
- }
20
- exports.CreatePromotionDto = CreatePromotionDto;
21
- __decorate([
22
- (0, class_validator_1.IsNotEmpty)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], CreatePromotionDto.prototype, "title", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsNotEmpty)(),
28
- (0, class_validator_1.IsDate)(),
29
- (0, class_transformer_1.Type)(() => Date),
30
- __metadata("design:type", Date)
31
- ], CreatePromotionDto.prototype, "startDate", void 0);
32
- __decorate([
33
- (0, class_validator_1.IsNotEmpty)(),
34
- (0, class_validator_1.IsDate)(),
35
- (0, class_transformer_1.Type)(() => Date),
36
- __metadata("design:type", Date)
37
- ], CreatePromotionDto.prototype, "endDate", void 0);
38
- //# sourceMappingURL=promotion.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"promotion.dto.js","sourceRoot":"","sources":["../../src/dtos/promotion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,yDAAyC;AAEzC,MAAa,kBAAkB;IAI9B,KAAK,CAAS;IAKd,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAfD,gDAeC;AAXA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;qDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;mDAAC"}
@@ -1,8 +0,0 @@
1
- import { PostType } from '../enums';
2
- export declare class InvitePublisherDto {
3
- email: string;
4
- postTypes: PostType[];
5
- }
6
- export declare class PublisherPostTypesDto {
7
- postTypes: PostType[];
8
- }