mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* perf: Slim down loggedInViewer some more * Move locationOptions to apps router * Moved calVideo related handlers to separate router * Moved calendar related handlers to separate router * Rename * Moved deleteCredential to new router * Moved updateProfile to me router * fix unit test * fix e2e test * tweak * missing --------- Co-authored-by: Anik Dhabal Babu <[email protected]> Co-authored-by: unknown <[email protected]>
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>;
|