expo-backend-types 0.10.0-EXPO-247-EB-Evento.2 → 0.10.0-EXPO-247-EB-Evento.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -11,24 +11,73 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
11
11
|
created_at: z.ZodDate;
|
12
12
|
updated_at: z.ZodDate;
|
13
13
|
}, {
|
14
|
-
|
14
|
+
subEvents: z.ZodArray<z.ZodObject<{
|
15
15
|
id: z.ZodString;
|
16
16
|
name: z.ZodString;
|
17
|
-
|
17
|
+
date: z.ZodDate;
|
18
|
+
location: z.ZodString;
|
19
|
+
folderId: z.ZodNullable<z.ZodString>;
|
20
|
+
tagAssistedId: z.ZodString;
|
21
|
+
tagConfirmedId: z.ZodString;
|
22
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
18
23
|
created_at: z.ZodDate;
|
19
24
|
updated_at: z.ZodDate;
|
20
25
|
}, "strip", z.ZodTypeAny, {
|
26
|
+
location: string;
|
21
27
|
id: string;
|
22
28
|
name: string;
|
23
|
-
|
29
|
+
date: Date;
|
24
30
|
created_at: Date;
|
25
31
|
updated_at: Date;
|
32
|
+
folderId: string | null;
|
33
|
+
tagAssistedId: string;
|
34
|
+
tagConfirmedId: string;
|
35
|
+
supraEventId: string | null;
|
26
36
|
}, {
|
37
|
+
location: string;
|
27
38
|
id: string;
|
28
39
|
name: string;
|
29
|
-
|
40
|
+
date: Date;
|
30
41
|
created_at: Date;
|
31
42
|
updated_at: Date;
|
43
|
+
folderId: string | null;
|
44
|
+
tagAssistedId: string;
|
45
|
+
tagConfirmedId: string;
|
46
|
+
supraEventId: string | null;
|
47
|
+
}>, "many">;
|
48
|
+
supraEvent: z.ZodNullable<z.ZodObject<{
|
49
|
+
id: z.ZodString;
|
50
|
+
name: z.ZodString;
|
51
|
+
date: z.ZodDate;
|
52
|
+
location: z.ZodString;
|
53
|
+
folderId: z.ZodNullable<z.ZodString>;
|
54
|
+
tagAssistedId: z.ZodString;
|
55
|
+
tagConfirmedId: z.ZodString;
|
56
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
57
|
+
created_at: z.ZodDate;
|
58
|
+
updated_at: z.ZodDate;
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
60
|
+
location: string;
|
61
|
+
id: string;
|
62
|
+
name: string;
|
63
|
+
date: Date;
|
64
|
+
created_at: Date;
|
65
|
+
updated_at: Date;
|
66
|
+
folderId: string | null;
|
67
|
+
tagAssistedId: string;
|
68
|
+
tagConfirmedId: string;
|
69
|
+
supraEventId: string | null;
|
70
|
+
}, {
|
71
|
+
location: string;
|
72
|
+
id: string;
|
73
|
+
name: string;
|
74
|
+
date: Date;
|
75
|
+
created_at: Date;
|
76
|
+
updated_at: Date;
|
77
|
+
folderId: string | null;
|
78
|
+
tagAssistedId: string;
|
79
|
+
tagConfirmedId: string;
|
80
|
+
supraEventId: string | null;
|
32
81
|
}>>;
|
33
82
|
}>, "strip", z.ZodTypeAny, {
|
34
83
|
location: string;
|
@@ -41,12 +90,29 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
41
90
|
tagAssistedId: string;
|
42
91
|
tagConfirmedId: string;
|
43
92
|
supraEventId: string | null;
|
44
|
-
|
93
|
+
subEvents: {
|
94
|
+
location: string;
|
45
95
|
id: string;
|
46
96
|
name: string;
|
47
|
-
|
97
|
+
date: Date;
|
48
98
|
created_at: Date;
|
49
99
|
updated_at: Date;
|
100
|
+
folderId: string | null;
|
101
|
+
tagAssistedId: string;
|
102
|
+
tagConfirmedId: string;
|
103
|
+
supraEventId: string | null;
|
104
|
+
}[];
|
105
|
+
supraEvent: {
|
106
|
+
location: string;
|
107
|
+
id: string;
|
108
|
+
name: string;
|
109
|
+
date: Date;
|
110
|
+
created_at: Date;
|
111
|
+
updated_at: Date;
|
112
|
+
folderId: string | null;
|
113
|
+
tagAssistedId: string;
|
114
|
+
tagConfirmedId: string;
|
115
|
+
supraEventId: string | null;
|
50
116
|
} | null;
|
51
117
|
}, {
|
52
118
|
location: string;
|
@@ -59,12 +125,29 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
59
125
|
tagAssistedId: string;
|
60
126
|
tagConfirmedId: string;
|
61
127
|
supraEventId: string | null;
|
62
|
-
|
128
|
+
subEvents: {
|
129
|
+
location: string;
|
130
|
+
id: string;
|
131
|
+
name: string;
|
132
|
+
date: Date;
|
133
|
+
created_at: Date;
|
134
|
+
updated_at: Date;
|
135
|
+
folderId: string | null;
|
136
|
+
tagAssistedId: string;
|
137
|
+
tagConfirmedId: string;
|
138
|
+
supraEventId: string | null;
|
139
|
+
}[];
|
140
|
+
supraEvent: {
|
141
|
+
location: string;
|
63
142
|
id: string;
|
64
143
|
name: string;
|
65
|
-
|
144
|
+
date: Date;
|
66
145
|
created_at: Date;
|
67
146
|
updated_at: Date;
|
147
|
+
folderId: string | null;
|
148
|
+
tagAssistedId: string;
|
149
|
+
tagConfirmedId: string;
|
150
|
+
supraEventId: string | null;
|
68
151
|
} | null;
|
69
152
|
}>;
|
70
153
|
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -78,24 +161,73 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
78
161
|
supraEventId: z.ZodNullable<z.ZodString>;
|
79
162
|
created_at: z.ZodString;
|
80
163
|
updated_at: z.ZodString;
|
81
|
-
|
164
|
+
subEvents: z.ZodArray<z.ZodObject<{
|
82
165
|
id: z.ZodString;
|
83
166
|
name: z.ZodString;
|
84
|
-
|
167
|
+
date: z.ZodString;
|
168
|
+
location: z.ZodString;
|
169
|
+
folderId: z.ZodNullable<z.ZodString>;
|
170
|
+
tagAssistedId: z.ZodString;
|
171
|
+
tagConfirmedId: z.ZodString;
|
172
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
85
173
|
created_at: z.ZodString;
|
86
174
|
updated_at: z.ZodString;
|
87
175
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
176
|
+
location: string;
|
88
177
|
id: string;
|
89
178
|
name: string;
|
90
|
-
|
179
|
+
date: string;
|
91
180
|
created_at: string;
|
92
181
|
updated_at: string;
|
182
|
+
folderId: string | null;
|
183
|
+
tagAssistedId: string;
|
184
|
+
tagConfirmedId: string;
|
185
|
+
supraEventId: string | null;
|
93
186
|
}, {
|
187
|
+
location: string;
|
94
188
|
id: string;
|
95
189
|
name: string;
|
96
|
-
|
190
|
+
date: string;
|
97
191
|
created_at: string;
|
98
192
|
updated_at: string;
|
193
|
+
folderId: string | null;
|
194
|
+
tagAssistedId: string;
|
195
|
+
tagConfirmedId: string;
|
196
|
+
supraEventId: string | null;
|
197
|
+
}>, "many">;
|
198
|
+
supraEvent: z.ZodNullable<z.ZodObject<{
|
199
|
+
id: z.ZodString;
|
200
|
+
name: z.ZodString;
|
201
|
+
date: z.ZodString;
|
202
|
+
location: z.ZodString;
|
203
|
+
folderId: z.ZodNullable<z.ZodString>;
|
204
|
+
tagAssistedId: z.ZodString;
|
205
|
+
tagConfirmedId: z.ZodString;
|
206
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
207
|
+
created_at: z.ZodString;
|
208
|
+
updated_at: z.ZodString;
|
209
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
210
|
+
location: string;
|
211
|
+
id: string;
|
212
|
+
name: string;
|
213
|
+
date: string;
|
214
|
+
created_at: string;
|
215
|
+
updated_at: string;
|
216
|
+
folderId: string | null;
|
217
|
+
tagAssistedId: string;
|
218
|
+
tagConfirmedId: string;
|
219
|
+
supraEventId: string | null;
|
220
|
+
}, {
|
221
|
+
location: string;
|
222
|
+
id: string;
|
223
|
+
name: string;
|
224
|
+
date: string;
|
225
|
+
created_at: string;
|
226
|
+
updated_at: string;
|
227
|
+
folderId: string | null;
|
228
|
+
tagAssistedId: string;
|
229
|
+
tagConfirmedId: string;
|
230
|
+
supraEventId: string | null;
|
99
231
|
}>>;
|
100
232
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
101
233
|
location: string;
|
@@ -108,12 +240,29 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
108
240
|
tagAssistedId: string;
|
109
241
|
tagConfirmedId: string;
|
110
242
|
supraEventId: string | null;
|
111
|
-
|
243
|
+
subEvents: {
|
244
|
+
location: string;
|
112
245
|
id: string;
|
113
246
|
name: string;
|
114
|
-
|
247
|
+
date: string;
|
115
248
|
created_at: string;
|
116
249
|
updated_at: string;
|
250
|
+
folderId: string | null;
|
251
|
+
tagAssistedId: string;
|
252
|
+
tagConfirmedId: string;
|
253
|
+
supraEventId: string | null;
|
254
|
+
}[];
|
255
|
+
supraEvent: {
|
256
|
+
location: string;
|
257
|
+
id: string;
|
258
|
+
name: string;
|
259
|
+
date: string;
|
260
|
+
created_at: string;
|
261
|
+
updated_at: string;
|
262
|
+
folderId: string | null;
|
263
|
+
tagAssistedId: string;
|
264
|
+
tagConfirmedId: string;
|
265
|
+
supraEventId: string | null;
|
117
266
|
} | null;
|
118
267
|
}, {
|
119
268
|
location: string;
|
@@ -126,12 +275,29 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
126
275
|
tagAssistedId: string;
|
127
276
|
tagConfirmedId: string;
|
128
277
|
supraEventId: string | null;
|
129
|
-
|
278
|
+
subEvents: {
|
279
|
+
location: string;
|
280
|
+
id: string;
|
281
|
+
name: string;
|
282
|
+
date: string;
|
283
|
+
created_at: string;
|
284
|
+
updated_at: string;
|
285
|
+
folderId: string | null;
|
286
|
+
tagAssistedId: string;
|
287
|
+
tagConfirmedId: string;
|
288
|
+
supraEventId: string | null;
|
289
|
+
}[];
|
290
|
+
supraEvent: {
|
291
|
+
location: string;
|
130
292
|
id: string;
|
131
293
|
name: string;
|
132
|
-
|
294
|
+
date: string;
|
133
295
|
created_at: string;
|
134
296
|
updated_at: string;
|
297
|
+
folderId: string | null;
|
298
|
+
tagAssistedId: string;
|
299
|
+
tagConfirmedId: string;
|
300
|
+
supraEventId: string | null;
|
135
301
|
} | null;
|
136
302
|
}>>;
|
137
303
|
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
@@ -4,12 +4,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.GetByIdEventResponseDto = exports.getByIdEventResponseSchema = void 0;
|
7
|
-
const event_folder_dto_1 = require("../../event-folder/dto/event-folder.dto");
|
8
7
|
const event_dto_1 = require("./event.dto");
|
9
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
9
|
const zod_1 = __importDefault(require("zod"));
|
11
10
|
exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
12
|
-
|
11
|
+
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
12
|
+
supraEvent: event_dto_1.eventSchema.nullable(),
|
13
13
|
}));
|
14
14
|
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
15
15
|
}
|
package/dist/types/schema.d.ts
CHANGED
@@ -1208,10 +1208,27 @@ export interface components {
|
|
1208
1208
|
supraEventId: string | null;
|
1209
1209
|
created_at: string;
|
1210
1210
|
updated_at: string;
|
1211
|
-
|
1211
|
+
subEvents: {
|
1212
|
+
id: string;
|
1213
|
+
name: string;
|
1214
|
+
date: string;
|
1215
|
+
location: string;
|
1216
|
+
folderId: string | null;
|
1217
|
+
tagAssistedId: string;
|
1218
|
+
tagConfirmedId: string;
|
1219
|
+
supraEventId: string | null;
|
1220
|
+
created_at: string;
|
1221
|
+
updated_at: string;
|
1222
|
+
}[];
|
1223
|
+
supraEvent: {
|
1212
1224
|
id?: string;
|
1213
1225
|
name?: string;
|
1214
|
-
|
1226
|
+
date?: string;
|
1227
|
+
location?: string;
|
1228
|
+
folderId?: string | null;
|
1229
|
+
tagAssistedId?: string;
|
1230
|
+
tagConfirmedId?: string;
|
1231
|
+
supraEventId?: string | null;
|
1215
1232
|
created_at?: string;
|
1216
1233
|
updated_at?: string;
|
1217
1234
|
} | null;
|