cal.pub0.org/packages/trpc/server/routers/viewer/availability/schedule/get.schema.ts

9 lines
221 B
TypeScript

import { z } from "zod";
export const ZGetInputSchema = z.object({
scheduleId: z.optional(z.number()),
isManagedEventType: z.optional(z.boolean()),
});
export type TGetInputSchema = z.infer<typeof ZGetInputSchema>;