10 lines
240 B
TypeScript
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>;
|