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:
parent
d006be251c
commit
9a46ea5af0
4 changed files with 15 additions and 2 deletions
|
@ -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()),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue