expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.6 → 0.34.0-EXPO-319-ver-eventos-disponibles.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -186,6 +186,42 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
186
186
|
isExclusive: boolean;
|
187
187
|
};
|
188
188
|
}>, "many">;
|
189
|
+
tickets: z.ZodArray<z.ZodObject<{
|
190
|
+
id: z.ZodString;
|
191
|
+
eventId: z.ZodString;
|
192
|
+
type: z.ZodNativeEnum<{
|
193
|
+
PARTICIPANT: "PARTICIPANT";
|
194
|
+
STAFF: "STAFF";
|
195
|
+
SPECTATOR: "SPECTATOR";
|
196
|
+
}>;
|
197
|
+
status: z.ZodNativeEnum<{
|
198
|
+
BOOKED: "BOOKED";
|
199
|
+
PAID: "PAID";
|
200
|
+
FREE: "FREE";
|
201
|
+
}>;
|
202
|
+
fullName: z.ZodString;
|
203
|
+
mail: z.ZodString;
|
204
|
+
created_at: z.ZodDate;
|
205
|
+
updated_at: z.ZodDate;
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
207
|
+
id: string;
|
208
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
209
|
+
fullName: string;
|
210
|
+
mail: string;
|
211
|
+
eventId: string;
|
212
|
+
status: "BOOKED" | "PAID" | "FREE";
|
213
|
+
created_at: Date;
|
214
|
+
updated_at: Date;
|
215
|
+
}, {
|
216
|
+
id: string;
|
217
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
218
|
+
fullName: string;
|
219
|
+
mail: string;
|
220
|
+
eventId: string;
|
221
|
+
status: "BOOKED" | "PAID" | "FREE";
|
222
|
+
created_at: Date;
|
223
|
+
updated_at: Date;
|
224
|
+
}>, "many">;
|
189
225
|
}>, "strip", z.ZodTypeAny, {
|
190
226
|
location: string;
|
191
227
|
id: string;
|
@@ -252,6 +288,16 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
252
288
|
tagConfirmedId: string;
|
253
289
|
supraEventId: string | null;
|
254
290
|
} | null;
|
291
|
+
tickets: {
|
292
|
+
id: string;
|
293
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
294
|
+
fullName: string;
|
295
|
+
mail: string;
|
296
|
+
eventId: string;
|
297
|
+
status: "BOOKED" | "PAID" | "FREE";
|
298
|
+
created_at: Date;
|
299
|
+
updated_at: Date;
|
300
|
+
}[];
|
255
301
|
}, {
|
256
302
|
location: string;
|
257
303
|
id: string;
|
@@ -318,6 +364,16 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
318
364
|
tagConfirmedId: string;
|
319
365
|
supraEventId: string | null;
|
320
366
|
} | null;
|
367
|
+
tickets: {
|
368
|
+
id: string;
|
369
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
370
|
+
fullName: string;
|
371
|
+
mail: string;
|
372
|
+
eventId: string;
|
373
|
+
status: "BOOKED" | "PAID" | "FREE";
|
374
|
+
created_at: Date;
|
375
|
+
updated_at: Date;
|
376
|
+
}[];
|
321
377
|
}>;
|
322
378
|
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
323
379
|
id: z.ZodString;
|
@@ -504,6 +560,42 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
504
560
|
isExclusive: boolean;
|
505
561
|
};
|
506
562
|
}>, "many">;
|
563
|
+
tickets: z.ZodArray<z.ZodObject<{
|
564
|
+
id: z.ZodString;
|
565
|
+
eventId: z.ZodString;
|
566
|
+
type: z.ZodNativeEnum<{
|
567
|
+
PARTICIPANT: "PARTICIPANT";
|
568
|
+
STAFF: "STAFF";
|
569
|
+
SPECTATOR: "SPECTATOR";
|
570
|
+
}>;
|
571
|
+
status: z.ZodNativeEnum<{
|
572
|
+
BOOKED: "BOOKED";
|
573
|
+
PAID: "PAID";
|
574
|
+
FREE: "FREE";
|
575
|
+
}>;
|
576
|
+
fullName: z.ZodString;
|
577
|
+
mail: z.ZodString;
|
578
|
+
created_at: z.ZodString;
|
579
|
+
updated_at: z.ZodString;
|
580
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
581
|
+
id: string;
|
582
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
583
|
+
fullName: string;
|
584
|
+
mail: string;
|
585
|
+
eventId: string;
|
586
|
+
status: "BOOKED" | "PAID" | "FREE";
|
587
|
+
created_at: string;
|
588
|
+
updated_at: string;
|
589
|
+
}, {
|
590
|
+
id: string;
|
591
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
592
|
+
fullName: string;
|
593
|
+
mail: string;
|
594
|
+
eventId: string;
|
595
|
+
status: "BOOKED" | "PAID" | "FREE";
|
596
|
+
created_at: string;
|
597
|
+
updated_at: string;
|
598
|
+
}>, "many">;
|
507
599
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
508
600
|
location: string;
|
509
601
|
id: string;
|
@@ -570,6 +662,16 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
570
662
|
tagConfirmedId: string;
|
571
663
|
supraEventId: string | null;
|
572
664
|
} | null;
|
665
|
+
tickets: {
|
666
|
+
id: string;
|
667
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
668
|
+
fullName: string;
|
669
|
+
mail: string;
|
670
|
+
eventId: string;
|
671
|
+
status: "BOOKED" | "PAID" | "FREE";
|
672
|
+
created_at: string;
|
673
|
+
updated_at: string;
|
674
|
+
}[];
|
573
675
|
}, {
|
574
676
|
location: string;
|
575
677
|
id: string;
|
@@ -636,6 +738,16 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
636
738
|
tagConfirmedId: string;
|
637
739
|
supraEventId: string | null;
|
638
740
|
} | null;
|
741
|
+
tickets: {
|
742
|
+
id: string;
|
743
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
744
|
+
fullName: string;
|
745
|
+
mail: string;
|
746
|
+
eventId: string;
|
747
|
+
status: "BOOKED" | "PAID" | "FREE";
|
748
|
+
created_at: string;
|
749
|
+
updated_at: string;
|
750
|
+
}[];
|
639
751
|
}>>;
|
640
752
|
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
641
753
|
}
|
@@ -9,12 +9,14 @@ const event_dto_1 = require("./event.dto");
|
|
9
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
10
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
11
11
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
12
|
+
const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
|
12
13
|
const zod_1 = __importDefault(require("zod"));
|
13
14
|
exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
14
15
|
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
15
16
|
supraEvent: event_dto_1.eventSchema.nullable(),
|
16
17
|
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
|
17
18
|
tags: zod_1.default.array(tag_dto_1.tagSchema.extend({ group: tag_group_dto_1.tagGroupSchema })),
|
19
|
+
tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
|
18
20
|
}));
|
19
21
|
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
20
22
|
}
|
package/dist/types/schema.d.ts
CHANGED
@@ -2023,6 +2023,16 @@ export interface components {
|
|
2023
2023
|
updated_at: string;
|
2024
2024
|
};
|
2025
2025
|
}[];
|
2026
|
+
tickets: {
|
2027
|
+
id: string;
|
2028
|
+
eventId: string;
|
2029
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2030
|
+
status: "BOOKED" | "PAID" | "FREE";
|
2031
|
+
fullName: string;
|
2032
|
+
mail: string;
|
2033
|
+
created_at: string;
|
2034
|
+
updated_at: string;
|
2035
|
+
}[];
|
2026
2036
|
};
|
2027
2037
|
UpdateEventDto: {
|
2028
2038
|
name: string;
|