import { z } from "zod" import { phoneValidator } from "@/utils/phoneValidator" export const detailsSchema = z.object({ countryCode: z.string(), email: z.string().email(), firstname: z.string(), lastname: z.string(), phoneNumber: phoneValidator(), }) export const signedInDetailsSchema = z.object({ countryCode: z.string().optional(), email: z.string().email().optional(), firstname: z.string().optional(), lastname: z.string().optional(), phoneNumber: phoneValidator().optional(), })