add recurence to agenda web

This commit is contained in:
Eudes Inácio
2024-06-07 14:10:17 +01:00
parent 95bb69be99
commit 4be9c6562e
7 changed files with 90 additions and 30 deletions
@@ -80,7 +80,7 @@ export const EventInputDTOSchema = z.object({
attachments: z.array(AttachmentInputDTOSchema).nullable().optional(),
recurrence: z.object({
frequency: z.number().int(),
occurrences: z.number().int(),
until: z.string(),
}),
organizerId: z.number().int(),
isAllDayEvent: z.boolean(),