@tanstack/solid-query 5.90.22 → 5.90.24
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/_tsup-dts-rollup.d.cts +800 -0
- package/build/_tsup-dts-rollup.d.ts +800 -0
- package/build/dev.d.cts +195 -0
- package/build/dev.d.ts +195 -0
- package/build/index.d.cts +195 -258
- package/build/index.d.ts +195 -258
- package/package.json +5 -6
- package/src/index.ts +29 -47
package/src/index.ts
CHANGED
|
@@ -5,23 +5,6 @@ import { useInfiniteQuery } from './useInfiniteQuery'
|
|
|
5
5
|
import { useMutation } from './useMutation'
|
|
6
6
|
import { useQueries } from './useQueries'
|
|
7
7
|
|
|
8
|
-
import type {
|
|
9
|
-
DefinedUseBaseQueryResult,
|
|
10
|
-
DefinedUseInfiniteQueryResult,
|
|
11
|
-
DefinedUseQueryResult,
|
|
12
|
-
UseBaseMutationResult,
|
|
13
|
-
UseBaseQueryOptions,
|
|
14
|
-
UseBaseQueryResult,
|
|
15
|
-
UseInfiniteQueryOptions,
|
|
16
|
-
UseInfiniteQueryResult,
|
|
17
|
-
UseMutateAsyncFunction,
|
|
18
|
-
UseMutateFunction,
|
|
19
|
-
UseMutationOptions,
|
|
20
|
-
UseMutationResult,
|
|
21
|
-
UseQueryOptions,
|
|
22
|
-
UseQueryResult,
|
|
23
|
-
} from './types'
|
|
24
|
-
|
|
25
8
|
// Re-export core
|
|
26
9
|
export * from '@tanstack/query-core'
|
|
27
10
|
|
|
@@ -46,38 +29,37 @@ export type {
|
|
|
46
29
|
UseMutationResult,
|
|
47
30
|
UseQueryOptions,
|
|
48
31
|
UseQueryResult,
|
|
32
|
+
// Compatibility types (deprecated)
|
|
33
|
+
/** @deprecated Use UseBaseQueryOptions instead */
|
|
34
|
+
UseBaseQueryOptions as CreateBaseQueryOptions,
|
|
35
|
+
/** @deprecated Use UseBaseQueryResult instead */
|
|
36
|
+
UseBaseQueryResult as CreateBaseQueryResult,
|
|
37
|
+
/** @deprecated Use UseInfiniteQueryOptions instead */
|
|
38
|
+
UseInfiniteQueryOptions as CreateInfiniteQueryOptions,
|
|
39
|
+
/** @deprecated Use UseInfiniteQueryResult instead */
|
|
40
|
+
UseInfiniteQueryResult as CreateInfiniteQueryResult,
|
|
41
|
+
/** @deprecated Use UseMutateAsyncFunction instead */
|
|
42
|
+
UseMutateAsyncFunction as CreateMutateAsyncFunction,
|
|
43
|
+
/** @deprecated Use UseMutateFunction instead */
|
|
44
|
+
UseMutateFunction as CreateMutateFunction,
|
|
45
|
+
/** @deprecated Use UseMutationOptions instead */
|
|
46
|
+
UseMutationOptions as CreateMutationOptions,
|
|
47
|
+
/** @deprecated Use UseMutationResult instead */
|
|
48
|
+
UseMutationResult as CreateMutationResult,
|
|
49
|
+
/** @deprecated Use UseBaseMutationResult instead */
|
|
50
|
+
UseBaseMutationResult as CreateBaseMutationResult,
|
|
51
|
+
/** @deprecated Use UseQueryOptions instead */
|
|
52
|
+
UseQueryOptions as CreateQueryOptions,
|
|
53
|
+
/** @deprecated Use UseQueryResult instead */
|
|
54
|
+
UseQueryResult as CreateQueryResult,
|
|
55
|
+
/** @deprecated Use DefinedUseBaseQueryResult instead */
|
|
56
|
+
DefinedUseBaseQueryResult as DefinedCreateBaseQueryResult,
|
|
57
|
+
/** @deprecated Use DefinedUseInfiniteQueryResult instead */
|
|
58
|
+
DefinedUseInfiniteQueryResult as DefinedCreateInfiniteQueryResult,
|
|
59
|
+
/** @deprecated Use DefinedUseQueryResult instead */
|
|
60
|
+
DefinedUseQueryResult as DefinedCreateQueryResult,
|
|
49
61
|
} from './types'
|
|
50
62
|
|
|
51
|
-
// Compatibility types (deprecated)
|
|
52
|
-
/** @deprecated Use UseQueryOptions instead */
|
|
53
|
-
export type CreateQueryOptions = UseQueryOptions
|
|
54
|
-
/** @deprecated Use UseBaseQueryResult instead */
|
|
55
|
-
export type CreateBaseQueryResult = UseBaseQueryResult
|
|
56
|
-
/** @deprecated Use UseQueryResult instead */
|
|
57
|
-
export type CreateQueryResult = UseQueryResult
|
|
58
|
-
/** @deprecated Use DefinedUseBaseQueryResult instead */
|
|
59
|
-
export type DefinedCreateBaseQueryResult = DefinedUseBaseQueryResult
|
|
60
|
-
/** @deprecated Use DefinedUseQueryResult instead */
|
|
61
|
-
export type DefinedCreateQueryResult = DefinedUseQueryResult
|
|
62
|
-
/** @deprecated Use UseInfiniteQueryOptions instead */
|
|
63
|
-
export type CreateInfiniteQueryOptions = UseInfiniteQueryOptions
|
|
64
|
-
/** @deprecated Use UseInfiniteQueryResult instead */
|
|
65
|
-
export type CreateInfiniteQueryResult = UseInfiniteQueryResult
|
|
66
|
-
/** @deprecated Use DefinedUseInfiniteQueryResult instead */
|
|
67
|
-
export type DefinedCreateInfiniteQueryResult = DefinedUseInfiniteQueryResult
|
|
68
|
-
/** @deprecated Use UseMutationOptions instead */
|
|
69
|
-
export type CreateMutationOptions = UseMutationOptions
|
|
70
|
-
/** @deprecated Use UseMutateFunction instead */
|
|
71
|
-
export type CreateMutateFunction = UseMutateFunction
|
|
72
|
-
/** @deprecated Use UseMutateAsyncFunction instead */
|
|
73
|
-
export type CreateMutateAsyncFunction = UseMutateAsyncFunction
|
|
74
|
-
/** @deprecated Use UseBaseMutationResult instead */
|
|
75
|
-
export type CreateBaseMutationResult = UseBaseMutationResult
|
|
76
|
-
/** @deprecated Use UseMutationResult instead */
|
|
77
|
-
export type CreateMutationResult = UseMutationResult
|
|
78
|
-
/** @deprecated Use UseBaseQueryOptions instead */
|
|
79
|
-
export type CreateBaseQueryOptions = UseBaseQueryOptions
|
|
80
|
-
|
|
81
63
|
export { QueryClient } from './QueryClient'
|
|
82
64
|
export type {
|
|
83
65
|
QueryObserverOptions,
|