expo-backend-types 0.3.0-EXPO-245.1 → 0.3.0-EXPO-245.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/auth/dto/login.dto.d.ts +392 -12
- package/dist/src/auth/dto/register.dto.d.ts +284 -0
- package/dist/src/comentario/dto/comentario.dto.d.ts +42 -0
- package/dist/src/comentario/dto/comentario.dto.js +22 -0
- package/dist/src/comentario/exports.d.ts +1 -0
- package/dist/src/comentario/exports.js +18 -0
- package/dist/src/cuenta/dto/cuenta.dto.d.ts +198 -8
- package/dist/src/cuenta/dto/cuenta.dto.js +17 -0
- package/dist/src/etiqueta/dto/etiqueta.dto.d.ts +58 -0
- package/dist/src/etiqueta/dto/etiqueta.dto.js +26 -0
- package/dist/src/etiqueta/exports.d.ts +1 -0
- package/dist/src/etiqueta/exports.js +18 -0
- package/dist/src/evento/dto/evento.dto.d.ts +126 -0
- package/dist/src/evento/dto/evento.dto.js +27 -0
- package/dist/src/evento/exports.d.ts +1 -0
- package/dist/src/evento/exports.js +18 -0
- package/dist/src/exports.d.ts +4 -0
- package/dist/src/exports.js +4 -0
- package/dist/src/grupo-etiqueta/dto/grupo-etiqueta.dto.d.ts +48 -0
- package/dist/src/grupo-etiqueta/dto/grupo-etiqueta.dto.js +27 -0
- package/dist/src/grupo-etiqueta/exports.d.ts +1 -0
- package/dist/src/grupo-etiqueta/exports.js +18 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/schema.d.ts +12 -0
- package/package.json +7 -5
@@ -5,6 +5,77 @@ export declare const registerSchema: import("zod").ZodObject<Pick<{
|
|
5
5
|
isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
6
6
|
created_at: import("zod").ZodString;
|
7
7
|
updated_at: import("zod").ZodString;
|
8
|
+
filtroBase: import("zod").ZodObject<{
|
9
|
+
etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
10
|
+
id: import("zod").ZodString;
|
11
|
+
name: import("zod").ZodString;
|
12
|
+
groupId: import("zod").ZodString;
|
13
|
+
type: import("zod").ZodNativeEnum<{
|
14
|
+
PERSONAL: "PERSONAL";
|
15
|
+
EVENTO: "EVENTO";
|
16
|
+
MODELO: "MODELO";
|
17
|
+
TENTATIVA: "TENTATIVA";
|
18
|
+
}>;
|
19
|
+
created_at: import("zod").ZodString;
|
20
|
+
updated_at: import("zod").ZodString;
|
21
|
+
}, "id" | "name">, {
|
22
|
+
grupo: import("zod").ZodObject<Pick<{
|
23
|
+
id: import("zod").ZodString;
|
24
|
+
name: import("zod").ZodString;
|
25
|
+
color: import("zod").ZodString;
|
26
|
+
isExclusive: import("zod").ZodBoolean;
|
27
|
+
created_at: import("zod").ZodString;
|
28
|
+
updated_at: import("zod").ZodString;
|
29
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
30
|
+
id: string;
|
31
|
+
color: string;
|
32
|
+
isExclusive: boolean;
|
33
|
+
}, {
|
34
|
+
id: string;
|
35
|
+
color: string;
|
36
|
+
isExclusive: boolean;
|
37
|
+
}>;
|
38
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
39
|
+
id: string;
|
40
|
+
name: string;
|
41
|
+
grupo: {
|
42
|
+
id: string;
|
43
|
+
color: string;
|
44
|
+
isExclusive: boolean;
|
45
|
+
};
|
46
|
+
}, {
|
47
|
+
id: string;
|
48
|
+
name: string;
|
49
|
+
grupo: {
|
50
|
+
id: string;
|
51
|
+
color: string;
|
52
|
+
isExclusive: boolean;
|
53
|
+
};
|
54
|
+
}>;
|
55
|
+
active: import("zod").ZodBoolean;
|
56
|
+
}, "strip", import("zod").ZodTypeAny, {
|
57
|
+
etiquetas: {
|
58
|
+
id: string;
|
59
|
+
name: string;
|
60
|
+
grupo: {
|
61
|
+
id: string;
|
62
|
+
color: string;
|
63
|
+
isExclusive: boolean;
|
64
|
+
};
|
65
|
+
};
|
66
|
+
active: boolean;
|
67
|
+
}, {
|
68
|
+
etiquetas: {
|
69
|
+
id: string;
|
70
|
+
name: string;
|
71
|
+
grupo: {
|
72
|
+
id: string;
|
73
|
+
color: string;
|
74
|
+
isExclusive: boolean;
|
75
|
+
};
|
76
|
+
};
|
77
|
+
active: boolean;
|
78
|
+
}>;
|
8
79
|
filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
9
80
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
10
81
|
}, "username" | "password" | "isAdmin">, "strip", import("zod").ZodTypeAny, {
|
@@ -23,6 +94,77 @@ declare const RegisterDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<impor
|
|
23
94
|
isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
24
95
|
created_at: import("zod").ZodString;
|
25
96
|
updated_at: import("zod").ZodString;
|
97
|
+
filtroBase: import("zod").ZodObject<{
|
98
|
+
etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
99
|
+
id: import("zod").ZodString;
|
100
|
+
name: import("zod").ZodString;
|
101
|
+
groupId: import("zod").ZodString;
|
102
|
+
type: import("zod").ZodNativeEnum<{
|
103
|
+
PERSONAL: "PERSONAL";
|
104
|
+
EVENTO: "EVENTO";
|
105
|
+
MODELO: "MODELO";
|
106
|
+
TENTATIVA: "TENTATIVA";
|
107
|
+
}>;
|
108
|
+
created_at: import("zod").ZodString;
|
109
|
+
updated_at: import("zod").ZodString;
|
110
|
+
}, "id" | "name">, {
|
111
|
+
grupo: import("zod").ZodObject<Pick<{
|
112
|
+
id: import("zod").ZodString;
|
113
|
+
name: import("zod").ZodString;
|
114
|
+
color: import("zod").ZodString;
|
115
|
+
isExclusive: import("zod").ZodBoolean;
|
116
|
+
created_at: import("zod").ZodString;
|
117
|
+
updated_at: import("zod").ZodString;
|
118
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
119
|
+
id: string;
|
120
|
+
color: string;
|
121
|
+
isExclusive: boolean;
|
122
|
+
}, {
|
123
|
+
id: string;
|
124
|
+
color: string;
|
125
|
+
isExclusive: boolean;
|
126
|
+
}>;
|
127
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
128
|
+
id: string;
|
129
|
+
name: string;
|
130
|
+
grupo: {
|
131
|
+
id: string;
|
132
|
+
color: string;
|
133
|
+
isExclusive: boolean;
|
134
|
+
};
|
135
|
+
}, {
|
136
|
+
id: string;
|
137
|
+
name: string;
|
138
|
+
grupo: {
|
139
|
+
id: string;
|
140
|
+
color: string;
|
141
|
+
isExclusive: boolean;
|
142
|
+
};
|
143
|
+
}>;
|
144
|
+
active: import("zod").ZodBoolean;
|
145
|
+
}, "strip", import("zod").ZodTypeAny, {
|
146
|
+
etiquetas: {
|
147
|
+
id: string;
|
148
|
+
name: string;
|
149
|
+
grupo: {
|
150
|
+
id: string;
|
151
|
+
color: string;
|
152
|
+
isExclusive: boolean;
|
153
|
+
};
|
154
|
+
};
|
155
|
+
active: boolean;
|
156
|
+
}, {
|
157
|
+
etiquetas: {
|
158
|
+
id: string;
|
159
|
+
name: string;
|
160
|
+
grupo: {
|
161
|
+
id: string;
|
162
|
+
color: string;
|
163
|
+
isExclusive: boolean;
|
164
|
+
};
|
165
|
+
};
|
166
|
+
active: boolean;
|
167
|
+
}>;
|
26
168
|
filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
27
169
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
28
170
|
}, "username" | "password" | "isAdmin">, "strip", import("zod").ZodTypeAny, {
|
@@ -43,6 +185,77 @@ export declare const registerResponseSchema: import("zod").ZodObject<Omit<Pick<{
|
|
43
185
|
isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
44
186
|
created_at: import("zod").ZodString;
|
45
187
|
updated_at: import("zod").ZodString;
|
188
|
+
filtroBase: import("zod").ZodObject<{
|
189
|
+
etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
190
|
+
id: import("zod").ZodString;
|
191
|
+
name: import("zod").ZodString;
|
192
|
+
groupId: import("zod").ZodString;
|
193
|
+
type: import("zod").ZodNativeEnum<{
|
194
|
+
PERSONAL: "PERSONAL";
|
195
|
+
EVENTO: "EVENTO";
|
196
|
+
MODELO: "MODELO";
|
197
|
+
TENTATIVA: "TENTATIVA";
|
198
|
+
}>;
|
199
|
+
created_at: import("zod").ZodString;
|
200
|
+
updated_at: import("zod").ZodString;
|
201
|
+
}, "id" | "name">, {
|
202
|
+
grupo: import("zod").ZodObject<Pick<{
|
203
|
+
id: import("zod").ZodString;
|
204
|
+
name: import("zod").ZodString;
|
205
|
+
color: import("zod").ZodString;
|
206
|
+
isExclusive: import("zod").ZodBoolean;
|
207
|
+
created_at: import("zod").ZodString;
|
208
|
+
updated_at: import("zod").ZodString;
|
209
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
210
|
+
id: string;
|
211
|
+
color: string;
|
212
|
+
isExclusive: boolean;
|
213
|
+
}, {
|
214
|
+
id: string;
|
215
|
+
color: string;
|
216
|
+
isExclusive: boolean;
|
217
|
+
}>;
|
218
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
219
|
+
id: string;
|
220
|
+
name: string;
|
221
|
+
grupo: {
|
222
|
+
id: string;
|
223
|
+
color: string;
|
224
|
+
isExclusive: boolean;
|
225
|
+
};
|
226
|
+
}, {
|
227
|
+
id: string;
|
228
|
+
name: string;
|
229
|
+
grupo: {
|
230
|
+
id: string;
|
231
|
+
color: string;
|
232
|
+
isExclusive: boolean;
|
233
|
+
};
|
234
|
+
}>;
|
235
|
+
active: import("zod").ZodBoolean;
|
236
|
+
}, "strip", import("zod").ZodTypeAny, {
|
237
|
+
etiquetas: {
|
238
|
+
id: string;
|
239
|
+
name: string;
|
240
|
+
grupo: {
|
241
|
+
id: string;
|
242
|
+
color: string;
|
243
|
+
isExclusive: boolean;
|
244
|
+
};
|
245
|
+
};
|
246
|
+
active: boolean;
|
247
|
+
}, {
|
248
|
+
etiquetas: {
|
249
|
+
id: string;
|
250
|
+
name: string;
|
251
|
+
grupo: {
|
252
|
+
id: string;
|
253
|
+
color: string;
|
254
|
+
isExclusive: boolean;
|
255
|
+
};
|
256
|
+
};
|
257
|
+
active: boolean;
|
258
|
+
}>;
|
46
259
|
filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
47
260
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
48
261
|
}, "username" | "password" | "isAdmin">, "password">, "strip", import("zod").ZodTypeAny, {
|
@@ -59,6 +272,77 @@ declare const RegisterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
59
272
|
isAdmin: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
60
273
|
created_at: import("zod").ZodString;
|
61
274
|
updated_at: import("zod").ZodString;
|
275
|
+
filtroBase: import("zod").ZodObject<{
|
276
|
+
etiquetas: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
277
|
+
id: import("zod").ZodString;
|
278
|
+
name: import("zod").ZodString;
|
279
|
+
groupId: import("zod").ZodString;
|
280
|
+
type: import("zod").ZodNativeEnum<{
|
281
|
+
PERSONAL: "PERSONAL";
|
282
|
+
EVENTO: "EVENTO";
|
283
|
+
MODELO: "MODELO";
|
284
|
+
TENTATIVA: "TENTATIVA";
|
285
|
+
}>;
|
286
|
+
created_at: import("zod").ZodString;
|
287
|
+
updated_at: import("zod").ZodString;
|
288
|
+
}, "id" | "name">, {
|
289
|
+
grupo: import("zod").ZodObject<Pick<{
|
290
|
+
id: import("zod").ZodString;
|
291
|
+
name: import("zod").ZodString;
|
292
|
+
color: import("zod").ZodString;
|
293
|
+
isExclusive: import("zod").ZodBoolean;
|
294
|
+
created_at: import("zod").ZodString;
|
295
|
+
updated_at: import("zod").ZodString;
|
296
|
+
}, "id" | "color" | "isExclusive">, "strip", import("zod").ZodTypeAny, {
|
297
|
+
id: string;
|
298
|
+
color: string;
|
299
|
+
isExclusive: boolean;
|
300
|
+
}, {
|
301
|
+
id: string;
|
302
|
+
color: string;
|
303
|
+
isExclusive: boolean;
|
304
|
+
}>;
|
305
|
+
}>, "strip", import("zod").ZodTypeAny, {
|
306
|
+
id: string;
|
307
|
+
name: string;
|
308
|
+
grupo: {
|
309
|
+
id: string;
|
310
|
+
color: string;
|
311
|
+
isExclusive: boolean;
|
312
|
+
};
|
313
|
+
}, {
|
314
|
+
id: string;
|
315
|
+
name: string;
|
316
|
+
grupo: {
|
317
|
+
id: string;
|
318
|
+
color: string;
|
319
|
+
isExclusive: boolean;
|
320
|
+
};
|
321
|
+
}>;
|
322
|
+
active: import("zod").ZodBoolean;
|
323
|
+
}, "strip", import("zod").ZodTypeAny, {
|
324
|
+
etiquetas: {
|
325
|
+
id: string;
|
326
|
+
name: string;
|
327
|
+
grupo: {
|
328
|
+
id: string;
|
329
|
+
color: string;
|
330
|
+
isExclusive: boolean;
|
331
|
+
};
|
332
|
+
};
|
333
|
+
active: boolean;
|
334
|
+
}, {
|
335
|
+
etiquetas: {
|
336
|
+
id: string;
|
337
|
+
name: string;
|
338
|
+
grupo: {
|
339
|
+
id: string;
|
340
|
+
color: string;
|
341
|
+
isExclusive: boolean;
|
342
|
+
};
|
343
|
+
};
|
344
|
+
active: boolean;
|
345
|
+
}>;
|
62
346
|
filtroBaseActivo: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
63
347
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
64
348
|
}, "username" | "password" | "isAdmin">, "password">, "strip", import("zod").ZodTypeAny, {
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const comentarioSchema: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
content: z.ZodString;
|
5
|
+
createdBy: z.ZodString;
|
6
|
+
created_at: z.ZodString;
|
7
|
+
updated_at: z.ZodString;
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
9
|
+
id: string;
|
10
|
+
created_at: string;
|
11
|
+
updated_at: string;
|
12
|
+
content: string;
|
13
|
+
createdBy: string;
|
14
|
+
}, {
|
15
|
+
id: string;
|
16
|
+
created_at: string;
|
17
|
+
updated_at: string;
|
18
|
+
content: string;
|
19
|
+
createdBy: string;
|
20
|
+
}>;
|
21
|
+
declare const ComentarioDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
22
|
+
id: z.ZodString;
|
23
|
+
content: z.ZodString;
|
24
|
+
createdBy: z.ZodString;
|
25
|
+
created_at: z.ZodString;
|
26
|
+
updated_at: z.ZodString;
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
28
|
+
id: string;
|
29
|
+
created_at: string;
|
30
|
+
updated_at: string;
|
31
|
+
content: string;
|
32
|
+
createdBy: string;
|
33
|
+
}, {
|
34
|
+
id: string;
|
35
|
+
created_at: string;
|
36
|
+
updated_at: string;
|
37
|
+
content: string;
|
38
|
+
createdBy: string;
|
39
|
+
}>>;
|
40
|
+
export declare class ComentarioDto extends ComentarioDto_base {
|
41
|
+
}
|
42
|
+
export {};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ComentarioDto = exports.comentarioSchema = void 0;
|
4
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
5
|
+
const zod_1 = require("zod");
|
6
|
+
exports.comentarioSchema = zod_1.z.object({
|
7
|
+
id: zod_1.z.string().uuid({
|
8
|
+
message: 'El ID debe ser un UUID',
|
9
|
+
}),
|
10
|
+
content: zod_1.z.string().min(1, {
|
11
|
+
message: 'El contenido debe tener al menos 1 caracter',
|
12
|
+
}),
|
13
|
+
createdBy: zod_1.z.string().uuid({
|
14
|
+
message: 'El createdBy debe ser un UUID',
|
15
|
+
}),
|
16
|
+
created_at: zod_1.z.string().datetime(),
|
17
|
+
updated_at: zod_1.z.string().datetime(),
|
18
|
+
});
|
19
|
+
class ComentarioDto extends (0, zod_nestjs_1.createZodDto)(exports.comentarioSchema) {
|
20
|
+
}
|
21
|
+
exports.ComentarioDto = ComentarioDto;
|
22
|
+
//# sourceMappingURL=comentario.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './dto/comentario.dto';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
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);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/comentario.dto"), exports);
|
18
|
+
//# sourceMappingURL=exports.js.map
|
@@ -6,23 +6,118 @@ export declare const cuentaSchema: z.ZodObject<{
|
|
6
6
|
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
7
7
|
created_at: z.ZodString;
|
8
8
|
updated_at: z.ZodString;
|
9
|
+
filtroBase: z.ZodObject<{
|
10
|
+
etiquetas: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
11
|
+
id: z.ZodString;
|
12
|
+
name: z.ZodString;
|
13
|
+
groupId: z.ZodString;
|
14
|
+
type: z.ZodNativeEnum<{
|
15
|
+
PERSONAL: "PERSONAL";
|
16
|
+
EVENTO: "EVENTO";
|
17
|
+
MODELO: "MODELO";
|
18
|
+
TENTATIVA: "TENTATIVA";
|
19
|
+
}>;
|
20
|
+
created_at: z.ZodString;
|
21
|
+
updated_at: z.ZodString;
|
22
|
+
}, "id" | "name">, {
|
23
|
+
grupo: z.ZodObject<Pick<{
|
24
|
+
id: z.ZodString;
|
25
|
+
name: z.ZodString;
|
26
|
+
color: z.ZodString;
|
27
|
+
isExclusive: z.ZodBoolean;
|
28
|
+
created_at: z.ZodString;
|
29
|
+
updated_at: z.ZodString;
|
30
|
+
}, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
|
31
|
+
id: string;
|
32
|
+
color: string;
|
33
|
+
isExclusive: boolean;
|
34
|
+
}, {
|
35
|
+
id: string;
|
36
|
+
color: string;
|
37
|
+
isExclusive: boolean;
|
38
|
+
}>;
|
39
|
+
}>, "strip", z.ZodTypeAny, {
|
40
|
+
id: string;
|
41
|
+
name: string;
|
42
|
+
grupo: {
|
43
|
+
id: string;
|
44
|
+
color: string;
|
45
|
+
isExclusive: boolean;
|
46
|
+
};
|
47
|
+
}, {
|
48
|
+
id: string;
|
49
|
+
name: string;
|
50
|
+
grupo: {
|
51
|
+
id: string;
|
52
|
+
color: string;
|
53
|
+
isExclusive: boolean;
|
54
|
+
};
|
55
|
+
}>;
|
56
|
+
active: z.ZodBoolean;
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
58
|
+
etiquetas: {
|
59
|
+
id: string;
|
60
|
+
name: string;
|
61
|
+
grupo: {
|
62
|
+
id: string;
|
63
|
+
color: string;
|
64
|
+
isExclusive: boolean;
|
65
|
+
};
|
66
|
+
};
|
67
|
+
active: boolean;
|
68
|
+
}, {
|
69
|
+
etiquetas: {
|
70
|
+
id: string;
|
71
|
+
name: string;
|
72
|
+
grupo: {
|
73
|
+
id: string;
|
74
|
+
color: string;
|
75
|
+
isExclusive: boolean;
|
76
|
+
};
|
77
|
+
};
|
78
|
+
active: boolean;
|
79
|
+
}>;
|
9
80
|
filtroBaseActivo: z.ZodDefault<z.ZodBoolean>;
|
10
81
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
11
82
|
}, "strip", z.ZodTypeAny, {
|
12
83
|
id: string;
|
84
|
+
created_at: string;
|
85
|
+
updated_at: string;
|
13
86
|
username: string;
|
14
87
|
password: string;
|
15
88
|
isAdmin: boolean;
|
16
|
-
|
17
|
-
|
89
|
+
filtroBase: {
|
90
|
+
etiquetas: {
|
91
|
+
id: string;
|
92
|
+
name: string;
|
93
|
+
grupo: {
|
94
|
+
id: string;
|
95
|
+
color: string;
|
96
|
+
isExclusive: boolean;
|
97
|
+
};
|
98
|
+
};
|
99
|
+
active: boolean;
|
100
|
+
};
|
18
101
|
filtroBaseActivo: boolean;
|
19
102
|
fcmToken: string[];
|
20
103
|
}, {
|
21
104
|
id: string;
|
22
|
-
username: string;
|
23
|
-
password: string;
|
24
105
|
created_at: string;
|
25
106
|
updated_at: string;
|
107
|
+
username: string;
|
108
|
+
password: string;
|
109
|
+
filtroBase: {
|
110
|
+
etiquetas: {
|
111
|
+
id: string;
|
112
|
+
name: string;
|
113
|
+
grupo: {
|
114
|
+
id: string;
|
115
|
+
color: string;
|
116
|
+
isExclusive: boolean;
|
117
|
+
};
|
118
|
+
};
|
119
|
+
active: boolean;
|
120
|
+
};
|
26
121
|
isAdmin?: boolean | undefined;
|
27
122
|
filtroBaseActivo?: boolean | undefined;
|
28
123
|
fcmToken?: string[] | undefined;
|
@@ -34,23 +129,118 @@ declare const CuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
34
129
|
isAdmin: z.ZodDefault<z.ZodBoolean>;
|
35
130
|
created_at: z.ZodString;
|
36
131
|
updated_at: z.ZodString;
|
132
|
+
filtroBase: z.ZodObject<{
|
133
|
+
etiquetas: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
134
|
+
id: z.ZodString;
|
135
|
+
name: z.ZodString;
|
136
|
+
groupId: z.ZodString;
|
137
|
+
type: z.ZodNativeEnum<{
|
138
|
+
PERSONAL: "PERSONAL";
|
139
|
+
EVENTO: "EVENTO";
|
140
|
+
MODELO: "MODELO";
|
141
|
+
TENTATIVA: "TENTATIVA";
|
142
|
+
}>;
|
143
|
+
created_at: z.ZodString;
|
144
|
+
updated_at: z.ZodString;
|
145
|
+
}, "id" | "name">, {
|
146
|
+
grupo: z.ZodObject<Pick<{
|
147
|
+
id: z.ZodString;
|
148
|
+
name: z.ZodString;
|
149
|
+
color: z.ZodString;
|
150
|
+
isExclusive: z.ZodBoolean;
|
151
|
+
created_at: z.ZodString;
|
152
|
+
updated_at: z.ZodString;
|
153
|
+
}, "id" | "color" | "isExclusive">, "strip", z.ZodTypeAny, {
|
154
|
+
id: string;
|
155
|
+
color: string;
|
156
|
+
isExclusive: boolean;
|
157
|
+
}, {
|
158
|
+
id: string;
|
159
|
+
color: string;
|
160
|
+
isExclusive: boolean;
|
161
|
+
}>;
|
162
|
+
}>, "strip", z.ZodTypeAny, {
|
163
|
+
id: string;
|
164
|
+
name: string;
|
165
|
+
grupo: {
|
166
|
+
id: string;
|
167
|
+
color: string;
|
168
|
+
isExclusive: boolean;
|
169
|
+
};
|
170
|
+
}, {
|
171
|
+
id: string;
|
172
|
+
name: string;
|
173
|
+
grupo: {
|
174
|
+
id: string;
|
175
|
+
color: string;
|
176
|
+
isExclusive: boolean;
|
177
|
+
};
|
178
|
+
}>;
|
179
|
+
active: z.ZodBoolean;
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
181
|
+
etiquetas: {
|
182
|
+
id: string;
|
183
|
+
name: string;
|
184
|
+
grupo: {
|
185
|
+
id: string;
|
186
|
+
color: string;
|
187
|
+
isExclusive: boolean;
|
188
|
+
};
|
189
|
+
};
|
190
|
+
active: boolean;
|
191
|
+
}, {
|
192
|
+
etiquetas: {
|
193
|
+
id: string;
|
194
|
+
name: string;
|
195
|
+
grupo: {
|
196
|
+
id: string;
|
197
|
+
color: string;
|
198
|
+
isExclusive: boolean;
|
199
|
+
};
|
200
|
+
};
|
201
|
+
active: boolean;
|
202
|
+
}>;
|
37
203
|
filtroBaseActivo: z.ZodDefault<z.ZodBoolean>;
|
38
204
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
39
205
|
}, "strip", z.ZodTypeAny, {
|
40
206
|
id: string;
|
207
|
+
created_at: string;
|
208
|
+
updated_at: string;
|
41
209
|
username: string;
|
42
210
|
password: string;
|
43
211
|
isAdmin: boolean;
|
44
|
-
|
45
|
-
|
212
|
+
filtroBase: {
|
213
|
+
etiquetas: {
|
214
|
+
id: string;
|
215
|
+
name: string;
|
216
|
+
grupo: {
|
217
|
+
id: string;
|
218
|
+
color: string;
|
219
|
+
isExclusive: boolean;
|
220
|
+
};
|
221
|
+
};
|
222
|
+
active: boolean;
|
223
|
+
};
|
46
224
|
filtroBaseActivo: boolean;
|
47
225
|
fcmToken: string[];
|
48
226
|
}, {
|
49
227
|
id: string;
|
50
|
-
username: string;
|
51
|
-
password: string;
|
52
228
|
created_at: string;
|
53
229
|
updated_at: string;
|
230
|
+
username: string;
|
231
|
+
password: string;
|
232
|
+
filtroBase: {
|
233
|
+
etiquetas: {
|
234
|
+
id: string;
|
235
|
+
name: string;
|
236
|
+
grupo: {
|
237
|
+
id: string;
|
238
|
+
color: string;
|
239
|
+
isExclusive: boolean;
|
240
|
+
};
|
241
|
+
};
|
242
|
+
active: boolean;
|
243
|
+
};
|
54
244
|
isAdmin?: boolean | undefined;
|
55
245
|
filtroBaseActivo?: boolean | undefined;
|
56
246
|
fcmToken?: string[] | undefined;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CuentaDto = exports.cuentaSchema = void 0;
|
4
|
+
const etiqueta_dto_1 = require("../../etiqueta/dto/etiqueta.dto");
|
5
|
+
const grupo_etiqueta_dto_1 = require("../../grupo-etiqueta/dto/grupo-etiqueta.dto");
|
4
6
|
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
5
7
|
const zod_1 = require("zod");
|
6
8
|
exports.cuentaSchema = zod_1.z.object({
|
@@ -22,6 +24,21 @@ exports.cuentaSchema = zod_1.z.object({
|
|
22
24
|
isAdmin: zod_1.z.boolean().default(false),
|
23
25
|
created_at: zod_1.z.string().datetime(),
|
24
26
|
updated_at: zod_1.z.string().datetime(),
|
27
|
+
filtroBase: zod_1.z.object({
|
28
|
+
etiquetas: etiqueta_dto_1.etiquetaSchema
|
29
|
+
.pick({
|
30
|
+
id: true,
|
31
|
+
name: true,
|
32
|
+
})
|
33
|
+
.merge(zod_1.z.object({
|
34
|
+
grupo: grupo_etiqueta_dto_1.grupoEtiquetaSchema.pick({
|
35
|
+
id: true,
|
36
|
+
color: true,
|
37
|
+
isExclusive: true,
|
38
|
+
}),
|
39
|
+
})),
|
40
|
+
active: zod_1.z.boolean(),
|
41
|
+
}),
|
25
42
|
filtroBaseActivo: zod_1.z.boolean().default(false),
|
26
43
|
fcmToken: zod_1.z.array(zod_1.z.string()).default([]),
|
27
44
|
});
|