Skip to content
0

katanakit-js / QueryFilters

Interface: QueryFilters<TQueryKey> ​

Defined in: node_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:869

Filters used to select queries, for example in queryClient.getQueriesData or queryClient.invalidateQueries. All provided filters must match; filters that are left unspecified are ignored.

Extended by ​

Type Parameters ​

Type ParameterDefault type
TQueryKey extends QueryKeyQueryKey

Properties ​

PropertyTypeDefault valueDescriptionDefined in
exact?booleanundefinedMatch query key exactlynode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:879
fetchStatus?"fetching" | "paused" | "idle"undefinedInclude queries matching their fetchStatusnode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:895
predicate?(query) => booleanundefinedInclude queries matching this predicate functionnode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:883
queryKey?TQueryKey | TuplePrefixes<TQueryKey>undefinedInclude queries matching this query keynode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:887
stale?booleanundefinedInclude or exclude stale queriesnode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:891
type?QueryTypeFilter'all'Filter to active queries, inactive queries or all queriesnode_modules/.bun/@tanstack+query-core@5.104.1/node_modules/@tanstack/query-core/build/modern/hydration-B9t5w6NC.d.ts:875

Released under the MIT License.