Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Morgan <33722304+ThyMinimalDev@users.noreply.github.com> Co-authored-by: Morgan Vernay <morgan@cal.com> Co-authored-by: Omar López <zomars@me.com>
13 lines
412 B
TypeScript
13 lines
412 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZConnectedCalendarsInputSchema = z
|
|
.object({
|
|
onboarding: z.boolean().optional(),
|
|
// Fetches the calendars for this event-type only if present
|
|
// Otherwise, fetches the calendars for the authenticated user
|
|
eventTypeId: z.number().nullable(),
|
|
})
|
|
.optional();
|
|
|
|
export type TConnectedCalendarsInputSchema = z.infer<typeof ZConnectedCalendarsInputSchema>;
|