* [CAL-115] /getting-started/connected-calendar Toggle the first calendar on * Fix lint error * Fix error shown after completion of onboarding by connecting to calendars and playing around with toggle * Fix type errors * Fix first calendar selected even in all the screens wherever connectedCalendars is used
10 lines
240 B
TypeScript
10 lines
240 B
TypeScript
import { z } from "zod";
|
|
|
|
export const ZConnectedCalendarsInputSchema = z
|
|
.object({
|
|
onboarding: z.boolean().optional(),
|
|
})
|
|
.optional();
|
|
|
|
export type TConnectedCalendarsInputSchema = z.infer<typeof ZConnectedCalendarsInputSchema>;
|