cal.pub0.org/packages/trpc/server/routers/viewer/workflows/create.schema.ts

8 lines
178 B
TypeScript

import { z } from "zod";
export const ZCreateInputSchema = z.object({
teamId: z.number().optional(),
});
export type TCreateInputSchema = z.infer<typeof ZCreateInputSchema>;