Files
calendar/packages/trpc/server/routers/viewer/dsync/create.schema.ts
T
Joe Au-YeungandGitHub aeb54e6401 fix: Dsync bugs (#14027)
* Fix dsync create mutation

* Small fixes

* Don't throw error when deleting dsync data

* Change to deleteMany
2024-03-11 10:02:06 +00: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>;