fix loader

This commit is contained in:
Peter Maquiran
2024-05-31 12:49:49 +01:00
parent 4fad0e306f
commit c982708972
12 changed files with 170 additions and 137 deletions
@@ -39,7 +39,7 @@ const OrganizerSchema = z.object({
export const EventOutputDTOSchema = z.object({
id: z.string(),
owner: OwnerSchema,
ownerType: z.string(),
ownerType: z.enum(["PR", "MD", "Other"]),
subject: z.string(),
body: z.string(),
location: z.string(),
@@ -56,7 +56,7 @@ export const EventOutputDTOSchema = z.object({
isPrivate: z.boolean(),
isAllDayEvent: z.boolean(),
organizer: OrganizerSchema,
status: z.string(),
status: z.enum(['Pending', 'Revision']),
});
export type EventOutputDTO = z.infer<typeof EventOutputDTOSchema>