Open History to see the last commit
1/* istanbul ignore file */
2β
3export { focusManager } from './focusManager'
4export {
5 defaultShouldDehydrateMutation,
6 defaultShouldDehydrateQuery,
7 dehydrate,
8 hydrate,
9} from './hydration'
10export { InfiniteQueryObserver } from './infiniteQueryObserver'
11export { MutationCache } from './mutationCache'
12export type { MutationCacheNotifyEvent } from './mutationCache'
13export { MutationObserver } from './mutationObserver'
14export { defaultScheduler, notifyManager } from './notifyManager'
15export { onlineManager } from './onlineManager'
16export { QueriesObserver } from './queriesObserver'
17export { QueryCache } from './queryCache'
18export type { QueryCacheNotifyEvent } from './queryCache'
19export { QueryClient } from './queryClient'
20export { QueryObserver } from './queryObserver'
21export { CancelledError, isCancelledError } from './retryer'
22export {
23 timeoutManager,
24 type ManagedTimerId,
25 type TimeoutCallback,
26 type TimeoutProvider,
27} from './timeoutManager'
28export {
29 hashKey,
30 keepPreviousData,
31 matchMutation,
32 matchQuery,
33 noop,
34 partialMatchKey,
35 replaceEqualDeep,
36 shouldThrowError,
37 skipToken,
38} from './utils'
39export type { MutationFilters, QueryFilters, SkipToken, Updater } from './utils'
40β
41/** @deprecated
42 * use `queryClient.isServer` instead.
43 * Override per client with `new QueryClient({ isServer })`.
44 */
45export const isServer = typeof window === 'undefined' || 'Deno' in globalThis
46β
47export { streamedQuery as experimental_streamedQuery } from './streamedQuery'
48β
49// Types
50export type {
51 DehydratedState,
52 DehydrateOptions,
53 HydrateOptions,
54} from './hydration'
55export { Mutation } from './mutation'
56export type { MutationState } from './mutation'
57export type { QueriesObserverOptions } from './queriesObserver'
58export { Query } from './query'
59export type { QueryState } from './query'
60export * from './types'