@@ -0,0 +1,10 @@
|
||||
"use client";
|
||||
|
||||
import { z } from "zod";
|
||||
|
||||
export const BookingFormSchema = z.object({
|
||||
name: z.string().min(2).max(50),
|
||||
surname: z.string().min(2).max(50),
|
||||
email: z.string().email(),
|
||||
phone: z.string().min(8),
|
||||
});
|
||||
Reference in New Issue
Block a user