@tanstack/query-core 5.14.1 → 5.15.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/legacy/hydration.d.cts +1 -1
- package/build/legacy/hydration.d.ts +1 -1
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +1 -1
- package/build/legacy/index.d.ts +1 -1
- package/build/legacy/index.js.map +1 -1
- package/build/legacy/infiniteQueryBehavior.d.cts +1 -1
- package/build/legacy/infiniteQueryBehavior.d.ts +1 -1
- package/build/legacy/infiniteQueryObserver.d.cts +1 -1
- package/build/legacy/infiniteQueryObserver.d.ts +1 -1
- package/build/legacy/mutation.d.cts +1 -1
- package/build/legacy/mutation.d.ts +1 -1
- package/build/legacy/mutationCache.cjs.map +1 -1
- package/build/legacy/mutationCache.d.cts +1 -1
- package/build/legacy/mutationCache.d.ts +1 -1
- package/build/legacy/mutationCache.js.map +1 -1
- package/build/legacy/mutationObserver.d.cts +1 -1
- package/build/legacy/mutationObserver.d.ts +1 -1
- package/build/legacy/queriesObserver.d.cts +1 -1
- package/build/legacy/queriesObserver.d.ts +1 -1
- package/build/legacy/query.d.cts +1 -1
- package/build/legacy/query.d.ts +1 -1
- package/build/legacy/queryCache.d.cts +1 -1
- package/build/legacy/queryCache.d.ts +1 -1
- package/build/legacy/{queryClient-CJeOKnXT.d.ts → queryClient-j9i6YgPc.d.ts} +3 -3
- package/build/legacy/{queryClient-CVk5WSnG.d.ts → queryClient-ztzbWIOA.d.cts} +3 -3
- package/build/legacy/queryClient.d.cts +1 -1
- package/build/legacy/queryClient.d.ts +1 -1
- package/build/legacy/queryObserver.d.cts +1 -1
- package/build/legacy/queryObserver.d.ts +1 -1
- package/build/legacy/retryer.d.cts +1 -1
- package/build/legacy/retryer.d.ts +1 -1
- package/build/legacy/types.cjs.map +1 -1
- package/build/legacy/types.d.cts +1 -1
- package/build/legacy/types.d.ts +1 -1
- package/build/legacy/utils.d.cts +1 -1
- package/build/legacy/utils.d.ts +1 -1
- package/build/modern/hydration.d.cts +1 -1
- package/build/modern/hydration.d.ts +1 -1
- package/build/modern/index.cjs.map +1 -1
- package/build/modern/index.d.cts +1 -1
- package/build/modern/index.d.ts +1 -1
- package/build/modern/index.js.map +1 -1
- package/build/modern/infiniteQueryBehavior.d.cts +1 -1
- package/build/modern/infiniteQueryBehavior.d.ts +1 -1
- package/build/modern/infiniteQueryObserver.d.cts +1 -1
- package/build/modern/infiniteQueryObserver.d.ts +1 -1
- package/build/modern/mutation.d.cts +1 -1
- package/build/modern/mutation.d.ts +1 -1
- package/build/modern/mutationCache.cjs.map +1 -1
- package/build/modern/mutationCache.d.cts +1 -1
- package/build/modern/mutationCache.d.ts +1 -1
- package/build/modern/mutationCache.js.map +1 -1
- package/build/modern/mutationObserver.d.cts +1 -1
- package/build/modern/mutationObserver.d.ts +1 -1
- package/build/modern/queriesObserver.d.cts +1 -1
- package/build/modern/queriesObserver.d.ts +1 -1
- package/build/modern/query.d.cts +1 -1
- package/build/modern/query.d.ts +1 -1
- package/build/modern/queryCache.d.cts +1 -1
- package/build/modern/queryCache.d.ts +1 -1
- package/build/modern/{queryClient-CJeOKnXT.d.ts → queryClient-j9i6YgPc.d.ts} +3 -3
- package/build/modern/{queryClient-CVk5WSnG.d.ts → queryClient-ztzbWIOA.d.cts} +3 -3
- package/build/modern/queryClient.d.cts +1 -1
- package/build/modern/queryClient.d.ts +1 -1
- package/build/modern/queryObserver.d.cts +1 -1
- package/build/modern/queryObserver.d.ts +1 -1
- package/build/modern/retryer.d.cts +1 -1
- package/build/modern/retryer.d.ts +1 -1
- package/build/modern/types.cjs.map +1 -1
- package/build/modern/types.d.cts +1 -1
- package/build/modern/types.d.ts +1 -1
- package/build/modern/utils.d.cts +1 -1
- package/build/modern/utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/mutationCache.ts +1 -1
- package/src/types.ts +2 -2
package/build/modern/utils.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { f as MutationFilters, g as QueryFilters, aI as QueryTypeFilter, U as Updater, aW as addToEnd, aX as addToStart, aK as functionalUpdate, h as hashKey, aO as hashQueryKeyByOptions, aR as isPlainArray, aS as isPlainObject, i as isServer, aL as isValidTimeout, k as keepPreviousData, aN as matchMutation, m as matchQuery, aJ as noop, aP as partialMatchKey, aV as replaceData, r as replaceEqualDeep, aU as scheduleMicrotask, aQ as shallowEqualObjects, aT as sleep, aM as timeUntilStale } from './queryClient-ztzbWIOA.cjs';
|
|
2
2
|
import './removable.cjs';
|
|
3
3
|
import './subscribable.cjs';
|
package/build/modern/utils.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { f as MutationFilters, g as QueryFilters, aI as QueryTypeFilter, U as Updater, aW as addToEnd, aX as addToStart, aK as functionalUpdate, h as hashKey, aO as hashQueryKeyByOptions, aR as isPlainArray, aS as isPlainObject, i as isServer, aL as isValidTimeout, k as keepPreviousData, aN as matchMutation, m as matchQuery, aJ as noop, aP as partialMatchKey, aV as replaceData, r as replaceEqualDeep, aU as scheduleMicrotask, aQ as shallowEqualObjects, aT as sleep, aM as timeUntilStale } from './queryClient-j9i6YgPc.js';
|
|
2
2
|
import './removable.js';
|
|
3
3
|
import './subscribable.js';
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { QueryObserver } from './queryObserver'
|
|
|
8
8
|
export { QueriesObserver } from './queriesObserver'
|
|
9
9
|
export { InfiniteQueryObserver } from './infiniteQueryObserver'
|
|
10
10
|
export { MutationCache } from './mutationCache'
|
|
11
|
+
export type { MutationCacheNotifyEvent } from './mutationCache'
|
|
11
12
|
export { MutationObserver } from './mutationObserver'
|
|
12
13
|
export { notifyManager } from './notifyManager'
|
|
13
14
|
export { focusManager } from './focusManager'
|
package/src/mutationCache.ts
CHANGED
|
@@ -69,7 +69,7 @@ interface NotifyEventMutationUpdated extends NotifyEvent {
|
|
|
69
69
|
action: Action<any, any, any, any>
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
type MutationCacheNotifyEvent =
|
|
72
|
+
export type MutationCacheNotifyEvent =
|
|
73
73
|
| NotifyEventMutationAdded
|
|
74
74
|
| NotifyEventMutationRemoved
|
|
75
75
|
| NotifyEventMutationObserverAdded
|
package/src/types.ts
CHANGED
|
@@ -345,7 +345,7 @@ export type DefaultedQueryObserverOptions<
|
|
|
345
345
|
TQueryKey extends QueryKey = QueryKey,
|
|
346
346
|
> = WithRequired<
|
|
347
347
|
QueryObserverOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>,
|
|
348
|
-
'throwOnError' | 'refetchOnReconnect'
|
|
348
|
+
'throwOnError' | 'refetchOnReconnect' | 'queryHash'
|
|
349
349
|
>
|
|
350
350
|
|
|
351
351
|
export interface InfiniteQueryObserverOptions<
|
|
@@ -381,7 +381,7 @@ export type DefaultedInfiniteQueryObserverOptions<
|
|
|
381
381
|
TQueryKey,
|
|
382
382
|
TPageParam
|
|
383
383
|
>,
|
|
384
|
-
'throwOnError' | 'refetchOnReconnect'
|
|
384
|
+
'throwOnError' | 'refetchOnReconnect' | 'queryHash'
|
|
385
385
|
>
|
|
386
386
|
|
|
387
387
|
export interface FetchQueryOptions<
|