expo-backend-types 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/event/dto/create-event.dto.d.ts +166 -0
- package/dist/src/event/dto/create-event.dto.js +33 -0
- package/dist/src/event/dto/delete-event.dto.d.ts +71 -0
- package/dist/src/event/dto/delete-event.dto.js +10 -0
- package/dist/src/event/dto/get-all-event.dto.d.ts +1113 -0
- package/dist/src/event/dto/get-all-event.dto.js +26 -0
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +548 -0
- package/dist/src/event/dto/get-by-id-event.dto.js +25 -0
- package/dist/src/event/dto/update-event.dto.d.ts +373 -0
- package/dist/src/event/dto/update-event.dto.js +41 -0
- package/dist/src/event/exports.d.ts +5 -0
- package/dist/src/event/exports.js +5 -0
- package/dist/src/event-folder/dto/event-folder.dto.js +3 -1
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +6 -6
- package/dist/src/event-folder/dto/get-all-event-folder.dto.js +1 -1
- package/dist/src/i18n/es.d.ts +31 -0
- package/dist/src/i18n/es.js +31 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/types/schema.d.ts +357 -1
- package/package.json +1 -1
@@ -0,0 +1,26 @@
|
|
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.GetAllEventsResponseDto = exports.getAllEventsResponseSchema = void 0;
|
7
|
+
const event_folder_dto_1 = require("../../event-folder/dto/event-folder.dto");
|
8
|
+
const event_dto_1 = require("./event.dto");
|
9
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.getAllEventsResponseSchema = zod_1.default.object({
|
12
|
+
folders: zod_1.default.array(event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
|
13
|
+
events: zod_1.default.array(event_dto_1.eventSchema.merge(zod_1.default.object({
|
14
|
+
supraEvent: event_dto_1.eventSchema.nullable(),
|
15
|
+
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
16
|
+
}))),
|
17
|
+
}))),
|
18
|
+
withoutFolder: zod_1.default.array(event_dto_1.eventSchema.merge(zod_1.default.object({
|
19
|
+
supraEvent: event_dto_1.eventSchema.nullable(),
|
20
|
+
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
21
|
+
}))),
|
22
|
+
});
|
23
|
+
class GetAllEventsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllEventsResponseSchema) {
|
24
|
+
}
|
25
|
+
exports.GetAllEventsResponseDto = GetAllEventsResponseDto;
|
26
|
+
//# sourceMappingURL=get-all-event.dto.js.map
|
@@ -0,0 +1,548 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
+
id: z.ZodString;
|
4
|
+
name: z.ZodString;
|
5
|
+
date: z.ZodDate;
|
6
|
+
location: z.ZodString;
|
7
|
+
folderId: z.ZodNullable<z.ZodString>;
|
8
|
+
tagAssistedId: z.ZodString;
|
9
|
+
tagConfirmedId: z.ZodString;
|
10
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
11
|
+
created_at: z.ZodDate;
|
12
|
+
updated_at: z.ZodDate;
|
13
|
+
}, {
|
14
|
+
subEvents: z.ZodArray<z.ZodObject<{
|
15
|
+
id: z.ZodString;
|
16
|
+
name: z.ZodString;
|
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>;
|
23
|
+
created_at: z.ZodDate;
|
24
|
+
updated_at: z.ZodDate;
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
26
|
+
location: string;
|
27
|
+
id: string;
|
28
|
+
name: string;
|
29
|
+
date: Date;
|
30
|
+
created_at: Date;
|
31
|
+
updated_at: Date;
|
32
|
+
folderId: string | null;
|
33
|
+
tagAssistedId: string;
|
34
|
+
tagConfirmedId: string;
|
35
|
+
supraEventId: string | null;
|
36
|
+
}, {
|
37
|
+
location: string;
|
38
|
+
id: string;
|
39
|
+
name: string;
|
40
|
+
date: Date;
|
41
|
+
created_at: Date;
|
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;
|
81
|
+
}>>;
|
82
|
+
}>, "strip", z.ZodTypeAny, {
|
83
|
+
location: string;
|
84
|
+
id: string;
|
85
|
+
name: string;
|
86
|
+
date: Date;
|
87
|
+
created_at: Date;
|
88
|
+
updated_at: Date;
|
89
|
+
folderId: string | null;
|
90
|
+
tagAssistedId: string;
|
91
|
+
tagConfirmedId: string;
|
92
|
+
supraEventId: string | null;
|
93
|
+
subEvents: {
|
94
|
+
location: string;
|
95
|
+
id: string;
|
96
|
+
name: string;
|
97
|
+
date: Date;
|
98
|
+
created_at: Date;
|
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;
|
116
|
+
} | null;
|
117
|
+
}, {
|
118
|
+
location: string;
|
119
|
+
id: string;
|
120
|
+
name: string;
|
121
|
+
date: Date;
|
122
|
+
created_at: Date;
|
123
|
+
updated_at: Date;
|
124
|
+
folderId: string | null;
|
125
|
+
tagAssistedId: string;
|
126
|
+
tagConfirmedId: string;
|
127
|
+
supraEventId: string | null;
|
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;
|
142
|
+
id: string;
|
143
|
+
name: string;
|
144
|
+
date: Date;
|
145
|
+
created_at: Date;
|
146
|
+
updated_at: Date;
|
147
|
+
folderId: string | null;
|
148
|
+
tagAssistedId: string;
|
149
|
+
tagConfirmedId: string;
|
150
|
+
supraEventId: string | null;
|
151
|
+
} | null;
|
152
|
+
}>;
|
153
|
+
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
154
|
+
id: z.ZodString;
|
155
|
+
name: z.ZodString;
|
156
|
+
date: z.ZodString;
|
157
|
+
location: z.ZodString;
|
158
|
+
folderId: z.ZodNullable<z.ZodString>;
|
159
|
+
tagAssistedId: z.ZodString;
|
160
|
+
tagConfirmedId: z.ZodString;
|
161
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
162
|
+
created_at: z.ZodString;
|
163
|
+
updated_at: z.ZodString;
|
164
|
+
subEvents: z.ZodArray<z.ZodObject<{
|
165
|
+
id: z.ZodString;
|
166
|
+
name: z.ZodString;
|
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>;
|
173
|
+
created_at: z.ZodString;
|
174
|
+
updated_at: z.ZodString;
|
175
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
176
|
+
location: string;
|
177
|
+
id: string;
|
178
|
+
name: string;
|
179
|
+
date: string;
|
180
|
+
created_at: string;
|
181
|
+
updated_at: string;
|
182
|
+
folderId: string | null;
|
183
|
+
tagAssistedId: string;
|
184
|
+
tagConfirmedId: string;
|
185
|
+
supraEventId: string | null;
|
186
|
+
}, {
|
187
|
+
location: string;
|
188
|
+
id: string;
|
189
|
+
name: string;
|
190
|
+
date: string;
|
191
|
+
created_at: string;
|
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;
|
231
|
+
}>>;
|
232
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
233
|
+
location: string;
|
234
|
+
id: string;
|
235
|
+
name: string;
|
236
|
+
date: string;
|
237
|
+
created_at: string;
|
238
|
+
updated_at: string;
|
239
|
+
folderId: string | null;
|
240
|
+
tagAssistedId: string;
|
241
|
+
tagConfirmedId: string;
|
242
|
+
supraEventId: string | null;
|
243
|
+
subEvents: {
|
244
|
+
location: string;
|
245
|
+
id: string;
|
246
|
+
name: string;
|
247
|
+
date: string;
|
248
|
+
created_at: string;
|
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;
|
266
|
+
} | null;
|
267
|
+
}, {
|
268
|
+
location: string;
|
269
|
+
id: string;
|
270
|
+
name: string;
|
271
|
+
date: string;
|
272
|
+
created_at: string;
|
273
|
+
updated_at: string;
|
274
|
+
folderId: string | null;
|
275
|
+
tagAssistedId: string;
|
276
|
+
tagConfirmedId: string;
|
277
|
+
supraEventId: string | null;
|
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;
|
292
|
+
id: string;
|
293
|
+
name: string;
|
294
|
+
date: string;
|
295
|
+
created_at: string;
|
296
|
+
updated_at: string;
|
297
|
+
folderId: string | null;
|
298
|
+
tagAssistedId: string;
|
299
|
+
tagConfirmedId: string;
|
300
|
+
supraEventId: string | null;
|
301
|
+
} | null;
|
302
|
+
}>>;
|
303
|
+
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
304
|
+
}
|
305
|
+
export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
306
|
+
id: z.ZodString;
|
307
|
+
name: z.ZodString;
|
308
|
+
date: z.ZodDate;
|
309
|
+
location: z.ZodString;
|
310
|
+
folderId: z.ZodNullable<z.ZodString>;
|
311
|
+
tagAssistedId: z.ZodString;
|
312
|
+
tagConfirmedId: z.ZodString;
|
313
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
314
|
+
created_at: z.ZodDate;
|
315
|
+
updated_at: z.ZodDate;
|
316
|
+
}, {
|
317
|
+
tagAssisted: z.ZodObject<{
|
318
|
+
id: z.ZodString;
|
319
|
+
name: z.ZodString;
|
320
|
+
groupId: z.ZodString;
|
321
|
+
type: z.ZodNativeEnum<{
|
322
|
+
PROFILE: "PROFILE";
|
323
|
+
EVENT: "EVENT";
|
324
|
+
PARTICIPANT: "PARTICIPANT";
|
325
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
326
|
+
}>;
|
327
|
+
created_at: z.ZodDate;
|
328
|
+
updated_at: z.ZodDate;
|
329
|
+
}, "strip", z.ZodTypeAny, {
|
330
|
+
id: string;
|
331
|
+
name: string;
|
332
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
333
|
+
created_at: Date;
|
334
|
+
updated_at: Date;
|
335
|
+
groupId: string;
|
336
|
+
}, {
|
337
|
+
id: string;
|
338
|
+
name: string;
|
339
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
340
|
+
created_at: Date;
|
341
|
+
updated_at: Date;
|
342
|
+
groupId: string;
|
343
|
+
}>;
|
344
|
+
tagConfirmed: z.ZodObject<{
|
345
|
+
id: z.ZodString;
|
346
|
+
name: z.ZodString;
|
347
|
+
groupId: z.ZodString;
|
348
|
+
type: z.ZodNativeEnum<{
|
349
|
+
PROFILE: "PROFILE";
|
350
|
+
EVENT: "EVENT";
|
351
|
+
PARTICIPANT: "PARTICIPANT";
|
352
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
353
|
+
}>;
|
354
|
+
created_at: z.ZodDate;
|
355
|
+
updated_at: z.ZodDate;
|
356
|
+
}, "strip", z.ZodTypeAny, {
|
357
|
+
id: string;
|
358
|
+
name: string;
|
359
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
360
|
+
created_at: Date;
|
361
|
+
updated_at: Date;
|
362
|
+
groupId: string;
|
363
|
+
}, {
|
364
|
+
id: string;
|
365
|
+
name: string;
|
366
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
367
|
+
created_at: Date;
|
368
|
+
updated_at: Date;
|
369
|
+
groupId: string;
|
370
|
+
}>;
|
371
|
+
}>, "strip", z.ZodTypeAny, {
|
372
|
+
location: string;
|
373
|
+
id: string;
|
374
|
+
name: string;
|
375
|
+
date: Date;
|
376
|
+
created_at: Date;
|
377
|
+
updated_at: Date;
|
378
|
+
folderId: string | null;
|
379
|
+
tagAssistedId: string;
|
380
|
+
tagConfirmedId: string;
|
381
|
+
supraEventId: string | null;
|
382
|
+
tagAssisted: {
|
383
|
+
id: string;
|
384
|
+
name: string;
|
385
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
386
|
+
created_at: Date;
|
387
|
+
updated_at: Date;
|
388
|
+
groupId: string;
|
389
|
+
};
|
390
|
+
tagConfirmed: {
|
391
|
+
id: string;
|
392
|
+
name: string;
|
393
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
394
|
+
created_at: Date;
|
395
|
+
updated_at: Date;
|
396
|
+
groupId: string;
|
397
|
+
};
|
398
|
+
}, {
|
399
|
+
location: string;
|
400
|
+
id: string;
|
401
|
+
name: string;
|
402
|
+
date: Date;
|
403
|
+
created_at: Date;
|
404
|
+
updated_at: Date;
|
405
|
+
folderId: string | null;
|
406
|
+
tagAssistedId: string;
|
407
|
+
tagConfirmedId: string;
|
408
|
+
supraEventId: string | null;
|
409
|
+
tagAssisted: {
|
410
|
+
id: string;
|
411
|
+
name: string;
|
412
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
413
|
+
created_at: Date;
|
414
|
+
updated_at: Date;
|
415
|
+
groupId: string;
|
416
|
+
};
|
417
|
+
tagConfirmed: {
|
418
|
+
id: string;
|
419
|
+
name: string;
|
420
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
421
|
+
created_at: Date;
|
422
|
+
updated_at: Date;
|
423
|
+
groupId: string;
|
424
|
+
};
|
425
|
+
}>, "many">;
|
426
|
+
declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodArray<z.ZodObject<{
|
427
|
+
id: z.ZodString;
|
428
|
+
name: z.ZodString;
|
429
|
+
date: z.ZodString;
|
430
|
+
location: z.ZodString;
|
431
|
+
folderId: z.ZodNullable<z.ZodString>;
|
432
|
+
tagAssistedId: z.ZodString;
|
433
|
+
tagConfirmedId: z.ZodString;
|
434
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
435
|
+
created_at: z.ZodString;
|
436
|
+
updated_at: z.ZodString;
|
437
|
+
tagAssisted: z.ZodObject<{
|
438
|
+
id: z.ZodString;
|
439
|
+
name: z.ZodString;
|
440
|
+
groupId: z.ZodString;
|
441
|
+
type: z.ZodNativeEnum<{
|
442
|
+
PROFILE: "PROFILE";
|
443
|
+
EVENT: "EVENT";
|
444
|
+
PARTICIPANT: "PARTICIPANT";
|
445
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
446
|
+
}>;
|
447
|
+
created_at: z.ZodString;
|
448
|
+
updated_at: z.ZodString;
|
449
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
450
|
+
id: string;
|
451
|
+
name: string;
|
452
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
453
|
+
created_at: string;
|
454
|
+
updated_at: string;
|
455
|
+
groupId: string;
|
456
|
+
}, {
|
457
|
+
id: string;
|
458
|
+
name: string;
|
459
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
460
|
+
created_at: string;
|
461
|
+
updated_at: string;
|
462
|
+
groupId: string;
|
463
|
+
}>;
|
464
|
+
tagConfirmed: z.ZodObject<{
|
465
|
+
id: z.ZodString;
|
466
|
+
name: z.ZodString;
|
467
|
+
groupId: z.ZodString;
|
468
|
+
type: z.ZodNativeEnum<{
|
469
|
+
PROFILE: "PROFILE";
|
470
|
+
EVENT: "EVENT";
|
471
|
+
PARTICIPANT: "PARTICIPANT";
|
472
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
473
|
+
}>;
|
474
|
+
created_at: z.ZodString;
|
475
|
+
updated_at: z.ZodString;
|
476
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
477
|
+
id: string;
|
478
|
+
name: string;
|
479
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
480
|
+
created_at: string;
|
481
|
+
updated_at: string;
|
482
|
+
groupId: string;
|
483
|
+
}, {
|
484
|
+
id: string;
|
485
|
+
name: string;
|
486
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
487
|
+
created_at: string;
|
488
|
+
updated_at: string;
|
489
|
+
groupId: string;
|
490
|
+
}>;
|
491
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
492
|
+
location: string;
|
493
|
+
id: string;
|
494
|
+
name: string;
|
495
|
+
date: string;
|
496
|
+
created_at: string;
|
497
|
+
updated_at: string;
|
498
|
+
folderId: string | null;
|
499
|
+
tagAssistedId: string;
|
500
|
+
tagConfirmedId: string;
|
501
|
+
supraEventId: string | null;
|
502
|
+
tagAssisted: {
|
503
|
+
id: string;
|
504
|
+
name: string;
|
505
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
506
|
+
created_at: string;
|
507
|
+
updated_at: string;
|
508
|
+
groupId: string;
|
509
|
+
};
|
510
|
+
tagConfirmed: {
|
511
|
+
id: string;
|
512
|
+
name: string;
|
513
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
514
|
+
created_at: string;
|
515
|
+
updated_at: string;
|
516
|
+
groupId: string;
|
517
|
+
};
|
518
|
+
}, {
|
519
|
+
location: string;
|
520
|
+
id: string;
|
521
|
+
name: string;
|
522
|
+
date: string;
|
523
|
+
created_at: string;
|
524
|
+
updated_at: string;
|
525
|
+
folderId: string | null;
|
526
|
+
tagAssistedId: string;
|
527
|
+
tagConfirmedId: string;
|
528
|
+
supraEventId: string | null;
|
529
|
+
tagAssisted: {
|
530
|
+
id: string;
|
531
|
+
name: string;
|
532
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
533
|
+
created_at: string;
|
534
|
+
updated_at: string;
|
535
|
+
groupId: string;
|
536
|
+
};
|
537
|
+
tagConfirmed: {
|
538
|
+
id: string;
|
539
|
+
name: string;
|
540
|
+
type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
|
541
|
+
created_at: string;
|
542
|
+
updated_at: string;
|
543
|
+
groupId: string;
|
544
|
+
};
|
545
|
+
}>, "many">>;
|
546
|
+
export declare class GetBySupraEventResponseDto extends GetBySupraEventResponseDto_base {
|
547
|
+
}
|
548
|
+
export {};
|
@@ -0,0 +1,25 @@
|
|
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.GetBySupraEventResponseDto = exports.getBySupraEventResponseSchema = exports.GetByIdEventResponseDto = exports.getByIdEventResponseSchema = void 0;
|
7
|
+
const event_dto_1 = require("./event.dto");
|
8
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
|
+
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
10
|
+
const zod_1 = __importDefault(require("zod"));
|
11
|
+
exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
12
|
+
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
13
|
+
supraEvent: event_dto_1.eventSchema.nullable(),
|
14
|
+
}));
|
15
|
+
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
16
|
+
}
|
17
|
+
exports.GetByIdEventResponseDto = GetByIdEventResponseDto;
|
18
|
+
exports.getBySupraEventResponseSchema = zod_1.default.array(event_dto_1.eventSchema.merge(zod_1.default.object({
|
19
|
+
tagAssisted: tag_dto_1.tagSchema,
|
20
|
+
tagConfirmed: tag_dto_1.tagSchema,
|
21
|
+
})));
|
22
|
+
class GetBySupraEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getBySupraEventResponseSchema) {
|
23
|
+
}
|
24
|
+
exports.GetBySupraEventResponseDto = GetBySupraEventResponseDto;
|
25
|
+
//# sourceMappingURL=get-by-id-event.dto.js.map
|