@intelact/bright 0.9.126 → 0.9.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. package/lib/chart/chart.dto.d.ts +16 -0
  2. package/lib/chart/chart.dto.js +87 -0
  3. package/lib/chart/chart.dto.js.map +1 -0
  4. package/lib/chart/chart.interface.d.ts +14 -0
  5. package/lib/{models/pagination.js → chart/chart.interface.js} +1 -1
  6. package/lib/chart/chart.interface.js.map +1 -0
  7. package/lib/chart/chart.model.d.ts +8 -0
  8. package/lib/{models/token.js → chart/chart.model.js} +1 -1
  9. package/lib/chart/chart.model.js.map +1 -0
  10. package/lib/chart/chart.types.d.ts +6 -0
  11. package/lib/chart/chart.types.js +11 -0
  12. package/lib/chart/chart.types.js.map +1 -0
  13. package/lib/chart/index.d.ts +4 -0
  14. package/lib/{helpers → chart}/index.js +4 -2
  15. package/lib/chart/index.js.map +1 -0
  16. package/lib/feedback/feedback.model.d.ts +2 -0
  17. package/lib/feedback/feedback.model.js +9 -0
  18. package/lib/feedback/feedback.model.js.map +1 -1
  19. package/lib/index.d.ts +1 -0
  20. package/lib/index.js +1 -0
  21. package/lib/index.js.map +1 -1
  22. package/lib/publisher/publisher.model.d.ts +2 -0
  23. package/lib/publisher/publisher.model.js +9 -0
  24. package/lib/publisher/publisher.model.js.map +1 -1
  25. package/lib/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +1 -1
  27. package/lib/author/author.sort.d.ts +0 -7
  28. package/lib/author/author.sort.js +0 -12
  29. package/lib/author/author.sort.js.map +0 -1
  30. package/lib/common/browse.dto.d.ts +0 -9
  31. package/lib/common/browse.dto.js +0 -47
  32. package/lib/common/browse.dto.js.map +0 -1
  33. package/lib/dtos/asset.dto.d.ts +0 -14
  34. package/lib/dtos/asset.dto.js +0 -70
  35. package/lib/dtos/asset.dto.js.map +0 -1
  36. package/lib/dtos/auth.dto.d.ts +0 -39
  37. package/lib/dtos/auth.dto.js +0 -162
  38. package/lib/dtos/auth.dto.js.map +0 -1
  39. package/lib/dtos/author.dto.d.ts +0 -14
  40. package/lib/dtos/author.dto.js +0 -57
  41. package/lib/dtos/author.dto.js.map +0 -1
  42. package/lib/dtos/boost.dto.d.ts +0 -5
  43. package/lib/dtos/boost.dto.js +0 -38
  44. package/lib/dtos/boost.dto.js.map +0 -1
  45. package/lib/dtos/brand.dto.d.ts +0 -6
  46. package/lib/dtos/brand.dto.js +0 -41
  47. package/lib/dtos/brand.dto.js.map +0 -1
  48. package/lib/dtos/browse.dto.d.ts +0 -11
  49. package/lib/dtos/browse.dto.js +0 -55
  50. package/lib/dtos/browse.dto.js.map +0 -1
  51. package/lib/dtos/bulk.dto.d.ts +0 -3
  52. package/lib/dtos/bulk.dto.js +0 -22
  53. package/lib/dtos/bulk.dto.js.map +0 -1
  54. package/lib/dtos/category.dto.d.ts +0 -7
  55. package/lib/dtos/category.dto.js +0 -38
  56. package/lib/dtos/category.dto.js.map +0 -1
  57. package/lib/dtos/contact.dto.d.ts +0 -5
  58. package/lib/dtos/contact.dto.js +0 -35
  59. package/lib/dtos/contact.dto.js.map +0 -1
  60. package/lib/dtos/feedback.dto.d.ts +0 -9
  61. package/lib/dtos/feedback.dto.js +0 -47
  62. package/lib/dtos/feedback.dto.js.map +0 -1
  63. package/lib/dtos/general.dto.d.ts +0 -25
  64. package/lib/dtos/general.dto.js +0 -94
  65. package/lib/dtos/general.dto.js.map +0 -1
  66. package/lib/dtos/index.d.ts +0 -15
  67. package/lib/dtos/index.js +0 -32
  68. package/lib/dtos/index.js.map +0 -1
  69. package/lib/dtos/notification.d.ts +0 -4
  70. package/lib/dtos/notification.dto.d.ts +0 -4
  71. package/lib/dtos/notification.dto.js +0 -29
  72. package/lib/dtos/notification.dto.js.map +0 -1
  73. package/lib/dtos/notification.js +0 -29
  74. package/lib/dtos/notification.js.map +0 -1
  75. package/lib/dtos/post.dto.d.ts +0 -25
  76. package/lib/dtos/post.dto.js +0 -118
  77. package/lib/dtos/post.dto.js.map +0 -1
  78. package/lib/dtos/promotion.dto.d.ts +0 -5
  79. package/lib/dtos/promotion.dto.js +0 -38
  80. package/lib/dtos/promotion.dto.js.map +0 -1
  81. package/lib/dtos/publisher.dto.d.ts +0 -8
  82. package/lib/dtos/publisher.dto.js +0 -39
  83. package/lib/dtos/publisher.dto.js.map +0 -1
  84. package/lib/dtos/question.dto.d.ts +0 -15
  85. package/lib/dtos/question.dto.js +0 -86
  86. package/lib/dtos/question.dto.js.map +0 -1
  87. package/lib/dtos/search.dto.d.ts +0 -12
  88. package/lib/dtos/search.dto.js +0 -72
  89. package/lib/dtos/search.dto.js.map +0 -1
  90. package/lib/dtos/survey.dto.d.ts +0 -9
  91. package/lib/dtos/survey.dto.js +0 -54
  92. package/lib/dtos/survey.dto.js.map +0 -1
  93. package/lib/dtos/topic.dto.d.ts +0 -12
  94. package/lib/dtos/topic.dto.js +0 -50
  95. package/lib/dtos/topic.dto.js.map +0 -1
  96. package/lib/dtos/user.dto.d.ts +0 -24
  97. package/lib/dtos/user.dto.js +0 -99
  98. package/lib/dtos/user.dto.js.map +0 -1
  99. package/lib/enums/account.enum.d.ts +0 -11
  100. package/lib/enums/account.enum.js +0 -17
  101. package/lib/enums/account.enum.js.map +0 -1
  102. package/lib/enums/asset.enum.d.ts +0 -7
  103. package/lib/enums/asset.enum.js +0 -12
  104. package/lib/enums/asset.enum.js.map +0 -1
  105. package/lib/enums/color.enum.d.ts +0 -30
  106. package/lib/enums/color.enum.js +0 -37
  107. package/lib/enums/color.enum.js.map +0 -1
  108. package/lib/enums/feed.enum.d.ts +0 -5
  109. package/lib/enums/feed.enum.js +0 -10
  110. package/lib/enums/feed.enum.js.map +0 -1
  111. package/lib/enums/index.d.ts +0 -13
  112. package/lib/enums/index.js +0 -30
  113. package/lib/enums/index.js.map +0 -1
  114. package/lib/enums/module.enum.d.ts +0 -28
  115. package/lib/enums/module.enum.js +0 -34
  116. package/lib/enums/module.enum.js.map +0 -1
  117. package/lib/enums/notification.enum.d.ts +0 -12
  118. package/lib/enums/notification.enum.js +0 -18
  119. package/lib/enums/notification.enum.js.map +0 -1
  120. package/lib/enums/popularity.enum.d.ts +0 -8
  121. package/lib/enums/popularity.enum.js +0 -13
  122. package/lib/enums/popularity.enum.js.map +0 -1
  123. package/lib/enums/post.enum.d.ts +0 -8
  124. package/lib/enums/post.enum.js +0 -13
  125. package/lib/enums/post.enum.js.map +0 -1
  126. package/lib/enums/setting.enum.d.ts +0 -10
  127. package/lib/enums/setting.enum.js +0 -15
  128. package/lib/enums/setting.enum.js.map +0 -1
  129. package/lib/enums/social.enum.d.ts +0 -14
  130. package/lib/enums/social.enum.js +0 -20
  131. package/lib/enums/social.enum.js.map +0 -1
  132. package/lib/enums/sort.enum.d.ts +0 -21
  133. package/lib/enums/sort.enum.js +0 -28
  134. package/lib/enums/sort.enum.js.map +0 -1
  135. package/lib/enums/status.enum.d.ts +0 -13
  136. package/lib/enums/status.enum.js +0 -19
  137. package/lib/enums/status.enum.js.map +0 -1
  138. package/lib/enums/survey.enum.d.ts +0 -6
  139. package/lib/enums/survey.enum.js +0 -11
  140. package/lib/enums/survey.enum.js.map +0 -1
  141. package/lib/enums/tracks.enum.d.ts +0 -38
  142. package/lib/enums/tracks.enum.js +0 -46
  143. package/lib/enums/tracks.enum.js.map +0 -1
  144. package/lib/enums/verification.enum.d.ts +0 -5
  145. package/lib/enums/verification.enum.js +0 -10
  146. package/lib/enums/verification.enum.js.map +0 -1
  147. package/lib/helpers/index.d.ts +0 -2
  148. package/lib/helpers/index.js.map +0 -1
  149. package/lib/helpers/popularity.helper.d.ts +0 -2
  150. package/lib/helpers/popularity.helper.js +0 -58
  151. package/lib/helpers/popularity.helper.js.map +0 -1
  152. package/lib/helpers/post.helper.d.ts +0 -2
  153. package/lib/helpers/post.helper.js +0 -22
  154. package/lib/helpers/post.helper.js.map +0 -1
  155. package/lib/metric/metric.interface.d.ts +0 -11
  156. package/lib/metric/metric.interface.js +0 -3
  157. package/lib/metric/metric.interface.js.map +0 -1
  158. package/lib/models/asset.d.ts +0 -10
  159. package/lib/models/asset.js +0 -54
  160. package/lib/models/asset.js.map +0 -1
  161. package/lib/models/author.d.ts +0 -16
  162. package/lib/models/author.js +0 -83
  163. package/lib/models/author.js.map +0 -1
  164. package/lib/models/boost.d.ts +0 -14
  165. package/lib/models/boost.js +0 -73
  166. package/lib/models/boost.js.map +0 -1
  167. package/lib/models/brand.d.ts +0 -38
  168. package/lib/models/brand.js +0 -241
  169. package/lib/models/brand.js.map +0 -1
  170. package/lib/models/category.d.ts +0 -13
  171. package/lib/models/category.js +0 -69
  172. package/lib/models/category.js.map +0 -1
  173. package/lib/models/collection.d.ts +0 -14
  174. package/lib/models/collection.js +0 -65
  175. package/lib/models/collection.js.map +0 -1
  176. package/lib/models/feedback.d.ts +0 -38
  177. package/lib/models/feedback.js +0 -157
  178. package/lib/models/feedback.js.map +0 -1
  179. package/lib/models/gallery.d.ts +0 -6
  180. package/lib/models/gallery.js +0 -36
  181. package/lib/models/gallery.js.map +0 -1
  182. package/lib/models/index.d.ts +0 -23
  183. package/lib/models/index.js +0 -40
  184. package/lib/models/index.js.map +0 -1
  185. package/lib/models/item.d.ts +0 -14
  186. package/lib/models/item.js +0 -37
  187. package/lib/models/item.js.map +0 -1
  188. package/lib/models/link.d.ts +0 -16
  189. package/lib/models/link.js +0 -35
  190. package/lib/models/link.js.map +0 -1
  191. package/lib/models/log.d.ts +0 -11
  192. package/lib/models/log.js +0 -16
  193. package/lib/models/log.js.map +0 -1
  194. package/lib/models/metric.d.ts +0 -20
  195. package/lib/models/metric.js +0 -186
  196. package/lib/models/metric.js.map +0 -1
  197. package/lib/models/notification.d.ts +0 -14
  198. package/lib/models/notification.js +0 -64
  199. package/lib/models/notification.js.map +0 -1
  200. package/lib/models/pagination.d.ts +0 -17
  201. package/lib/models/pagination.js.map +0 -1
  202. package/lib/models/post.d.ts +0 -88
  203. package/lib/models/post.js +0 -466
  204. package/lib/models/post.js.map +0 -1
  205. package/lib/models/promotion.d.ts +0 -21
  206. package/lib/models/promotion.js +0 -108
  207. package/lib/models/promotion.js.map +0 -1
  208. package/lib/models/publisher.d.ts +0 -25
  209. package/lib/models/publisher.js +0 -118
  210. package/lib/models/publisher.js.map +0 -1
  211. package/lib/models/question.d.ts +0 -47
  212. package/lib/models/question.js +0 -238
  213. package/lib/models/question.js.map +0 -1
  214. package/lib/models/quote.d.ts +0 -5
  215. package/lib/models/quote.js +0 -31
  216. package/lib/models/quote.js.map +0 -1
  217. package/lib/models/response.d.ts +0 -6
  218. package/lib/models/response.js +0 -3
  219. package/lib/models/response.js.map +0 -1
  220. package/lib/models/share.d.ts +0 -6
  221. package/lib/models/share.js +0 -3
  222. package/lib/models/share.js.map +0 -1
  223. package/lib/models/survey.d.ts +0 -43
  224. package/lib/models/survey.js +0 -214
  225. package/lib/models/survey.js.map +0 -1
  226. package/lib/models/token.d.ts +0 -7
  227. package/lib/models/token.js.map +0 -1
  228. package/lib/models/topic.d.ts +0 -17
  229. package/lib/models/topic.js +0 -90
  230. package/lib/models/topic.js.map +0 -1
  231. package/lib/models/user.d.ts +0 -49
  232. package/lib/models/user.js +0 -258
  233. package/lib/models/user.js.map +0 -1
  234. package/lib/survey/survey.event.d.ts +0 -5
  235. package/lib/survey/survey.event.js +0 -10
  236. package/lib/survey/survey.event.js.map +0 -1
