14 lines
319 B
TypeScript
14 lines
319 B
TypeScript
import { z } from "zod";
|
|
|
|
export type TUserEmailVerificationRequiredSchema = {
|
|
userSessionEmail?: string;
|
|
email: string;
|
|
};
|
|
|
|
export const ZUserEmailVerificationRequiredSchema: z.ZodType<TUserEmailVerificationRequiredSchema> = z.object(
|
|
{
|
|
userSessionEmail: z.string().optional(),
|
|
email: z.string(),
|
|
}
|
|
);
|