• 2024-11-19[Typescript] Zod custom error message
    constBookingSchema=z.object({roomType:z.string(),dueDate:z.string({message:"invalidduedate",}).date('dateformatiswrong'),numberOfGuests:z.number().min(1,"theremustbeatlea