@tanstack/vue-query 5.92.9 → 5.92.12
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/_tsup-dts-rollup.d.cts +855 -0
- package/build/legacy/_tsup-dts-rollup.d.ts +855 -0
- package/build/legacy/devtools/devtools.d.cts +1 -8
- package/build/legacy/devtools/devtools.d.ts +1 -8
- package/build/legacy/devtools/utils.d.cts +5 -17
- package/build/legacy/devtools/utils.d.ts +5 -17
- package/build/legacy/index.d.cts +169 -14
- package/build/legacy/index.d.ts +169 -14
- package/build/legacy/infiniteQueryOptions.d.cts +3 -4
- package/build/legacy/infiniteQueryOptions.d.ts +3 -4
- package/build/legacy/mutationCache.d.cts +1 -10
- package/build/legacy/mutationCache.d.ts +1 -10
- package/build/legacy/queryCache.d.cts +1 -10
- package/build/legacy/queryCache.d.ts +1 -10
- package/build/legacy/queryClient.d.cts +1 -4
- package/build/legacy/queryClient.d.ts +1 -4
- package/build/legacy/queryOptions.d.cts +1 -13
- package/build/legacy/queryOptions.d.ts +1 -13
- package/build/legacy/types.d.cts +9 -34
- package/build/legacy/types.d.ts +9 -34
- package/build/legacy/useBaseQuery.d.cts +2 -4
- package/build/legacy/useBaseQuery.d.ts +2 -4
- package/build/legacy/useInfiniteQuery.d.cts +3 -4
- package/build/legacy/useInfiniteQuery.d.ts +3 -4
- package/build/legacy/useIsFetching.d.cts +2 -9
- package/build/legacy/useIsFetching.d.ts +2 -9
- package/build/legacy/useMutation.cjs.map +1 -1
- package/build/legacy/useMutation.d.cts +3 -17
- package/build/legacy/useMutation.d.ts +3 -17
- package/build/legacy/useMutation.js.map +1 -1
- package/build/legacy/useMutationState.d.cts +4 -14
- package/build/legacy/useMutationState.d.ts +4 -14
- package/build/legacy/useQueries.d.cts +3 -86
- package/build/legacy/useQueries.d.ts +3 -86
- package/build/legacy/useQuery.d.cts +6 -4
- package/build/legacy/useQuery.d.ts +6 -4
- package/build/legacy/useQueryClient.d.cts +1 -8
- package/build/legacy/useQueryClient.d.ts +1 -8
- package/build/legacy/utils.d.cts +5 -11
- package/build/legacy/utils.d.ts +5 -11
- package/build/legacy/vueQueryPlugin.d.cts +2 -24
- package/build/legacy/vueQueryPlugin.d.ts +2 -24
- package/build/modern/_tsup-dts-rollup.d.cts +855 -0
- package/build/modern/_tsup-dts-rollup.d.ts +855 -0
- package/build/modern/devtools/devtools.d.cts +1 -8
- package/build/modern/devtools/devtools.d.ts +1 -8
- package/build/modern/devtools/utils.d.cts +5 -17
- package/build/modern/devtools/utils.d.ts +5 -17
- package/build/modern/index.d.cts +169 -14
- package/build/modern/index.d.ts +169 -14
- package/build/modern/infiniteQueryOptions.d.cts +3 -4
- package/build/modern/infiniteQueryOptions.d.ts +3 -4
- package/build/modern/mutationCache.d.cts +1 -10
- package/build/modern/mutationCache.d.ts +1 -10
- package/build/modern/queryCache.d.cts +1 -10
- package/build/modern/queryCache.d.ts +1 -10
- package/build/modern/queryClient.d.cts +1 -4
- package/build/modern/queryClient.d.ts +1 -4
- package/build/modern/queryOptions.d.cts +1 -13
- package/build/modern/queryOptions.d.ts +1 -13
- package/build/modern/types.d.cts +9 -34
- package/build/modern/types.d.ts +9 -34
- package/build/modern/useBaseQuery.d.cts +2 -4
- package/build/modern/useBaseQuery.d.ts +2 -4
- package/build/modern/useInfiniteQuery.d.cts +3 -4
- package/build/modern/useInfiniteQuery.d.ts +3 -4
- package/build/modern/useIsFetching.d.cts +2 -9
- package/build/modern/useIsFetching.d.ts +2 -9
- package/build/modern/useMutation.cjs.map +1 -1
- package/build/modern/useMutation.d.cts +3 -17
- package/build/modern/useMutation.d.ts +3 -17
- package/build/modern/useMutation.js.map +1 -1
- package/build/modern/useMutationState.d.cts +4 -14
- package/build/modern/useMutationState.d.ts +4 -14
- package/build/modern/useQueries.d.cts +3 -86
- package/build/modern/useQueries.d.ts +3 -86
- package/build/modern/useQuery.d.cts +6 -4
- package/build/modern/useQuery.d.ts +6 -4
- package/build/modern/useQueryClient.d.cts +1 -8
- package/build/modern/useQueryClient.d.ts +1 -8
- package/build/modern/utils.d.cts +5 -11
- package/build/modern/utils.d.ts +5 -11
- package/build/modern/vueQueryPlugin.d.cts +2 -24
- package/build/modern/vueQueryPlugin.d.ts +2 -24
- package/package.json +5 -6
- package/src/useMutation.ts +5 -1
- package/build/legacy/queryClient-BkvcxQg7.d.cts +0 -83
- package/build/legacy/queryClient-CcE04-Qt.d.ts +0 -83
- package/build/modern/queryClient-BkvcxQg7.d.cts +0 -83
- package/build/modern/queryClient-CcE04-Qt.d.ts +0 -83
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import '@tanstack/query-core';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
import '../types.cjs';
|
|
5
|
-
|
|
6
|
-
declare function setupDevtools(app: any, queryClient: QueryClient): void;
|
|
7
|
-
|
|
8
|
-
export { setupDevtools };
|
|
1
|
+
export { setupDevtools } from '../_tsup-dts-rollup.cjs';
|
|
@@ -1,8 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import '@tanstack/query-core';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
import '../types.js';
|
|
5
|
-
|
|
6
|
-
declare function setupDevtools(app: any, queryClient: QueryClient): void;
|
|
7
|
-
|
|
8
|
-
export { setupDevtools };
|
|
1
|
+
export { setupDevtools } from '../_tsup-dts-rollup.js';
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Fresh = 1,
|
|
7
|
-
Stale = 2,
|
|
8
|
-
Inactive = 3,
|
|
9
|
-
Paused = 4
|
|
10
|
-
}
|
|
11
|
-
declare function getQueryState(query: Query): QueryState;
|
|
12
|
-
declare function getQueryStateLabel(query: Query): string;
|
|
13
|
-
declare function getQueryStatusFg(query: Query): number;
|
|
14
|
-
declare function getQueryStatusBg(query: Query): number;
|
|
15
|
-
declare const sortFns: Record<string, SortFn>;
|
|
16
|
-
|
|
17
|
-
export { getQueryState, getQueryStateLabel, getQueryStatusBg, getQueryStatusFg, sortFns };
|
|
1
|
+
export { getQueryState } from '../_tsup-dts-rollup.cjs';
|
|
2
|
+
export { getQueryStateLabel } from '../_tsup-dts-rollup.cjs';
|
|
3
|
+
export { getQueryStatusFg } from '../_tsup-dts-rollup.cjs';
|
|
4
|
+
export { getQueryStatusBg } from '../_tsup-dts-rollup.cjs';
|
|
5
|
+
export { sortFns } from '../_tsup-dts-rollup.cjs';
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Fresh = 1,
|
|
7
|
-
Stale = 2,
|
|
8
|
-
Inactive = 3,
|
|
9
|
-
Paused = 4
|
|
10
|
-
}
|
|
11
|
-
declare function getQueryState(query: Query): QueryState;
|
|
12
|
-
declare function getQueryStateLabel(query: Query): string;
|
|
13
|
-
declare function getQueryStatusFg(query: Query): number;
|
|
14
|
-
declare function getQueryStatusBg(query: Query): number;
|
|
15
|
-
declare const sortFns: Record<string, SortFn>;
|
|
16
|
-
|
|
17
|
-
export { getQueryState, getQueryStateLabel, getQueryStatusBg, getQueryStatusFg, sortFns };
|
|
1
|
+
export { getQueryState } from '../_tsup-dts-rollup.js';
|
|
2
|
+
export { getQueryStateLabel } from '../_tsup-dts-rollup.js';
|
|
3
|
+
export { getQueryStatusFg } from '../_tsup-dts-rollup.js';
|
|
4
|
+
export { getQueryStatusBg } from '../_tsup-dts-rollup.js';
|
|
5
|
+
export { sortFns } from '../_tsup-dts-rollup.js';
|
package/build/legacy/index.d.cts
CHANGED
|
@@ -1,14 +1,169 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
export { useQueryClient } from './_tsup-dts-rollup.cjs';
|
|
2
|
+
export { VueQueryPlugin } from './_tsup-dts-rollup.cjs';
|
|
3
|
+
export { QueryClient } from './_tsup-dts-rollup.cjs';
|
|
4
|
+
export { QueryCache } from './_tsup-dts-rollup.cjs';
|
|
5
|
+
export { queryOptions } from './_tsup-dts-rollup.cjs';
|
|
6
|
+
export { infiniteQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
7
|
+
export { DefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.cjs';
|
|
8
|
+
export { UndefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.cjs';
|
|
9
|
+
export { MutationCache } from './_tsup-dts-rollup.cjs';
|
|
10
|
+
export { useQuery } from './_tsup-dts-rollup.cjs';
|
|
11
|
+
export { useQueries } from './_tsup-dts-rollup.cjs';
|
|
12
|
+
export { useInfiniteQuery } from './_tsup-dts-rollup.cjs';
|
|
13
|
+
export { useMutation } from './_tsup-dts-rollup.cjs';
|
|
14
|
+
export { useIsFetching } from './_tsup-dts-rollup.cjs';
|
|
15
|
+
export { useIsMutating } from './_tsup-dts-rollup.cjs';
|
|
16
|
+
export { useMutationState } from './_tsup-dts-rollup.cjs';
|
|
17
|
+
export { VUE_QUERY_CLIENT } from './_tsup-dts-rollup.cjs';
|
|
18
|
+
export { UseQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
19
|
+
export { UseQueryReturnType } from './_tsup-dts-rollup.cjs';
|
|
20
|
+
export { UseQueryDefinedReturnType } from './_tsup-dts-rollup.cjs';
|
|
21
|
+
export { UndefinedInitialQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
22
|
+
export { DefinedInitialQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
23
|
+
export { UseInfiniteQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
24
|
+
export { UseInfiniteQueryReturnType } from './_tsup-dts-rollup.cjs';
|
|
25
|
+
export { UseMutationOptions } from './_tsup-dts-rollup.cjs';
|
|
26
|
+
export { UseMutationReturnType } from './_tsup-dts-rollup.cjs';
|
|
27
|
+
export { UseQueriesOptions } from './_tsup-dts-rollup.cjs';
|
|
28
|
+
export { UseQueriesResults } from './_tsup-dts-rollup.cjs';
|
|
29
|
+
export { MutationFilters } from './_tsup-dts-rollup.cjs';
|
|
30
|
+
export { MutationStateOptions } from './_tsup-dts-rollup.cjs';
|
|
31
|
+
export { QueryFilters } from './_tsup-dts-rollup.cjs';
|
|
32
|
+
export { VueQueryPluginOptions } from './_tsup-dts-rollup.cjs';
|
|
33
|
+
export { focusManager } from './_tsup-dts-rollup.cjs';
|
|
34
|
+
export { environmentManager } from './_tsup-dts-rollup.cjs';
|
|
35
|
+
export { defaultShouldDehydrateMutation } from './_tsup-dts-rollup.cjs';
|
|
36
|
+
export { defaultShouldDehydrateQuery } from './_tsup-dts-rollup.cjs';
|
|
37
|
+
export { dehydrate } from './_tsup-dts-rollup.cjs';
|
|
38
|
+
export { hydrate } from './_tsup-dts-rollup.cjs';
|
|
39
|
+
export { InfiniteQueryObserver } from './_tsup-dts-rollup.cjs';
|
|
40
|
+
export { MutationCacheNotifyEvent } from './_tsup-dts-rollup.cjs';
|
|
41
|
+
export { MutationObserver } from './_tsup-dts-rollup.cjs';
|
|
42
|
+
export { defaultScheduler } from './_tsup-dts-rollup.cjs';
|
|
43
|
+
export { notifyManager } from './_tsup-dts-rollup.cjs';
|
|
44
|
+
export { onlineManager } from './_tsup-dts-rollup.cjs';
|
|
45
|
+
export { QueriesObserver } from './_tsup-dts-rollup.cjs';
|
|
46
|
+
export { QueryCacheNotifyEvent } from './_tsup-dts-rollup.cjs';
|
|
47
|
+
export { QueryObserver } from './_tsup-dts-rollup.cjs';
|
|
48
|
+
export { CancelledError } from './_tsup-dts-rollup.cjs';
|
|
49
|
+
export { isCancelledError } from './_tsup-dts-rollup.cjs';
|
|
50
|
+
export { timeoutManager } from './_tsup-dts-rollup.cjs';
|
|
51
|
+
export { ManagedTimerId } from './_tsup-dts-rollup.cjs';
|
|
52
|
+
export { TimeoutCallback } from './_tsup-dts-rollup.cjs';
|
|
53
|
+
export { TimeoutProvider } from './_tsup-dts-rollup.cjs';
|
|
54
|
+
export { hashKey } from './_tsup-dts-rollup.cjs';
|
|
55
|
+
export { isServer } from './_tsup-dts-rollup.cjs';
|
|
56
|
+
export { keepPreviousData } from './_tsup-dts-rollup.cjs';
|
|
57
|
+
export { matchMutation } from './_tsup-dts-rollup.cjs';
|
|
58
|
+
export { matchQuery } from './_tsup-dts-rollup.cjs';
|
|
59
|
+
export { noop } from './_tsup-dts-rollup.cjs';
|
|
60
|
+
export { partialMatchKey } from './_tsup-dts-rollup.cjs';
|
|
61
|
+
export { replaceEqualDeep } from './_tsup-dts-rollup.cjs';
|
|
62
|
+
export { shouldThrowError } from './_tsup-dts-rollup.cjs';
|
|
63
|
+
export { skipToken } from './_tsup-dts-rollup.cjs';
|
|
64
|
+
export { SkipToken } from './_tsup-dts-rollup.cjs';
|
|
65
|
+
export { Updater } from './_tsup-dts-rollup.cjs';
|
|
66
|
+
export { experimental_streamedQuery } from './_tsup-dts-rollup.cjs';
|
|
67
|
+
export { DehydratedState } from './_tsup-dts-rollup.cjs';
|
|
68
|
+
export { DehydrateOptions } from './_tsup-dts-rollup.cjs';
|
|
69
|
+
export { HydrateOptions } from './_tsup-dts-rollup.cjs';
|
|
70
|
+
export { Mutation } from './_tsup-dts-rollup.cjs';
|
|
71
|
+
export { MutationState } from './_tsup-dts-rollup.cjs';
|
|
72
|
+
export { QueriesObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
73
|
+
export { Query } from './_tsup-dts-rollup.cjs';
|
|
74
|
+
export { QueryState } from './_tsup-dts-rollup.cjs';
|
|
75
|
+
export { NonUndefinedGuard } from './_tsup-dts-rollup.cjs';
|
|
76
|
+
export { DistributiveOmit } from './_tsup-dts-rollup.cjs';
|
|
77
|
+
export { OmitKeyof } from './_tsup-dts-rollup.cjs';
|
|
78
|
+
export { Override } from './_tsup-dts-rollup.cjs';
|
|
79
|
+
export { NoInfer } from './_tsup-dts-rollup.cjs';
|
|
80
|
+
export { Register } from './_tsup-dts-rollup.cjs';
|
|
81
|
+
export { DefaultError } from './_tsup-dts-rollup.cjs';
|
|
82
|
+
export { QueryKey } from './_tsup-dts-rollup.cjs';
|
|
83
|
+
export { dataTagSymbol } from './_tsup-dts-rollup.cjs';
|
|
84
|
+
export { dataTagErrorSymbol } from './_tsup-dts-rollup.cjs';
|
|
85
|
+
export { unsetMarker } from './_tsup-dts-rollup.cjs';
|
|
86
|
+
export { UnsetMarker } from './_tsup-dts-rollup.cjs';
|
|
87
|
+
export { AnyDataTag } from './_tsup-dts-rollup.cjs';
|
|
88
|
+
export { DataTag } from './_tsup-dts-rollup.cjs';
|
|
89
|
+
export { InferDataFromTag } from './_tsup-dts-rollup.cjs';
|
|
90
|
+
export { InferErrorFromTag } from './_tsup-dts-rollup.cjs';
|
|
91
|
+
export { QueryFunction } from './_tsup-dts-rollup.cjs';
|
|
92
|
+
export { StaleTime } from './_tsup-dts-rollup.cjs';
|
|
93
|
+
export { StaleTimeFunction } from './_tsup-dts-rollup.cjs';
|
|
94
|
+
export { Enabled } from './_tsup-dts-rollup.cjs';
|
|
95
|
+
export { QueryPersister } from './_tsup-dts-rollup.cjs';
|
|
96
|
+
export { QueryFunctionContext } from './_tsup-dts-rollup.cjs';
|
|
97
|
+
export { InitialDataFunction } from './_tsup-dts-rollup.cjs';
|
|
98
|
+
export { PlaceholderDataFunction } from './_tsup-dts-rollup.cjs';
|
|
99
|
+
export { QueriesPlaceholderDataFunction } from './_tsup-dts-rollup.cjs';
|
|
100
|
+
export { QueryKeyHashFunction } from './_tsup-dts-rollup.cjs';
|
|
101
|
+
export { GetPreviousPageParamFunction } from './_tsup-dts-rollup.cjs';
|
|
102
|
+
export { GetNextPageParamFunction } from './_tsup-dts-rollup.cjs';
|
|
103
|
+
export { InfiniteData } from './_tsup-dts-rollup.cjs';
|
|
104
|
+
export { QueryMeta } from './_tsup-dts-rollup.cjs';
|
|
105
|
+
export { NetworkMode } from './_tsup-dts-rollup.cjs';
|
|
106
|
+
export { NotifyOnChangeProps } from './_tsup-dts-rollup.cjs';
|
|
107
|
+
export { QueryOptions } from './_tsup-dts-rollup.cjs';
|
|
108
|
+
export { InitialPageParam } from './_tsup-dts-rollup.cjs';
|
|
109
|
+
export { InfiniteQueryPageParamsOptions } from './_tsup-dts-rollup.cjs';
|
|
110
|
+
export { ThrowOnError } from './_tsup-dts-rollup.cjs';
|
|
111
|
+
export { QueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
112
|
+
export { WithRequired } from './_tsup-dts-rollup.cjs';
|
|
113
|
+
export { DefaultedQueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
114
|
+
export { InfiniteQueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
115
|
+
export { DefaultedInfiniteQueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
116
|
+
export { FetchQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
117
|
+
export { EnsureQueryDataOptions } from './_tsup-dts-rollup.cjs';
|
|
118
|
+
export { EnsureInfiniteQueryDataOptions } from './_tsup-dts-rollup.cjs';
|
|
119
|
+
export { FetchInfiniteQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
120
|
+
export { ResultOptions } from './_tsup-dts-rollup.cjs';
|
|
121
|
+
export { RefetchOptions } from './_tsup-dts-rollup.cjs';
|
|
122
|
+
export { InvalidateQueryFilters } from './_tsup-dts-rollup.cjs';
|
|
123
|
+
export { RefetchQueryFilters } from './_tsup-dts-rollup.cjs';
|
|
124
|
+
export { InvalidateOptions } from './_tsup-dts-rollup.cjs';
|
|
125
|
+
export { ResetOptions } from './_tsup-dts-rollup.cjs';
|
|
126
|
+
export { FetchNextPageOptions } from './_tsup-dts-rollup.cjs';
|
|
127
|
+
export { FetchPreviousPageOptions } from './_tsup-dts-rollup.cjs';
|
|
128
|
+
export { QueryStatus } from './_tsup-dts-rollup.cjs';
|
|
129
|
+
export { FetchStatus } from './_tsup-dts-rollup.cjs';
|
|
130
|
+
export { QueryObserverBaseResult } from './_tsup-dts-rollup.cjs';
|
|
131
|
+
export { QueryObserverPendingResult } from './_tsup-dts-rollup.cjs';
|
|
132
|
+
export { QueryObserverLoadingResult } from './_tsup-dts-rollup.cjs';
|
|
133
|
+
export { QueryObserverLoadingErrorResult } from './_tsup-dts-rollup.cjs';
|
|
134
|
+
export { QueryObserverRefetchErrorResult } from './_tsup-dts-rollup.cjs';
|
|
135
|
+
export { QueryObserverSuccessResult } from './_tsup-dts-rollup.cjs';
|
|
136
|
+
export { QueryObserverPlaceholderResult } from './_tsup-dts-rollup.cjs';
|
|
137
|
+
export { DefinedQueryObserverResult } from './_tsup-dts-rollup.cjs';
|
|
138
|
+
export { QueryObserverResult } from './_tsup-dts-rollup.cjs';
|
|
139
|
+
export { InfiniteQueryObserverBaseResult } from './_tsup-dts-rollup.cjs';
|
|
140
|
+
export { InfiniteQueryObserverPendingResult } from './_tsup-dts-rollup.cjs';
|
|
141
|
+
export { InfiniteQueryObserverLoadingResult } from './_tsup-dts-rollup.cjs';
|
|
142
|
+
export { InfiniteQueryObserverLoadingErrorResult } from './_tsup-dts-rollup.cjs';
|
|
143
|
+
export { InfiniteQueryObserverRefetchErrorResult } from './_tsup-dts-rollup.cjs';
|
|
144
|
+
export { InfiniteQueryObserverSuccessResult } from './_tsup-dts-rollup.cjs';
|
|
145
|
+
export { InfiniteQueryObserverPlaceholderResult } from './_tsup-dts-rollup.cjs';
|
|
146
|
+
export { DefinedInfiniteQueryObserverResult } from './_tsup-dts-rollup.cjs';
|
|
147
|
+
export { InfiniteQueryObserverResult } from './_tsup-dts-rollup.cjs';
|
|
148
|
+
export { MutationKey } from './_tsup-dts-rollup.cjs';
|
|
149
|
+
export { MutationStatus } from './_tsup-dts-rollup.cjs';
|
|
150
|
+
export { MutationScope } from './_tsup-dts-rollup.cjs';
|
|
151
|
+
export { MutationMeta } from './_tsup-dts-rollup.cjs';
|
|
152
|
+
export { MutationFunctionContext } from './_tsup-dts-rollup.cjs';
|
|
153
|
+
export { MutationFunction } from './_tsup-dts-rollup.cjs';
|
|
154
|
+
export { MutationOptions } from './_tsup-dts-rollup.cjs';
|
|
155
|
+
export { MutationObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
156
|
+
export { MutateOptions } from './_tsup-dts-rollup.cjs';
|
|
157
|
+
export { MutateFunction } from './_tsup-dts-rollup.cjs';
|
|
158
|
+
export { MutationObserverBaseResult } from './_tsup-dts-rollup.cjs';
|
|
159
|
+
export { MutationObserverIdleResult } from './_tsup-dts-rollup.cjs';
|
|
160
|
+
export { MutationObserverLoadingResult } from './_tsup-dts-rollup.cjs';
|
|
161
|
+
export { MutationObserverErrorResult } from './_tsup-dts-rollup.cjs';
|
|
162
|
+
export { MutationObserverSuccessResult } from './_tsup-dts-rollup.cjs';
|
|
163
|
+
export { MutationObserverResult } from './_tsup-dts-rollup.cjs';
|
|
164
|
+
export { QueryClientConfig } from './_tsup-dts-rollup.cjs';
|
|
165
|
+
export { DefaultOptions } from './_tsup-dts-rollup.cjs';
|
|
166
|
+
export { CancelOptions } from './_tsup-dts-rollup.cjs';
|
|
167
|
+
export { SetDataOptions } from './_tsup-dts-rollup.cjs';
|
|
168
|
+
export { NotifyEventType } from './_tsup-dts-rollup.cjs';
|
|
169
|
+
export { NotifyEvent } from './_tsup-dts-rollup.cjs';
|
package/build/legacy/index.d.ts
CHANGED
|
@@ -1,14 +1,169 @@
|
|
|
1
|
-
export
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
export { useQueryClient } from './_tsup-dts-rollup.js';
|
|
2
|
+
export { VueQueryPlugin } from './_tsup-dts-rollup.js';
|
|
3
|
+
export { QueryClient } from './_tsup-dts-rollup.js';
|
|
4
|
+
export { QueryCache } from './_tsup-dts-rollup.js';
|
|
5
|
+
export { queryOptions } from './_tsup-dts-rollup.js';
|
|
6
|
+
export { infiniteQueryOptions } from './_tsup-dts-rollup.js';
|
|
7
|
+
export { DefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.js';
|
|
8
|
+
export { UndefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.js';
|
|
9
|
+
export { MutationCache } from './_tsup-dts-rollup.js';
|
|
10
|
+
export { useQuery } from './_tsup-dts-rollup.js';
|
|
11
|
+
export { useQueries } from './_tsup-dts-rollup.js';
|
|
12
|
+
export { useInfiniteQuery } from './_tsup-dts-rollup.js';
|
|
13
|
+
export { useMutation } from './_tsup-dts-rollup.js';
|
|
14
|
+
export { useIsFetching } from './_tsup-dts-rollup.js';
|
|
15
|
+
export { useIsMutating } from './_tsup-dts-rollup.js';
|
|
16
|
+
export { useMutationState } from './_tsup-dts-rollup.js';
|
|
17
|
+
export { VUE_QUERY_CLIENT } from './_tsup-dts-rollup.js';
|
|
18
|
+
export { UseQueryOptions } from './_tsup-dts-rollup.js';
|
|
19
|
+
export { UseQueryReturnType } from './_tsup-dts-rollup.js';
|
|
20
|
+
export { UseQueryDefinedReturnType } from './_tsup-dts-rollup.js';
|
|
21
|
+
export { UndefinedInitialQueryOptions } from './_tsup-dts-rollup.js';
|
|
22
|
+
export { DefinedInitialQueryOptions } from './_tsup-dts-rollup.js';
|
|
23
|
+
export { UseInfiniteQueryOptions } from './_tsup-dts-rollup.js';
|
|
24
|
+
export { UseInfiniteQueryReturnType } from './_tsup-dts-rollup.js';
|
|
25
|
+
export { UseMutationOptions } from './_tsup-dts-rollup.js';
|
|
26
|
+
export { UseMutationReturnType } from './_tsup-dts-rollup.js';
|
|
27
|
+
export { UseQueriesOptions } from './_tsup-dts-rollup.js';
|
|
28
|
+
export { UseQueriesResults } from './_tsup-dts-rollup.js';
|
|
29
|
+
export { MutationFilters } from './_tsup-dts-rollup.js';
|
|
30
|
+
export { MutationStateOptions } from './_tsup-dts-rollup.js';
|
|
31
|
+
export { QueryFilters } from './_tsup-dts-rollup.js';
|
|
32
|
+
export { VueQueryPluginOptions } from './_tsup-dts-rollup.js';
|
|
33
|
+
export { focusManager } from './_tsup-dts-rollup.js';
|
|
34
|
+
export { environmentManager } from './_tsup-dts-rollup.js';
|
|
35
|
+
export { defaultShouldDehydrateMutation } from './_tsup-dts-rollup.js';
|
|
36
|
+
export { defaultShouldDehydrateQuery } from './_tsup-dts-rollup.js';
|
|
37
|
+
export { dehydrate } from './_tsup-dts-rollup.js';
|
|
38
|
+
export { hydrate } from './_tsup-dts-rollup.js';
|
|
39
|
+
export { InfiniteQueryObserver } from './_tsup-dts-rollup.js';
|
|
40
|
+
export { MutationCacheNotifyEvent } from './_tsup-dts-rollup.js';
|
|
41
|
+
export { MutationObserver } from './_tsup-dts-rollup.js';
|
|
42
|
+
export { defaultScheduler } from './_tsup-dts-rollup.js';
|
|
43
|
+
export { notifyManager } from './_tsup-dts-rollup.js';
|
|
44
|
+
export { onlineManager } from './_tsup-dts-rollup.js';
|
|
45
|
+
export { QueriesObserver } from './_tsup-dts-rollup.js';
|
|
46
|
+
export { QueryCacheNotifyEvent } from './_tsup-dts-rollup.js';
|
|
47
|
+
export { QueryObserver } from './_tsup-dts-rollup.js';
|
|
48
|
+
export { CancelledError } from './_tsup-dts-rollup.js';
|
|
49
|
+
export { isCancelledError } from './_tsup-dts-rollup.js';
|
|
50
|
+
export { timeoutManager } from './_tsup-dts-rollup.js';
|
|
51
|
+
export { ManagedTimerId } from './_tsup-dts-rollup.js';
|
|
52
|
+
export { TimeoutCallback } from './_tsup-dts-rollup.js';
|
|
53
|
+
export { TimeoutProvider } from './_tsup-dts-rollup.js';
|
|
54
|
+
export { hashKey } from './_tsup-dts-rollup.js';
|
|
55
|
+
export { isServer } from './_tsup-dts-rollup.js';
|
|
56
|
+
export { keepPreviousData } from './_tsup-dts-rollup.js';
|
|
57
|
+
export { matchMutation } from './_tsup-dts-rollup.js';
|
|
58
|
+
export { matchQuery } from './_tsup-dts-rollup.js';
|
|
59
|
+
export { noop } from './_tsup-dts-rollup.js';
|
|
60
|
+
export { partialMatchKey } from './_tsup-dts-rollup.js';
|
|
61
|
+
export { replaceEqualDeep } from './_tsup-dts-rollup.js';
|
|
62
|
+
export { shouldThrowError } from './_tsup-dts-rollup.js';
|
|
63
|
+
export { skipToken } from './_tsup-dts-rollup.js';
|
|
64
|
+
export { SkipToken } from './_tsup-dts-rollup.js';
|
|
65
|
+
export { Updater } from './_tsup-dts-rollup.js';
|
|
66
|
+
export { experimental_streamedQuery } from './_tsup-dts-rollup.js';
|
|
67
|
+
export { DehydratedState } from './_tsup-dts-rollup.js';
|
|
68
|
+
export { DehydrateOptions } from './_tsup-dts-rollup.js';
|
|
69
|
+
export { HydrateOptions } from './_tsup-dts-rollup.js';
|
|
70
|
+
export { Mutation } from './_tsup-dts-rollup.js';
|
|
71
|
+
export { MutationState } from './_tsup-dts-rollup.js';
|
|
72
|
+
export { QueriesObserverOptions } from './_tsup-dts-rollup.js';
|
|
73
|
+
export { Query } from './_tsup-dts-rollup.js';
|
|
74
|
+
export { QueryState } from './_tsup-dts-rollup.js';
|
|
75
|
+
export { NonUndefinedGuard } from './_tsup-dts-rollup.js';
|
|
76
|
+
export { DistributiveOmit } from './_tsup-dts-rollup.js';
|
|
77
|
+
export { OmitKeyof } from './_tsup-dts-rollup.js';
|
|
78
|
+
export { Override } from './_tsup-dts-rollup.js';
|
|
79
|
+
export { NoInfer } from './_tsup-dts-rollup.js';
|
|
80
|
+
export { Register } from './_tsup-dts-rollup.js';
|
|
81
|
+
export { DefaultError } from './_tsup-dts-rollup.js';
|
|
82
|
+
export { QueryKey } from './_tsup-dts-rollup.js';
|
|
83
|
+
export { dataTagSymbol } from './_tsup-dts-rollup.js';
|
|
84
|
+
export { dataTagErrorSymbol } from './_tsup-dts-rollup.js';
|
|
85
|
+
export { unsetMarker } from './_tsup-dts-rollup.js';
|
|
86
|
+
export { UnsetMarker } from './_tsup-dts-rollup.js';
|
|
87
|
+
export { AnyDataTag } from './_tsup-dts-rollup.js';
|
|
88
|
+
export { DataTag } from './_tsup-dts-rollup.js';
|
|
89
|
+
export { InferDataFromTag } from './_tsup-dts-rollup.js';
|
|
90
|
+
export { InferErrorFromTag } from './_tsup-dts-rollup.js';
|
|
91
|
+
export { QueryFunction } from './_tsup-dts-rollup.js';
|
|
92
|
+
export { StaleTime } from './_tsup-dts-rollup.js';
|
|
93
|
+
export { StaleTimeFunction } from './_tsup-dts-rollup.js';
|
|
94
|
+
export { Enabled } from './_tsup-dts-rollup.js';
|
|
95
|
+
export { QueryPersister } from './_tsup-dts-rollup.js';
|
|
96
|
+
export { QueryFunctionContext } from './_tsup-dts-rollup.js';
|
|
97
|
+
export { InitialDataFunction } from './_tsup-dts-rollup.js';
|
|
98
|
+
export { PlaceholderDataFunction } from './_tsup-dts-rollup.js';
|
|
99
|
+
export { QueriesPlaceholderDataFunction } from './_tsup-dts-rollup.js';
|
|
100
|
+
export { QueryKeyHashFunction } from './_tsup-dts-rollup.js';
|
|
101
|
+
export { GetPreviousPageParamFunction } from './_tsup-dts-rollup.js';
|
|
102
|
+
export { GetNextPageParamFunction } from './_tsup-dts-rollup.js';
|
|
103
|
+
export { InfiniteData } from './_tsup-dts-rollup.js';
|
|
104
|
+
export { QueryMeta } from './_tsup-dts-rollup.js';
|
|
105
|
+
export { NetworkMode } from './_tsup-dts-rollup.js';
|
|
106
|
+
export { NotifyOnChangeProps } from './_tsup-dts-rollup.js';
|
|
107
|
+
export { QueryOptions } from './_tsup-dts-rollup.js';
|
|
108
|
+
export { InitialPageParam } from './_tsup-dts-rollup.js';
|
|
109
|
+
export { InfiniteQueryPageParamsOptions } from './_tsup-dts-rollup.js';
|
|
110
|
+
export { ThrowOnError } from './_tsup-dts-rollup.js';
|
|
111
|
+
export { QueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
112
|
+
export { WithRequired } from './_tsup-dts-rollup.js';
|
|
113
|
+
export { DefaultedQueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
114
|
+
export { InfiniteQueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
115
|
+
export { DefaultedInfiniteQueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
116
|
+
export { FetchQueryOptions } from './_tsup-dts-rollup.js';
|
|
117
|
+
export { EnsureQueryDataOptions } from './_tsup-dts-rollup.js';
|
|
118
|
+
export { EnsureInfiniteQueryDataOptions } from './_tsup-dts-rollup.js';
|
|
119
|
+
export { FetchInfiniteQueryOptions } from './_tsup-dts-rollup.js';
|
|
120
|
+
export { ResultOptions } from './_tsup-dts-rollup.js';
|
|
121
|
+
export { RefetchOptions } from './_tsup-dts-rollup.js';
|
|
122
|
+
export { InvalidateQueryFilters } from './_tsup-dts-rollup.js';
|
|
123
|
+
export { RefetchQueryFilters } from './_tsup-dts-rollup.js';
|
|
124
|
+
export { InvalidateOptions } from './_tsup-dts-rollup.js';
|
|
125
|
+
export { ResetOptions } from './_tsup-dts-rollup.js';
|
|
126
|
+
export { FetchNextPageOptions } from './_tsup-dts-rollup.js';
|
|
127
|
+
export { FetchPreviousPageOptions } from './_tsup-dts-rollup.js';
|
|
128
|
+
export { QueryStatus } from './_tsup-dts-rollup.js';
|
|
129
|
+
export { FetchStatus } from './_tsup-dts-rollup.js';
|
|
130
|
+
export { QueryObserverBaseResult } from './_tsup-dts-rollup.js';
|
|
131
|
+
export { QueryObserverPendingResult } from './_tsup-dts-rollup.js';
|
|
132
|
+
export { QueryObserverLoadingResult } from './_tsup-dts-rollup.js';
|
|
133
|
+
export { QueryObserverLoadingErrorResult } from './_tsup-dts-rollup.js';
|
|
134
|
+
export { QueryObserverRefetchErrorResult } from './_tsup-dts-rollup.js';
|
|
135
|
+
export { QueryObserverSuccessResult } from './_tsup-dts-rollup.js';
|
|
136
|
+
export { QueryObserverPlaceholderResult } from './_tsup-dts-rollup.js';
|
|
137
|
+
export { DefinedQueryObserverResult } from './_tsup-dts-rollup.js';
|
|
138
|
+
export { QueryObserverResult } from './_tsup-dts-rollup.js';
|
|
139
|
+
export { InfiniteQueryObserverBaseResult } from './_tsup-dts-rollup.js';
|
|
140
|
+
export { InfiniteQueryObserverPendingResult } from './_tsup-dts-rollup.js';
|
|
141
|
+
export { InfiniteQueryObserverLoadingResult } from './_tsup-dts-rollup.js';
|
|
142
|
+
export { InfiniteQueryObserverLoadingErrorResult } from './_tsup-dts-rollup.js';
|
|
143
|
+
export { InfiniteQueryObserverRefetchErrorResult } from './_tsup-dts-rollup.js';
|
|
144
|
+
export { InfiniteQueryObserverSuccessResult } from './_tsup-dts-rollup.js';
|
|
145
|
+
export { InfiniteQueryObserverPlaceholderResult } from './_tsup-dts-rollup.js';
|
|
146
|
+
export { DefinedInfiniteQueryObserverResult } from './_tsup-dts-rollup.js';
|
|
147
|
+
export { InfiniteQueryObserverResult } from './_tsup-dts-rollup.js';
|
|
148
|
+
export { MutationKey } from './_tsup-dts-rollup.js';
|
|
149
|
+
export { MutationStatus } from './_tsup-dts-rollup.js';
|
|
150
|
+
export { MutationScope } from './_tsup-dts-rollup.js';
|
|
151
|
+
export { MutationMeta } from './_tsup-dts-rollup.js';
|
|
152
|
+
export { MutationFunctionContext } from './_tsup-dts-rollup.js';
|
|
153
|
+
export { MutationFunction } from './_tsup-dts-rollup.js';
|
|
154
|
+
export { MutationOptions } from './_tsup-dts-rollup.js';
|
|
155
|
+
export { MutationObserverOptions } from './_tsup-dts-rollup.js';
|
|
156
|
+
export { MutateOptions } from './_tsup-dts-rollup.js';
|
|
157
|
+
export { MutateFunction } from './_tsup-dts-rollup.js';
|
|
158
|
+
export { MutationObserverBaseResult } from './_tsup-dts-rollup.js';
|
|
159
|
+
export { MutationObserverIdleResult } from './_tsup-dts-rollup.js';
|
|
160
|
+
export { MutationObserverLoadingResult } from './_tsup-dts-rollup.js';
|
|
161
|
+
export { MutationObserverErrorResult } from './_tsup-dts-rollup.js';
|
|
162
|
+
export { MutationObserverSuccessResult } from './_tsup-dts-rollup.js';
|
|
163
|
+
export { MutationObserverResult } from './_tsup-dts-rollup.js';
|
|
164
|
+
export { QueryClientConfig } from './_tsup-dts-rollup.js';
|
|
165
|
+
export { DefaultOptions } from './_tsup-dts-rollup.js';
|
|
166
|
+
export { CancelOptions } from './_tsup-dts-rollup.js';
|
|
167
|
+
export { SetDataOptions } from './_tsup-dts-rollup.js';
|
|
168
|
+
export { NotifyEventType } from './_tsup-dts-rollup.js';
|
|
169
|
+
export { NotifyEvent } from './_tsup-dts-rollup.js';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
import './types.cjs';
|
|
1
|
+
export { infiniteQueryOptions_alias_1 as infiniteQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
2
|
+
export { UndefinedInitialDataInfiniteOptions_alias_1 as UndefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.cjs';
|
|
3
|
+
export { DefinedInitialDataInfiniteOptions_alias_1 as DefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.cjs';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
import './types.js';
|
|
1
|
+
export { infiniteQueryOptions_alias_1 as infiniteQueryOptions } from './_tsup-dts-rollup.js';
|
|
2
|
+
export { UndefinedInitialDataInfiniteOptions_alias_1 as UndefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.js';
|
|
3
|
+
export { DefinedInitialDataInfiniteOptions_alias_1 as DefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.js';
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { MaybeRefDeep } from './types.cjs';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
|
|
5
|
-
declare class MutationCache extends MutationCache$1 {
|
|
6
|
-
find<TData = unknown, TError = DefaultError, TVariables = any, TOnMutateResult = unknown>(filters: MaybeRefDeep<MutationFilters>): Mutation<TData, TError, TVariables, TOnMutateResult> | undefined;
|
|
7
|
-
findAll(filters?: MaybeRefDeep<MutationFilters>): Array<Mutation>;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { MutationCache };
|
|
1
|
+
export { MutationCache_alias_1 as MutationCache } from './_tsup-dts-rollup.cjs';
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { MaybeRefDeep } from './types.js';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
|
|
5
|
-
declare class MutationCache extends MutationCache$1 {
|
|
6
|
-
find<TData = unknown, TError = DefaultError, TVariables = any, TOnMutateResult = unknown>(filters: MaybeRefDeep<MutationFilters>): Mutation<TData, TError, TVariables, TOnMutateResult> | undefined;
|
|
7
|
-
findAll(filters?: MaybeRefDeep<MutationFilters>): Array<Mutation>;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { MutationCache };
|
|
1
|
+
export { MutationCache_alias_1 as MutationCache } from './_tsup-dts-rollup.js';
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { MaybeRefDeep } from './types.cjs';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
|
|
5
|
-
declare class QueryCache extends QueryCache$1 {
|
|
6
|
-
find<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData>(filters: MaybeRefDeep<WithRequired<QueryFilters, 'queryKey'>>): Query<TQueryFnData, TError, TData> | undefined;
|
|
7
|
-
findAll(filters?: MaybeRefDeep<QueryFilters>): Array<Query>;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { QueryCache };
|
|
1
|
+
export { QueryCache_alias_1 as QueryCache } from './_tsup-dts-rollup.cjs';
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { MaybeRefDeep } from './types.js';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
|
|
5
|
-
declare class QueryCache extends QueryCache$1 {
|
|
6
|
-
find<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData>(filters: MaybeRefDeep<WithRequired<QueryFilters, 'queryKey'>>): Query<TQueryFnData, TError, TData> | undefined;
|
|
7
|
-
findAll(filters?: MaybeRefDeep<QueryFilters>): Array<Query>;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export { QueryCache };
|
|
1
|
+
export { QueryCache_alias_1 as QueryCache } from './_tsup-dts-rollup.js';
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { f as DefinedInitialQueryOptions, e as UndefinedInitialQueryOptions } from './queryClient-BkvcxQg7.cjs';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
import './types.cjs';
|
|
5
|
-
|
|
6
|
-
declare function queryOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: DefinedInitialQueryOptions<TQueryFnData, TError, TData, TQueryKey>): DefinedInitialQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
7
|
-
queryKey: DataTag<TQueryKey, TQueryFnData, TError>;
|
|
8
|
-
};
|
|
9
|
-
declare function queryOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UndefinedInitialQueryOptions<TQueryFnData, TError, TData, TQueryKey>): UndefinedInitialQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
10
|
-
queryKey: DataTag<TQueryKey, TQueryFnData, TError>;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { queryOptions };
|
|
1
|
+
export { queryOptions_alias_1 as queryOptions } from './_tsup-dts-rollup.cjs';
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { f as DefinedInitialQueryOptions, e as UndefinedInitialQueryOptions } from './queryClient-CcE04-Qt.js';
|
|
3
|
-
import 'vue-demi';
|
|
4
|
-
import './types.js';
|
|
5
|
-
|
|
6
|
-
declare function queryOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: DefinedInitialQueryOptions<TQueryFnData, TError, TData, TQueryKey>): DefinedInitialQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
7
|
-
queryKey: DataTag<TQueryKey, TQueryFnData, TError>;
|
|
8
|
-
};
|
|
9
|
-
declare function queryOptions<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UndefinedInitialQueryOptions<TQueryFnData, TError, TData, TQueryKey>): UndefinedInitialQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
10
|
-
queryKey: DataTag<TQueryKey, TQueryFnData, TError>;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export { queryOptions };
|
|
1
|
+
export { queryOptions_alias_1 as queryOptions } from './_tsup-dts-rollup.js';
|
package/build/legacy/types.d.cts
CHANGED
|
@@ -1,34 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} : T>;
|
|
11
|
-
type NoUnknown<T> = Equal<unknown, T> extends true ? never : T;
|
|
12
|
-
type Equal<TTargetA, TTargetB> = (<T>() => T extends TTargetA ? 1 : 2) extends <T>() => T extends TTargetB ? 1 : 2 ? true : false;
|
|
13
|
-
type DeepUnwrapRef<T> = T extends UnwrapLeaf ? T : T extends Ref<infer U> ? DeepUnwrapRef<U> : T extends {} ? {
|
|
14
|
-
[Property in keyof T]: DeepUnwrapRef<T[Property]>;
|
|
15
|
-
} : UnwrapRef<T>;
|
|
16
|
-
type ShallowOption = {
|
|
17
|
-
/**
|
|
18
|
-
* Return data in a shallow ref object (it is `false` by default). It can be set to `true` to return data in a shallow ref object, which can improve performance if your data does not need to be deeply reactive.
|
|
19
|
-
*/
|
|
20
|
-
shallow?: boolean;
|
|
21
|
-
};
|
|
22
|
-
interface DefaultOptions<TError = DefaultError> {
|
|
23
|
-
queries?: OmitKeyof<QueryObserverOptions<unknown, TError>, 'queryKey'> & ShallowOption;
|
|
24
|
-
mutations?: MutationObserverOptions<unknown, TError, unknown, unknown> & ShallowOption;
|
|
25
|
-
hydrate?: HydrateOptions['defaultOptions'];
|
|
26
|
-
dehydrate?: DehydrateOptions;
|
|
27
|
-
}
|
|
28
|
-
interface QueryClientConfig {
|
|
29
|
-
queryCache?: QueryCache;
|
|
30
|
-
mutationCache?: MutationCache;
|
|
31
|
-
defaultOptions?: DefaultOptions;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export type { DeepUnwrapRef, DefaultOptions, Equal, MaybeRef, MaybeRefDeep, MaybeRefOrGetter, NoUnknown, QueryClientConfig, ShallowOption };
|
|
1
|
+
export { MaybeRef } from './_tsup-dts-rollup.cjs';
|
|
2
|
+
export { MaybeRefOrGetter } from './_tsup-dts-rollup.cjs';
|
|
3
|
+
export { MaybeRefDeep } from './_tsup-dts-rollup.cjs';
|
|
4
|
+
export { NoUnknown } from './_tsup-dts-rollup.cjs';
|
|
5
|
+
export { Equal } from './_tsup-dts-rollup.cjs';
|
|
6
|
+
export { DeepUnwrapRef } from './_tsup-dts-rollup.cjs';
|
|
7
|
+
export { ShallowOption } from './_tsup-dts-rollup.cjs';
|
|
8
|
+
export { DefaultOptions_alias_1 as DefaultOptions } from './_tsup-dts-rollup.cjs';
|
|
9
|
+
export { QueryClientConfig_alias_1 as QueryClientConfig } from './_tsup-dts-rollup.cjs';
|