add generics to custom `groq` for get infered types when the name of the query is used in the `createApiUtil`
add generics to custom
groqfor get infered types when the name of the query is used in thecreateApiUtil