Skip to content

Instantly share code, notes, and snippets.

View jcromerohdz's full-sized avatar
🎯
Focusing

J. Christian Romero Hernández jcromerohdz

🎯
Focusing
  • Freelance Full-stack Developer
  • Tijuana, Baja California, México
View GitHub Profile
@codigoconjuan
codigoconjuan / recipes-schema.ts
Created October 16, 2023 23:10
Schema en ZOD para Recetas
export const RecipeAPIResponseSchema = z.object({
idDrink: z.string(),
strDrink: z.string(),
strDrinkThumb: z.string(),
strInstructions: z.string(),
strIngredient1: z.string().nullable(),
strIngredient2: z.string().nullable(),
strIngredient3: z.string().nullable(),
strIngredient4: z.string().nullable(),
strIngredient5: z.string().nullable(),