import { z } from 'zod' export const UserRole = z.enum(['admin', 'manager', 'staff', 'technician', 'instructor']) export type UserRole = z.infer export const RegisterSchema = z.object({ email: z.string().email(), password: z.string().min(12).max(128), firstName: z.string().min(1).max(100), lastName: z.string().min(1).max(100), role: UserRole.default('staff'), }) export type RegisterInput = z.infer export const LoginSchema = z.object({ email: z.string().email(), password: z.string().min(1), }) export type LoginInput = z.infer