Skip to main content
Skip to main content

TQueryKey

TQueryKey: Object

Type Parameters

TKeyobjectRequired
TListQueryobjectRequired
TDetailQueryobjectRequired

Properties

all[TKey]Required
lists() => [...TQueryKey<TKey>["all"], "list"]Required
list(query?: TListQuery) => [...ReturnType<TQueryKey<TKey>["lists"]>, { query: TListQuery \| undefined }]Required
details() => [...TQueryKey<TKey>["all"], "detail"]Required
detail(id: TDetailQuery) => [...ReturnType<TQueryKey<TKey>["details"]>, TDetailQuery]Required
Was this section helpful?