Response data type
Path parameters type (concrete, no undefined)
The response data (undefined until loaded).
Whether the query is currently enabled.
The resolved query key.
The resolved path parameters.
Register a callback for when data loads successfully for the first time.
Response headers from the last successful query.
Return type of
useEndpointQuery(theuseQuerycomposable on a generated namespace).Extends TanStack's
UseQueryReturnType<TResponse, Error>so all fields — includingrefetch,isPending,isLoading,isSuccess,isError,error, etc. — carry their real TanStack types.datais overridden with aComputedReftyped toTResponse | undefined, and three extra fields are added for our own abstractions.