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

11 lines
287 B
TypeScript

import { z } from "zod";
export const ZResendInvitationInputSchema = z.object({
teamId: z.number(),
email: z.string().email(),
language: z.string(),
isOrg: z.boolean().default(false),
});
export type TResendInvitationInputSchema = z.infer<typeof ZResendInvitationInputSchema>;