expo-backend-types 0.3.0-EXPO-245.3 → 0.3.0-EXPO-245.5

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