Skip to content

Instantly share code, notes, and snippets.

@codigoconjuan
Created October 16, 2023 23:10
Show Gist options
  • Save codigoconjuan/d567c34c4c999f17c85618f272bf59ae to your computer and use it in GitHub Desktop.
Save codigoconjuan/d567c34c4c999f17c85618f272bf59ae to your computer and use it in GitHub Desktop.
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(),
strIngredient6: z.string().nullable(),
strMeasure1: z.string().nullable(),
strMeasure2: z.string().nullable(),
strMeasure3: z.string().nullable(),
strMeasure4: z.string().nullable(),
strMeasure5: z.string().nullable(),
strMeasure6: z.string().nullable(),
});
@TheNormanJames
Copy link

πŸ’ͺ

@4drian-sanchez
Copy link

β–²

@joshuaco
Copy link

Nice!

@emavalente
Copy link

Gracias profe!

@mfkutz
Copy link

mfkutz commented Oct 30, 2024

Muy buen curso, gracias!

@pierodev0
Copy link

Muchas gracias πŸ‘πŸ«‘

@LeopoldoAl
Copy link

Thanks teacher

@Chriss-267
Copy link

Excelente curso!

@KLI31
Copy link

KLI31 commented Jan 11, 2025

πŸ‘Œ

@tatatadlisixti4
Copy link

uwu arigato gozaimasu :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment