@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.
- package/lib/chart/chart.dto.d.ts +16 -0
- package/lib/chart/chart.dto.js +87 -0
- package/lib/chart/chart.dto.js.map +1 -0
- package/lib/chart/chart.interface.d.ts +14 -0
- package/lib/{models/pagination.js → chart/chart.interface.js} +1 -1
- package/lib/chart/chart.interface.js.map +1 -0
- package/lib/chart/chart.model.d.ts +8 -0
- package/lib/{models/token.js → chart/chart.model.js} +1 -1
- package/lib/chart/chart.model.js.map +1 -0
- package/lib/chart/chart.types.d.ts +6 -0
- package/lib/chart/chart.types.js +11 -0
- package/lib/chart/chart.types.js.map +1 -0
- package/lib/chart/index.d.ts +4 -0
- package/lib/{helpers → chart}/index.js +4 -2
- package/lib/chart/index.js.map +1 -0
- package/lib/feedback/feedback.model.d.ts +2 -0
- package/lib/feedback/feedback.model.js +9 -0
- package/lib/feedback/feedback.model.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/publisher/publisher.model.d.ts +2 -0
- package/lib/publisher/publisher.model.js +9 -0
- package/lib/publisher/publisher.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/lib/author/author.sort.d.ts +0 -7
- package/lib/author/author.sort.js +0 -12
- package/lib/author/author.sort.js.map +0 -1
- package/lib/common/browse.dto.d.ts +0 -9
- package/lib/common/browse.dto.js +0 -47
- package/lib/common/browse.dto.js.map +0 -1
- package/lib/dtos/asset.dto.d.ts +0 -14
- package/lib/dtos/asset.dto.js +0 -70
- package/lib/dtos/asset.dto.js.map +0 -1
- package/lib/dtos/auth.dto.d.ts +0 -39
- package/lib/dtos/auth.dto.js +0 -162
- package/lib/dtos/auth.dto.js.map +0 -1
- package/lib/dtos/author.dto.d.ts +0 -14
- package/lib/dtos/author.dto.js +0 -57
- package/lib/dtos/author.dto.js.map +0 -1
- package/lib/dtos/boost.dto.d.ts +0 -5
- package/lib/dtos/boost.dto.js +0 -38
- package/lib/dtos/boost.dto.js.map +0 -1
- package/lib/dtos/brand.dto.d.ts +0 -6
- package/lib/dtos/brand.dto.js +0 -41
- package/lib/dtos/brand.dto.js.map +0 -1
- package/lib/dtos/browse.dto.d.ts +0 -11
- package/lib/dtos/browse.dto.js +0 -55
- package/lib/dtos/browse.dto.js.map +0 -1
- package/lib/dtos/bulk.dto.d.ts +0 -3
- package/lib/dtos/bulk.dto.js +0 -22
- package/lib/dtos/bulk.dto.js.map +0 -1
- package/lib/dtos/category.dto.d.ts +0 -7
- package/lib/dtos/category.dto.js +0 -38
- package/lib/dtos/category.dto.js.map +0 -1
- package/lib/dtos/contact.dto.d.ts +0 -5
- package/lib/dtos/contact.dto.js +0 -35
- package/lib/dtos/contact.dto.js.map +0 -1
- package/lib/dtos/feedback.dto.d.ts +0 -9
- package/lib/dtos/feedback.dto.js +0 -47
- package/lib/dtos/feedback.dto.js.map +0 -1
- package/lib/dtos/general.dto.d.ts +0 -25
- package/lib/dtos/general.dto.js +0 -94
- package/lib/dtos/general.dto.js.map +0 -1
- package/lib/dtos/index.d.ts +0 -15
- package/lib/dtos/index.js +0 -32
- package/lib/dtos/index.js.map +0 -1
- package/lib/dtos/notification.d.ts +0 -4
- package/lib/dtos/notification.dto.d.ts +0 -4
- package/lib/dtos/notification.dto.js +0 -29
- package/lib/dtos/notification.dto.js.map +0 -1
- package/lib/dtos/notification.js +0 -29
- package/lib/dtos/notification.js.map +0 -1
- package/lib/dtos/post.dto.d.ts +0 -25
- package/lib/dtos/post.dto.js +0 -118
- package/lib/dtos/post.dto.js.map +0 -1
- package/lib/dtos/promotion.dto.d.ts +0 -5
- package/lib/dtos/promotion.dto.js +0 -38
- package/lib/dtos/promotion.dto.js.map +0 -1
- package/lib/dtos/publisher.dto.d.ts +0 -8
- package/lib/dtos/publisher.dto.js +0 -39
- package/lib/dtos/publisher.dto.js.map +0 -1
- package/lib/dtos/question.dto.d.ts +0 -15
- package/lib/dtos/question.dto.js +0 -86
- package/lib/dtos/question.dto.js.map +0 -1
- package/lib/dtos/search.dto.d.ts +0 -12
- package/lib/dtos/search.dto.js +0 -72
- package/lib/dtos/search.dto.js.map +0 -1
- package/lib/dtos/survey.dto.d.ts +0 -9
- package/lib/dtos/survey.dto.js +0 -54
- package/lib/dtos/survey.dto.js.map +0 -1
- package/lib/dtos/topic.dto.d.ts +0 -12
- package/lib/dtos/topic.dto.js +0 -50
- package/lib/dtos/topic.dto.js.map +0 -1
- package/lib/dtos/user.dto.d.ts +0 -24
- package/lib/dtos/user.dto.js +0 -99
- package/lib/dtos/user.dto.js.map +0 -1
- package/lib/enums/account.enum.d.ts +0 -11
- package/lib/enums/account.enum.js +0 -17
- package/lib/enums/account.enum.js.map +0 -1
- package/lib/enums/asset.enum.d.ts +0 -7
- package/lib/enums/asset.enum.js +0 -12
- package/lib/enums/asset.enum.js.map +0 -1
- package/lib/enums/color.enum.d.ts +0 -30
- package/lib/enums/color.enum.js +0 -37
- package/lib/enums/color.enum.js.map +0 -1
- package/lib/enums/feed.enum.d.ts +0 -5
- package/lib/enums/feed.enum.js +0 -10
- package/lib/enums/feed.enum.js.map +0 -1
- package/lib/enums/index.d.ts +0 -13
- package/lib/enums/index.js +0 -30
- package/lib/enums/index.js.map +0 -1
- package/lib/enums/module.enum.d.ts +0 -28
- package/lib/enums/module.enum.js +0 -34
- package/lib/enums/module.enum.js.map +0 -1
- package/lib/enums/notification.enum.d.ts +0 -12
- package/lib/enums/notification.enum.js +0 -18
- package/lib/enums/notification.enum.js.map +0 -1
- package/lib/enums/popularity.enum.d.ts +0 -8
- package/lib/enums/popularity.enum.js +0 -13
- package/lib/enums/popularity.enum.js.map +0 -1
- package/lib/enums/post.enum.d.ts +0 -8
- package/lib/enums/post.enum.js +0 -13
- package/lib/enums/post.enum.js.map +0 -1
- package/lib/enums/setting.enum.d.ts +0 -10
- package/lib/enums/setting.enum.js +0 -15
- package/lib/enums/setting.enum.js.map +0 -1
- package/lib/enums/social.enum.d.ts +0 -14
- package/lib/enums/social.enum.js +0 -20
- package/lib/enums/social.enum.js.map +0 -1
- package/lib/enums/sort.enum.d.ts +0 -21
- package/lib/enums/sort.enum.js +0 -28
- package/lib/enums/sort.enum.js.map +0 -1
- package/lib/enums/status.enum.d.ts +0 -13
- package/lib/enums/status.enum.js +0 -19
- package/lib/enums/status.enum.js.map +0 -1
- package/lib/enums/survey.enum.d.ts +0 -6
- package/lib/enums/survey.enum.js +0 -11
- package/lib/enums/survey.enum.js.map +0 -1
- package/lib/enums/tracks.enum.d.ts +0 -38
- package/lib/enums/tracks.enum.js +0 -46
- package/lib/enums/tracks.enum.js.map +0 -1
- package/lib/enums/verification.enum.d.ts +0 -5
- package/lib/enums/verification.enum.js +0 -10
- package/lib/enums/verification.enum.js.map +0 -1
- package/lib/helpers/index.d.ts +0 -2
- package/lib/helpers/index.js.map +0 -1
- package/lib/helpers/popularity.helper.d.ts +0 -2
- package/lib/helpers/popularity.helper.js +0 -58
- package/lib/helpers/popularity.helper.js.map +0 -1
- package/lib/helpers/post.helper.d.ts +0 -2
- package/lib/helpers/post.helper.js +0 -22
- package/lib/helpers/post.helper.js.map +0 -1
- package/lib/metric/metric.interface.d.ts +0 -11
- package/lib/metric/metric.interface.js +0 -3
- package/lib/metric/metric.interface.js.map +0 -1
- package/lib/models/asset.d.ts +0 -10
- package/lib/models/asset.js +0 -54
- package/lib/models/asset.js.map +0 -1
- package/lib/models/author.d.ts +0 -16
- package/lib/models/author.js +0 -83
- package/lib/models/author.js.map +0 -1
- package/lib/models/boost.d.ts +0 -14
- package/lib/models/boost.js +0 -73
- package/lib/models/boost.js.map +0 -1
- package/lib/models/brand.d.ts +0 -38
- package/lib/models/brand.js +0 -241
- package/lib/models/brand.js.map +0 -1
- package/lib/models/category.d.ts +0 -13
- package/lib/models/category.js +0 -69
- package/lib/models/category.js.map +0 -1
- package/lib/models/collection.d.ts +0 -14
- package/lib/models/collection.js +0 -65
- package/lib/models/collection.js.map +0 -1
- package/lib/models/feedback.d.ts +0 -38
- package/lib/models/feedback.js +0 -157
- package/lib/models/feedback.js.map +0 -1
- package/lib/models/gallery.d.ts +0 -6
- package/lib/models/gallery.js +0 -36
- package/lib/models/gallery.js.map +0 -1
- package/lib/models/index.d.ts +0 -23
- package/lib/models/index.js +0 -40
- package/lib/models/index.js.map +0 -1
- package/lib/models/item.d.ts +0 -14
- package/lib/models/item.js +0 -37
- package/lib/models/item.js.map +0 -1
- package/lib/models/link.d.ts +0 -16
- package/lib/models/link.js +0 -35
- package/lib/models/link.js.map +0 -1
- package/lib/models/log.d.ts +0 -11
- package/lib/models/log.js +0 -16
- package/lib/models/log.js.map +0 -1
- package/lib/models/metric.d.ts +0 -20
- package/lib/models/metric.js +0 -186
- package/lib/models/metric.js.map +0 -1
- package/lib/models/notification.d.ts +0 -14
- package/lib/models/notification.js +0 -64
- package/lib/models/notification.js.map +0 -1
- package/lib/models/pagination.d.ts +0 -17
- package/lib/models/pagination.js.map +0 -1
- package/lib/models/post.d.ts +0 -88
- package/lib/models/post.js +0 -466
- package/lib/models/post.js.map +0 -1
- package/lib/models/promotion.d.ts +0 -21
- package/lib/models/promotion.js +0 -108
- package/lib/models/promotion.js.map +0 -1
- package/lib/models/publisher.d.ts +0 -25
- package/lib/models/publisher.js +0 -118
- package/lib/models/publisher.js.map +0 -1
- package/lib/models/question.d.ts +0 -47
- package/lib/models/question.js +0 -238
- package/lib/models/question.js.map +0 -1
- package/lib/models/quote.d.ts +0 -5
- package/lib/models/quote.js +0 -31
- package/lib/models/quote.js.map +0 -1
- package/lib/models/response.d.ts +0 -6
- package/lib/models/response.js +0 -3
- package/lib/models/response.js.map +0 -1
- package/lib/models/share.d.ts +0 -6
- package/lib/models/share.js +0 -3
- package/lib/models/share.js.map +0 -1
- package/lib/models/survey.d.ts +0 -43
- package/lib/models/survey.js +0 -214
- package/lib/models/survey.js.map +0 -1
- package/lib/models/token.d.ts +0 -7
- package/lib/models/token.js.map +0 -1
- package/lib/models/topic.d.ts +0 -17
- package/lib/models/topic.js +0 -90
- package/lib/models/topic.js.map +0 -1
- package/lib/models/user.d.ts +0 -49
- package/lib/models/user.js +0 -258
- package/lib/models/user.js.map +0 -1
- package/lib/survey/survey.event.d.ts +0 -5
- package/lib/survey/survey.event.js +0 -10
- package/lib/survey/survey.event.js.map +0 -1
package/lib/dtos/auth.dto.js
DELETED
@@ -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
|
package/lib/dtos/auth.dto.js.map
DELETED
@@ -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"}
|
package/lib/dtos/author.dto.d.ts
DELETED
@@ -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
|
-
}
|
package/lib/dtos/author.dto.js
DELETED
@@ -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"}
|
package/lib/dtos/boost.dto.d.ts
DELETED
package/lib/dtos/boost.dto.js
DELETED
@@ -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"}
|
package/lib/dtos/brand.dto.d.ts
DELETED
package/lib/dtos/brand.dto.js
DELETED
@@ -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"}
|
package/lib/dtos/browse.dto.d.ts
DELETED
package/lib/dtos/browse.dto.js
DELETED
@@ -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"}
|
package/lib/dtos/bulk.dto.d.ts
DELETED
package/lib/dtos/bulk.dto.js
DELETED
@@ -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
|
package/lib/dtos/bulk.dto.js.map
DELETED
@@ -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"}
|
package/lib/dtos/category.dto.js
DELETED
@@ -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"}
|
package/lib/dtos/contact.dto.js
DELETED
@@ -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"}
|
package/lib/dtos/feedback.dto.js
DELETED
@@ -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
|
-
}
|