expo-backend-types 0.3.0 → 0.4.0-EXPO-212.1

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