import { z } from 'zod'; export const IngredientsSchema = z.object({ id: z.string().uuid().optional(), name: z.string(), slug: z.string(), article: z.string().nullable(), prominent_nutrients: z.unknown().nullable(), processed_food_nova_class: z.number().int().nullable(), nutrition: z.unknown().nullable(), creation_time: z.string().datetime().optional(), last_edit_time: z.string().datetime().optional(), }); export type Ingredients = z.infer;