expo-backend-types 0.3.0-EXPO-245.8 → 0.3.0-EXPO-245.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/{cuenta/dto/cuenta.dto.d.ts → account/dto/account.dto.d.ts} +57 -51
- package/dist/src/account/dto/account.dto.js +52 -0
- package/dist/src/{cuenta/dto/createCuenta.dto.d.ts → account/dto/createAccount.dto.d.ts} +92 -80
- package/dist/src/account/dto/createAccount.dto.js +23 -0
- package/dist/src/{cuenta/dto/getFiltroBase.dto.d.ts → account/dto/getGlobalFilter.dto.d.ts} +35 -35
- package/dist/src/account/dto/getGlobalFilter.dto.js +30 -0
- package/dist/src/{cuenta → account}/dto/getMe.dto.d.ts +56 -50
- package/dist/src/{cuenta → account}/dto/getMe.dto.js +2 -2
- package/dist/src/{cuenta/dto/updateFiltroBase.dto.d.ts → account/dto/updateGlobalFilter.dto.d.ts} +58 -58
- package/dist/src/account/dto/updateGlobalFilter.dto.js +29 -0
- package/dist/src/account/exports.d.ts +5 -0
- package/dist/src/{cuenta → account}/exports.js +4 -4
- package/dist/src/auth/dto/login.dto.d.ts +112 -100
- package/dist/src/auth/dto/login.dto.js +3 -3
- package/dist/src/comment/dto/comment.dto.d.ts +66 -0
- package/dist/src/comment/dto/comment.dto.js +26 -0
- package/dist/src/comment/exports.d.ts +1 -0
- package/dist/src/{etiqueta → comment}/exports.js +1 -1
- package/dist/src/event/dto/event.dto.d.ts +41 -0
- package/dist/src/event/dto/event.dto.js +33 -0
- package/dist/src/event/exports.d.ts +1 -0
- package/dist/src/{evento → event}/exports.js +1 -1
- package/dist/src/event-folder/dto/event-folder.dto.d.ts +14 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +22 -0
- package/dist/src/exports.d.ts +5 -5
- package/dist/src/exports.js +5 -5
- package/dist/src/{etiqueta/dto/etiqueta.dto.d.ts → tag/dto/tag.dto.d.ts} +15 -15
- package/dist/src/tag/dto/tag.dto.js +30 -0
- package/dist/src/tag/exports.d.ts +1 -0
- package/dist/src/{grupo-etiqueta → tag}/exports.js +1 -1
- package/dist/src/{grupo-etiqueta/dto/grupo-etiqueta.dto.d.ts → tag-group/dto/tag-group.dto.d.ts} +3 -3
- package/dist/src/{grupo-etiqueta/dto/grupo-etiqueta.dto.js → tag-group/dto/tag-group.dto.js} +8 -8
- package/dist/src/tag-group/exports.d.ts +1 -0
- package/dist/src/{comentario → tag-group}/exports.js +1 -1
- package/dist/types/prisma-schema/edge.js +86 -70
- package/dist/types/prisma-schema/index-browser.js +83 -67
- package/dist/types/prisma-schema/index.d.ts +8283 -6804
- package/dist/types/prisma-schema/index.js +86 -70
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +144 -112
- package/dist/types/prisma-schema/wasm.js +83 -67
- package/dist/types/schema.d.ts +37 -37
- package/package.json +1 -1
- package/dist/src/comentario/dto/comentario.dto.d.ts +0 -42
- package/dist/src/comentario/dto/comentario.dto.js +0 -22
- package/dist/src/comentario/exports.d.ts +0 -1
- package/dist/src/cuenta/dto/createCuenta.dto.js +0 -23
- package/dist/src/cuenta/dto/cuenta.dto.js +0 -49
- package/dist/src/cuenta/dto/getFiltroBase.dto.js +0 -29
- package/dist/src/cuenta/dto/updateFiltroBase.dto.js +0 -28
- package/dist/src/cuenta/exports.d.ts +0 -5
- package/dist/src/etiqueta/dto/etiqueta.dto.js +0 -30
- package/dist/src/etiqueta/exports.d.ts +0 -1
- package/dist/src/evento/dto/evento.dto.d.ts +0 -126
- package/dist/src/evento/dto/evento.dto.js +0 -37
- package/dist/src/evento/exports.d.ts +0 -1
- package/dist/src/grupo-etiqueta/exports.d.ts +0 -1
@@ -3,24 +3,27 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
3
3
|
id: z.ZodString;
|
4
4
|
username: z.ZodString;
|
5
5
|
password: z.ZodString;
|
6
|
-
|
6
|
+
role: z.ZodNativeEnum<{
|
7
|
+
USER: "USER";
|
8
|
+
ADMIN: "ADMIN";
|
9
|
+
}>;
|
7
10
|
created_at: z.ZodString;
|
8
11
|
updated_at: z.ZodString;
|
9
|
-
|
10
|
-
|
12
|
+
globalFilter: z.ZodObject<{
|
13
|
+
tags: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
11
14
|
id: z.ZodString;
|
12
15
|
name: z.ZodString;
|
13
16
|
groupId: z.ZodString;
|
14
17
|
type: z.ZodNativeEnum<{
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
18
|
+
PROFILE: "PROFILE";
|
19
|
+
EVENT: "EVENT";
|
20
|
+
PARTICIPANT: "PARTICIPANT";
|
21
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
19
22
|
}>;
|
20
23
|
created_at: z.ZodString;
|
21
24
|
updated_at: z.ZodString;
|
22
25
|
}, "id" | "name">, {
|
23
|
-
|
26
|
+
group: z.ZodObject<Pick<{
|
24
27
|
id: z.ZodString;
|
25
28
|
name: z.ZodString;
|
26
29
|
color: z.ZodString;
|
@@ -39,7 +42,7 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
39
42
|
}>, "strip", z.ZodTypeAny, {
|
40
43
|
id: string;
|
41
44
|
name: string;
|
42
|
-
|
45
|
+
group: {
|
43
46
|
id: string;
|
44
47
|
color: string;
|
45
48
|
isExclusive: boolean;
|
@@ -47,7 +50,7 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
47
50
|
}, {
|
48
51
|
id: string;
|
49
52
|
name: string;
|
50
|
-
|
53
|
+
group: {
|
51
54
|
id: string;
|
52
55
|
color: string;
|
53
56
|
isExclusive: boolean;
|
@@ -55,10 +58,10 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
55
58
|
}>;
|
56
59
|
active: z.ZodBoolean;
|
57
60
|
}, "strip", z.ZodTypeAny, {
|
58
|
-
|
61
|
+
tags: {
|
59
62
|
id: string;
|
60
63
|
name: string;
|
61
|
-
|
64
|
+
group: {
|
62
65
|
id: string;
|
63
66
|
color: string;
|
64
67
|
isExclusive: boolean;
|
@@ -66,10 +69,10 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
66
69
|
};
|
67
70
|
active: boolean;
|
68
71
|
}, {
|
69
|
-
|
72
|
+
tags: {
|
70
73
|
id: string;
|
71
74
|
name: string;
|
72
|
-
|
75
|
+
group: {
|
73
76
|
id: string;
|
74
77
|
color: string;
|
75
78
|
isExclusive: boolean;
|
@@ -77,7 +80,7 @@ export declare const loginSchema: z.ZodObject<Pick<{
|
|
77
80
|
};
|
78
81
|
active: boolean;
|
79
82
|
}>;
|
80
|
-
|
83
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
81
84
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
82
85
|
}, "username" | "password">, "strip", z.ZodTypeAny, {
|
83
86
|
username: string;
|
@@ -90,24 +93,27 @@ declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObj
|
|
90
93
|
id: z.ZodString;
|
91
94
|
username: z.ZodString;
|
92
95
|
password: z.ZodString;
|
93
|
-
|
96
|
+
role: z.ZodNativeEnum<{
|
97
|
+
USER: "USER";
|
98
|
+
ADMIN: "ADMIN";
|
99
|
+
}>;
|
94
100
|
created_at: z.ZodString;
|
95
101
|
updated_at: z.ZodString;
|
96
|
-
|
97
|
-
|
102
|
+
globalFilter: z.ZodObject<{
|
103
|
+
tags: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
98
104
|
id: z.ZodString;
|
99
105
|
name: z.ZodString;
|
100
106
|
groupId: z.ZodString;
|
101
107
|
type: z.ZodNativeEnum<{
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
108
|
+
PROFILE: "PROFILE";
|
109
|
+
EVENT: "EVENT";
|
110
|
+
PARTICIPANT: "PARTICIPANT";
|
111
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
106
112
|
}>;
|
107
113
|
created_at: z.ZodString;
|
108
114
|
updated_at: z.ZodString;
|
109
115
|
}, "id" | "name">, {
|
110
|
-
|
116
|
+
group: z.ZodObject<Pick<{
|
111
117
|
id: z.ZodString;
|
112
118
|
name: z.ZodString;
|
113
119
|
color: z.ZodString;
|
@@ -126,7 +132,7 @@ declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObj
|
|
126
132
|
}>, "strip", z.ZodTypeAny, {
|
127
133
|
id: string;
|
128
134
|
name: string;
|
129
|
-
|
135
|
+
group: {
|
130
136
|
id: string;
|
131
137
|
color: string;
|
132
138
|
isExclusive: boolean;
|
@@ -134,7 +140,7 @@ declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObj
|
|
134
140
|
}, {
|
135
141
|
id: string;
|
136
142
|
name: string;
|
137
|
-
|
143
|
+
group: {
|
138
144
|
id: string;
|
139
145
|
color: string;
|
140
146
|
isExclusive: boolean;
|
@@ -142,10 +148,10 @@ declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObj
|
|
142
148
|
}>;
|
143
149
|
active: z.ZodBoolean;
|
144
150
|
}, "strip", z.ZodTypeAny, {
|
145
|
-
|
151
|
+
tags: {
|
146
152
|
id: string;
|
147
153
|
name: string;
|
148
|
-
|
154
|
+
group: {
|
149
155
|
id: string;
|
150
156
|
color: string;
|
151
157
|
isExclusive: boolean;
|
@@ -153,10 +159,10 @@ declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObj
|
|
153
159
|
};
|
154
160
|
active: boolean;
|
155
161
|
}, {
|
156
|
-
|
162
|
+
tags: {
|
157
163
|
id: string;
|
158
164
|
name: string;
|
159
|
-
|
165
|
+
group: {
|
160
166
|
id: string;
|
161
167
|
color: string;
|
162
168
|
isExclusive: boolean;
|
@@ -164,7 +170,7 @@ declare const LoginDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObj
|
|
164
170
|
};
|
165
171
|
active: boolean;
|
166
172
|
}>;
|
167
|
-
|
173
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
168
174
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
169
175
|
}, "username" | "password">, "strip", z.ZodTypeAny, {
|
170
176
|
username: string;
|
@@ -180,24 +186,27 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
180
186
|
id: z.ZodString;
|
181
187
|
username: z.ZodString;
|
182
188
|
password: z.ZodString;
|
183
|
-
|
189
|
+
role: z.ZodNativeEnum<{
|
190
|
+
USER: "USER";
|
191
|
+
ADMIN: "ADMIN";
|
192
|
+
}>;
|
184
193
|
created_at: z.ZodString;
|
185
194
|
updated_at: z.ZodString;
|
186
|
-
|
187
|
-
|
195
|
+
globalFilter: z.ZodObject<{
|
196
|
+
tags: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
188
197
|
id: z.ZodString;
|
189
198
|
name: z.ZodString;
|
190
199
|
groupId: z.ZodString;
|
191
200
|
type: z.ZodNativeEnum<{
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
201
|
+
PROFILE: "PROFILE";
|
202
|
+
EVENT: "EVENT";
|
203
|
+
PARTICIPANT: "PARTICIPANT";
|
204
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
196
205
|
}>;
|
197
206
|
created_at: z.ZodString;
|
198
207
|
updated_at: z.ZodString;
|
199
208
|
}, "id" | "name">, {
|
200
|
-
|
209
|
+
group: z.ZodObject<Pick<{
|
201
210
|
id: z.ZodString;
|
202
211
|
name: z.ZodString;
|
203
212
|
color: z.ZodString;
|
@@ -216,7 +225,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
216
225
|
}>, "strip", z.ZodTypeAny, {
|
217
226
|
id: string;
|
218
227
|
name: string;
|
219
|
-
|
228
|
+
group: {
|
220
229
|
id: string;
|
221
230
|
color: string;
|
222
231
|
isExclusive: boolean;
|
@@ -224,7 +233,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
224
233
|
}, {
|
225
234
|
id: string;
|
226
235
|
name: string;
|
227
|
-
|
236
|
+
group: {
|
228
237
|
id: string;
|
229
238
|
color: string;
|
230
239
|
isExclusive: boolean;
|
@@ -232,10 +241,10 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
232
241
|
}>;
|
233
242
|
active: z.ZodBoolean;
|
234
243
|
}, "strip", z.ZodTypeAny, {
|
235
|
-
|
244
|
+
tags: {
|
236
245
|
id: string;
|
237
246
|
name: string;
|
238
|
-
|
247
|
+
group: {
|
239
248
|
id: string;
|
240
249
|
color: string;
|
241
250
|
isExclusive: boolean;
|
@@ -243,10 +252,10 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
243
252
|
};
|
244
253
|
active: boolean;
|
245
254
|
}, {
|
246
|
-
|
255
|
+
tags: {
|
247
256
|
id: string;
|
248
257
|
name: string;
|
249
|
-
|
258
|
+
group: {
|
250
259
|
id: string;
|
251
260
|
color: string;
|
252
261
|
isExclusive: boolean;
|
@@ -254,19 +263,19 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
254
263
|
};
|
255
264
|
active: boolean;
|
256
265
|
}>;
|
257
|
-
|
266
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
258
267
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
259
268
|
}, "password">, "strip", z.ZodTypeAny, {
|
260
269
|
id: string;
|
261
270
|
username: string;
|
271
|
+
role: "USER" | "ADMIN";
|
262
272
|
created_at: string;
|
263
273
|
updated_at: string;
|
264
|
-
|
265
|
-
|
266
|
-
etiquetas: {
|
274
|
+
globalFilter: {
|
275
|
+
tags: {
|
267
276
|
id: string;
|
268
277
|
name: string;
|
269
|
-
|
278
|
+
group: {
|
270
279
|
id: string;
|
271
280
|
color: string;
|
272
281
|
isExclusive: boolean;
|
@@ -274,18 +283,19 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
274
283
|
};
|
275
284
|
active: boolean;
|
276
285
|
};
|
277
|
-
|
286
|
+
isGlobalFilterActive: boolean;
|
278
287
|
fcmToken: string[];
|
279
288
|
}, {
|
280
289
|
id: string;
|
281
290
|
username: string;
|
291
|
+
role: "USER" | "ADMIN";
|
282
292
|
created_at: string;
|
283
293
|
updated_at: string;
|
284
|
-
|
285
|
-
|
294
|
+
globalFilter: {
|
295
|
+
tags: {
|
286
296
|
id: string;
|
287
297
|
name: string;
|
288
|
-
|
298
|
+
group: {
|
289
299
|
id: string;
|
290
300
|
color: string;
|
291
301
|
isExclusive: boolean;
|
@@ -293,8 +303,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
293
303
|
};
|
294
304
|
active: boolean;
|
295
305
|
};
|
296
|
-
|
297
|
-
filtroBaseActivo?: boolean | undefined;
|
306
|
+
isGlobalFilterActive?: boolean | undefined;
|
298
307
|
fcmToken?: string[] | undefined;
|
299
308
|
}>;
|
300
309
|
backendTokens: z.ZodObject<{
|
@@ -311,14 +320,14 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
311
320
|
user: {
|
312
321
|
id: string;
|
313
322
|
username: string;
|
323
|
+
role: "USER" | "ADMIN";
|
314
324
|
created_at: string;
|
315
325
|
updated_at: string;
|
316
|
-
|
317
|
-
|
318
|
-
etiquetas: {
|
326
|
+
globalFilter: {
|
327
|
+
tags: {
|
319
328
|
id: string;
|
320
329
|
name: string;
|
321
|
-
|
330
|
+
group: {
|
322
331
|
id: string;
|
323
332
|
color: string;
|
324
333
|
isExclusive: boolean;
|
@@ -326,7 +335,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
326
335
|
};
|
327
336
|
active: boolean;
|
328
337
|
};
|
329
|
-
|
338
|
+
isGlobalFilterActive: boolean;
|
330
339
|
fcmToken: string[];
|
331
340
|
};
|
332
341
|
backendTokens: {
|
@@ -337,13 +346,14 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
337
346
|
user: {
|
338
347
|
id: string;
|
339
348
|
username: string;
|
349
|
+
role: "USER" | "ADMIN";
|
340
350
|
created_at: string;
|
341
351
|
updated_at: string;
|
342
|
-
|
343
|
-
|
352
|
+
globalFilter: {
|
353
|
+
tags: {
|
344
354
|
id: string;
|
345
355
|
name: string;
|
346
|
-
|
356
|
+
group: {
|
347
357
|
id: string;
|
348
358
|
color: string;
|
349
359
|
isExclusive: boolean;
|
@@ -351,8 +361,7 @@ export declare const loginResponseSchema: z.ZodObject<{
|
|
351
361
|
};
|
352
362
|
active: boolean;
|
353
363
|
};
|
354
|
-
|
355
|
-
filtroBaseActivo?: boolean | undefined;
|
364
|
+
isGlobalFilterActive?: boolean | undefined;
|
356
365
|
fcmToken?: string[] | undefined;
|
357
366
|
};
|
358
367
|
backendTokens: {
|
@@ -365,24 +374,27 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
365
374
|
id: z.ZodString;
|
366
375
|
username: z.ZodString;
|
367
376
|
password: z.ZodString;
|
368
|
-
|
377
|
+
role: z.ZodNativeEnum<{
|
378
|
+
USER: "USER";
|
379
|
+
ADMIN: "ADMIN";
|
380
|
+
}>;
|
369
381
|
created_at: z.ZodString;
|
370
382
|
updated_at: z.ZodString;
|
371
|
-
|
372
|
-
|
383
|
+
globalFilter: z.ZodObject<{
|
384
|
+
tags: z.ZodObject<z.objectUtil.extendShape<Pick<{
|
373
385
|
id: z.ZodString;
|
374
386
|
name: z.ZodString;
|
375
387
|
groupId: z.ZodString;
|
376
388
|
type: z.ZodNativeEnum<{
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
389
|
+
PROFILE: "PROFILE";
|
390
|
+
EVENT: "EVENT";
|
391
|
+
PARTICIPANT: "PARTICIPANT";
|
392
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
381
393
|
}>;
|
382
394
|
created_at: z.ZodString;
|
383
395
|
updated_at: z.ZodString;
|
384
396
|
}, "id" | "name">, {
|
385
|
-
|
397
|
+
group: z.ZodObject<Pick<{
|
386
398
|
id: z.ZodString;
|
387
399
|
name: z.ZodString;
|
388
400
|
color: z.ZodString;
|
@@ -401,7 +413,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
401
413
|
}>, "strip", z.ZodTypeAny, {
|
402
414
|
id: string;
|
403
415
|
name: string;
|
404
|
-
|
416
|
+
group: {
|
405
417
|
id: string;
|
406
418
|
color: string;
|
407
419
|
isExclusive: boolean;
|
@@ -409,7 +421,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
409
421
|
}, {
|
410
422
|
id: string;
|
411
423
|
name: string;
|
412
|
-
|
424
|
+
group: {
|
413
425
|
id: string;
|
414
426
|
color: string;
|
415
427
|
isExclusive: boolean;
|
@@ -417,10 +429,10 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
417
429
|
}>;
|
418
430
|
active: z.ZodBoolean;
|
419
431
|
}, "strip", z.ZodTypeAny, {
|
420
|
-
|
432
|
+
tags: {
|
421
433
|
id: string;
|
422
434
|
name: string;
|
423
|
-
|
435
|
+
group: {
|
424
436
|
id: string;
|
425
437
|
color: string;
|
426
438
|
isExclusive: boolean;
|
@@ -428,10 +440,10 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
428
440
|
};
|
429
441
|
active: boolean;
|
430
442
|
}, {
|
431
|
-
|
443
|
+
tags: {
|
432
444
|
id: string;
|
433
445
|
name: string;
|
434
|
-
|
446
|
+
group: {
|
435
447
|
id: string;
|
436
448
|
color: string;
|
437
449
|
isExclusive: boolean;
|
@@ -439,19 +451,19 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
439
451
|
};
|
440
452
|
active: boolean;
|
441
453
|
}>;
|
442
|
-
|
454
|
+
isGlobalFilterActive: z.ZodDefault<z.ZodBoolean>;
|
443
455
|
fcmToken: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
444
456
|
}, "password">, "strip", z.ZodTypeAny, {
|
445
457
|
id: string;
|
446
458
|
username: string;
|
459
|
+
role: "USER" | "ADMIN";
|
447
460
|
created_at: string;
|
448
461
|
updated_at: string;
|
449
|
-
|
450
|
-
|
451
|
-
etiquetas: {
|
462
|
+
globalFilter: {
|
463
|
+
tags: {
|
452
464
|
id: string;
|
453
465
|
name: string;
|
454
|
-
|
466
|
+
group: {
|
455
467
|
id: string;
|
456
468
|
color: string;
|
457
469
|
isExclusive: boolean;
|
@@ -459,18 +471,19 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
459
471
|
};
|
460
472
|
active: boolean;
|
461
473
|
};
|
462
|
-
|
474
|
+
isGlobalFilterActive: boolean;
|
463
475
|
fcmToken: string[];
|
464
476
|
}, {
|
465
477
|
id: string;
|
466
478
|
username: string;
|
479
|
+
role: "USER" | "ADMIN";
|
467
480
|
created_at: string;
|
468
481
|
updated_at: string;
|
469
|
-
|
470
|
-
|
482
|
+
globalFilter: {
|
483
|
+
tags: {
|
471
484
|
id: string;
|
472
485
|
name: string;
|
473
|
-
|
486
|
+
group: {
|
474
487
|
id: string;
|
475
488
|
color: string;
|
476
489
|
isExclusive: boolean;
|
@@ -478,8 +491,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
478
491
|
};
|
479
492
|
active: boolean;
|
480
493
|
};
|
481
|
-
|
482
|
-
filtroBaseActivo?: boolean | undefined;
|
494
|
+
isGlobalFilterActive?: boolean | undefined;
|
483
495
|
fcmToken?: string[] | undefined;
|
484
496
|
}>;
|
485
497
|
backendTokens: z.ZodObject<{
|
@@ -496,14 +508,14 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
496
508
|
user: {
|
497
509
|
id: string;
|
498
510
|
username: string;
|
511
|
+
role: "USER" | "ADMIN";
|
499
512
|
created_at: string;
|
500
513
|
updated_at: string;
|
501
|
-
|
502
|
-
|
503
|
-
etiquetas: {
|
514
|
+
globalFilter: {
|
515
|
+
tags: {
|
504
516
|
id: string;
|
505
517
|
name: string;
|
506
|
-
|
518
|
+
group: {
|
507
519
|
id: string;
|
508
520
|
color: string;
|
509
521
|
isExclusive: boolean;
|
@@ -511,7 +523,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
511
523
|
};
|
512
524
|
active: boolean;
|
513
525
|
};
|
514
|
-
|
526
|
+
isGlobalFilterActive: boolean;
|
515
527
|
fcmToken: string[];
|
516
528
|
};
|
517
529
|
backendTokens: {
|
@@ -522,13 +534,14 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
522
534
|
user: {
|
523
535
|
id: string;
|
524
536
|
username: string;
|
537
|
+
role: "USER" | "ADMIN";
|
525
538
|
created_at: string;
|
526
539
|
updated_at: string;
|
527
|
-
|
528
|
-
|
540
|
+
globalFilter: {
|
541
|
+
tags: {
|
529
542
|
id: string;
|
530
543
|
name: string;
|
531
|
-
|
544
|
+
group: {
|
532
545
|
id: string;
|
533
546
|
color: string;
|
534
547
|
isExclusive: boolean;
|
@@ -536,8 +549,7 @@ declare const LoginResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
536
549
|
};
|
537
550
|
active: boolean;
|
538
551
|
};
|
539
|
-
|
540
|
-
filtroBaseActivo?: boolean | undefined;
|
552
|
+
isGlobalFilterActive?: boolean | undefined;
|
541
553
|
fcmToken?: string[] | undefined;
|
542
554
|
};
|
543
555
|
backendTokens: {
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.LoginResponseDto = exports.loginResponseSchema = exports.LoginDto = exports.loginSchema = void 0;
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
8
8
|
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
9
|
-
const
|
10
|
-
exports.loginSchema =
|
9
|
+
const account_dto_1 = require("../../account/dto/account.dto");
|
10
|
+
exports.loginSchema = account_dto_1.accountSchema.pick({
|
11
11
|
username: true,
|
12
12
|
password: true,
|
13
13
|
});
|
@@ -15,7 +15,7 @@ class LoginDto extends (0, zod_nestjs_1.createZodDto)(exports.loginSchema) {
|
|
15
15
|
}
|
16
16
|
exports.LoginDto = LoginDto;
|
17
17
|
exports.loginResponseSchema = zod_1.default.object({
|
18
|
-
user:
|
18
|
+
user: account_dto_1.accountSchema.omit({
|
19
19
|
password: true,
|
20
20
|
}),
|
21
21
|
backendTokens: zod_1.default.object({
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const commentSchema: z.ZodObject<{
|
3
|
+
id: z.ZodString;
|
4
|
+
content: z.ZodString;
|
5
|
+
createdBy: z.ZodString;
|
6
|
+
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
7
|
+
isSolved: z.ZodDefault<z.ZodBoolean>;
|
8
|
+
solvedAt: z.ZodOptional<z.ZodString>;
|
9
|
+
solvedBy: z.ZodOptional<z.ZodString>;
|
10
|
+
created_at: z.ZodString;
|
11
|
+
updated_at: z.ZodString;
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
13
|
+
id: string;
|
14
|
+
content: string;
|
15
|
+
created_at: string;
|
16
|
+
updated_at: string;
|
17
|
+
createdBy: string;
|
18
|
+
isSolvable: boolean;
|
19
|
+
isSolved: boolean;
|
20
|
+
solvedAt?: string | undefined;
|
21
|
+
solvedBy?: string | undefined;
|
22
|
+
}, {
|
23
|
+
id: string;
|
24
|
+
content: string;
|
25
|
+
created_at: string;
|
26
|
+
updated_at: string;
|
27
|
+
createdBy: string;
|
28
|
+
isSolvable?: boolean | undefined;
|
29
|
+
isSolved?: boolean | undefined;
|
30
|
+
solvedAt?: string | undefined;
|
31
|
+
solvedBy?: string | undefined;
|
32
|
+
}>;
|
33
|
+
declare const CommentDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
34
|
+
id: z.ZodString;
|
35
|
+
content: z.ZodString;
|
36
|
+
createdBy: z.ZodString;
|
37
|
+
isSolvable: z.ZodDefault<z.ZodBoolean>;
|
38
|
+
isSolved: z.ZodDefault<z.ZodBoolean>;
|
39
|
+
solvedAt: z.ZodOptional<z.ZodString>;
|
40
|
+
solvedBy: z.ZodOptional<z.ZodString>;
|
41
|
+
created_at: z.ZodString;
|
42
|
+
updated_at: z.ZodString;
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
44
|
+
id: string;
|
45
|
+
content: string;
|
46
|
+
created_at: string;
|
47
|
+
updated_at: string;
|
48
|
+
createdBy: string;
|
49
|
+
isSolvable: boolean;
|
50
|
+
isSolved: boolean;
|
51
|
+
solvedAt?: string | undefined;
|
52
|
+
solvedBy?: string | undefined;
|
53
|
+
}, {
|
54
|
+
id: string;
|
55
|
+
content: string;
|
56
|
+
created_at: string;
|
57
|
+
updated_at: string;
|
58
|
+
createdBy: string;
|
59
|
+
isSolvable?: boolean | undefined;
|
60
|
+
isSolved?: boolean | undefined;
|
61
|
+
solvedAt?: string | undefined;
|
62
|
+
solvedBy?: string | undefined;
|
63
|
+
}>>;
|
64
|
+
export declare class CommentDto extends CommentDto_base {
|
65
|
+
}
|
66
|
+
export {};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CommentDto = exports.commentSchema = void 0;
|
4
|
+
const account_dto_1 = require("../../account/dto/account.dto");
|
5
|
+
const translate_1 = require("../../i18n/translate");
|
6
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
7
|
+
const zod_1 = require("zod");
|
8
|
+
exports.commentSchema = zod_1.z.object({
|
9
|
+
id: zod_1.z.string().uuid({
|
10
|
+
message: (0, translate_1.translate)('model.comment.id.uuid'),
|
11
|
+
}),
|
12
|
+
content: zod_1.z.string().min(1, {
|
13
|
+
message: (0, translate_1.translate)('model.comment.content.min'),
|
14
|
+
}),
|
15
|
+
createdBy: account_dto_1.accountSchema.shape.id,
|
16
|
+
isSolvable: zod_1.z.boolean().default(false),
|
17
|
+
isSolved: zod_1.z.boolean().default(false),
|
18
|
+
solvedAt: zod_1.z.string().datetime().optional(),
|
19
|
+
solvedBy: account_dto_1.accountSchema.shape.id.optional(),
|
20
|
+
created_at: zod_1.z.string().datetime(),
|
21
|
+
updated_at: zod_1.z.string().datetime(),
|
22
|
+
});
|
23
|
+
class CommentDto extends (0, zod_nestjs_1.createZodDto)(exports.commentSchema) {
|
24
|
+
}
|
25
|
+
exports.CommentDto = CommentDto;
|
26
|
+
//# sourceMappingURL=comment.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './dto/comment.dto';
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./dto/
|
17
|
+
__exportStar(require("./dto/comment.dto"), exports);
|
18
18
|
//# sourceMappingURL=exports.js.map
|