import { z } from "zod";

// Define the sign-in form schema using Zod
export const signInSchema = z.object({
  email: z
    .string()
    .min(1, { message: "Email is required" })
    .email({ message: "Invalid email address" }),
});

// Export the type derived from the schema
export type SignInFormData = z.infer<typeof signInSchema>;

// Default values for the form
export const defaultSignInValues: SignInFormData = {
  email: "",
};
