expo-backend-types 0.3.0-EXPO-245.7 → 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
@@ -1,25 +1,28 @@
|
|
1
|
-
export declare const
|
1
|
+
export declare const createAccountSchema: import("zod").ZodObject<Pick<{
|
2
2
|
id: import("zod").ZodString;
|
3
3
|
username: import("zod").ZodString;
|
4
4
|
password: import("zod").ZodString;
|
5
|
-
|
5
|
+
role: import("zod").ZodNativeEnum<{
|
6
|
+
USER: "USER";
|
7
|
+
ADMIN: "ADMIN";
|
8
|
+
}>;
|
6
9
|
created_at: import("zod").ZodString;
|
7
10
|
updated_at: import("zod").ZodString;
|
8
|
-
|
9
|
-
|
11
|
+
globalFilter: import("zod").ZodObject<{
|
12
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
10
13
|
id: import("zod").ZodString;
|
11
14
|
name: import("zod").ZodString;
|
12
15
|
groupId: import("zod").ZodString;
|
13
16
|
type: import("zod").ZodNativeEnum<{
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
17
|
+
PROFILE: "PROFILE";
|
18
|
+
EVENT: "EVENT";
|
19
|
+
PARTICIPANT: "PARTICIPANT";
|
20
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
18
21
|
}>;
|
19
22
|
created_at: import("zod").ZodString;
|
20
23
|
updated_at: import("zod").ZodString;
|
21
24
|
}, "id" | "name">, {
|
22
|
-
|
25
|
+
group: import("zod").ZodObject<Pick<{
|
23
26
|
id: import("zod").ZodString;
|
24
27
|
name: import("zod").ZodString;
|
25
28
|
color: import("zod").ZodString;
|
@@ -38,7 +41,7 @@ export declare const createCuentaSchema: import("zod").ZodObject<Pick<{
|
|
38
41
|
}>, "strip", import("zod").ZodTypeAny, {
|
39
42
|
id: string;
|
40
43
|
name: string;
|
41
|
-
|
44
|
+
group: {
|
42
45
|
id: string;
|
43
46
|
color: string;
|
44
47
|
isExclusive: boolean;
|
@@ -46,7 +49,7 @@ export declare const createCuentaSchema: import("zod").ZodObject<Pick<{
|
|
46
49
|
}, {
|
47
50
|
id: string;
|
48
51
|
name: string;
|
49
|
-
|
52
|
+
group: {
|
50
53
|
id: string;
|
51
54
|
color: string;
|
52
55
|
isExclusive: boolean;
|
@@ -54,10 +57,10 @@ export declare const createCuentaSchema: import("zod").ZodObject<Pick<{
|
|
54
57
|
}>;
|
55
58
|
active: import("zod").ZodBoolean;
|
56
59
|
}, "strip", import("zod").ZodTypeAny, {
|
57
|
-
|
60
|
+
tags: {
|
58
61
|
id: string;
|
59
62
|
name: string;
|
60
|
-
|
63
|
+
group: {
|
61
64
|
id: string;
|
62
65
|
color: string;
|
63
66
|
isExclusive: boolean;
|
@@ -65,10 +68,10 @@ export declare const createCuentaSchema: import("zod").ZodObject<Pick<{
|
|
65
68
|
};
|
66
69
|
active: boolean;
|
67
70
|
}, {
|
68
|
-
|
71
|
+
tags: {
|
69
72
|
id: string;
|
70
73
|
name: string;
|
71
|
-
|
74
|
+
group: {
|
72
75
|
id: string;
|
73
76
|
color: string;
|
74
77
|
isExclusive: boolean;
|
@@ -76,39 +79,42 @@ export declare const createCuentaSchema: import("zod").ZodObject<Pick<{
|
|
76
79
|
};
|
77
80
|
active: boolean;
|
78
81
|
}>;
|
79
|
-
|
82
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
80
83
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
81
|
-
}, "username" | "password" | "
|
84
|
+
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
82
85
|
username: string;
|
83
86
|
password: string;
|
84
|
-
|
87
|
+
role: "USER" | "ADMIN";
|
85
88
|
}, {
|
86
89
|
username: string;
|
87
90
|
password: string;
|
88
|
-
|
91
|
+
role: "USER" | "ADMIN";
|
89
92
|
}>;
|
90
|
-
declare const
|
93
|
+
declare const CreateAccountDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Pick<{
|
91
94
|
id: import("zod").ZodString;
|
92
95
|
username: import("zod").ZodString;
|
93
96
|
password: import("zod").ZodString;
|
94
|
-
|
97
|
+
role: import("zod").ZodNativeEnum<{
|
98
|
+
USER: "USER";
|
99
|
+
ADMIN: "ADMIN";
|
100
|
+
}>;
|
95
101
|
created_at: import("zod").ZodString;
|
96
102
|
updated_at: import("zod").ZodString;
|
97
|
-
|
98
|
-
|
103
|
+
globalFilter: import("zod").ZodObject<{
|
104
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
99
105
|
id: import("zod").ZodString;
|
100
106
|
name: import("zod").ZodString;
|
101
107
|
groupId: import("zod").ZodString;
|
102
108
|
type: import("zod").ZodNativeEnum<{
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
109
|
+
PROFILE: "PROFILE";
|
110
|
+
EVENT: "EVENT";
|
111
|
+
PARTICIPANT: "PARTICIPANT";
|
112
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
107
113
|
}>;
|
108
114
|
created_at: import("zod").ZodString;
|
109
115
|
updated_at: import("zod").ZodString;
|
110
116
|
}, "id" | "name">, {
|
111
|
-
|
117
|
+
group: import("zod").ZodObject<Pick<{
|
112
118
|
id: import("zod").ZodString;
|
113
119
|
name: import("zod").ZodString;
|
114
120
|
color: import("zod").ZodString;
|
@@ -127,7 +133,7 @@ declare const CreateCuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
127
133
|
}>, "strip", import("zod").ZodTypeAny, {
|
128
134
|
id: string;
|
129
135
|
name: string;
|
130
|
-
|
136
|
+
group: {
|
131
137
|
id: string;
|
132
138
|
color: string;
|
133
139
|
isExclusive: boolean;
|
@@ -135,7 +141,7 @@ declare const CreateCuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
135
141
|
}, {
|
136
142
|
id: string;
|
137
143
|
name: string;
|
138
|
-
|
144
|
+
group: {
|
139
145
|
id: string;
|
140
146
|
color: string;
|
141
147
|
isExclusive: boolean;
|
@@ -143,10 +149,10 @@ declare const CreateCuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
143
149
|
}>;
|
144
150
|
active: import("zod").ZodBoolean;
|
145
151
|
}, "strip", import("zod").ZodTypeAny, {
|
146
|
-
|
152
|
+
tags: {
|
147
153
|
id: string;
|
148
154
|
name: string;
|
149
|
-
|
155
|
+
group: {
|
150
156
|
id: string;
|
151
157
|
color: string;
|
152
158
|
isExclusive: boolean;
|
@@ -154,10 +160,10 @@ declare const CreateCuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
154
160
|
};
|
155
161
|
active: boolean;
|
156
162
|
}, {
|
157
|
-
|
163
|
+
tags: {
|
158
164
|
id: string;
|
159
165
|
name: string;
|
160
|
-
|
166
|
+
group: {
|
161
167
|
id: string;
|
162
168
|
color: string;
|
163
169
|
isExclusive: boolean;
|
@@ -165,41 +171,44 @@ declare const CreateCuentaDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
|
|
165
171
|
};
|
166
172
|
active: boolean;
|
167
173
|
}>;
|
168
|
-
|
174
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
169
175
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
170
|
-
}, "username" | "password" | "
|
176
|
+
}, "username" | "password" | "role">, "strip", import("zod").ZodTypeAny, {
|
171
177
|
username: string;
|
172
178
|
password: string;
|
173
|
-
|
179
|
+
role: "USER" | "ADMIN";
|
174
180
|
}, {
|
175
181
|
username: string;
|
176
182
|
password: string;
|
177
|
-
|
183
|
+
role: "USER" | "ADMIN";
|
178
184
|
}>>;
|
179
|
-
export declare class
|
185
|
+
export declare class CreateAccountDto extends CreateAccountDto_base {
|
180
186
|
}
|
181
|
-
export declare const
|
187
|
+
export declare const createAccountResponseSchema: import("zod").ZodObject<Omit<{
|
182
188
|
id: import("zod").ZodString;
|
183
189
|
username: import("zod").ZodString;
|
184
190
|
password: import("zod").ZodString;
|
185
|
-
|
191
|
+
role: import("zod").ZodNativeEnum<{
|
192
|
+
USER: "USER";
|
193
|
+
ADMIN: "ADMIN";
|
194
|
+
}>;
|
186
195
|
created_at: import("zod").ZodString;
|
187
196
|
updated_at: import("zod").ZodString;
|
188
|
-
|
189
|
-
|
197
|
+
globalFilter: import("zod").ZodObject<{
|
198
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
190
199
|
id: import("zod").ZodString;
|
191
200
|
name: import("zod").ZodString;
|
192
201
|
groupId: import("zod").ZodString;
|
193
202
|
type: import("zod").ZodNativeEnum<{
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
203
|
+
PROFILE: "PROFILE";
|
204
|
+
EVENT: "EVENT";
|
205
|
+
PARTICIPANT: "PARTICIPANT";
|
206
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
198
207
|
}>;
|
199
208
|
created_at: import("zod").ZodString;
|
200
209
|
updated_at: import("zod").ZodString;
|
201
210
|
}, "id" | "name">, {
|
202
|
-
|
211
|
+
group: import("zod").ZodObject<Pick<{
|
203
212
|
id: import("zod").ZodString;
|
204
213
|
name: import("zod").ZodString;
|
205
214
|
color: import("zod").ZodString;
|
@@ -218,7 +227,7 @@ export declare const createCuentaResponseSchema: import("zod").ZodObject<Omit<{
|
|
218
227
|
}>, "strip", import("zod").ZodTypeAny, {
|
219
228
|
id: string;
|
220
229
|
name: string;
|
221
|
-
|
230
|
+
group: {
|
222
231
|
id: string;
|
223
232
|
color: string;
|
224
233
|
isExclusive: boolean;
|
@@ -226,7 +235,7 @@ export declare const createCuentaResponseSchema: import("zod").ZodObject<Omit<{
|
|
226
235
|
}, {
|
227
236
|
id: string;
|
228
237
|
name: string;
|
229
|
-
|
238
|
+
group: {
|
230
239
|
id: string;
|
231
240
|
color: string;
|
232
241
|
isExclusive: boolean;
|
@@ -234,10 +243,10 @@ export declare const createCuentaResponseSchema: import("zod").ZodObject<Omit<{
|
|
234
243
|
}>;
|
235
244
|
active: import("zod").ZodBoolean;
|
236
245
|
}, "strip", import("zod").ZodTypeAny, {
|
237
|
-
|
246
|
+
tags: {
|
238
247
|
id: string;
|
239
248
|
name: string;
|
240
|
-
|
249
|
+
group: {
|
241
250
|
id: string;
|
242
251
|
color: string;
|
243
252
|
isExclusive: boolean;
|
@@ -245,10 +254,10 @@ export declare const createCuentaResponseSchema: import("zod").ZodObject<Omit<{
|
|
245
254
|
};
|
246
255
|
active: boolean;
|
247
256
|
}, {
|
248
|
-
|
257
|
+
tags: {
|
249
258
|
id: string;
|
250
259
|
name: string;
|
251
|
-
|
260
|
+
group: {
|
252
261
|
id: string;
|
253
262
|
color: string;
|
254
263
|
isExclusive: boolean;
|
@@ -256,43 +265,46 @@ export declare const createCuentaResponseSchema: import("zod").ZodObject<Omit<{
|
|
256
265
|
};
|
257
266
|
active: boolean;
|
258
267
|
}>;
|
259
|
-
|
268
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
260
269
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
261
|
-
}, "password" | "created_at" | "updated_at" | "
|
270
|
+
}, "password" | "created_at" | "updated_at" | "globalFilter">, "strip", import("zod").ZodTypeAny, {
|
262
271
|
id: string;
|
263
272
|
username: string;
|
264
|
-
|
265
|
-
|
273
|
+
role: "USER" | "ADMIN";
|
274
|
+
isGlobalFilterActive: boolean;
|
266
275
|
fcmToken: string[];
|
267
276
|
}, {
|
268
277
|
id: string;
|
269
278
|
username: string;
|
270
|
-
|
271
|
-
|
279
|
+
role: "USER" | "ADMIN";
|
280
|
+
isGlobalFilterActive?: boolean | undefined;
|
272
281
|
fcmToken?: string[] | undefined;
|
273
282
|
}>;
|
274
283
|
declare const CreateCuentaResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<{
|
275
284
|
id: import("zod").ZodString;
|
276
285
|
username: import("zod").ZodString;
|
277
286
|
password: import("zod").ZodString;
|
278
|
-
|
287
|
+
role: import("zod").ZodNativeEnum<{
|
288
|
+
USER: "USER";
|
289
|
+
ADMIN: "ADMIN";
|
290
|
+
}>;
|
279
291
|
created_at: import("zod").ZodString;
|
280
292
|
updated_at: import("zod").ZodString;
|
281
|
-
|
282
|
-
|
293
|
+
globalFilter: import("zod").ZodObject<{
|
294
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
283
295
|
id: import("zod").ZodString;
|
284
296
|
name: import("zod").ZodString;
|
285
297
|
groupId: import("zod").ZodString;
|
286
298
|
type: import("zod").ZodNativeEnum<{
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
299
|
+
PROFILE: "PROFILE";
|
300
|
+
EVENT: "EVENT";
|
301
|
+
PARTICIPANT: "PARTICIPANT";
|
302
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
291
303
|
}>;
|
292
304
|
created_at: import("zod").ZodString;
|
293
305
|
updated_at: import("zod").ZodString;
|
294
306
|
}, "id" | "name">, {
|
295
|
-
|
307
|
+
group: import("zod").ZodObject<Pick<{
|
296
308
|
id: import("zod").ZodString;
|
297
309
|
name: import("zod").ZodString;
|
298
310
|
color: import("zod").ZodString;
|
@@ -311,7 +323,7 @@ declare const CreateCuentaResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
311
323
|
}>, "strip", import("zod").ZodTypeAny, {
|
312
324
|
id: string;
|
313
325
|
name: string;
|
314
|
-
|
326
|
+
group: {
|
315
327
|
id: string;
|
316
328
|
color: string;
|
317
329
|
isExclusive: boolean;
|
@@ -319,7 +331,7 @@ declare const CreateCuentaResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
319
331
|
}, {
|
320
332
|
id: string;
|
321
333
|
name: string;
|
322
|
-
|
334
|
+
group: {
|
323
335
|
id: string;
|
324
336
|
color: string;
|
325
337
|
isExclusive: boolean;
|
@@ -327,10 +339,10 @@ declare const CreateCuentaResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
327
339
|
}>;
|
328
340
|
active: import("zod").ZodBoolean;
|
329
341
|
}, "strip", import("zod").ZodTypeAny, {
|
330
|
-
|
342
|
+
tags: {
|
331
343
|
id: string;
|
332
344
|
name: string;
|
333
|
-
|
345
|
+
group: {
|
334
346
|
id: string;
|
335
347
|
color: string;
|
336
348
|
isExclusive: boolean;
|
@@ -338,10 +350,10 @@ declare const CreateCuentaResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
338
350
|
};
|
339
351
|
active: boolean;
|
340
352
|
}, {
|
341
|
-
|
353
|
+
tags: {
|
342
354
|
id: string;
|
343
355
|
name: string;
|
344
|
-
|
356
|
+
group: {
|
345
357
|
id: string;
|
346
358
|
color: string;
|
347
359
|
isExclusive: boolean;
|
@@ -349,19 +361,19 @@ declare const CreateCuentaResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
349
361
|
};
|
350
362
|
active: boolean;
|
351
363
|
}>;
|
352
|
-
|
364
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
353
365
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
354
|
-
}, "password" | "created_at" | "updated_at" | "
|
366
|
+
}, "password" | "created_at" | "updated_at" | "globalFilter">, "strip", import("zod").ZodTypeAny, {
|
355
367
|
id: string;
|
356
368
|
username: string;
|
357
|
-
|
358
|
-
|
369
|
+
role: "USER" | "ADMIN";
|
370
|
+
isGlobalFilterActive: boolean;
|
359
371
|
fcmToken: string[];
|
360
372
|
}, {
|
361
373
|
id: string;
|
362
374
|
username: string;
|
363
|
-
|
364
|
-
|
375
|
+
role: "USER" | "ADMIN";
|
376
|
+
isGlobalFilterActive?: boolean | undefined;
|
365
377
|
fcmToken?: string[] | undefined;
|
366
378
|
}>>;
|
367
379
|
export declare class CreateCuentaResponseDto extends CreateCuentaResponseDto_base {
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateCuentaResponseDto = exports.createAccountResponseSchema = exports.CreateAccountDto = exports.createAccountSchema = void 0;
|
4
|
+
const account_dto_1 = require("./account.dto");
|
5
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
6
|
+
exports.createAccountSchema = account_dto_1.accountSchema.pick({
|
7
|
+
username: true,
|
8
|
+
password: true,
|
9
|
+
role: true,
|
10
|
+
});
|
11
|
+
class CreateAccountDto extends (0, zod_nestjs_1.createZodDto)(exports.createAccountSchema) {
|
12
|
+
}
|
13
|
+
exports.CreateAccountDto = CreateAccountDto;
|
14
|
+
exports.createAccountResponseSchema = account_dto_1.accountSchema.omit({
|
15
|
+
password: true,
|
16
|
+
globalFilter: true,
|
17
|
+
created_at: true,
|
18
|
+
updated_at: true,
|
19
|
+
});
|
20
|
+
class CreateCuentaResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.createAccountResponseSchema) {
|
21
|
+
}
|
22
|
+
exports.CreateCuentaResponseDto = CreateCuentaResponseDto;
|
23
|
+
//# sourceMappingURL=createAccount.dto.js.map
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
export declare const
|
2
|
+
export declare const getGlobalFilterResponse: z.ZodObject<{
|
3
3
|
active: z.ZodBoolean;
|
4
|
-
|
4
|
+
globalFilter: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
5
5
|
id: z.ZodString;
|
6
6
|
name: z.ZodString;
|
7
7
|
groupId: z.ZodString;
|
8
8
|
type: z.ZodNativeEnum<{
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
PROFILE: "PROFILE";
|
10
|
+
EVENT: "EVENT";
|
11
|
+
PARTICIPANT: "PARTICIPANT";
|
12
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
13
13
|
}>;
|
14
14
|
created_at: z.ZodString;
|
15
15
|
updated_at: z.ZodString;
|
16
16
|
}, "id" | "name" | "type">, {
|
17
|
-
|
17
|
+
group: z.ZodObject<Pick<{
|
18
18
|
id: z.ZodString;
|
19
19
|
name: z.ZodString;
|
20
20
|
color: z.ZodString;
|
@@ -33,8 +33,8 @@ export declare const getFiltroBaseResponse: z.ZodObject<{
|
|
33
33
|
}>, "strip", z.ZodTypeAny, {
|
34
34
|
id: string;
|
35
35
|
name: string;
|
36
|
-
type: "
|
37
|
-
|
36
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
37
|
+
group: {
|
38
38
|
id: string;
|
39
39
|
color: string;
|
40
40
|
isExclusive: boolean;
|
@@ -42,19 +42,19 @@ export declare const getFiltroBaseResponse: z.ZodObject<{
|
|
42
42
|
}, {
|
43
43
|
id: string;
|
44
44
|
name: string;
|
45
|
-
type: "
|
46
|
-
|
45
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
46
|
+
group: {
|
47
47
|
id: string;
|
48
48
|
color: string;
|
49
49
|
isExclusive: boolean;
|
50
50
|
};
|
51
51
|
}>, "many">;
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
53
|
-
|
53
|
+
globalFilter: {
|
54
54
|
id: string;
|
55
55
|
name: string;
|
56
|
-
type: "
|
57
|
-
|
56
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
57
|
+
group: {
|
58
58
|
id: string;
|
59
59
|
color: string;
|
60
60
|
isExclusive: boolean;
|
@@ -62,11 +62,11 @@ export declare const getFiltroBaseResponse: z.ZodObject<{
|
|
62
62
|
}[];
|
63
63
|
active: boolean;
|
64
64
|
}, {
|
65
|
-
|
65
|
+
globalFilter: {
|
66
66
|
id: string;
|
67
67
|
name: string;
|
68
|
-
type: "
|
69
|
-
|
68
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
69
|
+
group: {
|
70
70
|
id: string;
|
71
71
|
color: string;
|
72
72
|
isExclusive: boolean;
|
@@ -74,22 +74,22 @@ export declare const getFiltroBaseResponse: z.ZodObject<{
|
|
74
74
|
}[];
|
75
75
|
active: boolean;
|
76
76
|
}>;
|
77
|
-
declare const
|
77
|
+
declare const GetGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
78
78
|
active: z.ZodBoolean;
|
79
|
-
|
79
|
+
globalFilter: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
80
80
|
id: z.ZodString;
|
81
81
|
name: z.ZodString;
|
82
82
|
groupId: z.ZodString;
|
83
83
|
type: z.ZodNativeEnum<{
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
84
|
+
PROFILE: "PROFILE";
|
85
|
+
EVENT: "EVENT";
|
86
|
+
PARTICIPANT: "PARTICIPANT";
|
87
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
88
88
|
}>;
|
89
89
|
created_at: z.ZodString;
|
90
90
|
updated_at: z.ZodString;
|
91
91
|
}, "id" | "name" | "type">, {
|
92
|
-
|
92
|
+
group: z.ZodObject<Pick<{
|
93
93
|
id: z.ZodString;
|
94
94
|
name: z.ZodString;
|
95
95
|
color: z.ZodString;
|
@@ -108,8 +108,8 @@ declare const GetFiltroBaseResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
108
108
|
}>, "strip", z.ZodTypeAny, {
|
109
109
|
id: string;
|
110
110
|
name: string;
|
111
|
-
type: "
|
112
|
-
|
111
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
112
|
+
group: {
|
113
113
|
id: string;
|
114
114
|
color: string;
|
115
115
|
isExclusive: boolean;
|
@@ -117,19 +117,19 @@ declare const GetFiltroBaseResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
117
117
|
}, {
|
118
118
|
id: string;
|
119
119
|
name: string;
|
120
|
-
type: "
|
121
|
-
|
120
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
121
|
+
group: {
|
122
122
|
id: string;
|
123
123
|
color: string;
|
124
124
|
isExclusive: boolean;
|
125
125
|
};
|
126
126
|
}>, "many">;
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
128
|
-
|
128
|
+
globalFilter: {
|
129
129
|
id: string;
|
130
130
|
name: string;
|
131
|
-
type: "
|
132
|
-
|
131
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
132
|
+
group: {
|
133
133
|
id: string;
|
134
134
|
color: string;
|
135
135
|
isExclusive: boolean;
|
@@ -137,11 +137,11 @@ declare const GetFiltroBaseResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
137
137
|
}[];
|
138
138
|
active: boolean;
|
139
139
|
}, {
|
140
|
-
|
140
|
+
globalFilter: {
|
141
141
|
id: string;
|
142
142
|
name: string;
|
143
|
-
type: "
|
144
|
-
|
143
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
144
|
+
group: {
|
145
145
|
id: string;
|
146
146
|
color: string;
|
147
147
|
isExclusive: boolean;
|
@@ -149,6 +149,6 @@ declare const GetFiltroBaseResponseDto_base: import("@anatine/zod-nestjs").ZodDt
|
|
149
149
|
}[];
|
150
150
|
active: boolean;
|
151
151
|
}>>;
|
152
|
-
export declare class
|
152
|
+
export declare class GetGlobalFilterResponseDto extends GetGlobalFilterResponseDto_base {
|
153
153
|
}
|
154
154
|
export {};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.GetGlobalFilterResponseDto = exports.getGlobalFilterResponse = void 0;
|
7
|
+
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
8
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
9
|
+
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.getGlobalFilterResponse = zod_1.default.object({
|
12
|
+
active: zod_1.default.boolean(),
|
13
|
+
globalFilter: zod_1.default.array(tag_dto_1.tagSchema
|
14
|
+
.pick({
|
15
|
+
id: true,
|
16
|
+
name: true,
|
17
|
+
type: true,
|
18
|
+
})
|
19
|
+
.merge(zod_1.default.object({
|
20
|
+
group: tag_group_dto_1.tagGroupSchema.pick({
|
21
|
+
id: true,
|
22
|
+
color: true,
|
23
|
+
isExclusive: true,
|
24
|
+
}),
|
25
|
+
}))),
|
26
|
+
});
|
27
|
+
class GetGlobalFilterResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.getGlobalFilterResponse) {
|
28
|
+
}
|
29
|
+
exports.GetGlobalFilterResponseDto = GetGlobalFilterResponseDto;
|
30
|
+
//# sourceMappingURL=getGlobalFilter.dto.js.map
|