Created
October 16, 2023 23:10
-
-
Save codigoconjuan/d567c34c4c999f17c85618f272bf59ae to your computer and use it in GitHub Desktop.
Schema en ZOD para Recetas
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(), | |
}); |
β²
Nice!
Gracias profe!
Muy buen curso, gracias!
Muchas gracias ππ«‘
Thanks teacher
Excelente curso!
π
uwu arigato gozaimasu :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
πͺ