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
@@ -2,24 +2,27 @@ export declare const getMeResponseSchema: import("zod").ZodObject<Omit<{
|
|
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 getMeResponseSchema: import("zod").ZodObject<Omit<{
|
|
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 getMeResponseSchema: import("zod").ZodObject<Omit<{
|
|
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 getMeResponseSchema: import("zod").ZodObject<Omit<{
|
|
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 getMeResponseSchema: import("zod").ZodObject<Omit<{
|
|
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,19 +79,19 @@ export declare const getMeResponseSchema: import("zod").ZodObject<Omit<{
|
|
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
84
|
}, "password">, "strip", import("zod").ZodTypeAny, {
|
82
85
|
id: string;
|
83
86
|
username: string;
|
87
|
+
role: "USER" | "ADMIN";
|
84
88
|
created_at: string;
|
85
89
|
updated_at: string;
|
86
|
-
|
87
|
-
|
88
|
-
etiquetas: {
|
90
|
+
globalFilter: {
|
91
|
+
tags: {
|
89
92
|
id: string;
|
90
93
|
name: string;
|
91
|
-
|
94
|
+
group: {
|
92
95
|
id: string;
|
93
96
|
color: string;
|
94
97
|
isExclusive: boolean;
|
@@ -96,18 +99,19 @@ export declare const getMeResponseSchema: import("zod").ZodObject<Omit<{
|
|
96
99
|
};
|
97
100
|
active: boolean;
|
98
101
|
};
|
99
|
-
|
102
|
+
isGlobalFilterActive: boolean;
|
100
103
|
fcmToken: string[];
|
101
104
|
}, {
|
102
105
|
id: string;
|
103
106
|
username: string;
|
107
|
+
role: "USER" | "ADMIN";
|
104
108
|
created_at: string;
|
105
109
|
updated_at: string;
|
106
|
-
|
107
|
-
|
110
|
+
globalFilter: {
|
111
|
+
tags: {
|
108
112
|
id: string;
|
109
113
|
name: string;
|
110
|
-
|
114
|
+
group: {
|
111
115
|
id: string;
|
112
116
|
color: string;
|
113
117
|
isExclusive: boolean;
|
@@ -115,32 +119,34 @@ export declare const getMeResponseSchema: import("zod").ZodObject<Omit<{
|
|
115
119
|
};
|
116
120
|
active: boolean;
|
117
121
|
};
|
118
|
-
|
119
|
-
filtroBaseActivo?: boolean | undefined;
|
122
|
+
isGlobalFilterActive?: boolean | undefined;
|
120
123
|
fcmToken?: string[] | undefined;
|
121
124
|
}>;
|
122
125
|
declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<Omit<{
|
123
126
|
id: import("zod").ZodString;
|
124
127
|
username: import("zod").ZodString;
|
125
128
|
password: import("zod").ZodString;
|
126
|
-
|
129
|
+
role: import("zod").ZodNativeEnum<{
|
130
|
+
USER: "USER";
|
131
|
+
ADMIN: "ADMIN";
|
132
|
+
}>;
|
127
133
|
created_at: import("zod").ZodString;
|
128
134
|
updated_at: import("zod").ZodString;
|
129
|
-
|
130
|
-
|
135
|
+
globalFilter: import("zod").ZodObject<{
|
136
|
+
tags: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
|
131
137
|
id: import("zod").ZodString;
|
132
138
|
name: import("zod").ZodString;
|
133
139
|
groupId: import("zod").ZodString;
|
134
140
|
type: import("zod").ZodNativeEnum<{
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
141
|
+
PROFILE: "PROFILE";
|
142
|
+
EVENT: "EVENT";
|
143
|
+
PARTICIPANT: "PARTICIPANT";
|
144
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
139
145
|
}>;
|
140
146
|
created_at: import("zod").ZodString;
|
141
147
|
updated_at: import("zod").ZodString;
|
142
148
|
}, "id" | "name">, {
|
143
|
-
|
149
|
+
group: import("zod").ZodObject<Pick<{
|
144
150
|
id: import("zod").ZodString;
|
145
151
|
name: import("zod").ZodString;
|
146
152
|
color: import("zod").ZodString;
|
@@ -159,7 +165,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
159
165
|
}>, "strip", import("zod").ZodTypeAny, {
|
160
166
|
id: string;
|
161
167
|
name: string;
|
162
|
-
|
168
|
+
group: {
|
163
169
|
id: string;
|
164
170
|
color: string;
|
165
171
|
isExclusive: boolean;
|
@@ -167,7 +173,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
167
173
|
}, {
|
168
174
|
id: string;
|
169
175
|
name: string;
|
170
|
-
|
176
|
+
group: {
|
171
177
|
id: string;
|
172
178
|
color: string;
|
173
179
|
isExclusive: boolean;
|
@@ -175,10 +181,10 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
175
181
|
}>;
|
176
182
|
active: import("zod").ZodBoolean;
|
177
183
|
}, "strip", import("zod").ZodTypeAny, {
|
178
|
-
|
184
|
+
tags: {
|
179
185
|
id: string;
|
180
186
|
name: string;
|
181
|
-
|
187
|
+
group: {
|
182
188
|
id: string;
|
183
189
|
color: string;
|
184
190
|
isExclusive: boolean;
|
@@ -186,10 +192,10 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
186
192
|
};
|
187
193
|
active: boolean;
|
188
194
|
}, {
|
189
|
-
|
195
|
+
tags: {
|
190
196
|
id: string;
|
191
197
|
name: string;
|
192
|
-
|
198
|
+
group: {
|
193
199
|
id: string;
|
194
200
|
color: string;
|
195
201
|
isExclusive: boolean;
|
@@ -197,19 +203,19 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
197
203
|
};
|
198
204
|
active: boolean;
|
199
205
|
}>;
|
200
|
-
|
206
|
+
isGlobalFilterActive: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
201
207
|
fcmToken: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString, "many">>;
|
202
208
|
}, "password">, "strip", import("zod").ZodTypeAny, {
|
203
209
|
id: string;
|
204
210
|
username: string;
|
211
|
+
role: "USER" | "ADMIN";
|
205
212
|
created_at: string;
|
206
213
|
updated_at: string;
|
207
|
-
|
208
|
-
|
209
|
-
etiquetas: {
|
214
|
+
globalFilter: {
|
215
|
+
tags: {
|
210
216
|
id: string;
|
211
217
|
name: string;
|
212
|
-
|
218
|
+
group: {
|
213
219
|
id: string;
|
214
220
|
color: string;
|
215
221
|
isExclusive: boolean;
|
@@ -217,18 +223,19 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
217
223
|
};
|
218
224
|
active: boolean;
|
219
225
|
};
|
220
|
-
|
226
|
+
isGlobalFilterActive: boolean;
|
221
227
|
fcmToken: string[];
|
222
228
|
}, {
|
223
229
|
id: string;
|
224
230
|
username: string;
|
231
|
+
role: "USER" | "ADMIN";
|
225
232
|
created_at: string;
|
226
233
|
updated_at: string;
|
227
|
-
|
228
|
-
|
234
|
+
globalFilter: {
|
235
|
+
tags: {
|
229
236
|
id: string;
|
230
237
|
name: string;
|
231
|
-
|
238
|
+
group: {
|
232
239
|
id: string;
|
233
240
|
color: string;
|
234
241
|
isExclusive: boolean;
|
@@ -236,8 +243,7 @@ declare const GetMeResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<
|
|
236
243
|
};
|
237
244
|
active: boolean;
|
238
245
|
};
|
239
|
-
|
240
|
-
filtroBaseActivo?: boolean | undefined;
|
246
|
+
isGlobalFilterActive?: boolean | undefined;
|
241
247
|
fcmToken?: string[] | undefined;
|
242
248
|
}>>;
|
243
249
|
export declare class GetMeResponseDto extends GetMeResponseDto_base {
|
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.GetMeResponseDto = exports.getMeResponseSchema = void 0;
|
4
|
-
const
|
4
|
+
const account_dto_1 = require("./account.dto");
|
5
5
|
const zod_nestjs_1 = require("@anatine/zod-nestjs");
|
6
|
-
exports.getMeResponseSchema =
|
6
|
+
exports.getMeResponseSchema = account_dto_1.accountSchema.omit({
|
7
7
|
password: true,
|
8
8
|
});
|
9
9
|
class GetMeResponseDto extends (0, zod_nestjs_1.createZodDto)(exports.getMeResponseSchema) {
|
package/dist/src/{cuenta/dto/updateFiltroBase.dto.d.ts → account/dto/updateGlobalFilter.dto.d.ts}
RENAMED
@@ -1,27 +1,27 @@
|
|
1
1
|
import { z } from 'zod';
|
2
|
-
export declare const
|
3
|
-
active: z.ZodBoolean
|
4
|
-
|
2
|
+
export declare const updateGlobalFilterSchema: z.ZodObject<{
|
3
|
+
active: z.ZodDefault<z.ZodBoolean>;
|
4
|
+
tagsIds: z.ZodArray<z.ZodString, "many">;
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
6
6
|
active: boolean;
|
7
|
-
|
7
|
+
tagsIds: string[];
|
8
8
|
}, {
|
9
|
-
|
10
|
-
|
9
|
+
tagsIds: string[];
|
10
|
+
active?: boolean | undefined;
|
11
11
|
}>;
|
12
|
-
declare const
|
13
|
-
active: z.ZodBoolean
|
14
|
-
|
12
|
+
declare const UpdateGlobalFilterDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
13
|
+
active: z.ZodDefault<z.ZodBoolean>;
|
14
|
+
tagsIds: z.ZodArray<z.ZodString, "many">;
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
16
16
|
active: boolean;
|
17
|
-
|
17
|
+
tagsIds: string[];
|
18
18
|
}, {
|
19
|
-
|
20
|
-
|
19
|
+
tagsIds: string[];
|
20
|
+
active?: boolean | undefined;
|
21
21
|
}>>;
|
22
|
-
export declare class
|
22
|
+
export declare class UpdateGlobalFilterDto extends UpdateGlobalFilterDto_base {
|
23
23
|
}
|
24
|
-
export declare const
|
24
|
+
export declare const updateGlobalFilterResponseSchema: z.ZodObject<{
|
25
25
|
id: z.ZodString;
|
26
26
|
nombreUsuario: z.ZodString;
|
27
27
|
esAdmin: z.ZodBoolean;
|
@@ -34,85 +34,85 @@ export declare const updateFiltroBaseResponseSchema: z.ZodObject<{
|
|
34
34
|
name: z.ZodString;
|
35
35
|
groupId: z.ZodString;
|
36
36
|
type: z.ZodNativeEnum<{
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
37
|
+
PROFILE: "PROFILE";
|
38
|
+
EVENT: "EVENT";
|
39
|
+
PARTICIPANT: "PARTICIPANT";
|
40
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
41
41
|
}>;
|
42
42
|
created_at: z.ZodString;
|
43
43
|
updated_at: z.ZodString;
|
44
44
|
}, "strip", z.ZodTypeAny, {
|
45
45
|
id: string;
|
46
46
|
name: string;
|
47
|
-
type: "
|
47
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
48
48
|
created_at: string;
|
49
49
|
updated_at: string;
|
50
50
|
groupId: string;
|
51
51
|
}, {
|
52
52
|
id: string;
|
53
53
|
name: string;
|
54
|
-
type: "
|
54
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
55
55
|
created_at: string;
|
56
56
|
updated_at: string;
|
57
57
|
groupId: string;
|
58
58
|
}>, "many">;
|
59
59
|
}, "strip", z.ZodTypeAny, {
|
60
|
+
active: boolean;
|
60
61
|
etiquetas: {
|
61
62
|
id: string;
|
62
63
|
name: string;
|
63
|
-
type: "
|
64
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
64
65
|
created_at: string;
|
65
66
|
updated_at: string;
|
66
67
|
groupId: string;
|
67
68
|
}[];
|
68
|
-
active: boolean;
|
69
69
|
}, {
|
70
|
+
active: boolean;
|
70
71
|
etiquetas: {
|
71
72
|
id: string;
|
72
73
|
name: string;
|
73
|
-
type: "
|
74
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
74
75
|
created_at: string;
|
75
76
|
updated_at: string;
|
76
77
|
groupId: string;
|
77
78
|
}[];
|
78
|
-
active: boolean;
|
79
79
|
}>;
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
81
81
|
id: string;
|
82
|
+
fcmToken: string | null;
|
83
|
+
nombreUsuario: string;
|
84
|
+
esAdmin: boolean;
|
85
|
+
filtroBaseActivo: boolean;
|
82
86
|
filtroBase: {
|
87
|
+
active: boolean;
|
83
88
|
etiquetas: {
|
84
89
|
id: string;
|
85
90
|
name: string;
|
86
|
-
type: "
|
91
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
87
92
|
created_at: string;
|
88
93
|
updated_at: string;
|
89
94
|
groupId: string;
|
90
95
|
}[];
|
91
|
-
active: boolean;
|
92
96
|
};
|
93
|
-
|
97
|
+
}, {
|
98
|
+
id: string;
|
94
99
|
fcmToken: string | null;
|
95
100
|
nombreUsuario: string;
|
96
101
|
esAdmin: boolean;
|
97
|
-
|
98
|
-
id: string;
|
102
|
+
filtroBaseActivo: boolean;
|
99
103
|
filtroBase: {
|
104
|
+
active: boolean;
|
100
105
|
etiquetas: {
|
101
106
|
id: string;
|
102
107
|
name: string;
|
103
|
-
type: "
|
108
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
104
109
|
created_at: string;
|
105
110
|
updated_at: string;
|
106
111
|
groupId: string;
|
107
112
|
}[];
|
108
|
-
active: boolean;
|
109
113
|
};
|
110
|
-
filtroBaseActivo: boolean;
|
111
|
-
fcmToken: string | null;
|
112
|
-
nombreUsuario: string;
|
113
|
-
esAdmin: boolean;
|
114
114
|
}>;
|
115
|
-
declare const
|
115
|
+
declare const UpdateGlobalFilterResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
116
116
|
id: z.ZodString;
|
117
117
|
nombreUsuario: z.ZodString;
|
118
118
|
esAdmin: z.ZodBoolean;
|
@@ -125,84 +125,84 @@ declare const UpdateFiltroBaseResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
125
125
|
name: z.ZodString;
|
126
126
|
groupId: z.ZodString;
|
127
127
|
type: z.ZodNativeEnum<{
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
128
|
+
PROFILE: "PROFILE";
|
129
|
+
EVENT: "EVENT";
|
130
|
+
PARTICIPANT: "PARTICIPANT";
|
131
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
132
132
|
}>;
|
133
133
|
created_at: z.ZodString;
|
134
134
|
updated_at: z.ZodString;
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
136
136
|
id: string;
|
137
137
|
name: string;
|
138
|
-
type: "
|
138
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
139
139
|
created_at: string;
|
140
140
|
updated_at: string;
|
141
141
|
groupId: string;
|
142
142
|
}, {
|
143
143
|
id: string;
|
144
144
|
name: string;
|
145
|
-
type: "
|
145
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
146
146
|
created_at: string;
|
147
147
|
updated_at: string;
|
148
148
|
groupId: string;
|
149
149
|
}>, "many">;
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
151
|
+
active: boolean;
|
151
152
|
etiquetas: {
|
152
153
|
id: string;
|
153
154
|
name: string;
|
154
|
-
type: "
|
155
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
155
156
|
created_at: string;
|
156
157
|
updated_at: string;
|
157
158
|
groupId: string;
|
158
159
|
}[];
|
159
|
-
active: boolean;
|
160
160
|
}, {
|
161
|
+
active: boolean;
|
161
162
|
etiquetas: {
|
162
163
|
id: string;
|
163
164
|
name: string;
|
164
|
-
type: "
|
165
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
165
166
|
created_at: string;
|
166
167
|
updated_at: string;
|
167
168
|
groupId: string;
|
168
169
|
}[];
|
169
|
-
active: boolean;
|
170
170
|
}>;
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
172
172
|
id: string;
|
173
|
+
fcmToken: string | null;
|
174
|
+
nombreUsuario: string;
|
175
|
+
esAdmin: boolean;
|
176
|
+
filtroBaseActivo: boolean;
|
173
177
|
filtroBase: {
|
178
|
+
active: boolean;
|
174
179
|
etiquetas: {
|
175
180
|
id: string;
|
176
181
|
name: string;
|
177
|
-
type: "
|
182
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
178
183
|
created_at: string;
|
179
184
|
updated_at: string;
|
180
185
|
groupId: string;
|
181
186
|
}[];
|
182
|
-
active: boolean;
|
183
187
|
};
|
184
|
-
|
188
|
+
}, {
|
189
|
+
id: string;
|
185
190
|
fcmToken: string | null;
|
186
191
|
nombreUsuario: string;
|
187
192
|
esAdmin: boolean;
|
188
|
-
|
189
|
-
id: string;
|
193
|
+
filtroBaseActivo: boolean;
|
190
194
|
filtroBase: {
|
195
|
+
active: boolean;
|
191
196
|
etiquetas: {
|
192
197
|
id: string;
|
193
198
|
name: string;
|
194
|
-
type: "
|
199
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
195
200
|
created_at: string;
|
196
201
|
updated_at: string;
|
197
202
|
groupId: string;
|
198
203
|
}[];
|
199
|
-
active: boolean;
|
200
204
|
};
|
201
|
-
filtroBaseActivo: boolean;
|
202
|
-
fcmToken: string | null;
|
203
|
-
nombreUsuario: string;
|
204
|
-
esAdmin: boolean;
|
205
205
|
}>>;
|
206
|
-
export declare class
|
206
|
+
export declare class UpdateGlobalFilterResponseDto extends UpdateGlobalFilterResponseDto_base {
|
207
207
|
}
|
208
208
|
export {};
|
@@ -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=updateGlobalFilter.dto.js.map
|
@@ -14,9 +14,9 @@ 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/
|
18
|
-
__exportStar(require("./dto/
|
19
|
-
__exportStar(require("./dto/
|
17
|
+
__exportStar(require("./dto/account.dto"), exports);
|
18
|
+
__exportStar(require("./dto/createAccount.dto"), exports);
|
19
|
+
__exportStar(require("./dto/getGlobalFilter.dto"), exports);
|
20
20
|
__exportStar(require("./dto/getMe.dto"), exports);
|
21
|
-
__exportStar(require("./dto/
|
21
|
+
__exportStar(require("./dto/updateGlobalFilter.dto"), exports);
|
22
22
|
//# sourceMappingURL=exports.js.map
|