@intelact/bright 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/dtos/author.dto.d.ts +2 -2
- package/lib/dtos/author.dto.js +7 -7
- package/lib/dtos/author.dto.js.map +1 -1
- package/lib/dtos/boost.dto.d.ts +2 -2
- package/lib/dtos/boost.dto.js +8 -9
- package/lib/dtos/boost.dto.js.map +1 -1
- package/lib/dtos/brand.dto.d.ts +17 -3
- package/lib/dtos/brand.dto.js +54 -9
- package/lib/dtos/brand.dto.js.map +1 -1
- package/lib/dtos/browse.dto.js.map +1 -1
- package/lib/dtos/bulk.dto.d.ts +3 -0
- package/lib/dtos/bulk.dto.js +22 -0
- package/lib/dtos/bulk.dto.js.map +1 -0
- package/lib/dtos/category.dto.d.ts +1 -4
- package/lib/dtos/category.dto.js +5 -13
- package/lib/dtos/category.dto.js.map +1 -1
- package/lib/dtos/feedback.dto.d.ts +2 -2
- package/lib/dtos/feedback.dto.js +7 -9
- package/lib/dtos/feedback.dto.js.map +1 -1
- package/lib/dtos/index.d.ts +2 -1
- package/lib/dtos/index.js +2 -1
- package/lib/dtos/index.js.map +1 -1
- package/lib/dtos/notification.js.map +1 -1
- package/lib/dtos/post.dto.d.ts +7 -10
- package/lib/dtos/post.dto.js +22 -30
- package/lib/dtos/post.dto.js.map +1 -1
- package/lib/dtos/promotion.dto.d.ts +4 -7
- package/lib/dtos/promotion.dto.js +18 -27
- package/lib/dtos/promotion.dto.js.map +1 -1
- package/lib/dtos/publisher.dto.d.ts +2 -13
- package/lib/dtos/publisher.dto.js +4 -38
- package/lib/dtos/publisher.dto.js.map +1 -1
- package/lib/dtos/question.dto.d.ts +4 -7
- package/lib/dtos/question.dto.js +22 -31
- package/lib/dtos/question.dto.js.map +1 -1
- package/lib/dtos/survey.dto.d.ts +5 -20
- package/lib/dtos/survey.dto.js +19 -62
- package/lib/dtos/survey.dto.js.map +1 -1
- package/lib/dtos/topic.dto.d.ts +1 -4
- package/lib/dtos/topic.dto.js +6 -14
- package/lib/dtos/topic.dto.js.map +1 -1
- package/lib/dtos/user.dto.d.ts +25 -0
- package/lib/dtos/user.dto.js +91 -0
- package/lib/dtos/user.dto.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -9,87 +9,78 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
12
|
+
exports.PromotionUrlDto = exports.PromotionPeriodDto = exports.PromotionTitleDto = exports.PromotionParamsDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
15
15
|
const enums_1 = require("../enums");
|
16
|
-
class
|
16
|
+
class PromotionParamsDto {
|
17
17
|
status;
|
18
18
|
startDate;
|
19
19
|
endDate;
|
20
20
|
term;
|
21
21
|
sort;
|
22
22
|
}
|
23
|
-
exports.
|
23
|
+
exports.PromotionParamsDto = PromotionParamsDto;
|
24
24
|
__decorate([
|
25
25
|
(0, class_validator_1.IsNotEmpty)(),
|
26
26
|
(0, class_validator_1.IsEnum)(enums_1.StatusType),
|
27
27
|
__metadata("design:type", String)
|
28
|
-
],
|
28
|
+
], PromotionParamsDto.prototype, "status", void 0);
|
29
29
|
__decorate([
|
30
30
|
(0, class_validator_1.IsOptional)(),
|
31
31
|
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
32
32
|
(0, class_validator_1.IsDate)(),
|
33
33
|
__metadata("design:type", Date)
|
34
|
-
],
|
34
|
+
], PromotionParamsDto.prototype, "startDate", void 0);
|
35
35
|
__decorate([
|
36
36
|
(0, class_validator_1.IsOptional)(),
|
37
37
|
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
38
38
|
(0, class_validator_1.IsDate)(),
|
39
39
|
__metadata("design:type", Date)
|
40
|
-
],
|
40
|
+
], PromotionParamsDto.prototype, "endDate", void 0);
|
41
41
|
__decorate([
|
42
42
|
(0, class_validator_1.IsOptional)(),
|
43
43
|
(0, class_validator_1.IsString)(),
|
44
44
|
__metadata("design:type", String)
|
45
|
-
],
|
45
|
+
], PromotionParamsDto.prototype, "term", void 0);
|
46
46
|
__decorate([
|
47
47
|
(0, class_validator_1.IsOptional)(),
|
48
48
|
(0, class_validator_1.IsEnum)(enums_1.SortType),
|
49
49
|
__metadata("design:type", String)
|
50
|
-
],
|
51
|
-
class
|
50
|
+
], PromotionParamsDto.prototype, "sort", void 0);
|
51
|
+
class PromotionTitleDto {
|
52
52
|
title;
|
53
53
|
}
|
54
|
-
exports.
|
54
|
+
exports.PromotionTitleDto = PromotionTitleDto;
|
55
55
|
__decorate([
|
56
56
|
(0, class_validator_1.IsNotEmpty)(),
|
57
57
|
(0, class_validator_1.IsString)(),
|
58
58
|
__metadata("design:type", String)
|
59
|
-
],
|
60
|
-
class
|
61
|
-
title;
|
62
|
-
}
|
63
|
-
exports.UpdatePromotionTitleDto = UpdatePromotionTitleDto;
|
64
|
-
__decorate([
|
65
|
-
(0, class_validator_1.IsNotEmpty)(),
|
66
|
-
(0, class_validator_1.IsString)(),
|
67
|
-
__metadata("design:type", String)
|
68
|
-
], UpdatePromotionTitleDto.prototype, "title", void 0);
|
69
|
-
class UpdatePromotionPeriodDto {
|
59
|
+
], PromotionTitleDto.prototype, "title", void 0);
|
60
|
+
class PromotionPeriodDto {
|
70
61
|
startDate;
|
71
62
|
endDate;
|
72
63
|
}
|
73
|
-
exports.
|
64
|
+
exports.PromotionPeriodDto = PromotionPeriodDto;
|
74
65
|
__decorate([
|
75
66
|
(0, class_validator_1.IsNotEmpty)(),
|
76
67
|
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
77
68
|
(0, class_validator_1.IsDate)(),
|
78
69
|
__metadata("design:type", Date)
|
79
|
-
],
|
70
|
+
], PromotionPeriodDto.prototype, "startDate", void 0);
|
80
71
|
__decorate([
|
81
72
|
(0, class_validator_1.IsNotEmpty)(),
|
82
73
|
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
83
74
|
(0, class_validator_1.IsDate)(),
|
84
75
|
__metadata("design:type", Date)
|
85
|
-
],
|
86
|
-
class
|
76
|
+
], PromotionPeriodDto.prototype, "endDate", void 0);
|
77
|
+
class PromotionUrlDto {
|
87
78
|
url;
|
88
79
|
}
|
89
|
-
exports.
|
80
|
+
exports.PromotionUrlDto = PromotionUrlDto;
|
90
81
|
__decorate([
|
91
82
|
(0, class_validator_1.IsNotEmpty)(),
|
92
83
|
(0, class_validator_1.IsUrl)(),
|
93
84
|
__metadata("design:type", String)
|
94
|
-
],
|
85
|
+
], PromotionUrlDto.prototype, "url", void 0);
|
95
86
|
//# sourceMappingURL=promotion.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion.dto.js","sourceRoot":"","sources":["../../src/dtos/promotion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0F;AAC1F,yDAA8C;AAC9C,oCAAgD;AAEhD,MAAa,kBAAkB;IAI9B,MAAM,CAAa;IAKnB,SAAS,CAAO;IAKhB,OAAO,CAAO;IAId,IAAI,CAAS;IAIb,IAAI,CAAW;CACf;AAvBD,gDAuBC;AAnBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;kDACA;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;qDAAC;AAKhB;IAHC,IAAA,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;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;gDACF;AAGhB,MAAa,
|
1
|
+
{"version":3,"file":"promotion.dto.js","sourceRoot":"","sources":["../../src/dtos/promotion.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0F;AAC1F,yDAA8C;AAC9C,oCAAgD;AAEhD,MAAa,kBAAkB;IAI9B,MAAM,CAAa;IAKnB,SAAS,CAAO;IAKhB,OAAO,CAAO;IAId,IAAI,CAAS;IAIb,IAAI,CAAW;CACf;AAvBD,gDAuBC;AAnBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;kDACA;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACE,IAAI;qDAAC;AAKhB;IAHC,IAAA,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;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;gDACF;AAGhB,MAAa,iBAAiB;IAG7B,KAAK,CAAS;CACd;AAJD,8CAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAGf,MAAa,kBAAkB;IAK9B,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAXD,gDAWC;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;qDAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;IACtD,IAAA,wBAAM,GAAE;8BACA,IAAI;mDAAC;AAGf,MAAa,eAAe;IAG3B,GAAG,CAAS;CACZ;AAJD,0CAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;4CACI"}
|
@@ -1,19 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import { Permission } from '../security';
|
1
|
+
import { PostType } from '../enums';
|
3
2
|
export declare class InvitePublisherDto {
|
4
3
|
email: string;
|
5
4
|
postTypes: PostType[];
|
6
5
|
}
|
7
|
-
export declare class
|
6
|
+
export declare class PublisherPostTypesDto {
|
8
7
|
postTypes: PostType[];
|
9
8
|
}
|
10
|
-
export declare class InvitePublisherUserDto {
|
11
|
-
email: string;
|
12
|
-
permissions: Permission[];
|
13
|
-
}
|
14
|
-
export declare class ChangePublisherUserStatusDto {
|
15
|
-
status: AccountStatusType;
|
16
|
-
}
|
17
|
-
export declare class UpdatePublisherUserPermissionsDto {
|
18
|
-
permissions: Permission[];
|
19
|
-
}
|
@@ -9,10 +9,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
12
|
+
exports.PublisherPostTypesDto = exports.InvitePublisherDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
const enums_1 = require("../enums");
|
15
|
-
const security_1 = require("../security");
|
16
15
|
class InvitePublisherDto {
|
17
16
|
email;
|
18
17
|
postTypes;
|
@@ -28,46 +27,13 @@ __decorate([
|
|
28
27
|
(0, class_validator_1.IsEnum)(enums_1.PostType, { each: true }),
|
29
28
|
__metadata("design:type", Array)
|
30
29
|
], InvitePublisherDto.prototype, "postTypes", void 0);
|
31
|
-
class
|
30
|
+
class PublisherPostTypesDto {
|
32
31
|
postTypes;
|
33
32
|
}
|
34
|
-
exports.
|
33
|
+
exports.PublisherPostTypesDto = PublisherPostTypesDto;
|
35
34
|
__decorate([
|
36
35
|
(0, class_validator_1.IsNotEmpty)(),
|
37
36
|
(0, class_validator_1.IsEnum)(enums_1.PostType, { each: true }),
|
38
37
|
__metadata("design:type", Array)
|
39
|
-
],
|
40
|
-
class InvitePublisherUserDto {
|
41
|
-
email;
|
42
|
-
permissions;
|
43
|
-
}
|
44
|
-
exports.InvitePublisherUserDto = InvitePublisherUserDto;
|
45
|
-
__decorate([
|
46
|
-
(0, class_validator_1.IsNotEmpty)(),
|
47
|
-
(0, class_validator_1.IsEmail)(),
|
48
|
-
__metadata("design:type", String)
|
49
|
-
], InvitePublisherUserDto.prototype, "email", void 0);
|
50
|
-
__decorate([
|
51
|
-
(0, class_validator_1.IsNotEmpty)(),
|
52
|
-
(0, class_validator_1.IsEnum)(security_1.Permission, { each: true }),
|
53
|
-
__metadata("design:type", Array)
|
54
|
-
], InvitePublisherUserDto.prototype, "permissions", void 0);
|
55
|
-
class ChangePublisherUserStatusDto {
|
56
|
-
status;
|
57
|
-
}
|
58
|
-
exports.ChangePublisherUserStatusDto = ChangePublisherUserStatusDto;
|
59
|
-
__decorate([
|
60
|
-
(0, class_validator_1.IsNotEmpty)(),
|
61
|
-
(0, class_validator_1.IsEnum)(enums_1.AccountStatusType),
|
62
|
-
__metadata("design:type", String)
|
63
|
-
], ChangePublisherUserStatusDto.prototype, "status", void 0);
|
64
|
-
class UpdatePublisherUserPermissionsDto {
|
65
|
-
permissions;
|
66
|
-
}
|
67
|
-
exports.UpdatePublisherUserPermissionsDto = UpdatePublisherUserPermissionsDto;
|
68
|
-
__decorate([
|
69
|
-
(0, class_validator_1.IsNotEmpty)(),
|
70
|
-
(0, class_validator_1.IsEnum)(security_1.Permission, { each: true }),
|
71
|
-
__metadata("design:type", Array)
|
72
|
-
], UpdatePublisherUserPermissionsDto.prototype, "permissions", void 0);
|
38
|
+
], PublisherPostTypesDto.prototype, "postTypes", void 0);
|
73
39
|
//# sourceMappingURL=publisher.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"publisher.dto.js","sourceRoot":"","sources":["../../src/dtos/publisher.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoE;AACpE,oCAAuD;
|
1
|
+
{"version":3,"file":"publisher.dto.js","sourceRoot":"","sources":["../../src/dtos/publisher.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoE;AACpE,oCAAuD;AAGvD,MAAa,kBAAkB;IAI9B,KAAK,CAAS;IAId,SAAS,CAAa;CACtB;AATD,gDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;iDACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACX;AAGvB,MAAa,qBAAqB;IAIjC,SAAS,CAAa;CACtB;AALD,sDAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;wDACX"}
|
@@ -5,7 +5,7 @@ export declare class QuestionParamsDto {
|
|
5
5
|
sort: SortType;
|
6
6
|
authors: number[];
|
7
7
|
}
|
8
|
-
export declare class
|
8
|
+
export declare class AskQuestionDto {
|
9
9
|
slug: string;
|
10
10
|
topics: string[];
|
11
11
|
title: string;
|
@@ -15,16 +15,13 @@ export declare class SubmitQuestionDto {
|
|
15
15
|
phone: string;
|
16
16
|
private: boolean;
|
17
17
|
}
|
18
|
-
export declare class
|
19
|
-
comment: string;
|
20
|
-
}
|
21
|
-
export declare class UpdateQuestionTitleDto {
|
18
|
+
export declare class QuestionTitleDto {
|
22
19
|
title: string;
|
23
20
|
}
|
24
|
-
export declare class
|
21
|
+
export declare class QuestionContentDto {
|
25
22
|
question: string;
|
26
23
|
}
|
27
|
-
export declare class
|
24
|
+
export declare class QuestionCommentDto {
|
28
25
|
content: string;
|
29
26
|
authorId: number;
|
30
27
|
}
|
package/lib/dtos/question.dto.js
CHANGED
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
12
|
+
exports.QuestionCommentDto = exports.QuestionContentDto = exports.QuestionTitleDto = exports.AskQuestionDto = exports.QuestionParamsDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
const enums_1 = require("../enums");
|
15
15
|
class QuestionParamsDto {
|
@@ -37,7 +37,7 @@ __decorate([
|
|
37
37
|
(0, class_validator_1.IsOptional)(),
|
38
38
|
__metadata("design:type", Array)
|
39
39
|
], QuestionParamsDto.prototype, "authors", void 0);
|
40
|
-
class
|
40
|
+
class AskQuestionDto {
|
41
41
|
slug;
|
42
42
|
topics;
|
43
43
|
title;
|
@@ -47,86 +47,77 @@ class SubmitQuestionDto {
|
|
47
47
|
phone;
|
48
48
|
private;
|
49
49
|
}
|
50
|
-
exports.
|
50
|
+
exports.AskQuestionDto = AskQuestionDto;
|
51
51
|
__decorate([
|
52
52
|
(0, class_validator_1.IsOptional)(),
|
53
53
|
(0, class_validator_1.IsString)(),
|
54
54
|
__metadata("design:type", String)
|
55
|
-
],
|
55
|
+
], AskQuestionDto.prototype, "slug", void 0);
|
56
56
|
__decorate([
|
57
57
|
(0, class_validator_1.IsOptional)(),
|
58
58
|
__metadata("design:type", Array)
|
59
|
-
],
|
59
|
+
], AskQuestionDto.prototype, "topics", void 0);
|
60
60
|
__decorate([
|
61
61
|
(0, class_validator_1.IsOptional)(),
|
62
62
|
(0, class_validator_1.IsString)(),
|
63
63
|
__metadata("design:type", String)
|
64
|
-
],
|
64
|
+
], AskQuestionDto.prototype, "title", void 0);
|
65
65
|
__decorate([
|
66
66
|
(0, class_validator_1.IsNotEmpty)(),
|
67
67
|
(0, class_validator_1.IsString)(),
|
68
68
|
__metadata("design:type", String)
|
69
|
-
],
|
69
|
+
], AskQuestionDto.prototype, "question", void 0);
|
70
70
|
__decorate([
|
71
71
|
(0, class_validator_1.IsOptional)(),
|
72
72
|
(0, class_validator_1.IsString)(),
|
73
73
|
__metadata("design:type", String)
|
74
|
-
],
|
74
|
+
], AskQuestionDto.prototype, "name", void 0);
|
75
75
|
__decorate([
|
76
76
|
(0, class_validator_1.IsOptional)(),
|
77
77
|
(0, class_validator_1.IsString)(),
|
78
78
|
__metadata("design:type", String)
|
79
|
-
],
|
79
|
+
], AskQuestionDto.prototype, "email", void 0);
|
80
80
|
__decorate([
|
81
81
|
(0, class_validator_1.IsOptional)(),
|
82
82
|
(0, class_validator_1.IsString)(),
|
83
83
|
__metadata("design:type", String)
|
84
|
-
],
|
84
|
+
], AskQuestionDto.prototype, "phone", void 0);
|
85
85
|
__decorate([
|
86
86
|
(0, class_validator_1.IsOptional)(),
|
87
87
|
(0, class_validator_1.IsBoolean)(),
|
88
88
|
__metadata("design:type", Boolean)
|
89
|
-
],
|
90
|
-
class
|
91
|
-
comment;
|
92
|
-
}
|
93
|
-
exports.SubmitCommentDto = SubmitCommentDto;
|
94
|
-
__decorate([
|
95
|
-
(0, class_validator_1.IsNotEmpty)(),
|
96
|
-
(0, class_validator_1.IsString)(),
|
97
|
-
__metadata("design:type", String)
|
98
|
-
], SubmitCommentDto.prototype, "comment", void 0);
|
99
|
-
class UpdateQuestionTitleDto {
|
89
|
+
], AskQuestionDto.prototype, "private", void 0);
|
90
|
+
class QuestionTitleDto {
|
100
91
|
title;
|
101
92
|
}
|
102
|
-
exports.
|
93
|
+
exports.QuestionTitleDto = QuestionTitleDto;
|
103
94
|
__decorate([
|
104
95
|
(0, class_validator_1.IsNotEmpty)(),
|
105
96
|
(0, class_validator_1.IsString)(),
|
106
97
|
__metadata("design:type", String)
|
107
|
-
],
|
108
|
-
class
|
98
|
+
], QuestionTitleDto.prototype, "title", void 0);
|
99
|
+
class QuestionContentDto {
|
109
100
|
question;
|
110
101
|
}
|
111
|
-
exports.
|
102
|
+
exports.QuestionContentDto = QuestionContentDto;
|
112
103
|
__decorate([
|
113
104
|
(0, class_validator_1.IsNotEmpty)(),
|
114
105
|
(0, class_validator_1.IsString)(),
|
115
106
|
__metadata("design:type", String)
|
116
|
-
],
|
117
|
-
class
|
107
|
+
], QuestionContentDto.prototype, "question", void 0);
|
108
|
+
class QuestionCommentDto {
|
118
109
|
content;
|
119
110
|
authorId;
|
120
111
|
}
|
121
|
-
exports.
|
112
|
+
exports.QuestionCommentDto = QuestionCommentDto;
|
122
113
|
__decorate([
|
123
114
|
(0, class_validator_1.IsNotEmpty)(),
|
124
115
|
(0, class_validator_1.IsString)(),
|
125
116
|
__metadata("design:type", String)
|
126
|
-
],
|
117
|
+
], QuestionCommentDto.prototype, "content", void 0);
|
127
118
|
__decorate([
|
128
|
-
(0, class_validator_1.
|
119
|
+
(0, class_validator_1.IsOptional)(),
|
129
120
|
(0, class_validator_1.IsNumber)(),
|
130
121
|
__metadata("design:type", Number)
|
131
|
-
],
|
122
|
+
], QuestionCommentDto.prototype, "authorId", void 0);
|
132
123
|
//# sourceMappingURL=question.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"question.dto.js","sourceRoot":"","sources":["../../src/dtos/question.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,oCAAoC;AAEpC,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAGb,MAAM,CAAW;IAIjB,IAAI,CAAW;IAGf,OAAO,CAAW;CAClB;AAfD,8CAeC;AAXA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAGb;IADC,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;+CACF;AAGf;IADC,IAAA,4BAAU,GAAE;;kDACK;AAGnB,MAAa,
|
1
|
+
{"version":3,"file":"question.dto.js","sourceRoot":"","sources":["../../src/dtos/question.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,oCAAoC;AAEpC,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAGb,MAAM,CAAW;IAIjB,IAAI,CAAW;IAGf,OAAO,CAAW;CAClB;AAfD,8CAeC;AAXA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAGb;IADC,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;+CACF;AAGf;IADC,IAAA,4BAAU,GAAE;;kDACK;AAGnB,MAAa,cAAc;IAI1B,IAAI,CAAS;IAGb,MAAM,CAAW;IAIjB,KAAK,CAAS;IAId,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,KAAK,CAAS;IAId,OAAO,CAAU;CACjB;AAhCD,wCAgCC;AA5BA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE;AAGb;IADC,IAAA,4BAAU,GAAE;;8CACI;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;+CACK;AAGlB,MAAa,gBAAgB;IAG5B,KAAK,CAAS;CACd;AAJD,4CAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACG;AAGf,MAAa,kBAAkB;IAG9B,QAAQ,CAAS;CACjB;AAJD,gDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACM;AAGlB,MAAa,kBAAkB;IAI9B,OAAO,CAAS;IAIhB,QAAQ,CAAS;CACjB;AATD,gDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACM"}
|
package/lib/dtos/survey.dto.d.ts
CHANGED
@@ -6,35 +6,20 @@ export declare class SurveyParamsDto {
|
|
6
6
|
term: string;
|
7
7
|
sort: SortType;
|
8
8
|
}
|
9
|
-
export declare class
|
9
|
+
export declare class SurveyNameDto {
|
10
10
|
name: string;
|
11
11
|
}
|
12
|
-
export declare class
|
13
|
-
name: string;
|
14
|
-
}
|
15
|
-
export declare class UpdateSurveyDescriptionDto {
|
12
|
+
export declare class SurveyDescriptionDto {
|
16
13
|
description: string;
|
17
14
|
}
|
18
|
-
export declare class
|
15
|
+
export declare class SurveyPeriodDto {
|
19
16
|
startDate: Date;
|
20
17
|
endDate: Date;
|
21
18
|
}
|
22
|
-
export declare class
|
19
|
+
export declare class SurveyQuestionDto {
|
23
20
|
question: string;
|
24
21
|
multiple: boolean;
|
25
22
|
}
|
26
|
-
export declare class
|
27
|
-
question: string;
|
28
|
-
}
|
29
|
-
export declare class SortSurveyQuestionsDto {
|
30
|
-
ids: number[];
|
31
|
-
}
|
32
|
-
export declare class CreateSurveyOptionDto {
|
33
|
-
content: string;
|
34
|
-
}
|
35
|
-
export declare class UpdateSurveyOptionDto {
|
23
|
+
export declare class SurveyOptionDto {
|
36
24
|
content: string;
|
37
25
|
}
|
38
|
-
export declare class SortSurveyOptionsDto {
|
39
|
-
ids: number[];
|
40
|
-
}
|
package/lib/dtos/survey.dto.js
CHANGED
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
12
|
+
exports.SurveyOptionDto = exports.SurveyQuestionDto = exports.SurveyPeriodDto = exports.SurveyDescriptionDto = exports.SurveyNameDto = exports.SurveyParamsDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
15
15
|
const enums_1 = require("../enums");
|
@@ -48,106 +48,63 @@ __decorate([
|
|
48
48
|
(0, class_validator_1.IsEnum)(enums_1.SortType),
|
49
49
|
__metadata("design:type", String)
|
50
50
|
], SurveyParamsDto.prototype, "sort", void 0);
|
51
|
-
class
|
51
|
+
class SurveyNameDto {
|
52
52
|
name;
|
53
53
|
}
|
54
|
-
exports.
|
54
|
+
exports.SurveyNameDto = SurveyNameDto;
|
55
55
|
__decorate([
|
56
56
|
(0, class_validator_1.IsNotEmpty)(),
|
57
57
|
(0, class_validator_1.IsString)(),
|
58
58
|
__metadata("design:type", String)
|
59
|
-
],
|
60
|
-
class
|
61
|
-
name;
|
62
|
-
}
|
63
|
-
exports.UpdateSurveyNameDto = UpdateSurveyNameDto;
|
64
|
-
__decorate([
|
65
|
-
(0, class_validator_1.IsNotEmpty)(),
|
66
|
-
(0, class_validator_1.IsString)(),
|
67
|
-
__metadata("design:type", String)
|
68
|
-
], UpdateSurveyNameDto.prototype, "name", void 0);
|
69
|
-
class UpdateSurveyDescriptionDto {
|
59
|
+
], SurveyNameDto.prototype, "name", void 0);
|
60
|
+
class SurveyDescriptionDto {
|
70
61
|
description;
|
71
62
|
}
|
72
|
-
exports.
|
63
|
+
exports.SurveyDescriptionDto = SurveyDescriptionDto;
|
73
64
|
__decorate([
|
74
65
|
(0, class_validator_1.IsNotEmpty)(),
|
75
66
|
(0, class_validator_1.IsString)(),
|
76
67
|
__metadata("design:type", String)
|
77
|
-
],
|
78
|
-
class
|
68
|
+
], SurveyDescriptionDto.prototype, "description", void 0);
|
69
|
+
class SurveyPeriodDto {
|
79
70
|
startDate;
|
80
71
|
endDate;
|
81
72
|
}
|
82
|
-
exports.
|
73
|
+
exports.SurveyPeriodDto = SurveyPeriodDto;
|
83
74
|
__decorate([
|
84
75
|
(0, class_validator_1.IsNotEmpty)(),
|
85
76
|
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
86
77
|
(0, class_validator_1.IsDate)(),
|
87
78
|
__metadata("design:type", Date)
|
88
|
-
],
|
79
|
+
], SurveyPeriodDto.prototype, "startDate", void 0);
|
89
80
|
__decorate([
|
90
81
|
(0, class_validator_1.IsNotEmpty)(),
|
91
82
|
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
92
83
|
(0, class_validator_1.IsDate)(),
|
93
84
|
__metadata("design:type", Date)
|
94
|
-
],
|
95
|
-
class
|
85
|
+
], SurveyPeriodDto.prototype, "endDate", void 0);
|
86
|
+
class SurveyQuestionDto {
|
96
87
|
question;
|
97
88
|
multiple;
|
98
89
|
}
|
99
|
-
exports.
|
90
|
+
exports.SurveyQuestionDto = SurveyQuestionDto;
|
100
91
|
__decorate([
|
101
92
|
(0, class_validator_1.IsNotEmpty)(),
|
102
93
|
(0, class_validator_1.IsString)(),
|
103
94
|
__metadata("design:type", String)
|
104
|
-
],
|
95
|
+
], SurveyQuestionDto.prototype, "question", void 0);
|
105
96
|
__decorate([
|
106
|
-
(0, class_validator_1.
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
107
98
|
(0, class_validator_1.IsBoolean)(),
|
108
99
|
__metadata("design:type", Boolean)
|
109
|
-
],
|
110
|
-
class
|
111
|
-
question;
|
112
|
-
}
|
113
|
-
exports.UpdateSurveyQuestionDto = UpdateSurveyQuestionDto;
|
114
|
-
__decorate([
|
115
|
-
(0, class_validator_1.IsNotEmpty)(),
|
116
|
-
(0, class_validator_1.IsString)(),
|
117
|
-
__metadata("design:type", String)
|
118
|
-
], UpdateSurveyQuestionDto.prototype, "question", void 0);
|
119
|
-
class SortSurveyQuestionsDto {
|
120
|
-
ids;
|
121
|
-
}
|
122
|
-
exports.SortSurveyQuestionsDto = SortSurveyQuestionsDto;
|
123
|
-
__decorate([
|
124
|
-
(0, class_validator_1.IsNotEmpty)(),
|
125
|
-
__metadata("design:type", Array)
|
126
|
-
], SortSurveyQuestionsDto.prototype, "ids", void 0);
|
127
|
-
class CreateSurveyOptionDto {
|
100
|
+
], SurveyQuestionDto.prototype, "multiple", void 0);
|
101
|
+
class SurveyOptionDto {
|
128
102
|
content;
|
129
103
|
}
|
130
|
-
exports.
|
104
|
+
exports.SurveyOptionDto = SurveyOptionDto;
|
131
105
|
__decorate([
|
132
106
|
(0, class_validator_1.IsNotEmpty)(),
|
133
107
|
(0, class_validator_1.IsString)(),
|
134
108
|
__metadata("design:type", String)
|
135
|
-
],
|
136
|
-
class UpdateSurveyOptionDto {
|
137
|
-
content;
|
138
|
-
}
|
139
|
-
exports.UpdateSurveyOptionDto = UpdateSurveyOptionDto;
|
140
|
-
__decorate([
|
141
|
-
(0, class_validator_1.IsNotEmpty)(),
|
142
|
-
(0, class_validator_1.IsString)(),
|
143
|
-
__metadata("design:type", String)
|
144
|
-
], UpdateSurveyOptionDto.prototype, "content", void 0);
|
145
|
-
class SortSurveyOptionsDto {
|
146
|
-
ids;
|
147
|
-
}
|
148
|
-
exports.SortSurveyOptionsDto = SortSurveyOptionsDto;
|
149
|
-
__decorate([
|
150
|
-
(0, class_validator_1.IsNotEmpty)(),
|
151
|
-
__metadata("design:type", Array)
|
152
|
-
], SortSurveyOptionsDto.prototype, "ids", void 0);
|
109
|
+
], SurveyOptionDto.prototype, "content", void 0);
|
153
110
|
//# sourceMappingURL=survey.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"survey.dto.js","sourceRoot":"","sources":["../../src/dtos/survey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8F;AAC9F,yDAA8C;AAC9C,oCAAgD;AAEhD,MAAa,eAAe;IAI3B,MAAM,CAAa;IAKnB,SAAS,CAAO;IAKhB,OAAO,CAAO;IAId,IAAI,CAAS;IAIb,IAAI,CAAW;CACf;AAvBD,0CAuBC;AAnBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;+CACA;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;kDAAC;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;gDAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;6CACF;AAGhB,MAAa,
|
1
|
+
{"version":3,"file":"survey.dto.js","sourceRoot":"","sources":["../../src/dtos/survey.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8F;AAC9F,yDAA8C;AAC9C,oCAAgD;AAEhD,MAAa,eAAe;IAI3B,MAAM,CAAa;IAKnB,SAAS,CAAO;IAKhB,OAAO,CAAO;IAId,IAAI,CAAS;IAIb,IAAI,CAAW;CACf;AAvBD,0CAuBC;AAnBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,kBAAU,CAAC;;+CACA;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;kDAAC;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;gDAAC;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;6CACF;AAGhB,MAAa,aAAa;IAGzB,IAAI,CAAS;CACb;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACE;AAGd,MAAa,oBAAoB;IAGhC,WAAW,CAAS;CACpB;AAJD,oDAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACS;AAGrB,MAAa,eAAe;IAK3B,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAXD,0CAWC;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;kDAAC;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;gDAAC;AAGf,MAAa,iBAAiB;IAI7B,QAAQ,CAAS;IAIjB,QAAQ,CAAU;CAClB;AATD,8CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;mDACM;AAGnB,MAAa,eAAe;IAG3B,OAAO,CAAS;CAChB;AAJD,0CAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACK"}
|
package/lib/dtos/topic.dto.d.ts
CHANGED
package/lib/dtos/topic.dto.js
CHANGED
@@ -9,35 +9,27 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
12
|
+
exports.TopicDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
|
-
class
|
14
|
+
class TopicDto {
|
15
15
|
title;
|
16
16
|
description;
|
17
17
|
weight;
|
18
18
|
}
|
19
|
-
exports.
|
19
|
+
exports.TopicDto = TopicDto;
|
20
20
|
__decorate([
|
21
21
|
(0, class_validator_1.IsNotEmpty)(),
|
22
22
|
(0, class_validator_1.IsString)(),
|
23
23
|
__metadata("design:type", String)
|
24
|
-
],
|
24
|
+
], TopicDto.prototype, "title", void 0);
|
25
25
|
__decorate([
|
26
26
|
(0, class_validator_1.IsOptional)(),
|
27
27
|
(0, class_validator_1.IsString)(),
|
28
28
|
__metadata("design:type", String)
|
29
|
-
],
|
29
|
+
], TopicDto.prototype, "description", void 0);
|
30
30
|
__decorate([
|
31
31
|
(0, class_validator_1.IsNotEmpty)(),
|
32
32
|
(0, class_validator_1.IsNumber)(),
|
33
33
|
__metadata("design:type", Number)
|
34
|
-
],
|
35
|
-
class SortTopicsDto {
|
36
|
-
ids;
|
37
|
-
}
|
38
|
-
exports.SortTopicsDto = SortTopicsDto;
|
39
|
-
__decorate([
|
40
|
-
(0, class_validator_1.IsNotEmpty)(),
|
41
|
-
__metadata("design:type", Array)
|
42
|
-
], SortTopicsDto.prototype, "ids", void 0);
|
34
|
+
], TopicDto.prototype, "weight", void 0);
|
43
35
|
//# sourceMappingURL=topic.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"topic.dto.js","sourceRoot":"","sources":["../../src/dtos/topic.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,
|
1
|
+
{"version":3,"file":"topic.dto.js","sourceRoot":"","sources":["../../src/dtos/topic.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,QAAQ;IAIpB,KAAK,CAAS;IAId,WAAW,CAAS;IAIpB,MAAM,CAAS;CACf;AAbD,4BAaC;AATA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uCACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wCACI"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { AccountStatusType } from '../enums';
|
2
|
+
import { Role } from '../security';
|
3
|
+
export declare class InviteUserDto {
|
4
|
+
email: string;
|
5
|
+
roles: Role[];
|
6
|
+
}
|
7
|
+
export declare class UserEmailDto {
|
8
|
+
email: string;
|
9
|
+
}
|
10
|
+
export declare class UserPasswordDto {
|
11
|
+
password: string;
|
12
|
+
repeatPassword: string;
|
13
|
+
}
|
14
|
+
export declare class UserNameDto {
|
15
|
+
name: string;
|
16
|
+
}
|
17
|
+
export declare class UserPhoneDto {
|
18
|
+
phone: string;
|
19
|
+
}
|
20
|
+
export declare class UserStatusDto {
|
21
|
+
status: AccountStatusType;
|
22
|
+
}
|
23
|
+
export declare class UserRolesDto {
|
24
|
+
roles: Role[];
|
25
|
+
}
|