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

8 lines
179 B
TypeScript

import { z } from "zod";
export const ZGetInputSchema = z.object({
teamId: z.union([z.number(), z.null()]),
});
export type TGetInputSchema = z.infer<typeof ZGetInputSchema>;