@intelact/bright 0.6.0 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/dtos/asset.dto.js +3 -3
- package/lib/dtos/asset.dto.js.map +1 -1
- package/lib/dtos/auth.dto.js +4 -4
- package/lib/dtos/auth.dto.js.map +1 -1
- package/lib/dtos/author.dto.js +4 -4
- package/lib/dtos/author.dto.js.map +1 -1
- package/lib/dtos/boost.dto.js +3 -3
- package/lib/dtos/boost.dto.js.map +1 -1
- package/lib/dtos/brand.dto.js +2 -2
- package/lib/dtos/brand.dto.js.map +1 -1
- package/lib/dtos/browse.dto.js +1 -1
- package/lib/dtos/browse.dto.js.map +1 -1
- package/lib/dtos/category.dto.js +2 -2
- package/lib/dtos/category.dto.js.map +1 -1
- package/lib/dtos/contact.dto.js +1 -1
- package/lib/dtos/contact.dto.js.map +1 -1
- package/lib/dtos/feedback.dto.js +3 -3
- package/lib/dtos/feedback.dto.js.map +1 -1
- package/lib/dtos/index.d.ts +1 -0
- package/lib/dtos/index.js +6 -1
- package/lib/dtos/index.js.map +1 -1
- package/lib/dtos/notification.d.ts +4 -0
- package/lib/dtos/notification.js +29 -0
- package/lib/dtos/notification.js.map +1 -0
- package/lib/dtos/post.dto.js +10 -10
- package/lib/dtos/post.dto.js.map +1 -1
- package/lib/dtos/promotion.dto.js +5 -5
- package/lib/dtos/promotion.dto.js.map +1 -1
- package/lib/dtos/publisher.dto.js +5 -5
- package/lib/dtos/publisher.dto.js.map +1 -1
- package/lib/dtos/question.dto.js +6 -6
- package/lib/dtos/question.dto.js.map +1 -1
- package/lib/dtos/survey.dto.js +11 -11
- package/lib/dtos/survey.dto.js.map +1 -1
- package/lib/dtos/topic.dto.js +2 -2
- package/lib/dtos/topic.dto.js.map +1 -1
- package/lib/enums/account.enum.js +2 -2
- package/lib/enums/account.enum.js.map +1 -1
- package/lib/enums/asset.enum.js +2 -2
- package/lib/enums/asset.enum.js.map +1 -1
- package/lib/enums/color.enum.js +3 -3
- package/lib/enums/color.enum.js.map +1 -1
- package/lib/enums/index.js +5 -1
- package/lib/enums/index.js.map +1 -1
- package/lib/enums/module.enum.js +2 -2
- package/lib/enums/module.enum.js.map +1 -1
- package/lib/enums/notification.enum.js +2 -2
- package/lib/enums/notification.enum.js.map +1 -1
- package/lib/enums/post.enum.js +1 -1
- package/lib/enums/post.enum.js.map +1 -1
- package/lib/enums/setting.enum.js +1 -1
- package/lib/enums/setting.enum.js.map +1 -1
- package/lib/enums/social.enum.js +2 -2
- package/lib/enums/social.enum.js.map +1 -1
- package/lib/enums/sort.enum.js +2 -2
- package/lib/enums/sort.enum.js.map +1 -1
- package/lib/enums/status.enum.js +1 -1
- package/lib/enums/status.enum.js.map +1 -1
- package/lib/enums/tracks.enum.js +3 -3
- package/lib/enums/tracks.enum.js.map +1 -1
- package/lib/enums/verification.enum.js +1 -1
- package/lib/enums/verification.enum.js.map +1 -1
- package/lib/index.js +5 -1
- package/lib/index.js.map +1 -1
- package/lib/mock/index.js +5 -1
- package/lib/mock/index.js.map +1 -1
- package/lib/models/brand.d.ts +7 -3
- package/lib/models/brand.js +3 -0
- package/lib/models/brand.js.map +1 -1
- package/lib/models/gallery.d.ts +1 -0
- package/lib/models/gallery.js +3 -0
- package/lib/models/gallery.js.map +1 -1
- package/lib/models/index.js +5 -1
- package/lib/models/index.js.map +1 -1
- package/lib/security/index.js +5 -1
- package/lib/security/index.js.map +1 -1
- package/lib/security/permissions.js +1 -1
- package/lib/security/permissions.js.map +1 -1
- package/lib/security/role.js +1 -1
- package/lib/security/role.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
package/lib/dtos/asset.dto.js
CHANGED
@@ -16,6 +16,7 @@ class AssetParamsDto {
|
|
16
16
|
type;
|
17
17
|
term;
|
18
18
|
}
|
19
|
+
exports.AssetParamsDto = AssetParamsDto;
|
19
20
|
__decorate([
|
20
21
|
(0, class_validator_1.IsNotEmpty)(),
|
21
22
|
(0, class_validator_1.IsEnum)(enums_1.AssetType),
|
@@ -26,12 +27,12 @@ __decorate([
|
|
26
27
|
(0, class_validator_1.IsString)(),
|
27
28
|
__metadata("design:type", String)
|
28
29
|
], AssetParamsDto.prototype, "term", void 0);
|
29
|
-
exports.AssetParamsDto = AssetParamsDto;
|
30
30
|
class CreateAssetDto {
|
31
31
|
title;
|
32
32
|
assetType;
|
33
33
|
tags;
|
34
34
|
}
|
35
|
+
exports.CreateAssetDto = CreateAssetDto;
|
35
36
|
__decorate([
|
36
37
|
(0, class_validator_1.IsNotEmpty)(),
|
37
38
|
(0, class_validator_1.IsString)(),
|
@@ -49,11 +50,11 @@ __decorate([
|
|
49
50
|
(0, class_validator_1.MaxLength)(255),
|
50
51
|
__metadata("design:type", String)
|
51
52
|
], CreateAssetDto.prototype, "tags", void 0);
|
52
|
-
exports.CreateAssetDto = CreateAssetDto;
|
53
53
|
class UpdateAssetDto {
|
54
54
|
title;
|
55
55
|
tags;
|
56
56
|
}
|
57
|
+
exports.UpdateAssetDto = UpdateAssetDto;
|
57
58
|
__decorate([
|
58
59
|
(0, class_validator_1.IsNotEmpty)(),
|
59
60
|
(0, class_validator_1.IsString)(),
|
@@ -66,5 +67,4 @@ __decorate([
|
|
66
67
|
(0, class_validator_1.MaxLength)(255),
|
67
68
|
__metadata("design:type", String)
|
68
69
|
], UpdateAssetDto.prototype, "tags", void 0);
|
69
|
-
exports.UpdateAssetDto = UpdateAssetDto;
|
70
70
|
//# sourceMappingURL=asset.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"asset.dto.js","sourceRoot":"","sources":["../../src/dtos/asset.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAqC;AACrC,qDAAsF;AAEtF,MAAa,cAAc;IAI1B,IAAI,CAAY;IAIhB,IAAI,CAAS;CACb;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iBAAS,CAAC;;4CACF;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE;
|
1
|
+
{"version":3,"file":"asset.dto.js","sourceRoot":"","sources":["../../src/dtos/asset.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAqC;AACrC,qDAAsF;AAEtF,MAAa,cAAc;IAI1B,IAAI,CAAY;IAIhB,IAAI,CAAS;CACb;AATD,wCASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iBAAS,CAAC;;4CACF;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE;AAGd,MAAa,cAAc;IAK1B,KAAK,CAAS;IAId,SAAS,CAAY;IAKrB,IAAI,CAAS;CACb;AAfD,wCAeC;AAVA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;6CACD;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iBAAS,CAAC;;iDACG;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;4CACF;AAGd,MAAa,cAAc;IAK1B,KAAK,CAAS;IAKd,IAAI,CAAS;CACb;AAXD,wCAWC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;6CACD;AAKd;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;4CACF"}
|
package/lib/dtos/auth.dto.js
CHANGED
@@ -21,6 +21,7 @@ class SocialUserDto {
|
|
21
21
|
provider;
|
22
22
|
device;
|
23
23
|
}
|
24
|
+
exports.SocialUserDto = SocialUserDto;
|
24
25
|
__decorate([
|
25
26
|
(0, class_validator_1.IsNotEmpty)(),
|
26
27
|
(0, class_validator_1.IsString)(),
|
@@ -55,12 +56,12 @@ __decorate([
|
|
55
56
|
(0, class_validator_1.IsOptional)(),
|
56
57
|
__metadata("design:type", Object)
|
57
58
|
], SocialUserDto.prototype, "device", void 0);
|
58
|
-
exports.SocialUserDto = SocialUserDto;
|
59
59
|
class SigninDto {
|
60
60
|
email;
|
61
61
|
password;
|
62
62
|
device;
|
63
63
|
}
|
64
|
+
exports.SigninDto = SigninDto;
|
64
65
|
__decorate([
|
65
66
|
(0, class_validator_1.IsNotEmpty)(),
|
66
67
|
(0, class_validator_1.IsEmail)(),
|
@@ -75,7 +76,6 @@ __decorate([
|
|
75
76
|
(0, class_validator_1.IsOptional)(),
|
76
77
|
__metadata("design:type", Object)
|
77
78
|
], SigninDto.prototype, "device", void 0);
|
78
|
-
exports.SigninDto = SigninDto;
|
79
79
|
class SignupDto {
|
80
80
|
token;
|
81
81
|
name;
|
@@ -83,6 +83,7 @@ class SignupDto {
|
|
83
83
|
image;
|
84
84
|
phone;
|
85
85
|
}
|
86
|
+
exports.SignupDto = SignupDto;
|
86
87
|
__decorate([
|
87
88
|
(0, class_validator_1.IsNotEmpty)(),
|
88
89
|
(0, class_validator_1.IsString)(),
|
@@ -108,11 +109,11 @@ __decorate([
|
|
108
109
|
(0, class_validator_1.IsString)(),
|
109
110
|
__metadata("design:type", String)
|
110
111
|
], SignupDto.prototype, "phone", void 0);
|
111
|
-
exports.SignupDto = SignupDto;
|
112
112
|
class PasswordUserDto {
|
113
113
|
name;
|
114
114
|
email;
|
115
115
|
}
|
116
|
+
exports.PasswordUserDto = PasswordUserDto;
|
116
117
|
__decorate([
|
117
118
|
(0, class_validator_1.IsNotEmpty)(),
|
118
119
|
(0, class_validator_1.IsString)(),
|
@@ -123,5 +124,4 @@ __decorate([
|
|
123
124
|
(0, class_validator_1.IsEmail)(),
|
124
125
|
__metadata("design:type", String)
|
125
126
|
], PasswordUserDto.prototype, "email", void 0);
|
126
|
-
exports.PasswordUserDto = PasswordUserDto;
|
127
127
|
//# sourceMappingURL=auth.dto.js.map
|
package/lib/dtos/auth.dto.js.map
CHANGED
@@ -1 +1 @@
|
|
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;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;
|
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;I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,7 @@ class AuthorParamsDto {
|
|
16
16
|
term;
|
17
17
|
sort;
|
18
18
|
}
|
19
|
+
exports.AuthorParamsDto = AuthorParamsDto;
|
19
20
|
__decorate([
|
20
21
|
(0, class_validator_1.IsOptional)(),
|
21
22
|
(0, class_validator_1.IsString)(),
|
@@ -26,32 +27,31 @@ __decorate([
|
|
26
27
|
(0, class_validator_1.IsEnum)(enums_1.AuthorSortType),
|
27
28
|
__metadata("design:type", String)
|
28
29
|
], AuthorParamsDto.prototype, "sort", void 0);
|
29
|
-
exports.AuthorParamsDto = AuthorParamsDto;
|
30
30
|
class CreateAuthorDto {
|
31
31
|
name;
|
32
32
|
}
|
33
|
+
exports.CreateAuthorDto = CreateAuthorDto;
|
33
34
|
__decorate([
|
34
35
|
(0, class_validator_1.IsNotEmpty)(),
|
35
36
|
(0, class_validator_1.IsString)(),
|
36
37
|
__metadata("design:type", String)
|
37
38
|
], CreateAuthorDto.prototype, "name", void 0);
|
38
|
-
exports.CreateAuthorDto = CreateAuthorDto;
|
39
39
|
class UpdateAuthorNameDto {
|
40
40
|
name;
|
41
41
|
}
|
42
|
+
exports.UpdateAuthorNameDto = UpdateAuthorNameDto;
|
42
43
|
__decorate([
|
43
44
|
(0, class_validator_1.IsNotEmpty)(),
|
44
45
|
(0, class_validator_1.IsString)(),
|
45
46
|
__metadata("design:type", String)
|
46
47
|
], UpdateAuthorNameDto.prototype, "name", void 0);
|
47
|
-
exports.UpdateAuthorNameDto = UpdateAuthorNameDto;
|
48
48
|
class UpdateAuthorBiographyDto {
|
49
49
|
biography;
|
50
50
|
}
|
51
|
+
exports.UpdateAuthorBiographyDto = UpdateAuthorBiographyDto;
|
51
52
|
__decorate([
|
52
53
|
(0, class_validator_1.IsOptional)(),
|
53
54
|
(0, class_validator_1.IsString)(),
|
54
55
|
__metadata("design:type", String)
|
55
56
|
], UpdateAuthorBiographyDto.prototype, "biography", void 0);
|
56
|
-
exports.UpdateAuthorBiographyDto = UpdateAuthorBiographyDto;
|
57
57
|
//# sourceMappingURL=author.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"author.dto.js","sourceRoot":"","sources":["../../src/dtos/author.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,oCAA0C;AAE1C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,IAAI,CAAiB;CACrB;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,sBAAc,CAAC;;6CACF;
|
1
|
+
{"version":3,"file":"author.dto.js","sourceRoot":"","sources":["../../src/dtos/author.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2E;AAC3E,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,mBAAmB;IAG/B,IAAI,CAAS;CACb;AAJD,kDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACE;AAGd,MAAa,wBAAwB;IAIpC,SAAS,CAAS;CAClB;AALD,4DAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACO"}
|
package/lib/dtos/boost.dto.js
CHANGED
@@ -17,6 +17,7 @@ class CreateBoostDto {
|
|
17
17
|
startDate;
|
18
18
|
endDate;
|
19
19
|
}
|
20
|
+
exports.CreateBoostDto = CreateBoostDto;
|
20
21
|
__decorate([
|
21
22
|
(0, class_validator_1.IsNotEmpty)(),
|
22
23
|
(0, class_validator_1.IsString)(),
|
@@ -34,21 +35,21 @@ __decorate([
|
|
34
35
|
(0, class_validator_1.IsDate)(),
|
35
36
|
__metadata("design:type", Date)
|
36
37
|
], CreateBoostDto.prototype, "endDate", void 0);
|
37
|
-
exports.CreateBoostDto = CreateBoostDto;
|
38
38
|
class UpdateBoostTitleDto {
|
39
39
|
title;
|
40
40
|
}
|
41
|
+
exports.UpdateBoostTitleDto = UpdateBoostTitleDto;
|
41
42
|
__decorate([
|
42
43
|
(0, class_validator_1.IsNotEmpty)(),
|
43
44
|
(0, class_validator_1.IsString)(),
|
44
45
|
(0, class_validator_1.MaxLength)(255),
|
45
46
|
__metadata("design:type", String)
|
46
47
|
], UpdateBoostTitleDto.prototype, "title", void 0);
|
47
|
-
exports.UpdateBoostTitleDto = UpdateBoostTitleDto;
|
48
48
|
class UpdateBoostPeriodDto {
|
49
49
|
startDate;
|
50
50
|
endDate;
|
51
51
|
}
|
52
|
+
exports.UpdateBoostPeriodDto = UpdateBoostPeriodDto;
|
52
53
|
__decorate([
|
53
54
|
(0, class_validator_1.IsNotEmpty)(),
|
54
55
|
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
@@ -61,5 +62,4 @@ __decorate([
|
|
61
62
|
(0, class_validator_1.IsDate)(),
|
62
63
|
__metadata("design:type", Date)
|
63
64
|
], UpdateBoostPeriodDto.prototype, "endDate", void 0);
|
64
|
-
exports.UpdateBoostPeriodDto = UpdateBoostPeriodDto;
|
65
65
|
//# sourceMappingURL=boost.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"boost.dto.js","sourceRoot":"","sources":["../../src/dtos/boost.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA8C;AAC9C,qDAA0E;AAE1E,MAAa,cAAc;IAI1B,KAAK,CAAS;IAKd,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;A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;CACd;AALD,kDAKC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;kDACD;AAGf,MAAa,oBAAoB;IAIhC,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAVD,oDAUC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;uDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACA,IAAI;qDAAC"}
|
package/lib/dtos/brand.dto.js
CHANGED
@@ -16,6 +16,7 @@ class InviteBrandUserDto {
|
|
16
16
|
email;
|
17
17
|
permissions;
|
18
18
|
}
|
19
|
+
exports.InviteBrandUserDto = InviteBrandUserDto;
|
19
20
|
__decorate([
|
20
21
|
(0, class_validator_1.IsNotEmpty)(),
|
21
22
|
(0, class_validator_1.IsEmail)(),
|
@@ -26,14 +27,13 @@ __decorate([
|
|
26
27
|
(0, class_validator_1.IsEnum)({ each: true }),
|
27
28
|
__metadata("design:type", Array)
|
28
29
|
], InviteBrandUserDto.prototype, "permissions", void 0);
|
29
|
-
exports.InviteBrandUserDto = InviteBrandUserDto;
|
30
30
|
class ChangeUserStatusDto {
|
31
31
|
status;
|
32
32
|
}
|
33
|
+
exports.ChangeUserStatusDto = ChangeUserStatusDto;
|
33
34
|
__decorate([
|
34
35
|
(0, class_validator_1.IsNotEmpty)(),
|
35
36
|
(0, class_validator_1.IsEnum)(enums_1.AccountStatusType),
|
36
37
|
__metadata("design:type", String)
|
37
38
|
], ChangeUserStatusDto.prototype, "status", void 0);
|
38
|
-
exports.ChangeUserStatusDto = ChangeUserStatusDto;
|
39
39
|
//# sourceMappingURL=brand.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"brand.dto.js","sourceRoot":"","sources":["../../src/dtos/brand.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAC9D,oCAA6C;AAG7C,MAAa,kBAAkB;IAI3B,KAAK,CAAS;IAId,WAAW,CAAe;CAC7B;AALG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACG;
|
1
|
+
{"version":3,"file":"brand.dto.js","sourceRoot":"","sources":["../../src/dtos/brand.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAC9D,oCAA6C;AAG7C,MAAa,kBAAkB;IAI3B,KAAK,CAAS;IAId,WAAW,CAAe;CAC7B;AATD,gDASC;AALG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACG;AAG9B,MAAa,mBAAmB;IAI5B,MAAM,CAAoB;CAC7B;AALD,kDAKC;AADG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,yBAAiB,CAAC;;mDACA"}
|
package/lib/dtos/browse.dto.js
CHANGED
@@ -19,6 +19,7 @@ class BrowseParamsDto {
|
|
19
19
|
types;
|
20
20
|
sort;
|
21
21
|
}
|
22
|
+
exports.BrowseParamsDto = BrowseParamsDto;
|
22
23
|
__decorate([
|
23
24
|
(0, class_validator_1.IsOptional)(),
|
24
25
|
(0, class_validator_1.IsString)(),
|
@@ -44,5 +45,4 @@ __decorate([
|
|
44
45
|
(0, class_validator_1.IsEnum)(enums_1.SortType),
|
45
46
|
__metadata("design:type", String)
|
46
47
|
], BrowseParamsDto.prototype, "sort", void 0);
|
47
|
-
exports.BrowseParamsDto = BrowseParamsDto;
|
48
48
|
//# sourceMappingURL=browse.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"browse.dto.js","sourceRoot":"","sources":["../../src/dtos/browse.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AACxE,oCAA8C;AAE9C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,MAAM,CAAW;IAIjB,OAAO,CAAW;IAIlB,KAAK,CAAa;IAIlB,IAAI,CAAW;CACf;AAjBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACO;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;gDACQ;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;8CACC;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;6CACF
|
1
|
+
{"version":3,"file":"browse.dto.js","sourceRoot":"","sources":["../../src/dtos/browse.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AACxE,oCAA8C;AAE9C,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,MAAM,CAAW;IAIjB,OAAO,CAAW;IAIlB,KAAK,CAAa;IAIlB,IAAI,CAAW;CACf;AArBD,0CAqBC;AAjBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACO;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;gDACQ;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;8CACC;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;6CACF"}
|
package/lib/dtos/category.dto.js
CHANGED
@@ -15,6 +15,7 @@ class SubmitCategoryDto {
|
|
15
15
|
title;
|
16
16
|
description;
|
17
17
|
}
|
18
|
+
exports.SubmitCategoryDto = SubmitCategoryDto;
|
18
19
|
__decorate([
|
19
20
|
(0, class_validator_1.IsNotEmpty)(),
|
20
21
|
(0, class_validator_1.IsString)(),
|
@@ -25,13 +26,12 @@ __decorate([
|
|
25
26
|
(0, class_validator_1.IsString)(),
|
26
27
|
__metadata("design:type", String)
|
27
28
|
], SubmitCategoryDto.prototype, "description", void 0);
|
28
|
-
exports.SubmitCategoryDto = SubmitCategoryDto;
|
29
29
|
class SortCategoriesDto {
|
30
30
|
ids;
|
31
31
|
}
|
32
|
+
exports.SortCategoriesDto = SortCategoriesDto;
|
32
33
|
__decorate([
|
33
34
|
(0, class_validator_1.IsNotEmpty)(),
|
34
35
|
__metadata("design:type", Array)
|
35
36
|
], SortCategoriesDto.prototype, "ids", void 0);
|
36
|
-
exports.SortCategoriesDto = SortCategoriesDto;
|
37
37
|
//# sourceMappingURL=category.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"category.dto.js","sourceRoot":"","sources":["../../src/dtos/category.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,iBAAiB;IAI7B,KAAK,CAAS;IAId,WAAW,CAAS;CACpB;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACS;
|
1
|
+
{"version":3,"file":"category.dto.js","sourceRoot":"","sources":["../../src/dtos/category.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmE;AAEnE,MAAa,iBAAiB;IAI7B,KAAK,CAAS;IAId,WAAW,CAAS;CACpB;AATD,8CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACS;AAGrB,MAAa,iBAAiB;IAE7B,GAAG,CAAW;CACd;AAHD,8CAGC;AADA;IADC,IAAA,4BAAU,GAAE;;8CACC"}
|
package/lib/dtos/contact.dto.js
CHANGED
@@ -16,6 +16,7 @@ class ContactEmailDto {
|
|
16
16
|
email;
|
17
17
|
message;
|
18
18
|
}
|
19
|
+
exports.ContactEmailDto = ContactEmailDto;
|
19
20
|
__decorate([
|
20
21
|
(0, class_validator_1.IsNotEmpty)(),
|
21
22
|
(0, class_validator_1.IsString)(),
|
@@ -31,5 +32,4 @@ __decorate([
|
|
31
32
|
(0, class_validator_1.IsString)(),
|
32
33
|
__metadata("design:type", String)
|
33
34
|
], ContactEmailDto.prototype, "message", void 0);
|
34
|
-
exports.ContactEmailDto = ContactEmailDto;
|
35
35
|
//# sourceMappingURL=contact.dto.js.map
|
@@ -1 +1 @@
|
|
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;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
|
+
{"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
CHANGED
@@ -16,6 +16,7 @@ class CreateFeedbackDto {
|
|
16
16
|
name;
|
17
17
|
postType;
|
18
18
|
}
|
19
|
+
exports.CreateFeedbackDto = CreateFeedbackDto;
|
19
20
|
__decorate([
|
20
21
|
(0, class_validator_1.IsNotEmpty)(),
|
21
22
|
(0, class_validator_1.IsString)(),
|
@@ -28,24 +29,23 @@ __decorate([
|
|
28
29
|
(0, class_validator_1.IsEnum)(enums_1.PostType),
|
29
30
|
__metadata("design:type", String)
|
30
31
|
], CreateFeedbackDto.prototype, "postType", void 0);
|
31
|
-
exports.CreateFeedbackDto = CreateFeedbackDto;
|
32
32
|
class UpdateFeedbackNameDto {
|
33
33
|
name;
|
34
34
|
}
|
35
|
+
exports.UpdateFeedbackNameDto = UpdateFeedbackNameDto;
|
35
36
|
__decorate([
|
36
37
|
(0, class_validator_1.IsOptional)(),
|
37
38
|
(0, class_validator_1.IsString)(),
|
38
39
|
(0, class_validator_1.MaxLength)(255),
|
39
40
|
__metadata("design:type", String)
|
40
41
|
], UpdateFeedbackNameDto.prototype, "name", void 0);
|
41
|
-
exports.UpdateFeedbackNameDto = UpdateFeedbackNameDto;
|
42
42
|
class UpdateFeedbackDescriptionDto {
|
43
43
|
description;
|
44
44
|
}
|
45
|
+
exports.UpdateFeedbackDescriptionDto = UpdateFeedbackDescriptionDto;
|
45
46
|
__decorate([
|
46
47
|
(0, class_validator_1.IsOptional)(),
|
47
48
|
(0, class_validator_1.IsString)(),
|
48
49
|
__metadata("design:type", String)
|
49
50
|
], UpdateFeedbackDescriptionDto.prototype, "description", void 0);
|
50
|
-
exports.UpdateFeedbackDescriptionDto = UpdateFeedbackDescriptionDto;
|
51
51
|
//# sourceMappingURL=feedback.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"feedback.dto.js","sourceRoot":"","sources":["../../src/dtos/feedback.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsF;AACtF,oCAAoC;AAEpC,MAAa,iBAAiB;IAK7B,IAAI,CAAS;IAKb,QAAQ,CAAW;CACnB;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;+CACF;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;IAChB,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;mDACE;
|
1
|
+
{"version":3,"file":"feedback.dto.js","sourceRoot":"","sources":["../../src/dtos/feedback.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsF;AACtF,oCAAoC;AAEpC,MAAa,iBAAiB;IAK7B,IAAI,CAAS;IAKb,QAAQ,CAAW;CACnB;AAXD,8CAWC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;+CACF;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;IAChB,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;mDACE;AAGpB,MAAa,qBAAqB;IAKjC,IAAI,CAAS;CACb;AAND,sDAMC;AADA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,GAAG,CAAC;;mDACF;AAGd,MAAa,4BAA4B;IAGxC,WAAW,CAAS;CACpB;AAJD,oEAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iEACS"}
|
package/lib/dtos/index.d.ts
CHANGED
@@ -7,6 +7,7 @@ export * from './browse.dto';
|
|
7
7
|
export * from './category.dto';
|
8
8
|
export * from './contact.dto';
|
9
9
|
export * from './feedback.dto';
|
10
|
+
export * from './notification';
|
10
11
|
export * from './post.dto';
|
11
12
|
export * from './promotion.dto';
|
12
13
|
export * from './publisher.dto';
|
package/lib/dtos/index.js
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
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);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|
@@ -19,6 +23,7 @@ __exportStar(require("./browse.dto"), exports);
|
|
19
23
|
__exportStar(require("./category.dto"), exports);
|
20
24
|
__exportStar(require("./contact.dto"), exports);
|
21
25
|
__exportStar(require("./feedback.dto"), exports);
|
26
|
+
__exportStar(require("./notification"), exports);
|
22
27
|
__exportStar(require("./post.dto"), exports);
|
23
28
|
__exportStar(require("./promotion.dto"), exports);
|
24
29
|
__exportStar(require("./publisher.dto"), exports);
|
package/lib/dtos/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,6CAA2B;AAC3B,+CAA6B;AAC7B,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,iDAA+B;AAC/B,gDAA8B;AAC9B,iDAA+B;AAC/B,iDAA+B;AAC/B,6CAA2B;AAC3B,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B;AAC7B,8CAA4B"}
|
@@ -0,0 +1,29 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/dtos/notification.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,oBAAoB;IAGhC,KAAK,CAAQ;IAIb,UAAU,CAAQ;CAClB;AARD,oDAQC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO"}
|
package/lib/dtos/post.dto.js
CHANGED
@@ -20,6 +20,7 @@ class PostParamsDto {
|
|
20
20
|
topics;
|
21
21
|
authors;
|
22
22
|
}
|
23
|
+
exports.PostParamsDto = PostParamsDto;
|
23
24
|
__decorate([
|
24
25
|
(0, class_validator_1.IsNotEmpty)(),
|
25
26
|
(0, class_validator_1.IsEnum)(enums_1.PostType),
|
@@ -48,11 +49,11 @@ __decorate([
|
|
48
49
|
(0, class_validator_1.IsOptional)(),
|
49
50
|
__metadata("design:type", Array)
|
50
51
|
], PostParamsDto.prototype, "authors", void 0);
|
51
|
-
exports.PostParamsDto = PostParamsDto;
|
52
52
|
class CreatePostDto {
|
53
53
|
title;
|
54
54
|
type;
|
55
55
|
}
|
56
|
+
exports.CreatePostDto = CreatePostDto;
|
56
57
|
__decorate([
|
57
58
|
(0, class_validator_1.IsNotEmpty)(),
|
58
59
|
(0, class_validator_1.IsString)(),
|
@@ -63,77 +64,76 @@ __decorate([
|
|
63
64
|
(0, class_validator_1.IsEnum)(enums_1.PostType),
|
64
65
|
__metadata("design:type", String)
|
65
66
|
], CreatePostDto.prototype, "type", void 0);
|
66
|
-
exports.CreatePostDto = CreatePostDto;
|
67
67
|
class UpdatePostTitleDto {
|
68
68
|
title;
|
69
69
|
}
|
70
|
+
exports.UpdatePostTitleDto = UpdatePostTitleDto;
|
70
71
|
__decorate([
|
71
72
|
(0, class_validator_1.IsNotEmpty)(),
|
72
73
|
(0, class_validator_1.IsString)(),
|
73
74
|
__metadata("design:type", String)
|
74
75
|
], UpdatePostTitleDto.prototype, "title", void 0);
|
75
|
-
exports.UpdatePostTitleDto = UpdatePostTitleDto;
|
76
76
|
class UpdatePostAuthorDto {
|
77
77
|
author;
|
78
78
|
}
|
79
|
+
exports.UpdatePostAuthorDto = UpdatePostAuthorDto;
|
79
80
|
__decorate([
|
80
81
|
(0, class_validator_1.IsOptional)(),
|
81
82
|
(0, class_validator_1.IsNumber)(),
|
82
83
|
__metadata("design:type", Number)
|
83
84
|
], UpdatePostAuthorDto.prototype, "author", void 0);
|
84
|
-
exports.UpdatePostAuthorDto = UpdatePostAuthorDto;
|
85
85
|
class UpdatePostDescriptionDto {
|
86
86
|
description;
|
87
87
|
}
|
88
|
+
exports.UpdatePostDescriptionDto = UpdatePostDescriptionDto;
|
88
89
|
__decorate([
|
89
90
|
(0, class_validator_1.IsOptional)(),
|
90
91
|
(0, class_validator_1.IsString)(),
|
91
92
|
__metadata("design:type", String)
|
92
93
|
], UpdatePostDescriptionDto.prototype, "description", void 0);
|
93
|
-
exports.UpdatePostDescriptionDto = UpdatePostDescriptionDto;
|
94
94
|
class UpdatePostWeightDto {
|
95
95
|
weight;
|
96
96
|
}
|
97
|
+
exports.UpdatePostWeightDto = UpdatePostWeightDto;
|
97
98
|
__decorate([
|
98
99
|
(0, class_validator_1.IsNotEmpty)(),
|
99
100
|
(0, class_validator_1.IsNumber)(),
|
100
101
|
__metadata("design:type", Number)
|
101
102
|
], UpdatePostWeightDto.prototype, "weight", void 0);
|
102
|
-
exports.UpdatePostWeightDto = UpdatePostWeightDto;
|
103
103
|
class UpdatePostTopicDto {
|
104
104
|
topics;
|
105
105
|
}
|
106
|
+
exports.UpdatePostTopicDto = UpdatePostTopicDto;
|
106
107
|
__decorate([
|
107
108
|
(0, class_validator_1.IsNotEmpty)(),
|
108
109
|
(0, class_validator_1.IsNumber)({}, { each: true }),
|
109
110
|
__metadata("design:type", Array)
|
110
111
|
], UpdatePostTopicDto.prototype, "topics", void 0);
|
111
|
-
exports.UpdatePostTopicDto = UpdatePostTopicDto;
|
112
112
|
class UpdatePostContentDto {
|
113
113
|
content;
|
114
114
|
}
|
115
|
+
exports.UpdatePostContentDto = UpdatePostContentDto;
|
115
116
|
__decorate([
|
116
117
|
(0, class_validator_1.IsOptional)(),
|
117
118
|
(0, class_validator_1.IsString)(),
|
118
119
|
__metadata("design:type", String)
|
119
120
|
], UpdatePostContentDto.prototype, "content", void 0);
|
120
|
-
exports.UpdatePostContentDto = UpdatePostContentDto;
|
121
121
|
class UpdatePostInfoDto {
|
122
122
|
info;
|
123
123
|
}
|
124
|
+
exports.UpdatePostInfoDto = UpdatePostInfoDto;
|
124
125
|
__decorate([
|
125
126
|
(0, class_validator_1.IsOptional)(),
|
126
127
|
(0, class_validator_1.IsString)(),
|
127
128
|
(0, class_validator_1.IsJSON)(),
|
128
129
|
__metadata("design:type", Object)
|
129
130
|
], UpdatePostInfoDto.prototype, "info", void 0);
|
130
|
-
exports.UpdatePostInfoDto = UpdatePostInfoDto;
|
131
131
|
class SortPostGalleryDto {
|
132
132
|
ids;
|
133
133
|
}
|
134
|
+
exports.SortPostGalleryDto = SortPostGalleryDto;
|
134
135
|
__decorate([
|
135
136
|
(0, class_validator_1.IsNotEmpty)(),
|
136
137
|
__metadata("design:type", Array)
|
137
138
|
], SortPostGalleryDto.prototype, "ids", void 0);
|
138
|
-
exports.SortPostGalleryDto = SortPostGalleryDto;
|
139
139
|
//# sourceMappingURL=post.dto.js.map
|
package/lib/dtos/post.dto.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"post.dto.js","sourceRoot":"","sources":["../../src/dtos/post.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6F;AAC7F,oCAA0D;AAG1D,MAAa,aAAa;IAIzB,IAAI,CAA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.PromotionFilterDto = PromotionFilterDto;
|
23
24
|
__decorate([
|
24
25
|
(0, class_validator_1.IsNotEmpty)(),
|
25
26
|
(0, class_validator_1.IsEnum)(enums_1.StatusType),
|
@@ -47,29 +48,29 @@ __decorate([
|
|
47
48
|
(0, class_validator_1.IsEnum)(enums_1.SortType),
|
48
49
|
__metadata("design:type", String)
|
49
50
|
], PromotionFilterDto.prototype, "sort", void 0);
|
50
|
-
exports.PromotionFilterDto = PromotionFilterDto;
|
51
51
|
class CreatePromotionDto {
|
52
52
|
title;
|
53
53
|
}
|
54
|
+
exports.CreatePromotionDto = CreatePromotionDto;
|
54
55
|
__decorate([
|
55
56
|
(0, class_validator_1.IsNotEmpty)(),
|
56
57
|
(0, class_validator_1.IsString)(),
|
57
58
|
__metadata("design:type", String)
|
58
59
|
], CreatePromotionDto.prototype, "title", void 0);
|
59
|
-
exports.CreatePromotionDto = CreatePromotionDto;
|
60
60
|
class UpdatePromotionTitleDto {
|
61
61
|
title;
|
62
62
|
}
|
63
|
+
exports.UpdatePromotionTitleDto = UpdatePromotionTitleDto;
|
63
64
|
__decorate([
|
64
65
|
(0, class_validator_1.IsNotEmpty)(),
|
65
66
|
(0, class_validator_1.IsString)(),
|
66
67
|
__metadata("design:type", String)
|
67
68
|
], UpdatePromotionTitleDto.prototype, "title", void 0);
|
68
|
-
exports.UpdatePromotionTitleDto = UpdatePromotionTitleDto;
|
69
69
|
class UpdatePromotionPeriodDto {
|
70
70
|
startDate;
|
71
71
|
endDate;
|
72
72
|
}
|
73
|
+
exports.UpdatePromotionPeriodDto = UpdatePromotionPeriodDto;
|
73
74
|
__decorate([
|
74
75
|
(0, class_validator_1.IsNotEmpty)(),
|
75
76
|
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
@@ -82,14 +83,13 @@ __decorate([
|
|
82
83
|
(0, class_validator_1.IsDate)(),
|
83
84
|
__metadata("design:type", Date)
|
84
85
|
], UpdatePromotionPeriodDto.prototype, "endDate", void 0);
|
85
|
-
exports.UpdatePromotionPeriodDto = UpdatePromotionPeriodDto;
|
86
86
|
class UpdatePromotionUrlDto {
|
87
87
|
url;
|
88
88
|
}
|
89
|
+
exports.UpdatePromotionUrlDto = UpdatePromotionUrlDto;
|
89
90
|
__decorate([
|
90
91
|
(0, class_validator_1.IsNotEmpty)(),
|
91
92
|
(0, class_validator_1.IsUrl)(),
|
92
93
|
__metadata("design:type", String)
|
93
94
|
], UpdatePromotionUrlDto.prototype, "url", void 0);
|
94
|
-
exports.UpdatePromotionUrlDto = UpdatePromotionUrlDto;
|
95
95
|
//# sourceMappingURL=promotion.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion.dto.js","sourceRoot":"","sources":["../../src/dtos/promotion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0F;AAC1F,yDAA8C;AAC9C,oCAAgD;AAEhD,MAAa,kBAAkB;IAI9B,MAAM,CAAa;IAKnB,SAAS,CAAO;IAKhB,OAAO,CAAO;IAId,IAAI,CAAS;IAIb,IAAI,CAAW;CACf;AAnBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;kDACA;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;qDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACA,IAAI;mDAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACE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