cal.pub0.org/packages/trpc/server/routers/viewer/teams/createInvite.schema.ts

8 lines
185 B
TypeScript

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