You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Se requiere tipar mediante Sanity TypeGen los resultados del fetch del cliente de Sanity definido en el método getBySlug del archivo api/story/author.service.ts.
Tareas
Definir consulta literal en GROQ utilizando el prefijo groq en el archivo author.query.ts, abstrayendo la definición actual de la consulta hecha en author.service.ts.
Generar tipado para la consulta utilizando Sanity TypeGen.
Asignar tipo generado al resultado de la operación client.fetch
The text was updated successfully, but these errors were encountered:
Descripción
Se requiere tipar mediante Sanity TypeGen los resultados del fetch del cliente de Sanity definido en el método
getBySlug
del archivoapi/story/author.service.ts
.Tareas
groq
en el archivoauthor.query.ts
, abstrayendo la definición actual de la consulta hecha enauthor.service.ts
.client.fetch
The text was updated successfully, but these errors were encountered: