expo-backend-types 0.4.0 → 0.5.0-EXPO-283-EB-Respuesta-Enlatada.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/account/dto/account.dto.d.ts +11 -201
- package/dist/src/account/dto/account.dto.js +4 -21
- package/dist/src/account/dto/create-account.dto.d.ts +9 -301
- package/dist/src/account/dto/create-account.dto.js +3 -4
- package/dist/src/account/dto/get-global-filter.dto.d.ts +24 -20
- package/dist/src/account/dto/get-global-filter.dto.js +10 -6
- package/dist/src/account/dto/get-me.dto.d.ts +214 -188
- package/dist/src/account/dto/get-me.dto.js +27 -4
- package/dist/src/account/dto/update-global-filter.dto.d.ts +136 -169
- package/dist/src/account/dto/update-global-filter.dto.js +7 -15
- package/dist/src/auth/dto/login.dto.d.ts +34 -414
- package/dist/src/auth/dto/login.dto.js +5 -4
- package/dist/src/auth/dto/refresh.dto.d.ts +30 -0
- package/dist/src/auth/dto/refresh.dto.js +17 -0
- package/dist/src/comment/dto/comment.dto.d.ts +21 -15
- package/dist/src/comment/dto/comment.dto.js +11 -6
- 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/event/dto/event.dto.d.ts +10 -16
- package/dist/src/event/dto/event.dto.js +6 -10
- package/dist/src/event-folder/dto/event-folder.dto.d.ts +6 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +2 -0
- package/dist/src/event-folder/exports.d.ts +1 -0
- package/dist/src/event-folder/exports.js +18 -0
- package/dist/src/exports.d.ts +5 -3
- package/dist/src/exports.js +5 -3
- package/dist/src/i18n/es.d.ts +210 -0
- package/dist/src/i18n/es.js +212 -0
- package/dist/src/i18n/es.js.map +1 -0
- package/dist/src/i18n/translate.d.ts +9 -2
- package/dist/src/i18n/translate.js +3 -3
- package/dist/src/i18n/translate.js.map +1 -1
- package/dist/src/profile/dto/profile.dto.d.ts +68 -0
- package/dist/src/profile/dto/profile.dto.js +59 -0
- package/dist/src/profile/exports.d.ts +1 -0
- package/dist/src/profile/exports.js +18 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.d.ts +4 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +10 -0
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -0
- package/dist/src/shared/dto-modification/without-dates.d.ts +4 -0
- package/dist/src/shared/dto-modification/without-dates.js +6 -0
- package/dist/src/shared/dto-modification/without-dates.js.map +1 -0
- package/dist/src/shared/dto-modification/zod-without-dates.d.ts +8 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js +28 -0
- package/dist/src/shared/dto-modification/zod-without-dates.js.map +1 -0
- package/dist/src/tag/dto/create-tag.dto.d.ts +5 -16
- package/dist/src/tag/dto/create-tag.dto.js +3 -3
- package/dist/src/tag/dto/delete-tag.dto.d.ts +7 -7
- package/dist/src/tag/dto/delete-tag.dto.js +2 -2
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +34 -35
- package/dist/src/tag/dto/find-all-tag.dto.js +2 -2
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +35 -36
- package/dist/src/tag/dto/find-by-group-tag.dto.js +5 -5
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +23 -24
- package/dist/src/tag/dto/find-one-tag.dto.js +2 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +260 -0
- package/dist/src/tag/dto/massive-allocation.dto.js +24 -0
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +260 -0
- package/dist/src/tag/dto/massive-deallocation.dto.js +24 -0
- package/dist/src/tag/dto/tag.dto.d.ts +7 -7
- package/dist/src/tag/dto/tag.dto.js +3 -3
- package/dist/src/tag/dto/update-tag.dto.d.ts +31 -22
- package/dist/src/tag/dto/update-tag.dto.js +5 -7
- package/dist/src/tag/exports.d.ts +2 -1
- package/dist/src/tag/exports.js +2 -1
- package/dist/src/tag-group/dto/create-tag-group.dto.d.ts +78 -0
- package/dist/src/tag-group/dto/create-tag-group.dto.js +18 -0
- package/dist/src/tag-group/dto/delete-tag-group.dto.d.ts +47 -0
- package/dist/src/tag-group/dto/delete-tag-group.dto.js +10 -0
- package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +207 -0
- package/dist/src/tag-group/dto/find-all-tag-group.dto.js +19 -0
- package/dist/src/{tag/dto/find-all-grouped-tag.dto.d.ts → tag-group/dto/find-all-with-tags.dto.d.ts} +24 -28
- package/dist/src/{tag/dto/find-all-grouped-tag.dto.js → tag-group/dto/find-all-with-tags.dto.js} +8 -8
- package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +135 -0
- package/dist/src/tag-group/dto/find-one-tag-group.dto.js +17 -0
- package/dist/src/tag-group/dto/tag-group.dto.d.ts +9 -9
- package/dist/src/tag-group/dto/tag-group.dto.js +5 -3
- package/dist/src/tag-group/dto/update-tag-group.dto.d.ts +78 -0
- package/dist/src/tag-group/dto/update-tag-group.dto.js +18 -0
- package/dist/src/tag-group/exports.d.ts +6 -0
- package/dist/src/tag-group/exports.js +6 -0
- package/dist/types/prisma-schema/edge.js +4 -4
- package/dist/types/prisma-schema/index-browser.js +1 -1
- package/dist/types/prisma-schema/index.d.ts +53 -53
- package/dist/types/prisma-schema/index.js +4 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -1
- package/dist/types/prisma-schema/wasm.js +1 -1
- package/dist/types/schema.d.ts +787 -184
- package/package.json +10 -6
- package/dist/src/i18n/es.json +0 -125
@@ -7,121 +7,26 @@ export declare const accountSchema: z.ZodObject<{
|
|
7
7
|
USER: "USER";
|
8
8
|
ADMIN: "ADMIN";
|
9
9
|
}>;
|
10
|
-
created_at: z.ZodString;
|
11
|
-
updated_at: z.ZodString;
|
12
|
-
globalFilter: z.ZodObject<{
|
13
|
-
tags: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
14
|
-
id: z.ZodString;
|
15
|
-
name: z.ZodString;
|
16
|
-
groupId: z.ZodString;
|
17
|
-
type: z.ZodNativeEnum<{
|
18
|
-
PROFILE: "PROFILE";
|
19
|
-
EVENT: "EVENT";
|
20
|
-
PARTICIPANT: "PARTICIPANT";
|
21
|
-
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
22
|
-
}>;
|
23
|
-
created_at: z.ZodDate;
|
24
|
-
updated_at: z.ZodDate;
|
25
|
-
}, "id" | "name">, {
|
26
|
-
group: z.ZodObject<Pick<{
|
27
|
-
id: z.ZodString;
|
28
|
-
name: z.ZodString;
|
29
|
-
color: z.ZodString;
|
30
|
-
isExclusive: z.ZodBoolean;
|
31
|
-
created_at: z.ZodDate;
|
32
|
-
updated_at: z.ZodDate;
|
33
|
-
}, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
|
34
|
-
id: string;
|
35
|
-
color: string;
|
36
|
-
isExclusive: boolean;
|
37
|
-
}, {
|
38
|
-
id: string;
|
39
|
-
color: string;
|
40
|
-
isExclusive: boolean;
|
41
|
-
}>;
|
42
|
-
}>, "strip", z.ZodTypeAny, {
|
43
|
-
id: string;
|
44
|
-
name: string;
|
45
|
-
group: {
|
46
|
-
id: string;
|
47
|
-
color: string;
|
48
|
-
isExclusive: boolean;
|
49
|
-
};
|
50
|
-
}, {
|
51
|
-
id: string;
|
52
|
-
name: string;
|
53
|
-
group: {
|
54
|
-
id: string;
|
55
|
-
color: string;
|
56
|
-
isExclusive: boolean;
|
57
|
-
};
|
58
|
-
}>;
|
59
|
-
active: z.ZodBoolean;
|
60
|
-
}, "strip", z.ZodTypeAny, {
|
61
|
-
tags: {
|
62
|
-
id: string;
|
63
|
-
name: string;
|
64
|
-
group: {
|
65
|
-
id: string;
|
66
|
-
color: string;
|
67
|
-
isExclusive: boolean;
|
68
|
-
};
|
69
|
-
};
|
70
|
-
active: boolean;
|
71
|
-
}, {
|
72
|
-
tags: {
|
73
|
-
id: string;
|
74
|
-
name: string;
|
75
|
-
group: {
|
76
|
-
id: string;
|
77
|
-
color: string;
|
78
|
-
isExclusive: boolean;
|
79
|
-
};
|
80
|
-
};
|
81
|
-
active: boolean;
|
82
|
-
}>;
|
83
10
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
84
11
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
12
|
+
created_at: z.ZodDate;
|
13
|
+
updated_at: z.ZodDate;
|
85
14
|
}, "strip", z.ZodTypeAny, {
|
86
15
|
id: string;
|
87
16
|
username: string;
|
88
17
|
password: string;
|
89
18
|
role: "USER" | "ADMIN";
|
90
|
-
created_at: string;
|
91
|
-
updated_at: string;
|
92
|
-
globalFilter: {
|
93
|
-
tags: {
|
94
|
-
id: string;
|
95
|
-
name: string;
|
96
|
-
group: {
|
97
|
-
id: string;
|
98
|
-
color: string;
|
99
|
-
isExclusive: boolean;
|
100
|
-
};
|
101
|
-
};
|
102
|
-
active: boolean;
|
103
|
-
};
|
104
19
|
isGlobalFilterActive: boolean;
|
105
20
|
fcmToken: string[];
|
21
|
+
created_at: Date;
|
22
|
+
updated_at: Date;
|
106
23
|
}, {
|
107
24
|
id: string;
|
108
25
|
username: string;
|
109
26
|
password: string;
|
110
27
|
role: "USER" | "ADMIN";
|
111
|
-
created_at:
|
112
|
-
updated_at:
|
113
|
-
globalFilter: {
|
114
|
-
tags: {
|
115
|
-
id: string;
|
116
|
-
name: string;
|
117
|
-
group: {
|
118
|
-
id: string;
|
119
|
-
color: string;
|
120
|
-
isExclusive: boolean;
|
121
|
-
};
|
122
|
-
};
|
123
|
-
active: boolean;
|
124
|
-
};
|
28
|
+
created_at: Date;
|
29
|
+
updated_at: Date;
|
125
30
|
isGlobalFilterActive?: boolean | undefined;
|
126
31
|
fcmToken?: string[] | undefined;
|
127
32
|
}>;
|
@@ -133,102 +38,19 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
133
38
|
USER: "USER";
|
134
39
|
ADMIN: "ADMIN";
|
135
40
|
}>;
|
136
|
-
created_at: z.ZodString;
|
137
|
-
updated_at: z.ZodString;
|
138
|
-
globalFilter: z.ZodObject<{
|
139
|
-
tags: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
140
|
-
id: z.ZodString;
|
141
|
-
name: z.ZodString;
|
142
|
-
groupId: z.ZodString;
|
143
|
-
type: z.ZodNativeEnum<{
|
144
|
-
PROFILE: "PROFILE";
|
145
|
-
EVENT: "EVENT";
|
146
|
-
PARTICIPANT: "PARTICIPANT";
|
147
|
-
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
148
|
-
}>;
|
149
|
-
created_at: z.ZodDate;
|
150
|
-
updated_at: z.ZodDate;
|
151
|
-
}, "id" | "name">, {
|
152
|
-
group: z.ZodObject<Pick<{
|
153
|
-
id: z.ZodString;
|
154
|
-
name: z.ZodString;
|
155
|
-
color: z.ZodString;
|
156
|
-
isExclusive: z.ZodBoolean;
|
157
|
-
created_at: z.ZodDate;
|
158
|
-
updated_at: z.ZodDate;
|
159
|
-
}, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
|
160
|
-
id: string;
|
161
|
-
color: string;
|
162
|
-
isExclusive: boolean;
|
163
|
-
}, {
|
164
|
-
id: string;
|
165
|
-
color: string;
|
166
|
-
isExclusive: boolean;
|
167
|
-
}>;
|
168
|
-
}>, "strip", z.ZodTypeAny, {
|
169
|
-
id: string;
|
170
|
-
name: string;
|
171
|
-
group: {
|
172
|
-
id: string;
|
173
|
-
color: string;
|
174
|
-
isExclusive: boolean;
|
175
|
-
};
|
176
|
-
}, {
|
177
|
-
id: string;
|
178
|
-
name: string;
|
179
|
-
group: {
|
180
|
-
id: string;
|
181
|
-
color: string;
|
182
|
-
isExclusive: boolean;
|
183
|
-
};
|
184
|
-
}>;
|
185
|
-
active: z.ZodBoolean;
|
186
|
-
}, "strip", z.ZodTypeAny, {
|
187
|
-
tags: {
|
188
|
-
id: string;
|
189
|
-
name: string;
|
190
|
-
group: {
|
191
|
-
id: string;
|
192
|
-
color: string;
|
193
|
-
isExclusive: boolean;
|
194
|
-
};
|
195
|
-
};
|
196
|
-
active: boolean;
|
197
|
-
}, {
|
198
|
-
tags: {
|
199
|
-
id: string;
|
200
|
-
name: string;
|
201
|
-
group: {
|
202
|
-
id: string;
|
203
|
-
color: string;
|
204
|
-
isExclusive: boolean;
|
205
|
-
};
|
206
|
-
};
|
207
|
-
active: boolean;
|
208
|
-
}>;
|
209
41
|
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
210
42
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
211
|
-
|
43
|
+
created_at: z.ZodString;
|
44
|
+
updated_at: z.ZodString;
|
45
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
212
46
|
id: string;
|
213
47
|
username: string;
|
214
48
|
password: string;
|
215
49
|
role: "USER" | "ADMIN";
|
216
|
-
created_at: string;
|
217
|
-
updated_at: string;
|
218
|
-
globalFilter: {
|
219
|
-
tags: {
|
220
|
-
id: string;
|
221
|
-
name: string;
|
222
|
-
group: {
|
223
|
-
id: string;
|
224
|
-
color: string;
|
225
|
-
isExclusive: boolean;
|
226
|
-
};
|
227
|
-
};
|
228
|
-
active: boolean;
|
229
|
-
};
|
230
50
|
isGlobalFilterActive: boolean;
|
231
51
|
fcmToken: string[];
|
52
|
+
created_at: string;
|
53
|
+
updated_at: string;
|
232
54
|
}, {
|
233
55
|
id: string;
|
234
56
|
username: string;
|
@@ -236,18 +58,6 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
236
58
|
role: "USER" | "ADMIN";
|
237
59
|
created_at: string;
|
238
60
|
updated_at: string;
|
239
|
-
globalFilter: {
|
240
|
-
tags: {
|
241
|
-
id: string;
|
242
|
-
name: string;
|
243
|
-
group: {
|
244
|
-
id: string;
|
245
|
-
color: string;
|
246
|
-
isExclusive: boolean;
|
247
|
-
};
|
248
|
-
};
|
249
|
-
active: boolean;
|
250
|
-
};
|
251
61
|
isGlobalFilterActive?: boolean | undefined;
|
252
62
|
fcmToken?: string[] | undefined;
|
253
63
|
}>>;
|
@@ -1,10 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CuentaDto = exports.accountSchema = void 0;
|
4
|
-
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
5
|
-
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
6
4
|
const translate_1 = require("../../i18n/translate");
|
7
|
-
const
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
6
|
const zod_1 = require("zod");
|
9
7
|
const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
|
10
8
|
exports.accountSchema = zod_1.z.object({
|
@@ -27,27 +25,12 @@ exports.accountSchema = zod_1.z.object({
|
|
27
25
|
required_error: (0, translate_1.translate)('model.account.role.required'),
|
28
26
|
message: (0, translate_1.translate)('model.account.role.invalid'),
|
29
27
|
}),
|
30
|
-
created_at: zod_1.z.string().datetime(),
|
31
|
-
updated_at: zod_1.z.string().datetime(),
|
32
|
-
globalFilter: zod_1.z.object({
|
33
|
-
tags: tag_dto_1.tagSchema
|
34
|
-
.pick({
|
35
|
-
id: true,
|
36
|
-
name: true,
|
37
|
-
})
|
38
|
-
.merge(zod_1.z.object({
|
39
|
-
group: tag_group_dto_1.tagGroupSchema.pick({
|
40
|
-
id: true,
|
41
|
-
color: true,
|
42
|
-
isExclusive: true,
|
43
|
-
}),
|
44
|
-
})),
|
45
|
-
active: zod_1.z.boolean(),
|
46
|
-
}),
|
47
28
|
isGlobalFilterActive: zod_1.z.boolean().default(false),
|
48
29
|
fcmToken: zod_1.z.array(zod_1.z.string()).default([]),
|
30
|
+
created_at: zod_1.z.date(),
|
31
|
+
updated_at: zod_1.z.date(),
|
49
32
|
});
|
50
|
-
class CuentaDto extends (0,
|
33
|
+
class CuentaDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.accountSchema) {
|
51
34
|
}
|
52
35
|
exports.CuentaDto = CuentaDto;
|
53
36
|
//# sourceMappingURL=account.dto.js.map
|
@@ -6,81 +6,10 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
|
6
6
|
USER: "USER";
|
7
7
|
ADMIN: "ADMIN";
|
8
8
|
}>;
|
9
|
-
created_at: import("zod").ZodString;
|
10
|
-
updated_at: import("zod").ZodString;
|
11
|
-
globalFilter: import("zod").ZodObject<{
|
12
|
-
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
13
|
-
id: import("zod").ZodString;
|
14
|
-
name: import("zod").ZodString;
|
15
|
-
groupId: import("zod").ZodString;
|
16
|
-
type: import("zod").ZodNativeEnum<{
|
17
|
-
PROFILE: "PROFILE";
|
18
|
-
EVENT: "EVENT";
|
19
|
-
PARTICIPANT: "PARTICIPANT";
|
20
|
-
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
21
|
-
}>;
|
22
|
-
created_at: import("zod").ZodDate;
|
23
|
-
updated_at: import("zod").ZodDate;
|
24
|
-
}, "id" | "name">, {
|
25
|
-
group: import("zod").ZodObject<Pick<{
|
26
|
-
id: import("zod").ZodString;
|
27
|
-
name: import("zod").ZodString;
|
28
|
-
color: import("zod").ZodString;
|
29
|
-
isExclusive: import("zod").ZodBoolean;
|
30
|
-
created_at: import("zod").ZodDate;
|
31
|
-
updated_at: import("zod").ZodDate;
|
32
|
-
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
33
|
-
id: string;
|
34
|
-
color: string;
|
35
|
-
isExclusive: boolean;
|
36
|
-
}, {
|
37
|
-
id: string;
|
38
|
-
color: string;
|
39
|
-
isExclusive: boolean;
|
40
|
-
}>;
|
41
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
42
|
-
id: string;
|
43
|
-
name: string;
|
44
|
-
group: {
|
45
|
-
id: string;
|
46
|
-
color: string;
|
47
|
-
isExclusive: boolean;
|
48
|
-
};
|
49
|
-
}, {
|
50
|
-
id: string;
|
51
|
-
name: string;
|
52
|
-
group: {
|
53
|
-
id: string;
|
54
|
-
color: string;
|
55
|
-
isExclusive: boolean;
|
56
|
-
};
|
57
|
-
}>;
|
58
|
-
active: import("zod").ZodBoolean;
|
59
|
-
}, "strip", import("zod").ZodTypeAny, {
|
60
|
-
tags: {
|
61
|
-
id: string;
|
62
|
-
name: string;
|
63
|
-
group: {
|
64
|
-
id: string;
|
65
|
-
color: string;
|
66
|
-
isExclusive: boolean;
|
67
|
-
};
|
68
|
-
};
|
69
|
-
active: boolean;
|
70
|
-
}, {
|
71
|
-
tags: {
|
72
|
-
id: string;
|
73
|
-
name: string;
|
74
|
-
group: {
|
75
|
-
id: string;
|
76
|
-
color: string;
|
77
|
-
isExclusive: boolean;
|
78
|
-
};
|
79
|
-
};
|
80
|
-
active: boolean;
|
81
|
-
}>;
|
82
9
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
83
10
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
11
|
+
created_at: import("zod").ZodDate;
|
12
|
+
updated_at: import("zod").ZodDate;
|
84
13
|
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
85
14
|
username: string;
|
86
15
|
password: string;
|
@@ -90,90 +19,14 @@ export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
|
90
19
|
password: string;
|
91
20
|
role: "USER" | "ADMIN";
|
92
21
|
}>;
|
93
|
-
declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<
|
94
|
-
id: import("zod").ZodString;
|
22
|
+
declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
95
23
|
username: import("zod").ZodString;
|
96
24
|
password: import("zod").ZodString;
|
97
25
|
role: import("zod").ZodNativeEnum<{
|
98
26
|
USER: "USER";
|
99
27
|
ADMIN: "ADMIN";
|
100
28
|
}>;
|
101
|
-
|
102
|
-
updated_at: import("zod").ZodString;
|
103
|
-
globalFilter: import("zod").ZodObject<{
|
104
|
-
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
105
|
-
id: import("zod").ZodString;
|
106
|
-
name: import("zod").ZodString;
|
107
|
-
groupId: import("zod").ZodString;
|
108
|
-
type: import("zod").ZodNativeEnum<{
|
109
|
-
PROFILE: "PROFILE";
|
110
|
-
EVENT: "EVENT";
|
111
|
-
PARTICIPANT: "PARTICIPANT";
|
112
|
-
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
113
|
-
}>;
|
114
|
-
created_at: import("zod").ZodDate;
|
115
|
-
updated_at: import("zod").ZodDate;
|
116
|
-
}, "id" | "name">, {
|
117
|
-
group: import("zod").ZodObject<Pick<{
|
118
|
-
id: import("zod").ZodString;
|
119
|
-
name: import("zod").ZodString;
|
120
|
-
color: import("zod").ZodString;
|
121
|
-
isExclusive: import("zod").ZodBoolean;
|
122
|
-
created_at: import("zod").ZodDate;
|
123
|
-
updated_at: import("zod").ZodDate;
|
124
|
-
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
125
|
-
id: string;
|
126
|
-
color: string;
|
127
|
-
isExclusive: boolean;
|
128
|
-
}, {
|
129
|
-
id: string;
|
130
|
-
color: string;
|
131
|
-
isExclusive: boolean;
|
132
|
-
}>;
|
133
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
134
|
-
id: string;
|
135
|
-
name: string;
|
136
|
-
group: {
|
137
|
-
id: string;
|
138
|
-
color: string;
|
139
|
-
isExclusive: boolean;
|
140
|
-
};
|
141
|
-
}, {
|
142
|
-
id: string;
|
143
|
-
name: string;
|
144
|
-
group: {
|
145
|
-
id: string;
|
146
|
-
color: string;
|
147
|
-
isExclusive: boolean;
|
148
|
-
};
|
149
|
-
}>;
|
150
|
-
active: import("zod").ZodBoolean;
|
151
|
-
}, "strip", import("zod").ZodTypeAny, {
|
152
|
-
tags: {
|
153
|
-
id: string;
|
154
|
-
name: string;
|
155
|
-
group: {
|
156
|
-
id: string;
|
157
|
-
color: string;
|
158
|
-
isExclusive: boolean;
|
159
|
-
};
|
160
|
-
};
|
161
|
-
active: boolean;
|
162
|
-
}, {
|
163
|
-
tags: {
|
164
|
-
id: string;
|
165
|
-
name: string;
|
166
|
-
group: {
|
167
|
-
id: string;
|
168
|
-
color: string;
|
169
|
-
isExclusive: boolean;
|
170
|
-
};
|
171
|
-
};
|
172
|
-
active: boolean;
|
173
|
-
}>;
|
174
|
-
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
175
|
-
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
176
|
-
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
29
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
177
30
|
username: string;
|
178
31
|
password: string;
|
179
32
|
role: "USER" | "ADMIN";
|
@@ -192,82 +45,11 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
|
192
45
|
USER: "USER";
|
193
46
|
ADMIN: "ADMIN";
|
194
47
|
}>;
|
195
|
-
created_at: import("zod").ZodString;
|
196
|
-
updated_at: import("zod").ZodString;
|
197
|
-
globalFilter: import("zod").ZodObject<{
|
198
|
-
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
199
|
-
id: import("zod").ZodString;
|
200
|
-
name: import("zod").ZodString;
|
201
|
-
groupId: import("zod").ZodString;
|
202
|
-
type: import("zod").ZodNativeEnum<{
|
203
|
-
PROFILE: "PROFILE";
|
204
|
-
EVENT: "EVENT";
|
205
|
-
PARTICIPANT: "PARTICIPANT";
|
206
|
-
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
207
|
-
}>;
|
208
|
-
created_at: import("zod").ZodDate;
|
209
|
-
updated_at: import("zod").ZodDate;
|
210
|
-
}, "id" | "name">, {
|
211
|
-
group: import("zod").ZodObject<Pick<{
|
212
|
-
id: import("zod").ZodString;
|
213
|
-
name: import("zod").ZodString;
|
214
|
-
color: import("zod").ZodString;
|
215
|
-
isExclusive: import("zod").ZodBoolean;
|
216
|
-
created_at: import("zod").ZodDate;
|
217
|
-
updated_at: import("zod").ZodDate;
|
218
|
-
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
219
|
-
id: string;
|
220
|
-
color: string;
|
221
|
-
isExclusive: boolean;
|
222
|
-
}, {
|
223
|
-
id: string;
|
224
|
-
color: string;
|
225
|
-
isExclusive: boolean;
|
226
|
-
}>;
|
227
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
228
|
-
id: string;
|
229
|
-
name: string;
|
230
|
-
group: {
|
231
|
-
id: string;
|
232
|
-
color: string;
|
233
|
-
isExclusive: boolean;
|
234
|
-
};
|
235
|
-
}, {
|
236
|
-
id: string;
|
237
|
-
name: string;
|
238
|
-
group: {
|
239
|
-
id: string;
|
240
|
-
color: string;
|
241
|
-
isExclusive: boolean;
|
242
|
-
};
|
243
|
-
}>;
|
244
|
-
active: import("zod").ZodBoolean;
|
245
|
-
}, "strip", import("zod").ZodTypeAny, {
|
246
|
-
tags: {
|
247
|
-
id: string;
|
248
|
-
name: string;
|
249
|
-
group: {
|
250
|
-
id: string;
|
251
|
-
color: string;
|
252
|
-
isExclusive: boolean;
|
253
|
-
};
|
254
|
-
};
|
255
|
-
active: boolean;
|
256
|
-
}, {
|
257
|
-
tags: {
|
258
|
-
id: string;
|
259
|
-
name: string;
|
260
|
-
group: {
|
261
|
-
id: string;
|
262
|
-
color: string;
|
263
|
-
isExclusive: boolean;
|
264
|
-
};
|
265
|
-
};
|
266
|
-
active: boolean;
|
267
|
-
}>;
|
268
48
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
269
49
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
270
|
-
|
50
|
+
created_at: import("zod").ZodDate;
|
51
|
+
updated_at: import("zod").ZodDate;
|
52
|
+
}, "password" | "created_at" | "updated_at">, "strip", import("zod").ZodTypeAny, {
|
271
53
|
id: string;
|
272
54
|
username: string;
|
273
55
|
role: "USER" | "ADMIN";
|
@@ -280,90 +62,16 @@ export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
|
280
62
|
isGlobalFilterActive?: boolean | undefined;
|
281
63
|
fcmToken?: string[] | undefined;
|
282
64
|
}>;
|
283
|
-
declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<
|
65
|
+
declare const CreateAccountResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
284
66
|
id: import("zod").ZodString;
|
285
67
|
username: import("zod").ZodString;
|
286
|
-
password: import("zod").ZodString;
|
287
68
|
role: import("zod").ZodNativeEnum<{
|
288
69
|
USER: "USER";
|
289
70
|
ADMIN: "ADMIN";
|
290
71
|
}>;
|
291
|
-
created_at: import("zod").ZodString;
|
292
|
-
updated_at: import("zod").ZodString;
|
293
|
-
globalFilter: import("zod").ZodObject<{
|
294
|
-
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
295
|
-
id: import("zod").ZodString;
|
296
|
-
name: import("zod").ZodString;
|
297
|
-
groupId: import("zod").ZodString;
|
298
|
-
type: import("zod").ZodNativeEnum<{
|
299
|
-
PROFILE: "PROFILE";
|
300
|
-
EVENT: "EVENT";
|
301
|
-
PARTICIPANT: "PARTICIPANT";
|
302
|
-
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
303
|
-
}>;
|
304
|
-
created_at: import("zod").ZodDate;
|
305
|
-
updated_at: import("zod").ZodDate;
|
306
|
-
}, "id" | "name">, {
|
307
|
-
group: import("zod").ZodObject<Pick<{
|
308
|
-
id: import("zod").ZodString;
|
309
|
-
name: import("zod").ZodString;
|
310
|
-
color: import("zod").ZodString;
|
311
|
-
isExclusive: import("zod").ZodBoolean;
|
312
|
-
created_at: import("zod").ZodDate;
|
313
|
-
updated_at: import("zod").ZodDate;
|
314
|
-
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
315
|
-
id: string;
|
316
|
-
color: string;
|
317
|
-
isExclusive: boolean;
|
318
|
-
}, {
|
319
|
-
id: string;
|
320
|
-
color: string;
|
321
|
-
isExclusive: boolean;
|
322
|
-
}>;
|
323
|
-
}>, "strip", import("zod").ZodTypeAny, {
|
324
|
-
id: string;
|
325
|
-
name: string;
|
326
|
-
group: {
|
327
|
-
id: string;
|
328
|
-
color: string;
|
329
|
-
isExclusive: boolean;
|
330
|
-
};
|
331
|
-
}, {
|
332
|
-
id: string;
|
333
|
-
name: string;
|
334
|
-
group: {
|
335
|
-
id: string;
|
336
|
-
color: string;
|
337
|
-
isExclusive: boolean;
|
338
|
-
};
|
339
|
-
}>;
|
340
|
-
active: import("zod").ZodBoolean;
|
341
|
-
}, "strip", import("zod").ZodTypeAny, {
|
342
|
-
tags: {
|
343
|
-
id: string;
|
344
|
-
name: string;
|
345
|
-
group: {
|
346
|
-
id: string;
|
347
|
-
color: string;
|
348
|
-
isExclusive: boolean;
|
349
|
-
};
|
350
|
-
};
|
351
|
-
active: boolean;
|
352
|
-
}, {
|
353
|
-
tags: {
|
354
|
-
id: string;
|
355
|
-
name: string;
|
356
|
-
group: {
|
357
|
-
id: string;
|
358
|
-
color: string;
|
359
|
-
isExclusive: boolean;
|
360
|
-
};
|
361
|
-
};
|
362
|
-
active: boolean;
|
363
|
-
}>;
|
364
72
|
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
365
73
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
366
|
-
}, "
|
74
|
+
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
367
75
|
id: string;
|
368
76
|
username: string;
|
369
77
|
role: "USER" | "ADMIN";
|
@@ -2,22 +2,21 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateAccountResponseDto = exports.createAccountResponseSchema = exports.CreateAccountDto = exports.createAccountSchema = void 0;
|
4
4
|
const account_dto_1 = require("./account.dto");
|
5
|
-
const
|
5
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
6
6
|
exports.createAccountSchema = account_dto_1.accountSchema.pick({
|
7
7
|
username: true,
|
8
8
|
password: true,
|
9
9
|
role: true,
|
10
10
|
});
|
11
|
-
class CreateAccountDto extends (0,
|
11
|
+
class CreateAccountDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createAccountSchema) {
|
12
12
|
}
|
13
13
|
exports.CreateAccountDto = CreateAccountDto;
|
14
14
|
exports.createAccountResponseSchema = account_dto_1.accountSchema.omit({
|
15
15
|
password: true,
|
16
|
-
globalFilter: true,
|
17
16
|
created_at: true,
|
18
17
|
updated_at: true,
|
19
18
|
});
|
20
|
-
class CreateAccountResponseDto extends (0,
|
19
|
+
class CreateAccountResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createAccountResponseSchema) {
|
21
20
|
}
|
22
21
|
exports.CreateAccountResponseDto = CreateAccountResponseDto;
|
23
22
|
//# sourceMappingURL=create-account.dto.js.map
|