cal.pub0.org/packages/trpc/server/routers/viewer/organizations/getUser.schema.ts

8 lines
163 B
TypeScript

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