7 lines
192 B
TypeScript
7 lines
192 B
TypeScript
import { z } from "zod"
|
|
|
|
export type BreakfastFormSchema = z.infer<typeof breakfastFormSchema>
|
|
export const breakfastFormSchema = z.object({
|
|
breakfast: z.string().or(z.literal("false")),
|
|
})
|