2
0
Files
cal/calcom/packages/trpc/server/routers/viewer/dsync/create.schema.ts
2024-08-09 00:39:27 +02:00

10 lines
240 B
TypeScript

import { z } from "zod";
export const ZCreateInputSchema = z.object({
organizationId: z.union([z.number(), z.null()]),
name: z.string(),
provider: z.string(),
});
export type ZCreateInputSchema = z.infer<typeof ZCreateInputSchema>;