Files
cal.diy/packages/trpc/server/routers/viewer/auth/resendVerifyEmail.schema.ts
T
2be9fc8bc0 fix: email-address with apostrophe not accepted (#15535)
Co-authored-by: Keith Williams <[email protected]>
Co-authored-by: Omar López <[email protected]>
Co-authored-by: Amit Sharma <[email protected]>
2024-10-15 00:21:26 +00:00

12 lines
262 B
TypeScript

import { z } from "zod";
import { emailSchema } from "@calcom/lib/emailSchema";
export const ZResendVerifyEmailSchema = z
.object({
email: emailSchema,
})
.optional();
export type TResendVerifyEmailSchema = z.infer<typeof ZResendVerifyEmailSchema>;