@tanstack/query-core 5.101.4 → 5.102.1
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/classPrivateFieldSet2-Bo0ZyOIv.cjs +56 -0
- package/build/legacy/classPrivateFieldSet2-CV7wyte-.js +27 -0
- package/build/legacy/classPrivateMethodInitSpec-CBwa_Y7C.js +7 -0
- package/build/legacy/classPrivateMethodInitSpec-DVhcLejn.cjs +12 -0
- package/build/legacy/environmentManager.cjs +25 -46
- package/build/legacy/environmentManager.cjs.map +1 -1
- package/build/legacy/environmentManager.d.cts +18 -2
- package/build/legacy/environmentManager.d.cts.map +1 -0
- package/build/legacy/environmentManager.d.ts +18 -2
- package/build/legacy/environmentManager.d.ts.map +1 -0
- package/build/legacy/environmentManager.js +23 -22
- package/build/legacy/environmentManager.js.map +1 -1
- package/build/legacy/focusManager.cjs +63 -104
- package/build/legacy/focusManager.cjs.map +1 -1
- package/build/legacy/focusManager.d.cts +18 -2
- package/build/legacy/focusManager.d.cts.map +1 -0
- package/build/legacy/focusManager.d.ts +18 -2
- package/build/legacy/focusManager.d.ts.map +1 -0
- package/build/legacy/focusManager.js +60 -76
- package/build/legacy/focusManager.js.map +1 -1
- package/build/legacy/hydration-BhSbkfZj.d.cts +1374 -0
- package/build/legacy/hydration-BhSbkfZj.d.cts.map +1 -0
- package/build/legacy/hydration-Hebl6yHM.d.ts +1374 -0
- package/build/legacy/hydration-Hebl6yHM.d.ts.map +1 -0
- package/build/legacy/hydration.cjs +111 -194
- package/build/legacy/hydration.cjs.map +1 -1
- package/build/legacy/hydration.d.cts +2 -7
- package/build/legacy/hydration.d.ts +2 -7
- package/build/legacy/hydration.js +105 -167
- package/build/legacy/hydration.js.map +1 -1
- package/build/legacy/index.cjs +59 -111
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +10 -141
- package/build/legacy/index.d.ts +10 -141
- package/build/legacy/index.js +16 -66
- package/build/legacy/index.js.map +1 -1
- package/build/legacy/infiniteQueryBehavior.cjs +92 -135
- package/build/legacy/infiniteQueryBehavior.cjs.map +1 -1
- package/build/legacy/infiniteQueryBehavior.d.cts +14 -3
- package/build/legacy/infiniteQueryBehavior.d.cts.map +1 -0
- package/build/legacy/infiniteQueryBehavior.d.ts +14 -3
- package/build/legacy/infiniteQueryBehavior.d.ts.map +1 -0
- package/build/legacy/infiniteQueryBehavior.js +89 -115
- package/build/legacy/infiniteQueryBehavior.js.map +1 -1
- package/build/legacy/infiniteQueryObserver.cjs +59 -88
- package/build/legacy/infiniteQueryObserver.cjs.map +1 -1
- package/build/legacy/infiniteQueryObserver.d.cts +20 -1
- package/build/legacy/infiniteQueryObserver.d.cts.map +1 -0
- package/build/legacy/infiniteQueryObserver.d.ts +20 -1
- package/build/legacy/infiniteQueryObserver.d.ts.map +1 -0
- package/build/legacy/infiniteQueryObserver.js +57 -64
- package/build/legacy/infiniteQueryObserver.js.map +1 -1
- package/build/legacy/mutation.cjs +236 -329
- package/build/legacy/mutation.cjs.map +1 -1
- package/build/legacy/mutation.d.cts +2 -4
- package/build/legacy/mutation.d.ts +2 -4
- package/build/legacy/mutation.js +231 -299
- package/build/legacy/mutation.js.map +1 -1
- package/build/legacy/mutationCache.cjs +121 -166
- package/build/legacy/mutationCache.cjs.map +1 -1
- package/build/legacy/mutationCache.d.cts +2 -2
- package/build/legacy/mutationCache.d.ts +2 -2
- package/build/legacy/mutationCache.js +117 -130
- package/build/legacy/mutationCache.js.map +1 -1
- package/build/legacy/mutationObserver.cjs +134 -187
- package/build/legacy/mutationObserver.cjs.map +1 -1
- package/build/legacy/mutationObserver.d.cts +2 -1
- package/build/legacy/mutationObserver.d.ts +2 -1
- package/build/legacy/mutationObserver.js +132 -160
- package/build/legacy/mutationObserver.js.map +1 -1
- package/build/legacy/notifyManager.cjs +76 -110
- package/build/legacy/notifyManager.cjs.map +1 -1
- package/build/legacy/notifyManager.d.cts +48 -3
- package/build/legacy/notifyManager.d.cts.map +1 -0
- package/build/legacy/notifyManager.d.ts +48 -3
- package/build/legacy/notifyManager.d.ts.map +1 -0
- package/build/legacy/notifyManager.js +73 -84
- package/build/legacy/notifyManager.js.map +1 -1
- package/build/legacy/onlineManager.cjs +57 -93
- package/build/legacy/onlineManager.cjs.map +1 -1
- package/build/legacy/onlineManager.d.cts +17 -2
- package/build/legacy/onlineManager.d.cts.map +1 -0
- package/build/legacy/onlineManager.d.ts +17 -2
- package/build/legacy/onlineManager.d.ts.map +1 -0
- package/build/legacy/onlineManager.js +54 -65
- package/build/legacy/onlineManager.js.map +1 -1
- package/build/legacy/queriesObserver.cjs +203 -262
- package/build/legacy/queriesObserver.cjs.map +1 -1
- package/build/legacy/queriesObserver.d.cts +23 -2
- package/build/legacy/queriesObserver.d.cts.map +1 -0
- package/build/legacy/queriesObserver.d.ts +23 -2
- package/build/legacy/queriesObserver.d.ts.map +1 -0
- package/build/legacy/queriesObserver.js +199 -233
- package/build/legacy/queriesObserver.js.map +1 -1
- package/build/legacy/query.cjs +409 -491
- package/build/legacy/query.cjs.map +1 -1
- package/build/legacy/query.d.cts +2 -9
- package/build/legacy/query.d.ts +2 -9
- package/build/legacy/query.js +402 -467
- package/build/legacy/query.js.map +1 -1
- package/build/legacy/queryCache.cjs +99 -128
- package/build/legacy/queryCache.cjs.map +1 -1
- package/build/legacy/queryCache.d.cts +2 -3
- package/build/legacy/queryCache.d.ts +2 -3
- package/build/legacy/queryCache.js +96 -100
- package/build/legacy/queryCache.js.map +1 -1
- package/build/legacy/queryClient.cjs +295 -345
- package/build/legacy/queryClient.cjs.map +1 -1
- package/build/legacy/queryClient.d.cts +2 -1
- package/build/legacy/queryClient.d.ts +2 -1
- package/build/legacy/queryClient.js +292 -318
- package/build/legacy/queryClient.js.map +1 -1
- package/build/legacy/queryObserver.cjs +350 -502
- package/build/legacy/queryObserver.cjs.map +1 -1
- package/build/legacy/queryObserver.d.cts +2 -1
- package/build/legacy/queryObserver.d.ts +2 -1
- package/build/legacy/queryObserver.js +345 -480
- package/build/legacy/queryObserver.js.map +1 -1
- package/build/legacy/removable-DeMjhW5M.d.cts +13 -0
- package/build/legacy/removable-DeMjhW5M.d.cts.map +1 -0
- package/build/legacy/removable-DeMjhW5M.d.ts +13 -0
- package/build/legacy/removable-DeMjhW5M.d.ts.map +1 -0
- package/build/legacy/removable.cjs +31 -67
- package/build/legacy/removable.cjs.map +1 -1
- package/build/legacy/removable.d.cts +2 -1
- package/build/legacy/removable.d.ts +2 -1
- package/build/legacy/removable.js +28 -39
- package/build/legacy/removable.js.map +1 -1
- package/build/legacy/retryer.cjs +127 -155
- package/build/legacy/retryer.cjs.map +1 -1
- package/build/legacy/retryer.d.cts +2 -7
- package/build/legacy/retryer.d.ts +2 -7
- package/build/legacy/retryer.js +121 -127
- package/build/legacy/retryer.js.map +1 -1
- package/build/legacy/streamedQuery.cjs +49 -78
- package/build/legacy/streamedQuery.cjs.map +1 -1
- package/build/legacy/streamedQuery.d.cts +33 -1
- package/build/legacy/streamedQuery.d.cts.map +1 -0
- package/build/legacy/streamedQuery.d.ts +33 -1
- package/build/legacy/streamedQuery.d.ts.map +1 -0
- package/build/legacy/streamedQuery.js +47 -54
- package/build/legacy/streamedQuery.js.map +1 -1
- package/build/legacy/subscribable-CbifVTKz.d.cts +12 -0
- package/build/legacy/subscribable-CbifVTKz.d.cts.map +1 -0
- package/build/legacy/subscribable-CbifVTKz.d.ts +12 -0
- package/build/legacy/subscribable-CbifVTKz.d.ts.map +1 -0
- package/build/legacy/subscribable.cjs +22 -48
- package/build/legacy/subscribable.cjs.map +1 -1
- package/build/legacy/subscribable.d.cts +2 -1
- package/build/legacy/subscribable.d.ts +2 -1
- package/build/legacy/subscribable.js +21 -25
- package/build/legacy/subscribable.js.map +1 -1
- package/build/legacy/timeoutManager.cjs +64 -105
- package/build/legacy/timeoutManager.cjs.map +1 -1
- package/build/legacy/timeoutManager.d.cts +60 -7
- package/build/legacy/timeoutManager.d.cts.map +1 -0
- package/build/legacy/timeoutManager.d.ts +60 -7
- package/build/legacy/timeoutManager.d.ts.map +1 -0
- package/build/legacy/timeoutManager.js +60 -76
- package/build/legacy/timeoutManager.js.map +1 -1
- package/build/legacy/types.cjs +10 -35
- package/build/legacy/types.cjs.map +1 -1
- package/build/legacy/types.d.cts +2 -94
- package/build/legacy/types.d.ts +2 -94
- package/build/legacy/types.js +7 -10
- package/build/legacy/types.js.map +1 -1
- package/build/legacy/utils.cjs +175 -300
- package/build/legacy/utils.cjs.map +1 -1
- package/build/legacy/utils.d.cts +2 -30
- package/build/legacy/utils.d.ts +2 -30
- package/build/legacy/utils.js +149 -252
- package/build/legacy/utils.js.map +1 -1
- package/build/modern/environmentManager.cjs +25 -46
- package/build/modern/environmentManager.cjs.map +1 -1
- package/build/modern/environmentManager.d.cts +18 -2
- package/build/modern/environmentManager.d.cts.map +1 -0
- package/build/modern/environmentManager.d.ts +18 -2
- package/build/modern/environmentManager.d.ts.map +1 -0
- package/build/modern/environmentManager.js +23 -20
- package/build/modern/environmentManager.js.map +1 -1
- package/build/modern/focusManager.cjs +56 -90
- package/build/modern/focusManager.cjs.map +1 -1
- package/build/modern/focusManager.d.cts +18 -2
- package/build/modern/focusManager.d.cts.map +1 -0
- package/build/modern/focusManager.d.ts +18 -2
- package/build/modern/focusManager.d.ts.map +1 -0
- package/build/modern/focusManager.js +53 -63
- package/build/modern/focusManager.js.map +1 -1
- package/build/modern/hydration-BhSbkfZj.d.cts +1374 -0
- package/build/modern/hydration-BhSbkfZj.d.cts.map +1 -0
- package/build/modern/hydration-Hebl6yHM.d.ts +1374 -0
- package/build/modern/hydration-Hebl6yHM.d.ts.map +1 -0
- package/build/modern/hydration.cjs +102 -189
- package/build/modern/hydration.cjs.map +1 -1
- package/build/modern/hydration.d.cts +2 -7
- package/build/modern/hydration.d.ts +2 -7
- package/build/modern/hydration.js +96 -160
- package/build/modern/hydration.js.map +1 -1
- package/build/modern/index.cjs +59 -111
- package/build/modern/index.cjs.map +1 -1
- package/build/modern/index.d.cts +10 -141
- package/build/modern/index.d.ts +10 -141
- package/build/modern/index.js +16 -64
- package/build/modern/index.js.map +1 -1
- package/build/modern/infiniteQueryBehavior.cjs +89 -131
- package/build/modern/infiniteQueryBehavior.cjs.map +1 -1
- package/build/modern/infiniteQueryBehavior.d.cts +14 -3
- package/build/modern/infiniteQueryBehavior.d.cts.map +1 -0
- package/build/modern/infiniteQueryBehavior.d.ts +14 -3
- package/build/modern/infiniteQueryBehavior.d.ts.map +1 -0
- package/build/modern/infiniteQueryBehavior.js +86 -109
- package/build/modern/infiniteQueryBehavior.js.map +1 -1
- package/build/modern/infiniteQueryObserver.cjs +58 -87
- package/build/modern/infiniteQueryObserver.cjs.map +1 -1
- package/build/modern/infiniteQueryObserver.d.cts +20 -1
- package/build/modern/infiniteQueryObserver.d.cts.map +1 -0
- package/build/modern/infiniteQueryObserver.d.ts +20 -1
- package/build/modern/infiniteQueryObserver.d.ts.map +1 -0
- package/build/modern/infiniteQueryObserver.js +56 -61
- package/build/modern/infiniteQueryObserver.js.map +1 -1
- package/build/modern/mutation.cjs +221 -303
- package/build/modern/mutation.cjs.map +1 -1
- package/build/modern/mutation.d.cts +2 -4
- package/build/modern/mutation.d.ts +2 -4
- package/build/modern/mutation.js +216 -274
- package/build/modern/mutation.js.map +1 -1
- package/build/modern/mutationCache.cjs +111 -145
- package/build/modern/mutationCache.cjs.map +1 -1
- package/build/modern/mutationCache.d.cts +2 -2
- package/build/modern/mutationCache.d.ts +2 -2
- package/build/modern/mutationCache.js +107 -117
- package/build/modern/mutationCache.js.map +1 -1
- package/build/modern/mutationObserver.cjs +115 -162
- package/build/modern/mutationObserver.cjs.map +1 -1
- package/build/modern/mutationObserver.d.cts +2 -1
- package/build/modern/mutationObserver.d.ts +2 -1
- package/build/modern/mutationObserver.js +113 -136
- package/build/modern/mutationObserver.js.map +1 -1
- package/build/modern/notifyManager.cjs +76 -110
- package/build/modern/notifyManager.cjs.map +1 -1
- package/build/modern/notifyManager.d.cts +48 -3
- package/build/modern/notifyManager.d.cts.map +1 -0
- package/build/modern/notifyManager.d.ts +48 -3
- package/build/modern/notifyManager.d.ts.map +1 -0
- package/build/modern/notifyManager.js +73 -82
- package/build/modern/notifyManager.js.map +1 -1
- package/build/modern/onlineManager.cjs +51 -80
- package/build/modern/onlineManager.cjs.map +1 -1
- package/build/modern/onlineManager.d.cts +17 -2
- package/build/modern/onlineManager.d.cts.map +1 -0
- package/build/modern/onlineManager.d.ts +17 -2
- package/build/modern/onlineManager.d.ts.map +1 -0
- package/build/modern/onlineManager.js +48 -53
- package/build/modern/onlineManager.js.map +1 -1
- package/build/modern/queriesObserver.cjs +185 -237
- package/build/modern/queriesObserver.cjs.map +1 -1
- package/build/modern/queriesObserver.d.cts +23 -2
- package/build/modern/queriesObserver.d.cts.map +1 -0
- package/build/modern/queriesObserver.d.ts +23 -2
- package/build/modern/queriesObserver.d.ts.map +1 -0
- package/build/modern/queriesObserver.js +181 -209
- package/build/modern/queriesObserver.js.map +1 -1
- package/build/modern/query.cjs +384 -464
- package/build/modern/query.cjs.map +1 -1
- package/build/modern/query.d.cts +2 -9
- package/build/modern/query.d.ts +2 -9
- package/build/modern/query.js +377 -441
- package/build/modern/query.js.map +1 -1
- package/build/modern/queryCache.cjs +97 -119
- package/build/modern/queryCache.cjs.map +1 -1
- package/build/modern/queryCache.d.cts +2 -3
- package/build/modern/queryCache.d.ts +2 -3
- package/build/modern/queryCache.js +94 -92
- package/build/modern/queryCache.js.map +1 -1
- package/build/modern/queryClient.cjs +281 -318
- package/build/modern/queryClient.cjs.map +1 -1
- package/build/modern/queryClient.d.cts +2 -1
- package/build/modern/queryClient.d.ts +2 -1
- package/build/modern/queryClient.js +278 -299
- package/build/modern/queryClient.js.map +1 -1
- package/build/modern/queryObserver.cjs +329 -475
- package/build/modern/queryObserver.cjs.map +1 -1
- package/build/modern/queryObserver.d.cts +2 -1
- package/build/modern/queryObserver.d.ts +2 -1
- package/build/modern/queryObserver.js +324 -454
- package/build/modern/queryObserver.js.map +1 -1
- package/build/modern/removable-DeMjhW5M.d.cts +13 -0
- package/build/modern/removable-DeMjhW5M.d.cts.map +1 -0
- package/build/modern/removable-DeMjhW5M.d.ts +13 -0
- package/build/modern/removable-DeMjhW5M.d.ts.map +1 -0
- package/build/modern/removable.cjs +27 -56
- package/build/modern/removable.cjs.map +1 -1
- package/build/modern/removable.d.cts +2 -1
- package/build/modern/removable.d.ts +2 -1
- package/build/modern/removable.js +24 -29
- package/build/modern/removable.js.map +1 -1
- package/build/modern/retryer.cjs +121 -151
- package/build/modern/retryer.cjs.map +1 -1
- package/build/modern/retryer.d.cts +2 -7
- package/build/modern/retryer.d.ts +2 -7
- package/build/modern/retryer.js +115 -121
- package/build/modern/retryer.js.map +1 -1
- package/build/modern/streamedQuery.cjs +49 -78
- package/build/modern/streamedQuery.cjs.map +1 -1
- package/build/modern/streamedQuery.d.cts +33 -1
- package/build/modern/streamedQuery.d.cts.map +1 -0
- package/build/modern/streamedQuery.d.ts +33 -1
- package/build/modern/streamedQuery.d.ts.map +1 -0
- package/build/modern/streamedQuery.js +47 -52
- package/build/modern/streamedQuery.js.map +1 -1
- package/build/modern/subscribable-CbifVTKz.d.cts +12 -0
- package/build/modern/subscribable-CbifVTKz.d.cts.map +1 -0
- package/build/modern/subscribable-CbifVTKz.d.ts +12 -0
- package/build/modern/subscribable-CbifVTKz.d.ts.map +1 -0
- package/build/modern/subscribable.cjs +22 -48
- package/build/modern/subscribable.cjs.map +1 -1
- package/build/modern/subscribable.d.cts +2 -1
- package/build/modern/subscribable.d.ts +2 -1
- package/build/modern/subscribable.js +21 -23
- package/build/modern/subscribable.js.map +1 -1
- package/build/modern/timeoutManager.cjs +59 -93
- package/build/modern/timeoutManager.cjs.map +1 -1
- package/build/modern/timeoutManager.d.cts +60 -7
- package/build/modern/timeoutManager.d.cts.map +1 -0
- package/build/modern/timeoutManager.d.ts +60 -7
- package/build/modern/timeoutManager.d.ts.map +1 -0
- package/build/modern/timeoutManager.js +55 -65
- package/build/modern/timeoutManager.js.map +1 -1
- package/build/modern/types.cjs +10 -35
- package/build/modern/types.cjs.map +1 -1
- package/build/modern/types.d.cts +2 -94
- package/build/modern/types.d.ts +2 -94
- package/build/modern/types.js +8 -9
- package/build/modern/types.js.map +1 -1
- package/build/modern/utils.cjs +175 -300
- package/build/modern/utils.cjs.map +1 -1
- package/build/modern/utils.d.cts +2 -30
- package/build/modern/utils.d.ts +2 -30
- package/build/modern/utils.js +149 -250
- package/build/modern/utils.js.map +1 -1
- package/package.json +3 -5
- package/src/hydration.ts +65 -56
- package/src/index.ts +1 -0
- package/src/mutation.ts +14 -6
- package/src/mutationObserver.ts +8 -0
- package/src/queriesObserver.ts +14 -8
- package/src/query.ts +14 -6
- package/src/queryClient.ts +90 -2
- package/src/queryObserver.ts +41 -64
- package/src/retryer.ts +20 -12
- package/src/types.ts +70 -58
- package/build/legacy/_tsup-dts-rollup.d.cts +0 -2188
- package/build/legacy/_tsup-dts-rollup.d.ts +0 -2188
- package/build/legacy/chunk-PXG64RU4.js +0 -25
- package/build/legacy/chunk-PXG64RU4.js.map +0 -1
- package/build/legacy/thenable.cjs +0 -76
- package/build/legacy/thenable.cjs.map +0 -1
- package/build/legacy/thenable.d.cts +0 -6
- package/build/legacy/thenable.d.ts +0 -6
- package/build/legacy/thenable.js +0 -52
- package/build/legacy/thenable.js.map +0 -1
- package/build/modern/_tsup-dts-rollup.d.cts +0 -2188
- package/build/modern/_tsup-dts-rollup.d.ts +0 -2188
- package/build/modern/thenable.cjs +0 -75
- package/build/modern/thenable.cjs.map +0 -1
- package/build/modern/thenable.d.cts +0 -6
- package/build/modern/thenable.d.ts +0 -6
- package/build/modern/thenable.js +0 -49
- package/build/modern/thenable.js.map +0 -1
- package/src/thenable.ts +0 -111
package/build/modern/index.d.cts
CHANGED
|
@@ -1,141 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export { MutationObserver
|
|
11
|
-
export { defaultScheduler } from './_tsup-dts-rollup.cjs';
|
|
12
|
-
export { notifyManager } from './_tsup-dts-rollup.cjs';
|
|
13
|
-
export { onlineManager } from './_tsup-dts-rollup.cjs';
|
|
14
|
-
export { QueriesObserver } from './_tsup-dts-rollup.cjs';
|
|
15
|
-
export { QueryCache } from './_tsup-dts-rollup.cjs';
|
|
16
|
-
export { QueryCacheNotifyEvent } from './_tsup-dts-rollup.cjs';
|
|
17
|
-
export { QueryClient } from './_tsup-dts-rollup.cjs';
|
|
18
|
-
export { QueryObserver } from './_tsup-dts-rollup.cjs';
|
|
19
|
-
export { CancelledError } from './_tsup-dts-rollup.cjs';
|
|
20
|
-
export { isCancelledError } from './_tsup-dts-rollup.cjs';
|
|
21
|
-
export { timeoutManager } from './_tsup-dts-rollup.cjs';
|
|
22
|
-
export { ManagedTimerId } from './_tsup-dts-rollup.cjs';
|
|
23
|
-
export { TimeoutCallback } from './_tsup-dts-rollup.cjs';
|
|
24
|
-
export { TimeoutProvider } from './_tsup-dts-rollup.cjs';
|
|
25
|
-
export { hashKey } from './_tsup-dts-rollup.cjs';
|
|
26
|
-
export { isServer } from './_tsup-dts-rollup.cjs';
|
|
27
|
-
export { keepPreviousData } from './_tsup-dts-rollup.cjs';
|
|
28
|
-
export { matchMutation } from './_tsup-dts-rollup.cjs';
|
|
29
|
-
export { matchQuery } from './_tsup-dts-rollup.cjs';
|
|
30
|
-
export { noop } from './_tsup-dts-rollup.cjs';
|
|
31
|
-
export { partialMatchKey } from './_tsup-dts-rollup.cjs';
|
|
32
|
-
export { replaceEqualDeep } from './_tsup-dts-rollup.cjs';
|
|
33
|
-
export { shouldThrowError } from './_tsup-dts-rollup.cjs';
|
|
34
|
-
export { skipToken } from './_tsup-dts-rollup.cjs';
|
|
35
|
-
export { MutationFilters } from './_tsup-dts-rollup.cjs';
|
|
36
|
-
export { QueryFilters } from './_tsup-dts-rollup.cjs';
|
|
37
|
-
export { SkipToken } from './_tsup-dts-rollup.cjs';
|
|
38
|
-
export { Updater } from './_tsup-dts-rollup.cjs';
|
|
39
|
-
export { experimental_streamedQuery } from './_tsup-dts-rollup.cjs';
|
|
40
|
-
export { DehydratedState_alias_1 as DehydratedState } from './_tsup-dts-rollup.cjs';
|
|
41
|
-
export { DehydrateOptions_alias_1 as DehydrateOptions } from './_tsup-dts-rollup.cjs';
|
|
42
|
-
export { HydrateOptions_alias_1 as HydrateOptions } from './_tsup-dts-rollup.cjs';
|
|
43
|
-
export { Mutation } from './_tsup-dts-rollup.cjs';
|
|
44
|
-
export { MutationState } from './_tsup-dts-rollup.cjs';
|
|
45
|
-
export { QueriesObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
46
|
-
export { Query } from './_tsup-dts-rollup.cjs';
|
|
47
|
-
export { QueryState } from './_tsup-dts-rollup.cjs';
|
|
48
|
-
export { NonUndefinedGuard } from './_tsup-dts-rollup.cjs';
|
|
49
|
-
export { DistributiveOmit } from './_tsup-dts-rollup.cjs';
|
|
50
|
-
export { OmitKeyof } from './_tsup-dts-rollup.cjs';
|
|
51
|
-
export { Override } from './_tsup-dts-rollup.cjs';
|
|
52
|
-
export { Register } from './_tsup-dts-rollup.cjs';
|
|
53
|
-
export { DefaultError } from './_tsup-dts-rollup.cjs';
|
|
54
|
-
export { QueryKey } from './_tsup-dts-rollup.cjs';
|
|
55
|
-
export { dataTagSymbol } from './_tsup-dts-rollup.cjs';
|
|
56
|
-
export { dataTagErrorSymbol } from './_tsup-dts-rollup.cjs';
|
|
57
|
-
export { unsetMarker } from './_tsup-dts-rollup.cjs';
|
|
58
|
-
export { UnsetMarker } from './_tsup-dts-rollup.cjs';
|
|
59
|
-
export { AnyDataTag } from './_tsup-dts-rollup.cjs';
|
|
60
|
-
export { DataTag } from './_tsup-dts-rollup.cjs';
|
|
61
|
-
export { InferDataFromTag } from './_tsup-dts-rollup.cjs';
|
|
62
|
-
export { InferErrorFromTag } from './_tsup-dts-rollup.cjs';
|
|
63
|
-
export { QueryFunction } from './_tsup-dts-rollup.cjs';
|
|
64
|
-
export { StaleTime } from './_tsup-dts-rollup.cjs';
|
|
65
|
-
export { StaleTimeFunction } from './_tsup-dts-rollup.cjs';
|
|
66
|
-
export { QueryBooleanOption } from './_tsup-dts-rollup.cjs';
|
|
67
|
-
export { QueryPersister } from './_tsup-dts-rollup.cjs';
|
|
68
|
-
export { QueryFunctionContext } from './_tsup-dts-rollup.cjs';
|
|
69
|
-
export { InitialDataFunction } from './_tsup-dts-rollup.cjs';
|
|
70
|
-
export { PlaceholderDataFunction } from './_tsup-dts-rollup.cjs';
|
|
71
|
-
export { QueriesPlaceholderDataFunction } from './_tsup-dts-rollup.cjs';
|
|
72
|
-
export { QueryKeyHashFunction } from './_tsup-dts-rollup.cjs';
|
|
73
|
-
export { GetPreviousPageParamFunction } from './_tsup-dts-rollup.cjs';
|
|
74
|
-
export { GetNextPageParamFunction } from './_tsup-dts-rollup.cjs';
|
|
75
|
-
export { InfiniteData } from './_tsup-dts-rollup.cjs';
|
|
76
|
-
export { QueryMeta } from './_tsup-dts-rollup.cjs';
|
|
77
|
-
export { NetworkMode } from './_tsup-dts-rollup.cjs';
|
|
78
|
-
export { NotifyOnChangeProps } from './_tsup-dts-rollup.cjs';
|
|
79
|
-
export { QueryOptions } from './_tsup-dts-rollup.cjs';
|
|
80
|
-
export { InitialPageParam } from './_tsup-dts-rollup.cjs';
|
|
81
|
-
export { InfiniteQueryPageParamsOptions } from './_tsup-dts-rollup.cjs';
|
|
82
|
-
export { ThrowOnError } from './_tsup-dts-rollup.cjs';
|
|
83
|
-
export { QueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
84
|
-
export { WithRequired } from './_tsup-dts-rollup.cjs';
|
|
85
|
-
export { DefaultedQueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
86
|
-
export { InfiniteQueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
87
|
-
export { DefaultedInfiniteQueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
88
|
-
export { FetchQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
89
|
-
export { EnsureQueryDataOptions } from './_tsup-dts-rollup.cjs';
|
|
90
|
-
export { EnsureInfiniteQueryDataOptions } from './_tsup-dts-rollup.cjs';
|
|
91
|
-
export { FetchInfiniteQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
92
|
-
export { ResultOptions } from './_tsup-dts-rollup.cjs';
|
|
93
|
-
export { RefetchOptions } from './_tsup-dts-rollup.cjs';
|
|
94
|
-
export { InvalidateQueryFilters } from './_tsup-dts-rollup.cjs';
|
|
95
|
-
export { RefetchQueryFilters } from './_tsup-dts-rollup.cjs';
|
|
96
|
-
export { InvalidateOptions } from './_tsup-dts-rollup.cjs';
|
|
97
|
-
export { ResetOptions } from './_tsup-dts-rollup.cjs';
|
|
98
|
-
export { FetchNextPageOptions } from './_tsup-dts-rollup.cjs';
|
|
99
|
-
export { FetchPreviousPageOptions } from './_tsup-dts-rollup.cjs';
|
|
100
|
-
export { QueryStatus } from './_tsup-dts-rollup.cjs';
|
|
101
|
-
export { FetchStatus } from './_tsup-dts-rollup.cjs';
|
|
102
|
-
export { QueryObserverBaseResult } from './_tsup-dts-rollup.cjs';
|
|
103
|
-
export { QueryObserverPendingResult } from './_tsup-dts-rollup.cjs';
|
|
104
|
-
export { QueryObserverLoadingResult } from './_tsup-dts-rollup.cjs';
|
|
105
|
-
export { QueryObserverLoadingErrorResult } from './_tsup-dts-rollup.cjs';
|
|
106
|
-
export { QueryObserverRefetchErrorResult } from './_tsup-dts-rollup.cjs';
|
|
107
|
-
export { QueryObserverSuccessResult } from './_tsup-dts-rollup.cjs';
|
|
108
|
-
export { QueryObserverPlaceholderResult } from './_tsup-dts-rollup.cjs';
|
|
109
|
-
export { DefinedQueryObserverResult } from './_tsup-dts-rollup.cjs';
|
|
110
|
-
export { QueryObserverResult } from './_tsup-dts-rollup.cjs';
|
|
111
|
-
export { InfiniteQueryObserverBaseResult } from './_tsup-dts-rollup.cjs';
|
|
112
|
-
export { InfiniteQueryObserverPendingResult } from './_tsup-dts-rollup.cjs';
|
|
113
|
-
export { InfiniteQueryObserverLoadingResult } from './_tsup-dts-rollup.cjs';
|
|
114
|
-
export { InfiniteQueryObserverLoadingErrorResult } from './_tsup-dts-rollup.cjs';
|
|
115
|
-
export { InfiniteQueryObserverRefetchErrorResult } from './_tsup-dts-rollup.cjs';
|
|
116
|
-
export { InfiniteQueryObserverSuccessResult } from './_tsup-dts-rollup.cjs';
|
|
117
|
-
export { InfiniteQueryObserverPlaceholderResult } from './_tsup-dts-rollup.cjs';
|
|
118
|
-
export { DefinedInfiniteQueryObserverResult } from './_tsup-dts-rollup.cjs';
|
|
119
|
-
export { InfiniteQueryObserverResult } from './_tsup-dts-rollup.cjs';
|
|
120
|
-
export { MutationKey } from './_tsup-dts-rollup.cjs';
|
|
121
|
-
export { MutationStatus } from './_tsup-dts-rollup.cjs';
|
|
122
|
-
export { MutationScope } from './_tsup-dts-rollup.cjs';
|
|
123
|
-
export { MutationMeta } from './_tsup-dts-rollup.cjs';
|
|
124
|
-
export { MutationFunctionContext } from './_tsup-dts-rollup.cjs';
|
|
125
|
-
export { MutationFunction } from './_tsup-dts-rollup.cjs';
|
|
126
|
-
export { MutationOptions } from './_tsup-dts-rollup.cjs';
|
|
127
|
-
export { MutationObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
128
|
-
export { MutateOptions } from './_tsup-dts-rollup.cjs';
|
|
129
|
-
export { MutateFunction } from './_tsup-dts-rollup.cjs';
|
|
130
|
-
export { MutationObserverBaseResult } from './_tsup-dts-rollup.cjs';
|
|
131
|
-
export { MutationObserverIdleResult } from './_tsup-dts-rollup.cjs';
|
|
132
|
-
export { MutationObserverLoadingResult } from './_tsup-dts-rollup.cjs';
|
|
133
|
-
export { MutationObserverErrorResult } from './_tsup-dts-rollup.cjs';
|
|
134
|
-
export { MutationObserverSuccessResult } from './_tsup-dts-rollup.cjs';
|
|
135
|
-
export { MutationObserverResult } from './_tsup-dts-rollup.cjs';
|
|
136
|
-
export { QueryClientConfig } from './_tsup-dts-rollup.cjs';
|
|
137
|
-
export { DefaultOptions } from './_tsup-dts-rollup.cjs';
|
|
138
|
-
export { CancelOptions } from './_tsup-dts-rollup.cjs';
|
|
139
|
-
export { SetDataOptions } from './_tsup-dts-rollup.cjs';
|
|
140
|
-
export { NotifyEventType } from './_tsup-dts-rollup.cjs';
|
|
141
|
-
export { NotifyEvent } from './_tsup-dts-rollup.cjs';
|
|
1
|
+
import { environmentManager } from "./environmentManager.cjs";
|
|
2
|
+
import { focusManager } from "./focusManager.cjs";
|
|
3
|
+
import { $ as MutationObserverBaseResult, $t as CancelledError, A as InfiniteData, An as partialMatchKey, At as QueryObserverOptions, B as InfiniteQueryObserverSuccessResult, Bt as RefetchQueryFilters, C as FetchPreviousPageOptions, Ct as QueryKey, D as GetPreviousPageParamFunction, Dn as matchMutation, Dt as QueryObserverBaseResult, E as GetNextPageParamFunction, En as keepPreviousData, Et as QueryMeta, F as InfiniteQueryObserverOptions, Ft as QueryObserverSuccessResult, G as InvalidateQueryFilters, Gn as MutationCacheNotifyEvent, Gt as StaleTime, H as InitialDataFunction, Hn as MutationState, Ht as ResetOptions, I as InfiniteQueryObserverPendingResult, In as shouldThrowError, It as QueryOptions, J as MutateOptions, Jt as UnsetMarker, K as MutateFunction, Kn as MutationObserver, Kt as StaleTimeFunction, L as InfiniteQueryObserverPlaceholderResult, Ln as skipToken, Lt as QueryPersister, M as InfiniteQueryObserverBaseResult, Mn as replaceEqualDeep, Mt as QueryObserverPlaceholderResult, N as InfiniteQueryObserverLoadingErrorResult, Nt as QueryObserverRefetchErrorResult, O as InferDataFromTag, On as matchQuery, Ot as QueryObserverLoadingErrorResult, P as InfiniteQueryObserverLoadingResult, Pt as QueryObserverResult, Q as MutationMeta, Qn as Query, Qt as unsetMarker, R as InfiniteQueryObserverRefetchErrorResult, Rt as QueryStatus, S as FetchNextPageOptions, St as QueryFunctionContext, T as FetchStatus, Tt as QueryKeyWithDataTag, U as InitialPageParam, Ut as ResultOptions, V as InfiniteQueryPageParamsOptions, Vn as Mutation, Vt as Register, W as InvalidateOptions, Wn as MutationCache, Wt as SetDataOptions, X as MutationFunctionContext, Xt as dataTagErrorSymbol, Y as MutationFunction, Yt as WithRequired, Z as MutationKey, Zt as dataTagSymbol, _ as DefinedQueryObserverResult, _t as QueriesPlaceholderDataFunction, a as defaultShouldDehydrateQuery, an as isCancelledError, at as MutationObserverSuccessResult, b as EnsureQueryDataOptions, bn as hashKey, bt as QueryExecuteOptions, c as hydrate, cn as QueryCacheNotifyEvent, ct as MutationStatus, d as DataTag, dn as QueryFilters, dt as NotifyEvent, er as QueryState, et as MutationObserverErrorResult, f as DefaultError, ft as NotifyEventType, g as DefinedInfiniteQueryObserverResult, gt as PlaceholderDataFunction, h as DefaultedQueryObserverOptions, ht as Override, i as defaultShouldDehydrateMutation, it as MutationObserverResult, j as InfiniteQueryExecuteOptions, jt as QueryObserverPendingResult, k as InferErrorFromTag, kn as noop, kt as QueryObserverLoadingResult, l as AnyDataTag, lt as NetworkMode, m as DefaultedInfiniteQueryObserverOptions, mn as Updater, mt as OmitKeyof, n as DehydratedState, nr as QueryObserver, nt as MutationObserverLoadingResult, o as dehydrate, on as QueryClient, ot as MutationOptions, p as DefaultOptions, pn as SkipToken, pt as NotifyOnChangeProps, q as MutateFunctionRest, qt as ThrowOnError, r as HydrateOptions, rt as MutationObserverOptions, s as dehydrateQuery, sn as QueryCache, st as MutationScope, t as DehydrateOptions, tt as MutationObserverIdleResult, u as CancelOptions, un as MutationFilters, ut as NonUndefinedGuard, v as DistributiveOmit, vt as QueryBooleanOption, w as FetchQueryOptions, wn as isServer, wt as QueryKeyHashFunction, x as FetchInfiniteQueryOptions, xt as QueryFunction, y as EnsureInfiniteQueryDataOptions, yt as QueryClientConfig, z as InfiniteQueryObserverResult, zt as RefetchOptions } from "./hydration-BhSbkfZj.cjs";
|
|
4
|
+
import { InfiniteQueryObserver } from "./infiniteQueryObserver.cjs";
|
|
5
|
+
import { defaultScheduler, notifyManager } from "./notifyManager.cjs";
|
|
6
|
+
import { onlineManager } from "./onlineManager.cjs";
|
|
7
|
+
import { QueriesObserver, QueriesObserverOptions } from "./queriesObserver.cjs";
|
|
8
|
+
import { ManagedTimerId, TimeoutCallback, TimeoutProvider, timeoutManager } from "./timeoutManager.cjs";
|
|
9
|
+
import { streamedQuery } from "./streamedQuery.cjs";
|
|
10
|
+
export { AnyDataTag, CancelOptions, CancelledError, DataTag, DefaultError, DefaultOptions, DefaultedInfiniteQueryObserverOptions, DefaultedQueryObserverOptions, DefinedInfiniteQueryObserverResult, DefinedQueryObserverResult, type DehydrateOptions, type DehydratedState, DistributiveOmit, EnsureInfiniteQueryDataOptions, EnsureQueryDataOptions, FetchInfiniteQueryOptions, FetchNextPageOptions, FetchPreviousPageOptions, FetchQueryOptions, FetchStatus, GetNextPageParamFunction, GetPreviousPageParamFunction, type HydrateOptions, InferDataFromTag, InferErrorFromTag, InfiniteData, InfiniteQueryExecuteOptions, InfiniteQueryObserver, InfiniteQueryObserverBaseResult, InfiniteQueryObserverLoadingErrorResult, InfiniteQueryObserverLoadingResult, InfiniteQueryObserverOptions, InfiniteQueryObserverPendingResult, InfiniteQueryObserverPlaceholderResult, InfiniteQueryObserverRefetchErrorResult, InfiniteQueryObserverResult, InfiniteQueryObserverSuccessResult, InfiniteQueryPageParamsOptions, InitialDataFunction, InitialPageParam, InvalidateOptions, InvalidateQueryFilters, type ManagedTimerId, MutateFunction, MutateFunctionRest, MutateOptions, Mutation, MutationCache, type MutationCacheNotifyEvent, type MutationFilters, MutationFunction, MutationFunctionContext, MutationKey, MutationMeta, MutationObserver, MutationObserverBaseResult, MutationObserverErrorResult, MutationObserverIdleResult, MutationObserverLoadingResult, MutationObserverOptions, MutationObserverResult, MutationObserverSuccessResult, MutationOptions, MutationScope, type MutationState, MutationStatus, NetworkMode, NonUndefinedGuard, NotifyEvent, NotifyEventType, NotifyOnChangeProps, OmitKeyof, Override, PlaceholderDataFunction, QueriesObserver, type QueriesObserverOptions, QueriesPlaceholderDataFunction, Query, QueryBooleanOption, QueryCache, type QueryCacheNotifyEvent, QueryClient, QueryClientConfig, QueryExecuteOptions, type QueryFilters, QueryFunction, QueryFunctionContext, QueryKey, QueryKeyHashFunction, QueryKeyWithDataTag, QueryMeta, QueryObserver, QueryObserverBaseResult, QueryObserverLoadingErrorResult, QueryObserverLoadingResult, QueryObserverOptions, QueryObserverPendingResult, QueryObserverPlaceholderResult, QueryObserverRefetchErrorResult, QueryObserverResult, QueryObserverSuccessResult, QueryOptions, QueryPersister, type QueryState, QueryStatus, RefetchOptions, RefetchQueryFilters, Register, ResetOptions, ResultOptions, SetDataOptions, type SkipToken, StaleTime, StaleTimeFunction, ThrowOnError, type TimeoutCallback, type TimeoutProvider, UnsetMarker, type Updater, WithRequired, dataTagErrorSymbol, dataTagSymbol, defaultScheduler, defaultShouldDehydrateMutation, defaultShouldDehydrateQuery, dehydrate, dehydrateQuery, environmentManager, streamedQuery as experimental_streamedQuery, focusManager, hashKey, hydrate, isCancelledError, isServer, keepPreviousData, matchMutation, matchQuery, noop, notifyManager, onlineManager, partialMatchKey, replaceEqualDeep, shouldThrowError, skipToken, timeoutManager, unsetMarker };
|
package/build/modern/index.d.ts
CHANGED
|
@@ -1,141 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export { MutationObserver
|
|
11
|
-
export { defaultScheduler } from './_tsup-dts-rollup.js';
|
|
12
|
-
export { notifyManager } from './_tsup-dts-rollup.js';
|
|
13
|
-
export { onlineManager } from './_tsup-dts-rollup.js';
|
|
14
|
-
export { QueriesObserver } from './_tsup-dts-rollup.js';
|
|
15
|
-
export { QueryCache } from './_tsup-dts-rollup.js';
|
|
16
|
-
export { QueryCacheNotifyEvent } from './_tsup-dts-rollup.js';
|
|
17
|
-
export { QueryClient } from './_tsup-dts-rollup.js';
|
|
18
|
-
export { QueryObserver } from './_tsup-dts-rollup.js';
|
|
19
|
-
export { CancelledError } from './_tsup-dts-rollup.js';
|
|
20
|
-
export { isCancelledError } from './_tsup-dts-rollup.js';
|
|
21
|
-
export { timeoutManager } from './_tsup-dts-rollup.js';
|
|
22
|
-
export { ManagedTimerId } from './_tsup-dts-rollup.js';
|
|
23
|
-
export { TimeoutCallback } from './_tsup-dts-rollup.js';
|
|
24
|
-
export { TimeoutProvider } from './_tsup-dts-rollup.js';
|
|
25
|
-
export { hashKey } from './_tsup-dts-rollup.js';
|
|
26
|
-
export { isServer } from './_tsup-dts-rollup.js';
|
|
27
|
-
export { keepPreviousData } from './_tsup-dts-rollup.js';
|
|
28
|
-
export { matchMutation } from './_tsup-dts-rollup.js';
|
|
29
|
-
export { matchQuery } from './_tsup-dts-rollup.js';
|
|
30
|
-
export { noop } from './_tsup-dts-rollup.js';
|
|
31
|
-
export { partialMatchKey } from './_tsup-dts-rollup.js';
|
|
32
|
-
export { replaceEqualDeep } from './_tsup-dts-rollup.js';
|
|
33
|
-
export { shouldThrowError } from './_tsup-dts-rollup.js';
|
|
34
|
-
export { skipToken } from './_tsup-dts-rollup.js';
|
|
35
|
-
export { MutationFilters } from './_tsup-dts-rollup.js';
|
|
36
|
-
export { QueryFilters } from './_tsup-dts-rollup.js';
|
|
37
|
-
export { SkipToken } from './_tsup-dts-rollup.js';
|
|
38
|
-
export { Updater } from './_tsup-dts-rollup.js';
|
|
39
|
-
export { experimental_streamedQuery } from './_tsup-dts-rollup.js';
|
|
40
|
-
export { DehydratedState_alias_1 as DehydratedState } from './_tsup-dts-rollup.js';
|
|
41
|
-
export { DehydrateOptions_alias_1 as DehydrateOptions } from './_tsup-dts-rollup.js';
|
|
42
|
-
export { HydrateOptions_alias_1 as HydrateOptions } from './_tsup-dts-rollup.js';
|
|
43
|
-
export { Mutation } from './_tsup-dts-rollup.js';
|
|
44
|
-
export { MutationState } from './_tsup-dts-rollup.js';
|
|
45
|
-
export { QueriesObserverOptions } from './_tsup-dts-rollup.js';
|
|
46
|
-
export { Query } from './_tsup-dts-rollup.js';
|
|
47
|
-
export { QueryState } from './_tsup-dts-rollup.js';
|
|
48
|
-
export { NonUndefinedGuard } from './_tsup-dts-rollup.js';
|
|
49
|
-
export { DistributiveOmit } from './_tsup-dts-rollup.js';
|
|
50
|
-
export { OmitKeyof } from './_tsup-dts-rollup.js';
|
|
51
|
-
export { Override } from './_tsup-dts-rollup.js';
|
|
52
|
-
export { Register } from './_tsup-dts-rollup.js';
|
|
53
|
-
export { DefaultError } from './_tsup-dts-rollup.js';
|
|
54
|
-
export { QueryKey } from './_tsup-dts-rollup.js';
|
|
55
|
-
export { dataTagSymbol } from './_tsup-dts-rollup.js';
|
|
56
|
-
export { dataTagErrorSymbol } from './_tsup-dts-rollup.js';
|
|
57
|
-
export { unsetMarker } from './_tsup-dts-rollup.js';
|
|
58
|
-
export { UnsetMarker } from './_tsup-dts-rollup.js';
|
|
59
|
-
export { AnyDataTag } from './_tsup-dts-rollup.js';
|
|
60
|
-
export { DataTag } from './_tsup-dts-rollup.js';
|
|
61
|
-
export { InferDataFromTag } from './_tsup-dts-rollup.js';
|
|
62
|
-
export { InferErrorFromTag } from './_tsup-dts-rollup.js';
|
|
63
|
-
export { QueryFunction } from './_tsup-dts-rollup.js';
|
|
64
|
-
export { StaleTime } from './_tsup-dts-rollup.js';
|
|
65
|
-
export { StaleTimeFunction } from './_tsup-dts-rollup.js';
|
|
66
|
-
export { QueryBooleanOption } from './_tsup-dts-rollup.js';
|
|
67
|
-
export { QueryPersister } from './_tsup-dts-rollup.js';
|
|
68
|
-
export { QueryFunctionContext } from './_tsup-dts-rollup.js';
|
|
69
|
-
export { InitialDataFunction } from './_tsup-dts-rollup.js';
|
|
70
|
-
export { PlaceholderDataFunction } from './_tsup-dts-rollup.js';
|
|
71
|
-
export { QueriesPlaceholderDataFunction } from './_tsup-dts-rollup.js';
|
|
72
|
-
export { QueryKeyHashFunction } from './_tsup-dts-rollup.js';
|
|
73
|
-
export { GetPreviousPageParamFunction } from './_tsup-dts-rollup.js';
|
|
74
|
-
export { GetNextPageParamFunction } from './_tsup-dts-rollup.js';
|
|
75
|
-
export { InfiniteData } from './_tsup-dts-rollup.js';
|
|
76
|
-
export { QueryMeta } from './_tsup-dts-rollup.js';
|
|
77
|
-
export { NetworkMode } from './_tsup-dts-rollup.js';
|
|
78
|
-
export { NotifyOnChangeProps } from './_tsup-dts-rollup.js';
|
|
79
|
-
export { QueryOptions } from './_tsup-dts-rollup.js';
|
|
80
|
-
export { InitialPageParam } from './_tsup-dts-rollup.js';
|
|
81
|
-
export { InfiniteQueryPageParamsOptions } from './_tsup-dts-rollup.js';
|
|
82
|
-
export { ThrowOnError } from './_tsup-dts-rollup.js';
|
|
83
|
-
export { QueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
84
|
-
export { WithRequired } from './_tsup-dts-rollup.js';
|
|
85
|
-
export { DefaultedQueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
86
|
-
export { InfiniteQueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
87
|
-
export { DefaultedInfiniteQueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
88
|
-
export { FetchQueryOptions } from './_tsup-dts-rollup.js';
|
|
89
|
-
export { EnsureQueryDataOptions } from './_tsup-dts-rollup.js';
|
|
90
|
-
export { EnsureInfiniteQueryDataOptions } from './_tsup-dts-rollup.js';
|
|
91
|
-
export { FetchInfiniteQueryOptions } from './_tsup-dts-rollup.js';
|
|
92
|
-
export { ResultOptions } from './_tsup-dts-rollup.js';
|
|
93
|
-
export { RefetchOptions } from './_tsup-dts-rollup.js';
|
|
94
|
-
export { InvalidateQueryFilters } from './_tsup-dts-rollup.js';
|
|
95
|
-
export { RefetchQueryFilters } from './_tsup-dts-rollup.js';
|
|
96
|
-
export { InvalidateOptions } from './_tsup-dts-rollup.js';
|
|
97
|
-
export { ResetOptions } from './_tsup-dts-rollup.js';
|
|
98
|
-
export { FetchNextPageOptions } from './_tsup-dts-rollup.js';
|
|
99
|
-
export { FetchPreviousPageOptions } from './_tsup-dts-rollup.js';
|
|
100
|
-
export { QueryStatus } from './_tsup-dts-rollup.js';
|
|
101
|
-
export { FetchStatus } from './_tsup-dts-rollup.js';
|
|
102
|
-
export { QueryObserverBaseResult } from './_tsup-dts-rollup.js';
|
|
103
|
-
export { QueryObserverPendingResult } from './_tsup-dts-rollup.js';
|
|
104
|
-
export { QueryObserverLoadingResult } from './_tsup-dts-rollup.js';
|
|
105
|
-
export { QueryObserverLoadingErrorResult } from './_tsup-dts-rollup.js';
|
|
106
|
-
export { QueryObserverRefetchErrorResult } from './_tsup-dts-rollup.js';
|
|
107
|
-
export { QueryObserverSuccessResult } from './_tsup-dts-rollup.js';
|
|
108
|
-
export { QueryObserverPlaceholderResult } from './_tsup-dts-rollup.js';
|
|
109
|
-
export { DefinedQueryObserverResult } from './_tsup-dts-rollup.js';
|
|
110
|
-
export { QueryObserverResult } from './_tsup-dts-rollup.js';
|
|
111
|
-
export { InfiniteQueryObserverBaseResult } from './_tsup-dts-rollup.js';
|
|
112
|
-
export { InfiniteQueryObserverPendingResult } from './_tsup-dts-rollup.js';
|
|
113
|
-
export { InfiniteQueryObserverLoadingResult } from './_tsup-dts-rollup.js';
|
|
114
|
-
export { InfiniteQueryObserverLoadingErrorResult } from './_tsup-dts-rollup.js';
|
|
115
|
-
export { InfiniteQueryObserverRefetchErrorResult } from './_tsup-dts-rollup.js';
|
|
116
|
-
export { InfiniteQueryObserverSuccessResult } from './_tsup-dts-rollup.js';
|
|
117
|
-
export { InfiniteQueryObserverPlaceholderResult } from './_tsup-dts-rollup.js';
|
|
118
|
-
export { DefinedInfiniteQueryObserverResult } from './_tsup-dts-rollup.js';
|
|
119
|
-
export { InfiniteQueryObserverResult } from './_tsup-dts-rollup.js';
|
|
120
|
-
export { MutationKey } from './_tsup-dts-rollup.js';
|
|
121
|
-
export { MutationStatus } from './_tsup-dts-rollup.js';
|
|
122
|
-
export { MutationScope } from './_tsup-dts-rollup.js';
|
|
123
|
-
export { MutationMeta } from './_tsup-dts-rollup.js';
|
|
124
|
-
export { MutationFunctionContext } from './_tsup-dts-rollup.js';
|
|
125
|
-
export { MutationFunction } from './_tsup-dts-rollup.js';
|
|
126
|
-
export { MutationOptions } from './_tsup-dts-rollup.js';
|
|
127
|
-
export { MutationObserverOptions } from './_tsup-dts-rollup.js';
|
|
128
|
-
export { MutateOptions } from './_tsup-dts-rollup.js';
|
|
129
|
-
export { MutateFunction } from './_tsup-dts-rollup.js';
|
|
130
|
-
export { MutationObserverBaseResult } from './_tsup-dts-rollup.js';
|
|
131
|
-
export { MutationObserverIdleResult } from './_tsup-dts-rollup.js';
|
|
132
|
-
export { MutationObserverLoadingResult } from './_tsup-dts-rollup.js';
|
|
133
|
-
export { MutationObserverErrorResult } from './_tsup-dts-rollup.js';
|
|
134
|
-
export { MutationObserverSuccessResult } from './_tsup-dts-rollup.js';
|
|
135
|
-
export { MutationObserverResult } from './_tsup-dts-rollup.js';
|
|
136
|
-
export { QueryClientConfig } from './_tsup-dts-rollup.js';
|
|
137
|
-
export { DefaultOptions } from './_tsup-dts-rollup.js';
|
|
138
|
-
export { CancelOptions } from './_tsup-dts-rollup.js';
|
|
139
|
-
export { SetDataOptions } from './_tsup-dts-rollup.js';
|
|
140
|
-
export { NotifyEventType } from './_tsup-dts-rollup.js';
|
|
141
|
-
export { NotifyEvent } from './_tsup-dts-rollup.js';
|
|
1
|
+
import { environmentManager } from "./environmentManager.js";
|
|
2
|
+
import { focusManager } from "./focusManager.js";
|
|
3
|
+
import { $ as MutationObserverBaseResult, $t as CancelledError, A as InfiniteData, An as partialMatchKey, At as QueryObserverOptions, B as InfiniteQueryObserverSuccessResult, Bt as RefetchQueryFilters, C as FetchPreviousPageOptions, Ct as QueryKey, D as GetPreviousPageParamFunction, Dn as matchMutation, Dt as QueryObserverBaseResult, E as GetNextPageParamFunction, En as keepPreviousData, Et as QueryMeta, F as InfiniteQueryObserverOptions, Ft as QueryObserverSuccessResult, G as InvalidateQueryFilters, Gn as MutationCacheNotifyEvent, Gt as StaleTime, H as InitialDataFunction, Hn as MutationState, Ht as ResetOptions, I as InfiniteQueryObserverPendingResult, In as shouldThrowError, It as QueryOptions, J as MutateOptions, Jt as UnsetMarker, K as MutateFunction, Kn as MutationObserver, Kt as StaleTimeFunction, L as InfiniteQueryObserverPlaceholderResult, Ln as skipToken, Lt as QueryPersister, M as InfiniteQueryObserverBaseResult, Mn as replaceEqualDeep, Mt as QueryObserverPlaceholderResult, N as InfiniteQueryObserverLoadingErrorResult, Nt as QueryObserverRefetchErrorResult, O as InferDataFromTag, On as matchQuery, Ot as QueryObserverLoadingErrorResult, P as InfiniteQueryObserverLoadingResult, Pt as QueryObserverResult, Q as MutationMeta, Qn as Query, Qt as unsetMarker, R as InfiniteQueryObserverRefetchErrorResult, Rt as QueryStatus, S as FetchNextPageOptions, St as QueryFunctionContext, T as FetchStatus, Tt as QueryKeyWithDataTag, U as InitialPageParam, Ut as ResultOptions, V as InfiniteQueryPageParamsOptions, Vn as Mutation, Vt as Register, W as InvalidateOptions, Wn as MutationCache, Wt as SetDataOptions, X as MutationFunctionContext, Xt as dataTagErrorSymbol, Y as MutationFunction, Yt as WithRequired, Z as MutationKey, Zt as dataTagSymbol, _ as DefinedQueryObserverResult, _t as QueriesPlaceholderDataFunction, a as defaultShouldDehydrateQuery, an as isCancelledError, at as MutationObserverSuccessResult, b as EnsureQueryDataOptions, bn as hashKey, bt as QueryExecuteOptions, c as hydrate, cn as QueryCacheNotifyEvent, ct as MutationStatus, d as DataTag, dn as QueryFilters, dt as NotifyEvent, er as QueryState, et as MutationObserverErrorResult, f as DefaultError, ft as NotifyEventType, g as DefinedInfiniteQueryObserverResult, gt as PlaceholderDataFunction, h as DefaultedQueryObserverOptions, ht as Override, i as defaultShouldDehydrateMutation, it as MutationObserverResult, j as InfiniteQueryExecuteOptions, jt as QueryObserverPendingResult, k as InferErrorFromTag, kn as noop, kt as QueryObserverLoadingResult, l as AnyDataTag, lt as NetworkMode, m as DefaultedInfiniteQueryObserverOptions, mn as Updater, mt as OmitKeyof, n as DehydratedState, nr as QueryObserver, nt as MutationObserverLoadingResult, o as dehydrate, on as QueryClient, ot as MutationOptions, p as DefaultOptions, pn as SkipToken, pt as NotifyOnChangeProps, q as MutateFunctionRest, qt as ThrowOnError, r as HydrateOptions, rt as MutationObserverOptions, s as dehydrateQuery, sn as QueryCache, st as MutationScope, t as DehydrateOptions, tt as MutationObserverIdleResult, u as CancelOptions, un as MutationFilters, ut as NonUndefinedGuard, v as DistributiveOmit, vt as QueryBooleanOption, w as FetchQueryOptions, wn as isServer, wt as QueryKeyHashFunction, x as FetchInfiniteQueryOptions, xt as QueryFunction, y as EnsureInfiniteQueryDataOptions, yt as QueryClientConfig, z as InfiniteQueryObserverResult, zt as RefetchOptions } from "./hydration-Hebl6yHM.js";
|
|
4
|
+
import { InfiniteQueryObserver } from "./infiniteQueryObserver.js";
|
|
5
|
+
import { defaultScheduler, notifyManager } from "./notifyManager.js";
|
|
6
|
+
import { onlineManager } from "./onlineManager.js";
|
|
7
|
+
import { QueriesObserver, QueriesObserverOptions } from "./queriesObserver.js";
|
|
8
|
+
import { ManagedTimerId, TimeoutCallback, TimeoutProvider, timeoutManager } from "./timeoutManager.js";
|
|
9
|
+
import { streamedQuery } from "./streamedQuery.js";
|
|
10
|
+
export { AnyDataTag, CancelOptions, CancelledError, DataTag, DefaultError, DefaultOptions, DefaultedInfiniteQueryObserverOptions, DefaultedQueryObserverOptions, DefinedInfiniteQueryObserverResult, DefinedQueryObserverResult, type DehydrateOptions, type DehydratedState, DistributiveOmit, EnsureInfiniteQueryDataOptions, EnsureQueryDataOptions, FetchInfiniteQueryOptions, FetchNextPageOptions, FetchPreviousPageOptions, FetchQueryOptions, FetchStatus, GetNextPageParamFunction, GetPreviousPageParamFunction, type HydrateOptions, InferDataFromTag, InferErrorFromTag, InfiniteData, InfiniteQueryExecuteOptions, InfiniteQueryObserver, InfiniteQueryObserverBaseResult, InfiniteQueryObserverLoadingErrorResult, InfiniteQueryObserverLoadingResult, InfiniteQueryObserverOptions, InfiniteQueryObserverPendingResult, InfiniteQueryObserverPlaceholderResult, InfiniteQueryObserverRefetchErrorResult, InfiniteQueryObserverResult, InfiniteQueryObserverSuccessResult, InfiniteQueryPageParamsOptions, InitialDataFunction, InitialPageParam, InvalidateOptions, InvalidateQueryFilters, type ManagedTimerId, MutateFunction, MutateFunctionRest, MutateOptions, Mutation, MutationCache, type MutationCacheNotifyEvent, type MutationFilters, MutationFunction, MutationFunctionContext, MutationKey, MutationMeta, MutationObserver, MutationObserverBaseResult, MutationObserverErrorResult, MutationObserverIdleResult, MutationObserverLoadingResult, MutationObserverOptions, MutationObserverResult, MutationObserverSuccessResult, MutationOptions, MutationScope, type MutationState, MutationStatus, NetworkMode, NonUndefinedGuard, NotifyEvent, NotifyEventType, NotifyOnChangeProps, OmitKeyof, Override, PlaceholderDataFunction, QueriesObserver, type QueriesObserverOptions, QueriesPlaceholderDataFunction, Query, QueryBooleanOption, QueryCache, type QueryCacheNotifyEvent, QueryClient, QueryClientConfig, QueryExecuteOptions, type QueryFilters, QueryFunction, QueryFunctionContext, QueryKey, QueryKeyHashFunction, QueryKeyWithDataTag, QueryMeta, QueryObserver, QueryObserverBaseResult, QueryObserverLoadingErrorResult, QueryObserverLoadingResult, QueryObserverOptions, QueryObserverPendingResult, QueryObserverPlaceholderResult, QueryObserverRefetchErrorResult, QueryObserverResult, QueryObserverSuccessResult, QueryOptions, QueryPersister, type QueryState, QueryStatus, RefetchOptions, RefetchQueryFilters, Register, ResetOptions, ResultOptions, SetDataOptions, type SkipToken, StaleTime, StaleTimeFunction, ThrowOnError, type TimeoutCallback, type TimeoutProvider, UnsetMarker, type Updater, WithRequired, dataTagErrorSymbol, dataTagSymbol, defaultScheduler, defaultShouldDehydrateMutation, defaultShouldDehydrateQuery, dehydrate, dehydrateQuery, environmentManager, streamedQuery as experimental_streamedQuery, focusManager, hashKey, hydrate, isCancelledError, isServer, keepPreviousData, matchMutation, matchQuery, noop, notifyManager, onlineManager, partialMatchKey, replaceEqualDeep, shouldThrowError, skipToken, timeoutManager, unsetMarker };
|
package/build/modern/index.js
CHANGED
|
@@ -1,73 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
1
|
+
import { timeoutManager } from "./timeoutManager.js";
|
|
2
|
+
import { hashKey, isServer, keepPreviousData, matchMutation, matchQuery, noop, partialMatchKey, replaceEqualDeep, shouldThrowError, skipToken } from "./utils.js";
|
|
3
3
|
import { environmentManager } from "./environmentManager.js";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
4
|
+
import { focusManager } from "./focusManager.js";
|
|
5
|
+
import { defaultShouldDehydrateMutation, defaultShouldDehydrateQuery, dehydrate, dehydrateQuery, hydrate } from "./hydration.js";
|
|
6
|
+
import { defaultScheduler, notifyManager } from "./notifyManager.js";
|
|
7
|
+
import { onlineManager } from "./onlineManager.js";
|
|
8
|
+
import { CancelledError, isCancelledError } from "./retryer.js";
|
|
9
|
+
import { Query } from "./query.js";
|
|
10
|
+
import { QueryObserver } from "./queryObserver.js";
|
|
10
11
|
import { InfiniteQueryObserver } from "./infiniteQueryObserver.js";
|
|
12
|
+
import { Mutation } from "./mutation.js";
|
|
11
13
|
import { MutationCache } from "./mutationCache.js";
|
|
12
14
|
import { MutationObserver } from "./mutationObserver.js";
|
|
13
|
-
import { defaultScheduler, notifyManager } from "./notifyManager.js";
|
|
14
|
-
import { onlineManager } from "./onlineManager.js";
|
|
15
15
|
import { QueriesObserver } from "./queriesObserver.js";
|
|
16
16
|
import { QueryCache } from "./queryCache.js";
|
|
17
17
|
import { QueryClient } from "./queryClient.js";
|
|
18
|
-
import { QueryObserver } from "./queryObserver.js";
|
|
19
|
-
import { CancelledError, isCancelledError } from "./retryer.js";
|
|
20
|
-
import {
|
|
21
|
-
timeoutManager
|
|
22
|
-
} from "./timeoutManager.js";
|
|
23
|
-
import {
|
|
24
|
-
hashKey,
|
|
25
|
-
isServer,
|
|
26
|
-
keepPreviousData,
|
|
27
|
-
matchMutation,
|
|
28
|
-
matchQuery,
|
|
29
|
-
noop,
|
|
30
|
-
partialMatchKey,
|
|
31
|
-
replaceEqualDeep,
|
|
32
|
-
shouldThrowError,
|
|
33
|
-
skipToken
|
|
34
|
-
} from "./utils.js";
|
|
35
18
|
import { streamedQuery } from "./streamedQuery.js";
|
|
36
|
-
import {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
Mutation,
|
|
43
|
-
MutationCache,
|
|
44
|
-
MutationObserver,
|
|
45
|
-
QueriesObserver,
|
|
46
|
-
Query,
|
|
47
|
-
QueryCache,
|
|
48
|
-
QueryClient,
|
|
49
|
-
QueryObserver,
|
|
50
|
-
defaultScheduler,
|
|
51
|
-
defaultShouldDehydrateMutation,
|
|
52
|
-
defaultShouldDehydrateQuery,
|
|
53
|
-
dehydrate,
|
|
54
|
-
environmentManager,
|
|
55
|
-
streamedQuery as experimental_streamedQuery,
|
|
56
|
-
focusManager,
|
|
57
|
-
hashKey,
|
|
58
|
-
hydrate,
|
|
59
|
-
isCancelledError,
|
|
60
|
-
isServer,
|
|
61
|
-
keepPreviousData,
|
|
62
|
-
matchMutation,
|
|
63
|
-
matchQuery,
|
|
64
|
-
noop,
|
|
65
|
-
notifyManager,
|
|
66
|
-
onlineManager,
|
|
67
|
-
partialMatchKey,
|
|
68
|
-
replaceEqualDeep,
|
|
69
|
-
shouldThrowError,
|
|
70
|
-
skipToken,
|
|
71
|
-
timeoutManager
|
|
72
|
-
};
|
|
19
|
+
import { dataTagErrorSymbol, dataTagSymbol, unsetMarker } from "./types.js";
|
|
20
|
+
//#region src/index.ts
|
|
21
|
+
/* istanbul ignore file */
|
|
22
|
+
//#endregion
|
|
23
|
+
export { CancelledError, InfiniteQueryObserver, Mutation, MutationCache, MutationObserver, QueriesObserver, Query, QueryCache, QueryClient, QueryObserver, dataTagErrorSymbol, dataTagSymbol, defaultScheduler, defaultShouldDehydrateMutation, defaultShouldDehydrateQuery, dehydrate, dehydrateQuery, environmentManager, streamedQuery as experimental_streamedQuery, focusManager, hashKey, hydrate, isCancelledError, isServer, keepPreviousData, matchMutation, matchQuery, noop, notifyManager, onlineManager, partialMatchKey, replaceEqualDeep, shouldThrowError, skipToken, timeoutManager, unsetMarker };
|
|
24
|
+
|
|
73
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/* istanbul ignore file */\n\nexport { focusManager } from './focusManager'\nexport { environmentManager } from './environmentManager'\nexport {\n defaultShouldDehydrateMutation,\n defaultShouldDehydrateQuery,\n dehydrate,\n hydrate,\n} from './hydration'\nexport { InfiniteQueryObserver } from './infiniteQueryObserver'\nexport { MutationCache } from './mutationCache'\nexport type { MutationCacheNotifyEvent } from './mutationCache'\nexport { MutationObserver } from './mutationObserver'\nexport { defaultScheduler, notifyManager } from './notifyManager'\nexport { onlineManager } from './onlineManager'\nexport { QueriesObserver } from './queriesObserver'\nexport { QueryCache } from './queryCache'\nexport type { QueryCacheNotifyEvent } from './queryCache'\nexport { QueryClient } from './queryClient'\nexport { QueryObserver } from './queryObserver'\nexport { CancelledError, isCancelledError } from './retryer'\nexport {\n timeoutManager,\n type ManagedTimerId,\n type TimeoutCallback,\n type TimeoutProvider,\n} from './timeoutManager'\nexport {\n hashKey,\n isServer,\n keepPreviousData,\n matchMutation,\n matchQuery,\n noop,\n partialMatchKey,\n replaceEqualDeep,\n shouldThrowError,\n skipToken,\n} from './utils'\nexport type { MutationFilters, QueryFilters, SkipToken, Updater } from './utils'\n\nexport { streamedQuery as experimental_streamedQuery } from './streamedQuery'\n\n// Types\nexport type {\n DehydratedState,\n DehydrateOptions,\n HydrateOptions,\n} from './hydration'\nexport { Mutation } from './mutation'\nexport type { MutationState } from './mutation'\nexport type { QueriesObserverOptions } from './queriesObserver'\nexport { Query } from './query'\nexport type { QueryState } from './query'\nexport * from './types'\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/index.ts"],"sourcesContent":["/* istanbul ignore file */\n\nexport { focusManager } from './focusManager'\nexport { environmentManager } from './environmentManager'\nexport {\n defaultShouldDehydrateMutation,\n defaultShouldDehydrateQuery,\n dehydrate,\n dehydrateQuery,\n hydrate,\n} from './hydration'\nexport { InfiniteQueryObserver } from './infiniteQueryObserver'\nexport { MutationCache } from './mutationCache'\nexport type { MutationCacheNotifyEvent } from './mutationCache'\nexport { MutationObserver } from './mutationObserver'\nexport { defaultScheduler, notifyManager } from './notifyManager'\nexport { onlineManager } from './onlineManager'\nexport { QueriesObserver } from './queriesObserver'\nexport { QueryCache } from './queryCache'\nexport type { QueryCacheNotifyEvent } from './queryCache'\nexport { QueryClient } from './queryClient'\nexport { QueryObserver } from './queryObserver'\nexport { CancelledError, isCancelledError } from './retryer'\nexport {\n timeoutManager,\n type ManagedTimerId,\n type TimeoutCallback,\n type TimeoutProvider,\n} from './timeoutManager'\nexport {\n hashKey,\n isServer,\n keepPreviousData,\n matchMutation,\n matchQuery,\n noop,\n partialMatchKey,\n replaceEqualDeep,\n shouldThrowError,\n skipToken,\n} from './utils'\nexport type { MutationFilters, QueryFilters, SkipToken, Updater } from './utils'\n\nexport { streamedQuery as experimental_streamedQuery } from './streamedQuery'\n\n// Types\nexport type {\n DehydratedState,\n DehydrateOptions,\n HydrateOptions,\n} from './hydration'\nexport { Mutation } from './mutation'\nexport type { MutationState } from './mutation'\nexport type { QueriesObserverOptions } from './queriesObserver'\nexport { Query } from './query'\nexport type { QueryState } from './query'\nexport * from './types'\n"],"mappings":""}
|