mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
create event from gabinete
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { z } from 'zod';
|
||||
|
||||
// Define the schema for a single event
|
||||
const eventListSchema = z.array(z.object({
|
||||
const eventListItemSchema = z.object({
|
||||
HasAttachments: z.boolean(),
|
||||
IsAllDayEvent: z.boolean(),
|
||||
EventId: z.any(),
|
||||
@@ -18,6 +18,11 @@ const eventListSchema = z.array(z.object({
|
||||
TimeZone: z.string(),
|
||||
IsPrivate: z.boolean(),
|
||||
createdAt: z.string()
|
||||
}));
|
||||
});
|
||||
|
||||
// Define the schema for a single event
|
||||
const eventListSchema = z.array(eventListItemSchema);
|
||||
|
||||
|
||||
export type EventListItem = z.infer<typeof eventListItemSchema>
|
||||
export type EventList = z.infer<typeof eventListSchema>
|
||||
|
||||
Reference in New Issue
Block a user