@@ -1,162 +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.OtpPhoneDto = exports.OtpEmailDto = exports.VerifyEmailDto = exports.PasswordResetDto = exports.PasswordForgottenDto = exports.SignupDto = exports.SigninDto = exports.SocialUserDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const enums_1 = require("../enums");
15
- class SocialUserDto {
16
- uid;
17
- name;
18
- email;
19
- phone;
20
- image;
21
- provider;
22
- device;
23
- }
24
- exports.SocialUserDto = SocialUserDto;
25
- __decorate([
26
- (0, class_validator_1.IsNotEmpty)(),
27
- (0, class_validator_1.IsString)(),
28
- __metadata("design:type", String)
29
- ], SocialUserDto.prototype, "uid", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsOptional)(),
32
- (0, class_validator_1.IsString)(),
33
- __metadata("design:type", String)
34
- ], SocialUserDto.prototype, "name", void 0);
35
- __decorate([
36
- (0, class_validator_1.IsOptional)(),
37
- (0, class_validator_1.IsEmail)(),
38
- __metadata("design:type", String)
39
- ], SocialUserDto.prototype, "email", void 0);
40
- __decorate([
41
- (0, class_validator_1.IsOptional)(),
42
- (0, class_validator_1.IsString)(),
43
- __metadata("design:type", String)
44
- ], SocialUserDto.prototype, "phone", void 0);
45
- __decorate([
46
- (0, class_validator_1.IsOptional)(),
47
- (0, class_validator_1.IsString)(),
48
- __metadata("design:type", String)
49
- ], SocialUserDto.prototype, "image", void 0);
50
- __decorate([
51
- (0, class_validator_1.IsNotEmpty)(),
52
- (0, class_validator_1.IsEnum)(enums_1.SocialLoginType),
53
- __metadata("design:type", String)
54
- ], SocialUserDto.prototype, "provider", void 0);
55
- __decorate([
56
- (0, class_validator_1.IsOptional)(),
57
- __metadata("design:type", Object)
58
- ], SocialUserDto.prototype, "device", void 0);
59
- class SigninDto {
60
- email;
61
- password;
62
- device;
63
- }
64
- exports.SigninDto = SigninDto;
65
- __decorate([
66
- (0, class_validator_1.IsNotEmpty)(),
67
- (0, class_validator_1.IsEmail)(),
68
- __metadata("design:type", String)
69
- ], SigninDto.prototype, "email", void 0);
70
- __decorate([
71
- (0, class_validator_1.IsNotEmpty)(),
72
- (0, class_validator_1.IsString)(),
73
- __metadata("design:type", String)
74
- ], SigninDto.prototype, "password", void 0);
75
- __decorate([
76
- (0, class_validator_1.IsOptional)(),
77
- __metadata("design:type", Object)
78
- ], SigninDto.prototype, "device", void 0);
79
- class SignupDto {
80
- email;
81
- token;
82
- device;
83
- }
84
- exports.SignupDto = SignupDto;
85
- __decorate([
86
- (0, class_validator_1.IsNotEmpty)(),
87
- (0, class_validator_1.IsEmail)(),
88
- __metadata("design:type", String)
89
- ], SignupDto.prototype, "email", void 0);
90
- __decorate([
91
- (0, class_validator_1.IsNotEmpty)(),
92
- (0, class_validator_1.IsString)(),
93
- __metadata("design:type", String)
94
- ], SignupDto.prototype, "token", void 0);
95
- __decorate([
96
- (0, class_validator_1.IsOptional)(),
97
- __metadata("design:type", Object)
98
- ], SignupDto.prototype, "device", void 0);
99
- class PasswordForgottenDto {
100
- email;
101
- }
102
- exports.PasswordForgottenDto = PasswordForgottenDto;
103
- __decorate([
104
- (0, class_validator_1.IsNotEmpty)(),
105
- (0, class_validator_1.IsEmail)(),
106
- __metadata("design:type", String)
107
- ], PasswordForgottenDto.prototype, "email", void 0);
108
- class PasswordResetDto {
109
- password;
110
- email;
111
- token;
112
- }
113
- exports.PasswordResetDto = PasswordResetDto;
114
- __decorate([
115
- (0, class_validator_1.IsNotEmpty)(),
116
- (0, class_validator_1.IsString)(),
117
- __metadata("design:type", String)
118
- ], PasswordResetDto.prototype, "password", void 0);
119
- __decorate([
120
- (0, class_validator_1.IsNotEmpty)(),
121
- (0, class_validator_1.IsEmail)(),
122
- __metadata("design:type", String)
123
- ], PasswordResetDto.prototype, "email", void 0);
124
- __decorate([
125
- (0, class_validator_1.IsNotEmpty)(),
126
- (0, class_validator_1.IsString)(),
127
- __metadata("design:type", String)
128
- ], PasswordResetDto.prototype, "token", void 0);
129
- class VerifyEmailDto {
130
- email;
131
- url;
132
- }
133
- exports.VerifyEmailDto = VerifyEmailDto;
134
- __decorate([
135
- (0, class_validator_1.IsNotEmpty)(),
136
- (0, class_validator_1.IsEmail)(),
137
- __metadata("design:type", String)
138
- ], VerifyEmailDto.prototype, "email", void 0);
139
- __decorate([
140
- (0, class_validator_1.IsOptional)(),
141
- (0, class_validator_1.IsString)(),
142
- __metadata("design:type", String)
143
- ], VerifyEmailDto.prototype, "url", void 0);
144
- class OtpEmailDto {
145
- email;
146
- }
147
- exports.OtpEmailDto = OtpEmailDto;
148
- __decorate([
149
- (0, class_validator_1.IsNotEmpty)(),
150
- (0, class_validator_1.IsEmail)(),
151
- __metadata("design:type", String)
152
- ], OtpEmailDto.prototype, "email", void 0);
153
- class OtpPhoneDto {
154
- phone;
155
- }
156
- exports.OtpPhoneDto = OtpPhoneDto;
157
- __decorate([
158
- (0, class_validator_1.IsNotEmpty)(),
159
- (0, class_validator_1.IsString)(),
160
- __metadata("design:type", String)
161
- ], OtpPhoneDto.prototype, "phone", void 0);
162
- //# sourceMappingURL=auth.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.dto.js","sourceRoot":"","sources":["../../src/dtos/auth.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoF;AACpF,oCAA2C;AAG3C,MAAa,aAAa;IAIzB,GAAG,CAAS;IAIZ,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,KAAK,CAAS;IAId,KAAK,CAAS;IAId,QAAQ,CAAkB;IAG1B,MAAM,CAAsB;CAC5B;AA5BD,sCA4BC;AAxBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACC;AAIZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;4CACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,uBAAe,CAAC;;+CACE;AAG1B;IADC,IAAA,4BAAU,GAAE;;6CACe;AAG7B,MAAa,SAAS;IAIrB,KAAK,CAAS;IAId,QAAQ,CAAS;IAGjB,MAAM,CAAsB;CAC5B;AAZD,8BAYC;AARA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;wCACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACM;AAGjB;IADC,IAAA,4BAAU,GAAE;;yCACe;AAG7B,MAAa,SAAS;IAIrB,KAAK,CAAS;IAId,KAAK,CAAS;IAGd,MAAM,CAAsB;CAC5B;AAZD,8BAYC;AARA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;wCACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wCACG;AAGd;IADC,IAAA,4BAAU,GAAE;;yCACe;AAG7B,MAAa,oBAAoB;IAGhC,KAAK,CAAS;CACd;AAJD,oDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;mDACI;AAGf,MAAa,gBAAgB;IAI5B,QAAQ,CAAS;IAIjB,KAAK,CAAS;IAId,KAAK,CAAS;CACd;AAbD,4CAaC;AATA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACG;AAMf,MAAa,cAAc;IAI1B,KAAK,CAAS;IAId,GAAG,CAAS;CACZ;AATD,wCASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;6CACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACC;AAMb,MAAa,WAAW;IAGvB,KAAK,CAAS;CACd;AAJD,kCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;0CACI;AAMf,MAAa,WAAW;IAGvB,KAAK,CAAS;CACd;AAJD,kCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0CACG"}
@@ -1,14 +0,0 @@
1
- import { AuthorSortType } from '../enums';
2
- export declare class AuthorParamsDto {
3
- term: string;
4
- sort: AuthorSortType;
5
- }
6
- export declare class CreateAuthorDto {
7
- name: string;
8
- }
9
- export declare class AuthorNameDto {
10
- name: string;
11
- }
12
- export declare class AuthorBiographyDto {
13
- biography: string;
14
- }
@@ -1,57 +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.AuthorBiographyDto = exports.AuthorNameDto = exports.CreateAuthorDto = exports.AuthorParamsDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const enums_1 = require("../enums");
15
- class AuthorParamsDto {
16
- term;
17
- sort;
18
- }
19
- exports.AuthorParamsDto = AuthorParamsDto;
20
- __decorate([
21
- (0, class_validator_1.IsOptional)(),
22
- (0, class_validator_1.IsString)(),
23
- __metadata("design:type", String)
24
- ], AuthorParamsDto.prototype, "term", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsOptional)(),
27
- (0, class_validator_1.IsEnum)(enums_1.AuthorSortType),
28
- __metadata("design:type", String)
29
- ], AuthorParamsDto.prototype, "sort", void 0);
30
- class CreateAuthorDto {
31
- name;
32
- }
33
- exports.CreateAuthorDto = CreateAuthorDto;
34
- __decorate([
35
- (0, class_validator_1.IsNotEmpty)(),
36
- (0, class_validator_1.IsString)(),
37
- __metadata("design:type", String)
38
- ], CreateAuthorDto.prototype, "name", void 0);
39
- class AuthorNameDto {
40
- name;
41
- }
42
- exports.AuthorNameDto = AuthorNameDto;
43
- __decorate([
44
- (0, class_validator_1.IsNotEmpty)(),
45
- (0, class_validator_1.IsString)(),
46
- __metadata("design:type", String)
47
- ], AuthorNameDto.prototype, "name", void 0);
48
- class AuthorBiographyDto {
49
- biography;
50
- }
51
- exports.AuthorBiographyDto = AuthorBiographyDto;
52
- __decorate([
53
- (0, class_validator_1.IsOptional)(),
54
- (0, class_validator_1.IsString)(),
55
- __metadata("design:type", String)
56
- ], AuthorBiographyDto.prototype, "biography", void 0);
57
- //# sourceMappingURL=author.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"author.dto.js","sourceRoot":"","sources":["../../src/dtos/author.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqF;AACrF,oCAA0C;AAE1C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,IAAI,CAAiB;CACrB;AATD,0CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,sBAAc,CAAC;;6CACF;AAGtB,MAAa,eAAe;IAI3B,IAAI,CAAS;CACb;AALD,0CAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAGd,MAAa,aAAa;IAGzB,IAAI,CAAS;CACb;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACE;AAGd,MAAa,kBAAkB;IAI9B,SAAS,CAAS;CAClB;AALD,gDAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACO"}
@@ -1,5 +0,0 @@
1
- export declare class CreateBoostDto {
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.CreateBoostDto = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const class_validator_1 = require("class-validator");
15
- class CreateBoostDto {
16
- title;
17
- startDate;
18
- endDate;
19
- }
20
- exports.CreateBoostDto = CreateBoostDto;
21
- __decorate([
22
- (0, class_validator_1.IsNotEmpty)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], CreateBoostDto.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
- ], CreateBoostDto.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
- ], CreateBoostDto.prototype, "endDate", void 0);
38
- //# sourceMappingURL=boost.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"boost.dto.js","sourceRoot":"","sources":["../../src/dtos/boost.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAyC;AACzC,qDAA+D;AAE/D,MAAa,cAAc;IAI1B,KAAK,CAAS;IAKd,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAfD,wCAeC;AAXA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;iDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;+CAAC"}
@@ -1,6 +0,0 @@
1
- export declare class BrandSettingDto {
2
- name: string;
3
- value: string;
4
- title: string;
5
- description: string;
6
- }
@@ -1,41 +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.BrandSettingDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class BrandSettingDto {
15
- name;
16
- value;
17
- title;
18
- description;
19
- }
20
- exports.BrandSettingDto = BrandSettingDto;
21
- __decorate([
22
- (0, class_validator_1.IsNotEmpty)(),
23
- (0, class_validator_1.IsString)(),
24
- __metadata("design:type", String)
25
- ], BrandSettingDto.prototype, "name", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsNotEmpty)(),
28
- (0, class_validator_1.IsString)(),
29
- __metadata("design:type", String)
30
- ], BrandSettingDto.prototype, "value", void 0);
31
- __decorate([
32
- (0, class_validator_1.IsOptional)(),
33
- (0, class_validator_1.IsString)(),
34
- __metadata("design:type", String)
35
- ], BrandSettingDto.prototype, "title", void 0);
36
- __decorate([
37
- (0, class_validator_1.IsOptional)(),
38
- (0, class_validator_1.IsString)(),
39
- __metadata("design:type", String)
40
- ], BrandSettingDto.prototype, "description", void 0);
41
- //# sourceMappingURL=brand.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"brand.dto.js","sourceRoot":"","sources":["../../src/dtos/brand.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,KAAK,CAAS;IAId,WAAW,CAAS;CACpB;AAjBD,0CAiBC;AAbA;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;;8CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACS"}
@@ -1,11 +0,0 @@
1
- import { SortType, PostType } from '../enums';
2
- export declare class BrowseParamsDto {
3
- term: string;
4
- topics: string[];
5
- authors: string[];
6
- types: PostType[];
7
- sort: SortType;
8
- }
9
- export declare class BrowseBookmarksDto {
10
- types: PostType[];
11
- }
@@ -1,55 +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.BrowseBookmarksDto = exports.BrowseParamsDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const enums_1 = require("../enums");
15
- class BrowseParamsDto {
16
- term;
17
- topics;
18
- authors;
19
- types;
20
- sort;
21
- }
22
- exports.BrowseParamsDto = BrowseParamsDto;
23
- __decorate([
24
- (0, class_validator_1.IsOptional)(),
25
- (0, class_validator_1.IsString)(),
26
- __metadata("design:type", String)
27
- ], BrowseParamsDto.prototype, "term", void 0);
28
- __decorate([
29
- (0, class_validator_1.IsOptional)(),
30
- __metadata("design:type", Array)
31
- ], BrowseParamsDto.prototype, "topics", void 0);
32
- __decorate([
33
- (0, class_validator_1.IsOptional)(),
34
- __metadata("design:type", Array)
35
- ], BrowseParamsDto.prototype, "authors", void 0);
36
- __decorate([
37
- (0, class_validator_1.IsOptional)(),
38
- (0, class_validator_1.IsEnum)(enums_1.PostType),
39
- __metadata("design:type", Array)
40
- ], BrowseParamsDto.prototype, "types", void 0);
41
- __decorate([
42
- (0, class_validator_1.IsOptional)(),
43
- (0, class_validator_1.IsEnum)(enums_1.SortType),
44
- __metadata("design:type", String)
45
- ], BrowseParamsDto.prototype, "sort", void 0);
46
- class BrowseBookmarksDto {
47
- types;
48
- }
49
- exports.BrowseBookmarksDto = BrowseBookmarksDto;
50
- __decorate([
51
- (0, class_validator_1.IsOptional)(),
52
- (0, class_validator_1.IsEnum)(enums_1.PostType, { each: true }),
53
- __metadata("design:type", Array)
54
- ], BrowseBookmarksDto.prototype, "types", void 0);
55
- //# sourceMappingURL=browse.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"browse.dto.js","sourceRoot":"","sources":["../../src/dtos/browse.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,oCAA8C;AAE9C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAGb,MAAM,CAAW;IAGjB,OAAO,CAAW;IAIlB,KAAK,CAAa;IAIlB,IAAI,CAAW;CACf;AAnBD,0CAmBC;AAfA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAGb;IADC,IAAA,4BAAU,GAAE;;+CACI;AAGjB;IADC,IAAA,4BAAU,GAAE;;gDACK;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;8CACC;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;6CACF;AAGhB,MAAa,kBAAkB;IAI9B,KAAK,CAAa;CAClB;AALD,gDAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACf"}
@@ -1,3 +0,0 @@
1
- export declare class SortDto {
2
- ids: number[];
3
- }
@@ -1,22 +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.SortDto = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class SortDto {
15
- ids;
16
- }
17
- exports.SortDto = SortDto;
18
- __decorate([
19
- (0, class_validator_1.IsNotEmpty)(),
20
- __metadata("design:type", Array)
21
- ], SortDto.prototype, "ids", void 0);
22
- //# sourceMappingURL=bulk.dto.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bulk.dto.js","sourceRoot":"","sources":["../../src/dtos/bulk.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAE7C,MAAa,OAAO;IAGnB,GAAG,CAAW;CACd;AAJD,0BAIC;AADA;IADC,IAAA,4BAAU,GAAE;;oCACC"}
@@ -1,7 +0,0 @@
1
- export declare class CategoryDto {
2
- title: string;
3
- description: string;
4
- }
5
- export declare class CategoryHashDto {
6
- hash: string;
7
- }
@@ -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
- }