expo-backend-types 0.4.0-EXPO-243-EB-Comentario.1 → 0.4.0-EXPO-212.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/comment/dto/comment.dto.d.ts +14 -8
- package/dist/src/comment/dto/comment.dto.js +7 -2
- package/dist/src/comment/dto/create-comment.dto.d.ts +106 -0
- package/dist/src/comment/dto/create-comment.dto.js +18 -0
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +177 -0
- package/dist/src/comment/dto/get-by-profile-comment.dto.js +21 -0
- package/dist/src/comment/dto/toggle-solve-comment.dto.d.ts +71 -0
- package/dist/src/comment/dto/toggle-solve-comment.dto.js +10 -0
- package/dist/src/comment/exports.d.ts +3 -0
- package/dist/src/comment/exports.js +3 -0
- package/dist/src/i18n/es.d.ts +18 -0
- package/dist/src/i18n/es.js +18 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/types/schema.d.ts +187 -0
- package/package.json +1 -1
@@ -3,21 +3,23 @@ export declare const commentSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
4
4
|
content: z.ZodString;
|
5
5
|
createdBy: z.ZodString;
|
6
|
+
profileId: z.ZodString;
|
6
7
|
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
7
8
|
isSolved: z.ZodDefault<z.ZodBoolean>;
|
8
|
-
solvedAt: z.
|
9
|
+
solvedAt: z.ZodNullable<z.ZodDate>;
|
9
10
|
solvedBy: z.ZodOptional<z.ZodString>;
|
10
11
|
created_at: z.ZodDate;
|
11
12
|
updated_at: z.ZodDate;
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
13
14
|
id: string;
|
14
15
|
content: string;
|
16
|
+
isSolvable: boolean;
|
15
17
|
created_at: Date;
|
16
18
|
updated_at: Date;
|
17
19
|
createdBy: string;
|
18
|
-
|
20
|
+
profileId: string;
|
19
21
|
isSolved: boolean;
|
20
|
-
solvedAt
|
22
|
+
solvedAt: Date | null;
|
21
23
|
solvedBy?: string | undefined;
|
22
24
|
}, {
|
23
25
|
id: string;
|
@@ -25,30 +27,33 @@ export declare const commentSchema: z.ZodObject<{
|
|
25
27
|
created_at: Date;
|
26
28
|
updated_at: Date;
|
27
29
|
createdBy: string;
|
30
|
+
profileId: string;
|
31
|
+
solvedAt: Date | null;
|
28
32
|
isSolvable?: boolean | undefined;
|
29
33
|
isSolved?: boolean | undefined;
|
30
|
-
solvedAt?: Date | undefined;
|
31
34
|
solvedBy?: string | undefined;
|
32
35
|
}>;
|
33
36
|
declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
34
37
|
id: z.ZodString;
|
35
38
|
content: z.ZodString;
|
36
39
|
createdBy: z.ZodString;
|
40
|
+
profileId: z.ZodString;
|
37
41
|
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
38
42
|
isSolved: z.ZodDefault<z.ZodBoolean>;
|
39
|
-
solvedAt: z.
|
43
|
+
solvedAt: z.ZodNullable<z.ZodDate>;
|
40
44
|
solvedBy: z.ZodOptional<z.ZodString>;
|
41
45
|
created_at: z.ZodString;
|
42
46
|
updated_at: z.ZodString;
|
43
47
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
44
48
|
id: string;
|
45
49
|
content: string;
|
50
|
+
isSolvable: boolean;
|
46
51
|
created_at: string;
|
47
52
|
updated_at: string;
|
48
53
|
createdBy: string;
|
49
|
-
|
54
|
+
profileId: string;
|
50
55
|
isSolved: boolean;
|
51
|
-
solvedAt
|
56
|
+
solvedAt: Date | null;
|
52
57
|
solvedBy?: string | undefined;
|
53
58
|
}, {
|
54
59
|
id: string;
|
@@ -56,9 +61,10 @@ declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodO
|
|
56
61
|
created_at: string;
|
57
62
|
updated_at: string;
|
58
63
|
createdBy: string;
|
64
|
+
profileId: string;
|
65
|
+
solvedAt: Date | null;
|
59
66
|
isSolvable?: boolean | undefined;
|
60
67
|
isSolved?: boolean | undefined;
|
61
|
-
solvedAt?: Date | undefined;
|
62
68
|
solvedBy?: string | undefined;
|
63
69
|
}>>;
|
64
70
|
export declare class CommentDto extends CommentDto_base {
|
@@ -13,9 +13,14 @@ exports.commentSchema = zod_1.z.object({
|
|
13
13
|
message: (0, translate_1.translate)('model.comment.content.min'),
|
14
14
|
}),
|
15
15
|
createdBy: account_dto_1.accountSchema.shape.id,
|
16
|
-
|
16
|
+
profileId: account_dto_1.accountSchema.shape.id,
|
17
|
+
isSolvable: zod_1.z
|
18
|
+
.boolean({
|
19
|
+
required_error: (0, translate_1.translate)('model.comment.isSolvable.required'),
|
20
|
+
})
|
21
|
+
.default(false),
|
17
22
|
isSolved: zod_1.z.boolean().default(false),
|
18
|
-
solvedAt: zod_1.z.date().
|
23
|
+
solvedAt: zod_1.z.date().nullable(),
|
19
24
|
solvedBy: account_dto_1.accountSchema.shape.id.optional(),
|
20
25
|
created_at: zod_1.z.date(),
|
21
26
|
updated_at: zod_1.z.date(),
|
@@ -0,0 +1,106 @@
|
|
1
|
+
export declare const createCommentSchema: import("zod").ZodObject<Pick<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
content: import("zod").ZodString;
|
4
|
+
createdBy: import("zod").ZodString;
|
5
|
+
profileId: import("zod").ZodString;
|
6
|
+
isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
7
|
+
isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
8
|
+
solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
9
|
+
solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
10
|
+
created_at: import("zod").ZodDate;
|
11
|
+
updated_at: import("zod").ZodDate;
|
12
|
+
}, "content" | "isSolvable" | "profileId">, "strip", import("zod").ZodTypeAny, {
|
13
|
+
content: string;
|
14
|
+
isSolvable: boolean;
|
15
|
+
profileId: string;
|
16
|
+
}, {
|
17
|
+
content: string;
|
18
|
+
profileId: string;
|
19
|
+
isSolvable?: boolean | undefined;
|
20
|
+
}>;
|
21
|
+
declare const CreateCommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
22
|
+
content: import("zod").ZodString;
|
23
|
+
isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
24
|
+
profileId: import("zod").ZodString;
|
25
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
26
|
+
content: string;
|
27
|
+
isSolvable: boolean;
|
28
|
+
profileId: string;
|
29
|
+
}, {
|
30
|
+
content: string;
|
31
|
+
profileId: string;
|
32
|
+
isSolvable?: boolean | undefined;
|
33
|
+
}>>;
|
34
|
+
export declare class CreateCommentDto extends CreateCommentDto_base {
|
35
|
+
}
|
36
|
+
export declare const createCommentResponseSchema: import("zod").ZodObject<{
|
37
|
+
id: import("zod").ZodString;
|
38
|
+
content: import("zod").ZodString;
|
39
|
+
createdBy: import("zod").ZodString;
|
40
|
+
profileId: import("zod").ZodString;
|
41
|
+
isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
42
|
+
isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
43
|
+
solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
44
|
+
solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
45
|
+
created_at: import("zod").ZodDate;
|
46
|
+
updated_at: import("zod").ZodDate;
|
47
|
+
}, "strip", import("zod").ZodTypeAny, {
|
48
|
+
id: string;
|
49
|
+
content: string;
|
50
|
+
isSolvable: boolean;
|
51
|
+
created_at: Date;
|
52
|
+
updated_at: Date;
|
53
|
+
createdBy: string;
|
54
|
+
profileId: string;
|
55
|
+
isSolved: boolean;
|
56
|
+
solvedAt: Date | null;
|
57
|
+
solvedBy?: string | undefined;
|
58
|
+
}, {
|
59
|
+
id: string;
|
60
|
+
content: string;
|
61
|
+
created_at: Date;
|
62
|
+
updated_at: Date;
|
63
|
+
createdBy: string;
|
64
|
+
profileId: string;
|
65
|
+
solvedAt: Date | null;
|
66
|
+
isSolvable?: boolean | undefined;
|
67
|
+
isSolved?: boolean | undefined;
|
68
|
+
solvedBy?: string | undefined;
|
69
|
+
}>;
|
70
|
+
declare const CreateCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
71
|
+
id: import("zod").ZodString;
|
72
|
+
content: import("zod").ZodString;
|
73
|
+
createdBy: import("zod").ZodString;
|
74
|
+
profileId: import("zod").ZodString;
|
75
|
+
isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
76
|
+
isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
77
|
+
solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
78
|
+
solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
79
|
+
created_at: import("zod").ZodString;
|
80
|
+
updated_at: import("zod").ZodString;
|
81
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
82
|
+
id: string;
|
83
|
+
content: string;
|
84
|
+
isSolvable: boolean;
|
85
|
+
created_at: string;
|
86
|
+
updated_at: string;
|
87
|
+
createdBy: string;
|
88
|
+
profileId: string;
|
89
|
+
isSolved: boolean;
|
90
|
+
solvedAt: Date | null;
|
91
|
+
solvedBy?: string | undefined;
|
92
|
+
}, {
|
93
|
+
id: string;
|
94
|
+
content: string;
|
95
|
+
created_at: string;
|
96
|
+
updated_at: string;
|
97
|
+
createdBy: string;
|
98
|
+
profileId: string;
|
99
|
+
solvedAt: Date | null;
|
100
|
+
isSolvable?: boolean | undefined;
|
101
|
+
isSolved?: boolean | undefined;
|
102
|
+
solvedBy?: string | undefined;
|
103
|
+
}>>;
|
104
|
+
export declare class CreateCommentResponseDto extends CreateCommentResponseDto_base {
|
105
|
+
}
|
106
|
+
export {};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateCommentResponseDto = exports.createCommentResponseSchema = exports.CreateCommentDto = exports.createCommentSchema = void 0;
|
4
|
+
const comment_dto_1 = require("./comment.dto");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
exports.createCommentSchema = comment_dto_1.commentSchema.pick({
|
7
|
+
content: true,
|
8
|
+
profileId: true,
|
9
|
+
isSolvable: true,
|
10
|
+
});
|
11
|
+
class CreateCommentDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createCommentSchema) {
|
12
|
+
}
|
13
|
+
exports.CreateCommentDto = CreateCommentDto;
|
14
|
+
exports.createCommentResponseSchema = comment_dto_1.commentSchema;
|
15
|
+
class CreateCommentResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createCommentResponseSchema) {
|
16
|
+
}
|
17
|
+
exports.CreateCommentResponseDto = CreateCommentResponseDto;
|
18
|
+
//# sourceMappingURL=create-comment.dto.js.map
|
@@ -0,0 +1,177 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getByProfileCommentResponseSchema: z.ZodObject<{
|
3
|
+
comments: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
4
|
+
id: z.ZodString;
|
5
|
+
content: z.ZodString;
|
6
|
+
createdBy: z.ZodString;
|
7
|
+
profileId: z.ZodString;
|
8
|
+
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
9
|
+
isSolved: z.ZodDefault<z.ZodBoolean>;
|
10
|
+
solvedAt: z.ZodNullable<z.ZodDate>;
|
11
|
+
solvedBy: z.ZodOptional<z.ZodString>;
|
12
|
+
created_at: z.ZodDate;
|
13
|
+
updated_at: z.ZodDate;
|
14
|
+
}, {
|
15
|
+
account: z.ZodObject<Pick<{
|
16
|
+
id: z.ZodString;
|
17
|
+
username: z.ZodString;
|
18
|
+
password: z.ZodString;
|
19
|
+
role: z.ZodNativeEnum<{
|
20
|
+
USER: "USER";
|
21
|
+
ADMIN: "ADMIN";
|
22
|
+
}>;
|
23
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
24
|
+
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
25
|
+
created_at: z.ZodDate;
|
26
|
+
updated_at: z.ZodDate;
|
27
|
+
}, "username">, "strip", z.ZodTypeAny, {
|
28
|
+
username: string;
|
29
|
+
}, {
|
30
|
+
username: string;
|
31
|
+
}>;
|
32
|
+
}>, "strip", z.ZodTypeAny, {
|
33
|
+
account: {
|
34
|
+
username: string;
|
35
|
+
};
|
36
|
+
id: string;
|
37
|
+
content: string;
|
38
|
+
isSolvable: boolean;
|
39
|
+
created_at: Date;
|
40
|
+
updated_at: Date;
|
41
|
+
createdBy: string;
|
42
|
+
profileId: string;
|
43
|
+
isSolved: boolean;
|
44
|
+
solvedAt: Date | null;
|
45
|
+
solvedBy?: string | undefined;
|
46
|
+
}, {
|
47
|
+
account: {
|
48
|
+
username: string;
|
49
|
+
};
|
50
|
+
id: string;
|
51
|
+
content: string;
|
52
|
+
created_at: Date;
|
53
|
+
updated_at: Date;
|
54
|
+
createdBy: string;
|
55
|
+
profileId: string;
|
56
|
+
solvedAt: Date | null;
|
57
|
+
isSolvable?: boolean | undefined;
|
58
|
+
isSolved?: boolean | undefined;
|
59
|
+
solvedBy?: string | undefined;
|
60
|
+
}>, "many">;
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
62
|
+
comments: {
|
63
|
+
account: {
|
64
|
+
username: string;
|
65
|
+
};
|
66
|
+
id: string;
|
67
|
+
content: string;
|
68
|
+
isSolvable: boolean;
|
69
|
+
created_at: Date;
|
70
|
+
updated_at: Date;
|
71
|
+
createdBy: string;
|
72
|
+
profileId: string;
|
73
|
+
isSolved: boolean;
|
74
|
+
solvedAt: Date | null;
|
75
|
+
solvedBy?: string | undefined;
|
76
|
+
}[];
|
77
|
+
}, {
|
78
|
+
comments: {
|
79
|
+
account: {
|
80
|
+
username: string;
|
81
|
+
};
|
82
|
+
id: string;
|
83
|
+
content: string;
|
84
|
+
created_at: Date;
|
85
|
+
updated_at: Date;
|
86
|
+
createdBy: string;
|
87
|
+
profileId: string;
|
88
|
+
solvedAt: Date | null;
|
89
|
+
isSolvable?: boolean | undefined;
|
90
|
+
isSolved?: boolean | undefined;
|
91
|
+
solvedBy?: string | undefined;
|
92
|
+
}[];
|
93
|
+
}>;
|
94
|
+
declare const GetByProfileCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
95
|
+
comments: z.ZodArray<z.ZodObject<{
|
96
|
+
id: z.ZodString;
|
97
|
+
content: z.ZodString;
|
98
|
+
createdBy: z.ZodString;
|
99
|
+
profileId: z.ZodString;
|
100
|
+
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
101
|
+
isSolved: z.ZodDefault<z.ZodBoolean>;
|
102
|
+
solvedAt: z.ZodNullable<z.ZodDate>;
|
103
|
+
solvedBy: z.ZodOptional<z.ZodString>;
|
104
|
+
created_at: z.ZodString;
|
105
|
+
updated_at: z.ZodString;
|
106
|
+
account: z.ZodObject<{
|
107
|
+
username: z.ZodString;
|
108
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
109
|
+
username: string;
|
110
|
+
}, {
|
111
|
+
username: string;
|
112
|
+
}>;
|
113
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
114
|
+
account: {
|
115
|
+
username: string;
|
116
|
+
};
|
117
|
+
id: string;
|
118
|
+
content: string;
|
119
|
+
isSolvable: boolean;
|
120
|
+
created_at: string;
|
121
|
+
updated_at: string;
|
122
|
+
createdBy: string;
|
123
|
+
profileId: string;
|
124
|
+
isSolved: boolean;
|
125
|
+
solvedAt: Date | null;
|
126
|
+
solvedBy?: string | undefined;
|
127
|
+
}, {
|
128
|
+
account: {
|
129
|
+
username: string;
|
130
|
+
};
|
131
|
+
id: string;
|
132
|
+
content: string;
|
133
|
+
created_at: string;
|
134
|
+
updated_at: string;
|
135
|
+
createdBy: string;
|
136
|
+
profileId: string;
|
137
|
+
solvedAt: Date | null;
|
138
|
+
isSolvable?: boolean | undefined;
|
139
|
+
isSolved?: boolean | undefined;
|
140
|
+
solvedBy?: string | undefined;
|
141
|
+
}>, "many">;
|
142
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
143
|
+
comments: {
|
144
|
+
account: {
|
145
|
+
username: string;
|
146
|
+
};
|
147
|
+
id: string;
|
148
|
+
content: string;
|
149
|
+
isSolvable: boolean;
|
150
|
+
created_at: string;
|
151
|
+
updated_at: string;
|
152
|
+
createdBy: string;
|
153
|
+
profileId: string;
|
154
|
+
isSolved: boolean;
|
155
|
+
solvedAt: Date | null;
|
156
|
+
solvedBy?: string | undefined;
|
157
|
+
}[];
|
158
|
+
}, {
|
159
|
+
comments: {
|
160
|
+
account: {
|
161
|
+
username: string;
|
162
|
+
};
|
163
|
+
id: string;
|
164
|
+
content: string;
|
165
|
+
created_at: string;
|
166
|
+
updated_at: string;
|
167
|
+
createdBy: string;
|
168
|
+
profileId: string;
|
169
|
+
solvedAt: Date | null;
|
170
|
+
isSolvable?: boolean | undefined;
|
171
|
+
isSolved?: boolean | undefined;
|
172
|
+
solvedBy?: string | undefined;
|
173
|
+
}[];
|
174
|
+
}>>;
|
175
|
+
export declare class GetByProfileCommentResponseDto extends GetByProfileCommentResponseDto_base {
|
176
|
+
}
|
177
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.GetByProfileCommentResponseDto = exports.getByProfileCommentResponseSchema = void 0;
|
7
|
+
const account_dto_1 = require("../../account/dto/account.dto");
|
8
|
+
const comment_dto_1 = require("./comment.dto");
|
9
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.getByProfileCommentResponseSchema = zod_1.default.object({
|
12
|
+
comments: zod_1.default.array(comment_dto_1.commentSchema.merge(zod_1.default.object({
|
13
|
+
account: account_dto_1.accountSchema.pick({
|
14
|
+
username: true,
|
15
|
+
}),
|
16
|
+
}))),
|
17
|
+
});
|
18
|
+
class GetByProfileCommentResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByProfileCommentResponseSchema) {
|
19
|
+
}
|
20
|
+
exports.GetByProfileCommentResponseDto = GetByProfileCommentResponseDto;
|
21
|
+
//# sourceMappingURL=get-by-profile-comment.dto.js.map
|
@@ -0,0 +1,71 @@
|
|
1
|
+
export declare const toggleSolveCommentResponseSchema: import("zod").ZodObject<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
content: import("zod").ZodString;
|
4
|
+
createdBy: import("zod").ZodString;
|
5
|
+
profileId: import("zod").ZodString;
|
6
|
+
isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
7
|
+
isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
8
|
+
solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
9
|
+
solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
10
|
+
created_at: import("zod").ZodDate;
|
11
|
+
updated_at: import("zod").ZodDate;
|
12
|
+
}, "strip", import("zod").ZodTypeAny, {
|
13
|
+
id: string;
|
14
|
+
content: string;
|
15
|
+
isSolvable: boolean;
|
16
|
+
created_at: Date;
|
17
|
+
updated_at: Date;
|
18
|
+
createdBy: string;
|
19
|
+
profileId: string;
|
20
|
+
isSolved: boolean;
|
21
|
+
solvedAt: Date | null;
|
22
|
+
solvedBy?: string | undefined;
|
23
|
+
}, {
|
24
|
+
id: string;
|
25
|
+
content: string;
|
26
|
+
created_at: Date;
|
27
|
+
updated_at: Date;
|
28
|
+
createdBy: string;
|
29
|
+
profileId: string;
|
30
|
+
solvedAt: Date | null;
|
31
|
+
isSolvable?: boolean | undefined;
|
32
|
+
isSolved?: boolean | undefined;
|
33
|
+
solvedBy?: string | undefined;
|
34
|
+
}>;
|
35
|
+
declare const ToggleSolveCommentResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
36
|
+
id: import("zod").ZodString;
|
37
|
+
content: import("zod").ZodString;
|
38
|
+
createdBy: import("zod").ZodString;
|
39
|
+
profileId: import("zod").ZodString;
|
40
|
+
isSolvable: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
41
|
+
isSolved: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
42
|
+
solvedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
43
|
+
solvedBy: import("zod").ZodOptional<import("zod").ZodString>;
|
44
|
+
created_at: import("zod").ZodString;
|
45
|
+
updated_at: import("zod").ZodString;
|
46
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
47
|
+
id: string;
|
48
|
+
content: string;
|
49
|
+
isSolvable: boolean;
|
50
|
+
created_at: string;
|
51
|
+
updated_at: string;
|
52
|
+
createdBy: string;
|
53
|
+
profileId: string;
|
54
|
+
isSolved: boolean;
|
55
|
+
solvedAt: Date | null;
|
56
|
+
solvedBy?: string | undefined;
|
57
|
+
}, {
|
58
|
+
id: string;
|
59
|
+
content: string;
|
60
|
+
created_at: string;
|
61
|
+
updated_at: string;
|
62
|
+
createdBy: string;
|
63
|
+
profileId: string;
|
64
|
+
solvedAt: Date | null;
|
65
|
+
isSolvable?: boolean | undefined;
|
66
|
+
isSolved?: boolean | undefined;
|
67
|
+
solvedBy?: string | undefined;
|
68
|
+
}>>;
|
69
|
+
export declare class ToggleSolveCommentResponseDto extends ToggleSolveCommentResponseDto_base {
|
70
|
+
}
|
71
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ToggleSolveCommentResponseDto = exports.toggleSolveCommentResponseSchema = void 0;
|
4
|
+
const comment_dto_1 = require("./comment.dto");
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
|
+
exports.toggleSolveCommentResponseSchema = comment_dto_1.commentSchema;
|
7
|
+
class ToggleSolveCommentResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.toggleSolveCommentResponseSchema) {
|
8
|
+
}
|
9
|
+
exports.ToggleSolveCommentResponseDto = ToggleSolveCommentResponseDto;
|
10
|
+
//# sourceMappingURL=toggle-solve-comment.dto.js.map
|
@@ -15,4 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./dto/comment.dto"), exports);
|
18
|
+
__exportStar(require("./dto/create-comment.dto"), exports);
|
19
|
+
__exportStar(require("./dto/get-by-profile-comment.dto"), exports);
|
20
|
+
__exportStar(require("./dto/toggle-solve-comment.dto"), exports);
|
18
21
|
//# sourceMappingURL=exports.js.map
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -23,6 +23,9 @@ declare const _default: {
|
|
23
23
|
readonly content: {
|
24
24
|
readonly min: "El contenido debe tener al menos 1 caracter";
|
25
25
|
};
|
26
|
+
readonly isSolvable: {
|
27
|
+
readonly required: "No se indica si el comentario es resoluble";
|
28
|
+
};
|
26
29
|
};
|
27
30
|
readonly account: {
|
28
31
|
readonly id: {
|
@@ -181,6 +184,21 @@ declare const _default: {
|
|
181
184
|
readonly 'not-found': "Grupo de etiquetas no encontrado";
|
182
185
|
};
|
183
186
|
};
|
187
|
+
readonly comment: {
|
188
|
+
readonly create: {
|
189
|
+
readonly success: "Comentario creado con éxito";
|
190
|
+
readonly 'not-found': "Perfil no encontrado";
|
191
|
+
};
|
192
|
+
readonly 'get-by-profile': {
|
193
|
+
readonly success: "Comentarios obtenidos";
|
194
|
+
readonly 'not-found': "Perfil no encontrado";
|
195
|
+
};
|
196
|
+
readonly 'toggle-solve': {
|
197
|
+
readonly success: "Cambio de estado en la resolución del comentario";
|
198
|
+
readonly 'not-found': "Comentario no encontrado";
|
199
|
+
readonly conflict: "El comentario no es resoluble";
|
200
|
+
};
|
201
|
+
};
|
184
202
|
};
|
185
203
|
};
|
186
204
|
export default _default;
|
package/dist/src/i18n/es.js
CHANGED
@@ -25,6 +25,9 @@ exports.default = {
|
|
25
25
|
content: {
|
26
26
|
min: 'El contenido debe tener al menos 1 caracter',
|
27
27
|
},
|
28
|
+
isSolvable: {
|
29
|
+
required: 'No se indica si el comentario es resoluble',
|
30
|
+
},
|
28
31
|
},
|
29
32
|
account: {
|
30
33
|
id: {
|
@@ -183,6 +186,21 @@ exports.default = {
|
|
183
186
|
'not-found': 'Grupo de etiquetas no encontrado',
|
184
187
|
},
|
185
188
|
},
|
189
|
+
comment: {
|
190
|
+
create: {
|
191
|
+
success: 'Comentario creado con éxito',
|
192
|
+
'not-found': 'Perfil no encontrado',
|
193
|
+
},
|
194
|
+
'get-by-profile': {
|
195
|
+
success: 'Comentarios obtenidos',
|
196
|
+
'not-found': 'Perfil no encontrado',
|
197
|
+
},
|
198
|
+
'toggle-solve': {
|
199
|
+
success: 'Cambio de estado en la resolución del comentario',
|
200
|
+
'not-found': 'Comentario no encontrado',
|
201
|
+
conflict: 'El comentario no es resoluble',
|
202
|
+
},
|
203
|
+
},
|
186
204
|
},
|
187
205
|
};
|
188
206
|
//# sourceMappingURL=es.js.map
|
package/dist/src/i18n/es.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"es.js","sourceRoot":"","sources":["../../../src/i18n/es.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,MAAM,EAAE;QACN,KAAK,EAAE;YACL,OAAO,EAAE,QAAQ;YACjB,GAAG,EAAE,UAAU;YACf,QAAQ,EAAE,oBAAoB;YAC9B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,oBAAoB;YACjC,OAAO,EAAE,YAAY;YACrB,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,WAAW;YACrB,cAAc,EAAE,oBAAoB;YACpC,OAAO,E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BAAqB;aAC/B;YACD,UAAU,EAAE;gBACV,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,gCAAgC;gBACzC,WAAW,EAAE,kCAAkC;aAChD;YACD,MAAM,EAAE;gBACN,OAAO,EAAE,8BAA8B;gBACvC,WAAW,EAAE,kCAAkC;aAChD;SACF;QACD,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,OAAO,EAAE,6BAA6B;gBACtC,WAAW,EAAE,sBAAsB;aACpC;YACD,gBAAgB,EAAE;gBAChB,OAAO,EAAE,uBAAuB;gBAChC,WAAW,EAAE,sBAAsB;aACpC;YACD,cAAc,EAAE;gBACd,OAAO,EAAE,kDAAkD;gBAC3D,WAAW,EAAE,0BAA0B;gBACvC,QAAQ,EAAE,+BAA+B;aAC1C;SACF;KACF;CACO,CAAC"}
|
package/dist/types/schema.d.ts
CHANGED
@@ -207,6 +207,54 @@ export interface paths {
|
|
207
207
|
patch: operations["TagGroupController_update"];
|
208
208
|
trace?: never;
|
209
209
|
};
|
210
|
+
"/comment/create": {
|
211
|
+
parameters: {
|
212
|
+
query?: never;
|
213
|
+
header?: never;
|
214
|
+
path?: never;
|
215
|
+
cookie?: never;
|
216
|
+
};
|
217
|
+
get?: never;
|
218
|
+
put?: never;
|
219
|
+
post: operations["CommentController_createComment"];
|
220
|
+
delete?: never;
|
221
|
+
options?: never;
|
222
|
+
head?: never;
|
223
|
+
patch?: never;
|
224
|
+
trace?: never;
|
225
|
+
};
|
226
|
+
"/comment/get-by-profile/{id}": {
|
227
|
+
parameters: {
|
228
|
+
query?: never;
|
229
|
+
header?: never;
|
230
|
+
path?: never;
|
231
|
+
cookie?: never;
|
232
|
+
};
|
233
|
+
get: operations["CommentController_getCommentsByProfileId"];
|
234
|
+
put?: never;
|
235
|
+
post?: never;
|
236
|
+
delete?: never;
|
237
|
+
options?: never;
|
238
|
+
head?: never;
|
239
|
+
patch?: never;
|
240
|
+
trace?: never;
|
241
|
+
};
|
242
|
+
"/comment/toggle-solve/{id}": {
|
243
|
+
parameters: {
|
244
|
+
query?: never;
|
245
|
+
header?: never;
|
246
|
+
path?: never;
|
247
|
+
cookie?: never;
|
248
|
+
};
|
249
|
+
get?: never;
|
250
|
+
put?: never;
|
251
|
+
post?: never;
|
252
|
+
delete?: never;
|
253
|
+
options?: never;
|
254
|
+
head?: never;
|
255
|
+
patch: operations["CommentController_toggleSolveComment"];
|
256
|
+
trace?: never;
|
257
|
+
};
|
210
258
|
}
|
211
259
|
export type webhooks = Record<string, never>;
|
212
260
|
export interface components {
|
@@ -487,6 +535,52 @@ export interface components {
|
|
487
535
|
created_at: string;
|
488
536
|
updated_at: string;
|
489
537
|
};
|
538
|
+
CreateCommentDto: {
|
539
|
+
content: string;
|
540
|
+
profileId: string;
|
541
|
+
isSolvable: boolean;
|
542
|
+
};
|
543
|
+
CreateCommentResponseDto: {
|
544
|
+
id: string;
|
545
|
+
content: string;
|
546
|
+
createdBy: string;
|
547
|
+
profileId: string;
|
548
|
+
isSolvable: boolean;
|
549
|
+
isSolved: boolean;
|
550
|
+
solvedAt: string | null;
|
551
|
+
solvedBy: string;
|
552
|
+
created_at: string;
|
553
|
+
updated_at: string;
|
554
|
+
};
|
555
|
+
GetByProfileCommentResponseDto: {
|
556
|
+
comments: {
|
557
|
+
id: string;
|
558
|
+
content: string;
|
559
|
+
createdBy: string;
|
560
|
+
profileId: string;
|
561
|
+
isSolvable: boolean;
|
562
|
+
isSolved: boolean;
|
563
|
+
solvedAt: string | null;
|
564
|
+
solvedBy?: string;
|
565
|
+
created_at: string;
|
566
|
+
updated_at: string;
|
567
|
+
account: {
|
568
|
+
username: string;
|
569
|
+
};
|
570
|
+
}[];
|
571
|
+
};
|
572
|
+
ToggleSolveCommentResponseDto: {
|
573
|
+
id: string;
|
574
|
+
content: string;
|
575
|
+
createdBy: string;
|
576
|
+
profileId: string;
|
577
|
+
isSolvable: boolean;
|
578
|
+
isSolved: boolean;
|
579
|
+
solvedAt: string | null;
|
580
|
+
solvedBy: string;
|
581
|
+
created_at: string;
|
582
|
+
updated_at: string;
|
583
|
+
};
|
490
584
|
};
|
491
585
|
responses: never;
|
492
586
|
parameters: never;
|
@@ -944,4 +1038,97 @@ export interface operations {
|
|
944
1038
|
};
|
945
1039
|
};
|
946
1040
|
};
|
1041
|
+
CommentController_createComment: {
|
1042
|
+
parameters: {
|
1043
|
+
query?: never;
|
1044
|
+
header?: never;
|
1045
|
+
path?: never;
|
1046
|
+
cookie?: never;
|
1047
|
+
};
|
1048
|
+
requestBody: {
|
1049
|
+
content: {
|
1050
|
+
"application/json": components["schemas"]["CreateCommentDto"];
|
1051
|
+
};
|
1052
|
+
};
|
1053
|
+
responses: {
|
1054
|
+
201: {
|
1055
|
+
headers: {
|
1056
|
+
[name: string]: unknown;
|
1057
|
+
};
|
1058
|
+
content: {
|
1059
|
+
"application/json": components["schemas"]["CreateCommentResponseDto"];
|
1060
|
+
};
|
1061
|
+
};
|
1062
|
+
404: {
|
1063
|
+
headers: {
|
1064
|
+
[name: string]: unknown;
|
1065
|
+
};
|
1066
|
+
content: {
|
1067
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1068
|
+
};
|
1069
|
+
};
|
1070
|
+
};
|
1071
|
+
};
|
1072
|
+
CommentController_getCommentsByProfileId: {
|
1073
|
+
parameters: {
|
1074
|
+
query?: never;
|
1075
|
+
header?: never;
|
1076
|
+
path?: never;
|
1077
|
+
cookie?: never;
|
1078
|
+
};
|
1079
|
+
requestBody?: never;
|
1080
|
+
responses: {
|
1081
|
+
200: {
|
1082
|
+
headers: {
|
1083
|
+
[name: string]: unknown;
|
1084
|
+
};
|
1085
|
+
content: {
|
1086
|
+
"application/json": components["schemas"]["GetByProfileCommentResponseDto"];
|
1087
|
+
};
|
1088
|
+
};
|
1089
|
+
404: {
|
1090
|
+
headers: {
|
1091
|
+
[name: string]: unknown;
|
1092
|
+
};
|
1093
|
+
content: {
|
1094
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1095
|
+
};
|
1096
|
+
};
|
1097
|
+
};
|
1098
|
+
};
|
1099
|
+
CommentController_toggleSolveComment: {
|
1100
|
+
parameters: {
|
1101
|
+
query?: never;
|
1102
|
+
header?: never;
|
1103
|
+
path?: never;
|
1104
|
+
cookie?: never;
|
1105
|
+
};
|
1106
|
+
requestBody?: never;
|
1107
|
+
responses: {
|
1108
|
+
200: {
|
1109
|
+
headers: {
|
1110
|
+
[name: string]: unknown;
|
1111
|
+
};
|
1112
|
+
content: {
|
1113
|
+
"application/json": components["schemas"]["ToggleSolveCommentResponseDto"];
|
1114
|
+
};
|
1115
|
+
};
|
1116
|
+
404: {
|
1117
|
+
headers: {
|
1118
|
+
[name: string]: unknown;
|
1119
|
+
};
|
1120
|
+
content: {
|
1121
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1122
|
+
};
|
1123
|
+
};
|
1124
|
+
409: {
|
1125
|
+
headers: {
|
1126
|
+
[name: string]: unknown;
|
1127
|
+
};
|
1128
|
+
content: {
|
1129
|
+
"application/json": components["schemas"]["ErrorDto"];
|
1130
|
+
};
|
1131
|
+
};
|
1132
|
+
};
|
1133
|
+
};
|
947
1134
|
}
|