Add cancelled field to event slots

Make it possible to represent one slot out of a multi-slot event being
cancelled by adding a field for it in the slot, in addition to the
existing field on the event itself.
This commit is contained in:
Hornwitser 2025-09-06 15:54:58 +02:00
parent d006be251c
commit 9a46ea5af0
4 changed files with 15 additions and 2 deletions

View file

@ -81,6 +81,7 @@ export const apiScheduleEventSlotSchema = z.object({
start: z.string(),
end: z.string(),
locationIds: z.array(idSchema),
cancelled: z.optional(z.boolean()),
assigned: z.optional(z.array(z.number())),
interested: z.optional(z.number()),
});