@tanstack/solid-query 6.0.0-rc.0 → 6.0.0-rc.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/README.md +15 -1
- package/build/_tsup-dts-rollup.d.cts +150 -157
- package/build/_tsup-dts-rollup.d.ts +150 -157
- package/build/dev.cjs +718 -559
- package/build/dev.d.cts +0 -22
- package/build/dev.d.ts +0 -22
- package/build/dev.js +721 -559
- package/build/index.cjs +718 -550
- package/build/index.d.cts +0 -22
- package/build/index.d.ts +0 -22
- package/build/index.js +721 -550
- package/package.json +6 -6
- package/src/QueryClient.ts +24 -45
- package/src/QueryClientProvider.tsx +77 -58
- package/src/cacheAggregate.ts +90 -0
- package/src/index.ts +1 -29
- package/src/types.ts +62 -44
- package/src/useBaseQuery.ts +674 -412
- package/src/useInfiniteQuery.ts +156 -4
- package/src/useIsFetching.ts +6 -16
- package/src/useIsMutating.ts +6 -16
- package/src/useMutation.ts +304 -57
- package/src/useMutationState.ts +9 -22
- package/src/useQueries.ts +61 -110
- package/src/hydrationChannel.ts +0 -260
package/build/dev.d.cts
CHANGED
|
@@ -9,33 +9,17 @@ export { UseBaseQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
|
9
9
|
export { UseBaseQueryResult } from './_tsup-dts-rollup.cjs';
|
|
10
10
|
export { UseInfiniteQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
11
11
|
export { UseInfiniteQueryResult } from './_tsup-dts-rollup.cjs';
|
|
12
|
-
export { UseMutateAsyncFunction } from './_tsup-dts-rollup.cjs';
|
|
13
12
|
export { UseMutateFunction } from './_tsup-dts-rollup.cjs';
|
|
14
13
|
export { UseMutationOptions } from './_tsup-dts-rollup.cjs';
|
|
15
14
|
export { UseMutationResult } from './_tsup-dts-rollup.cjs';
|
|
16
15
|
export { UseQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
17
16
|
export { UseQueryResult } from './_tsup-dts-rollup.cjs';
|
|
18
|
-
export { CreateBaseQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
19
|
-
export { CreateBaseQueryResult } from './_tsup-dts-rollup.cjs';
|
|
20
|
-
export { CreateInfiniteQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
21
|
-
export { CreateInfiniteQueryResult } from './_tsup-dts-rollup.cjs';
|
|
22
|
-
export { CreateMutateAsyncFunction } from './_tsup-dts-rollup.cjs';
|
|
23
|
-
export { CreateMutateFunction } from './_tsup-dts-rollup.cjs';
|
|
24
|
-
export { CreateMutationOptions } from './_tsup-dts-rollup.cjs';
|
|
25
|
-
export { CreateMutationResult } from './_tsup-dts-rollup.cjs';
|
|
26
|
-
export { CreateBaseMutationResult } from './_tsup-dts-rollup.cjs';
|
|
27
|
-
export { CreateQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
28
|
-
export { CreateQueryResult } from './_tsup-dts-rollup.cjs';
|
|
29
|
-
export { DefinedCreateBaseQueryResult } from './_tsup-dts-rollup.cjs';
|
|
30
|
-
export { DefinedCreateInfiniteQueryResult } from './_tsup-dts-rollup.cjs';
|
|
31
|
-
export { DefinedCreateQueryResult } from './_tsup-dts-rollup.cjs';
|
|
32
17
|
export { QueryClient_alias_1 as QueryClient } from './_tsup-dts-rollup.cjs';
|
|
33
18
|
export { QueryObserverOptions_alias_1 as QueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
34
19
|
export { DefaultOptions_alias_1 as DefaultOptions } from './_tsup-dts-rollup.cjs';
|
|
35
20
|
export { QueryClientConfig_alias_1 as QueryClientConfig } from './_tsup-dts-rollup.cjs';
|
|
36
21
|
export { InfiniteQueryObserverOptions_alias_1 as InfiniteQueryObserverOptions } from './_tsup-dts-rollup.cjs';
|
|
37
22
|
export { useQuery } from './_tsup-dts-rollup.cjs';
|
|
38
|
-
export { createQuery } from './_tsup-dts-rollup.cjs';
|
|
39
23
|
export { queryOptions } from './_tsup-dts-rollup.cjs';
|
|
40
24
|
export { DefinedInitialDataOptions } from './_tsup-dts-rollup.cjs';
|
|
41
25
|
export { UndefinedInitialDataOptions } from './_tsup-dts-rollup.cjs';
|
|
@@ -44,21 +28,15 @@ export { QueryClientProvider_alias_1 as QueryClientProvider } from './_tsup-dts-
|
|
|
44
28
|
export { useQueryClient_alias_1 as useQueryClient } from './_tsup-dts-rollup.cjs';
|
|
45
29
|
export { QueryClientProviderProps_alias_1 as QueryClientProviderProps } from './_tsup-dts-rollup.cjs';
|
|
46
30
|
export { useIsFetching } from './_tsup-dts-rollup.cjs';
|
|
47
|
-
export { createIsFetching } from './_tsup-dts-rollup.cjs';
|
|
48
31
|
export { useInfiniteQuery } from './_tsup-dts-rollup.cjs';
|
|
49
|
-
export { createInfiniteQuery } from './_tsup-dts-rollup.cjs';
|
|
50
32
|
export { infiniteQueryOptions } from './_tsup-dts-rollup.cjs';
|
|
51
33
|
export { DefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.cjs';
|
|
52
34
|
export { UndefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.cjs';
|
|
53
35
|
export { useMutation } from './_tsup-dts-rollup.cjs';
|
|
54
36
|
export { mutationOptions } from './_tsup-dts-rollup.cjs';
|
|
55
|
-
export { createMutation } from './_tsup-dts-rollup.cjs';
|
|
56
37
|
export { useIsMutating } from './_tsup-dts-rollup.cjs';
|
|
57
|
-
export { createIsMutating } from './_tsup-dts-rollup.cjs';
|
|
58
38
|
export { useMutationState } from './_tsup-dts-rollup.cjs';
|
|
59
|
-
export { createMutationState } from './_tsup-dts-rollup.cjs';
|
|
60
39
|
export { useQueries } from './_tsup-dts-rollup.cjs';
|
|
61
|
-
export { createQueries } from './_tsup-dts-rollup.cjs';
|
|
62
40
|
export { useIsRestoring } from './_tsup-dts-rollup.cjs';
|
|
63
41
|
export { IsRestoringContext } from './_tsup-dts-rollup.cjs';
|
|
64
42
|
export { focusManager } from './_tsup-dts-rollup.cjs';
|
package/build/dev.d.ts
CHANGED
|
@@ -9,33 +9,17 @@ export { UseBaseQueryOptions } from './_tsup-dts-rollup.js';
|
|
|
9
9
|
export { UseBaseQueryResult } from './_tsup-dts-rollup.js';
|
|
10
10
|
export { UseInfiniteQueryOptions } from './_tsup-dts-rollup.js';
|
|
11
11
|
export { UseInfiniteQueryResult } from './_tsup-dts-rollup.js';
|
|
12
|
-
export { UseMutateAsyncFunction } from './_tsup-dts-rollup.js';
|
|
13
12
|
export { UseMutateFunction } from './_tsup-dts-rollup.js';
|
|
14
13
|
export { UseMutationOptions } from './_tsup-dts-rollup.js';
|
|
15
14
|
export { UseMutationResult } from './_tsup-dts-rollup.js';
|
|
16
15
|
export { UseQueryOptions } from './_tsup-dts-rollup.js';
|
|
17
16
|
export { UseQueryResult } from './_tsup-dts-rollup.js';
|
|
18
|
-
export { CreateBaseQueryOptions } from './_tsup-dts-rollup.js';
|
|
19
|
-
export { CreateBaseQueryResult } from './_tsup-dts-rollup.js';
|
|
20
|
-
export { CreateInfiniteQueryOptions } from './_tsup-dts-rollup.js';
|
|
21
|
-
export { CreateInfiniteQueryResult } from './_tsup-dts-rollup.js';
|
|
22
|
-
export { CreateMutateAsyncFunction } from './_tsup-dts-rollup.js';
|
|
23
|
-
export { CreateMutateFunction } from './_tsup-dts-rollup.js';
|
|
24
|
-
export { CreateMutationOptions } from './_tsup-dts-rollup.js';
|
|
25
|
-
export { CreateMutationResult } from './_tsup-dts-rollup.js';
|
|
26
|
-
export { CreateBaseMutationResult } from './_tsup-dts-rollup.js';
|
|
27
|
-
export { CreateQueryOptions } from './_tsup-dts-rollup.js';
|
|
28
|
-
export { CreateQueryResult } from './_tsup-dts-rollup.js';
|
|
29
|
-
export { DefinedCreateBaseQueryResult } from './_tsup-dts-rollup.js';
|
|
30
|
-
export { DefinedCreateInfiniteQueryResult } from './_tsup-dts-rollup.js';
|
|
31
|
-
export { DefinedCreateQueryResult } from './_tsup-dts-rollup.js';
|
|
32
17
|
export { QueryClient_alias_1 as QueryClient } from './_tsup-dts-rollup.js';
|
|
33
18
|
export { QueryObserverOptions_alias_1 as QueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
34
19
|
export { DefaultOptions_alias_1 as DefaultOptions } from './_tsup-dts-rollup.js';
|
|
35
20
|
export { QueryClientConfig_alias_1 as QueryClientConfig } from './_tsup-dts-rollup.js';
|
|
36
21
|
export { InfiniteQueryObserverOptions_alias_1 as InfiniteQueryObserverOptions } from './_tsup-dts-rollup.js';
|
|
37
22
|
export { useQuery } from './_tsup-dts-rollup.js';
|
|
38
|
-
export { createQuery } from './_tsup-dts-rollup.js';
|
|
39
23
|
export { queryOptions } from './_tsup-dts-rollup.js';
|
|
40
24
|
export { DefinedInitialDataOptions } from './_tsup-dts-rollup.js';
|
|
41
25
|
export { UndefinedInitialDataOptions } from './_tsup-dts-rollup.js';
|
|
@@ -44,21 +28,15 @@ export { QueryClientProvider_alias_1 as QueryClientProvider } from './_tsup-dts-
|
|
|
44
28
|
export { useQueryClient_alias_1 as useQueryClient } from './_tsup-dts-rollup.js';
|
|
45
29
|
export { QueryClientProviderProps_alias_1 as QueryClientProviderProps } from './_tsup-dts-rollup.js';
|
|
46
30
|
export { useIsFetching } from './_tsup-dts-rollup.js';
|
|
47
|
-
export { createIsFetching } from './_tsup-dts-rollup.js';
|
|
48
31
|
export { useInfiniteQuery } from './_tsup-dts-rollup.js';
|
|
49
|
-
export { createInfiniteQuery } from './_tsup-dts-rollup.js';
|
|
50
32
|
export { infiniteQueryOptions } from './_tsup-dts-rollup.js';
|
|
51
33
|
export { DefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.js';
|
|
52
34
|
export { UndefinedInitialDataInfiniteOptions } from './_tsup-dts-rollup.js';
|
|
53
35
|
export { useMutation } from './_tsup-dts-rollup.js';
|
|
54
36
|
export { mutationOptions } from './_tsup-dts-rollup.js';
|
|
55
|
-
export { createMutation } from './_tsup-dts-rollup.js';
|
|
56
37
|
export { useIsMutating } from './_tsup-dts-rollup.js';
|
|
57
|
-
export { createIsMutating } from './_tsup-dts-rollup.js';
|
|
58
38
|
export { useMutationState } from './_tsup-dts-rollup.js';
|
|
59
|
-
export { createMutationState } from './_tsup-dts-rollup.js';
|
|
60
39
|
export { useQueries } from './_tsup-dts-rollup.js';
|
|
61
|
-
export { createQueries } from './_tsup-dts-rollup.js';
|
|
62
40
|
export { useIsRestoring } from './_tsup-dts-rollup.js';
|
|
63
41
|
export { IsRestoringContext } from './_tsup-dts-rollup.js';
|
|
64
42
|
export { focusManager } from './_tsup-dts-rollup.js';
|