@tanstack/solid-query 5.51.1 → 5.51.2
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/index.d.cts +1 -1
- package/build/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/createQuery.ts +2 -2
- package/src/index.ts +4 -0
package/build/index.d.cts
CHANGED
|
@@ -214,4 +214,4 @@ declare function createQueries<T extends Array<any>, TCombinedResult extends Que
|
|
|
214
214
|
declare const useIsRestoring: () => Accessor<boolean>;
|
|
215
215
|
declare const IsRestoringProvider: solid_js.ContextProviderComponent<Accessor<boolean>>;
|
|
216
216
|
|
|
217
|
-
export { type CreateBaseMutationResult, type CreateBaseQueryOptions, type CreateBaseQueryResult, type CreateInfiniteQueryOptions, type CreateInfiniteQueryResult, type CreateMutateAsyncFunction, type CreateMutateFunction, type CreateMutationOptions, type CreateMutationResult, type CreateQueryOptions, type CreateQueryResult, type DefaultOptions, type DefinedCreateBaseQueryResult, type DefinedCreateInfiniteQueryResult, type DefinedCreateQueryResult, type DefinedInitialDataInfiniteOptions, type FunctionedParams, type InfiniteQueryObserverOptions, IsRestoringProvider, QueryClient, type QueryClientConfig, QueryClientContext, QueryClientProvider, type QueryClientProviderProps, type QueryObserverOptions, type SolidInfiniteQueryOptions, type SolidMutationOptions, type SolidQueryOptions, type UndefinedInitialDataInfiniteOptions, createInfiniteQuery, createMutation, createQueries, createQuery, infiniteQueryOptions, queryOptions, useIsFetching, useIsMutating, useIsRestoring, useMutationState, useQueryClient };
|
|
217
|
+
export { type CreateBaseMutationResult, type CreateBaseQueryOptions, type CreateBaseQueryResult, type CreateInfiniteQueryOptions, type CreateInfiniteQueryResult, type CreateMutateAsyncFunction, type CreateMutateFunction, type CreateMutationOptions, type CreateMutationResult, type CreateQueryOptions, type CreateQueryResult, type DefaultOptions, type DefinedCreateBaseQueryResult, type DefinedCreateInfiniteQueryResult, type DefinedCreateQueryResult, type DefinedInitialDataInfiniteOptions, type DefinedInitialDataOptions, type FunctionedParams, type InfiniteQueryObserverOptions, IsRestoringProvider, QueryClient, type QueryClientConfig, QueryClientContext, QueryClientProvider, type QueryClientProviderProps, type QueryObserverOptions, type SolidInfiniteQueryOptions, type SolidMutationOptions, type SolidQueryOptions, type UndefinedInitialDataInfiniteOptions, type UndefinedInitialDataOptions, createInfiniteQuery, createMutation, createQueries, createQuery, infiniteQueryOptions, queryOptions, useIsFetching, useIsMutating, useIsRestoring, useMutationState, useQueryClient };
|
package/build/index.d.ts
CHANGED
|
@@ -214,4 +214,4 @@ declare function createQueries<T extends Array<any>, TCombinedResult extends Que
|
|
|
214
214
|
declare const useIsRestoring: () => Accessor<boolean>;
|
|
215
215
|
declare const IsRestoringProvider: solid_js.ContextProviderComponent<Accessor<boolean>>;
|
|
216
216
|
|
|
217
|
-
export { type CreateBaseMutationResult, type CreateBaseQueryOptions, type CreateBaseQueryResult, type CreateInfiniteQueryOptions, type CreateInfiniteQueryResult, type CreateMutateAsyncFunction, type CreateMutateFunction, type CreateMutationOptions, type CreateMutationResult, type CreateQueryOptions, type CreateQueryResult, type DefaultOptions, type DefinedCreateBaseQueryResult, type DefinedCreateInfiniteQueryResult, type DefinedCreateQueryResult, type DefinedInitialDataInfiniteOptions, type FunctionedParams, type InfiniteQueryObserverOptions, IsRestoringProvider, QueryClient, type QueryClientConfig, QueryClientContext, QueryClientProvider, type QueryClientProviderProps, type QueryObserverOptions, type SolidInfiniteQueryOptions, type SolidMutationOptions, type SolidQueryOptions, type UndefinedInitialDataInfiniteOptions, createInfiniteQuery, createMutation, createQueries, createQuery, infiniteQueryOptions, queryOptions, useIsFetching, useIsMutating, useIsRestoring, useMutationState, useQueryClient };
|
|
217
|
+
export { type CreateBaseMutationResult, type CreateBaseQueryOptions, type CreateBaseQueryResult, type CreateInfiniteQueryOptions, type CreateInfiniteQueryResult, type CreateMutateAsyncFunction, type CreateMutateFunction, type CreateMutationOptions, type CreateMutationResult, type CreateQueryOptions, type CreateQueryResult, type DefaultOptions, type DefinedCreateBaseQueryResult, type DefinedCreateInfiniteQueryResult, type DefinedCreateQueryResult, type DefinedInitialDataInfiniteOptions, type DefinedInitialDataOptions, type FunctionedParams, type InfiniteQueryObserverOptions, IsRestoringProvider, QueryClient, type QueryClientConfig, QueryClientContext, QueryClientProvider, type QueryClientProviderProps, type QueryObserverOptions, type SolidInfiniteQueryOptions, type SolidMutationOptions, type SolidQueryOptions, type UndefinedInitialDataInfiniteOptions, type UndefinedInitialDataOptions, createInfiniteQuery, createMutation, createQueries, createQuery, infiniteQueryOptions, queryOptions, useIsFetching, useIsMutating, useIsRestoring, useMutationState, useQueryClient };
|
package/package.json
CHANGED
package/src/createQuery.ts
CHANGED
|
@@ -12,7 +12,7 @@ import type {
|
|
|
12
12
|
SolidQueryOptions,
|
|
13
13
|
} from './types'
|
|
14
14
|
|
|
15
|
-
type UndefinedInitialDataOptions<
|
|
15
|
+
export type UndefinedInitialDataOptions<
|
|
16
16
|
TQueryFnData = unknown,
|
|
17
17
|
TError = DefaultError,
|
|
18
18
|
TData = TQueryFnData,
|
|
@@ -23,7 +23,7 @@ type UndefinedInitialDataOptions<
|
|
|
23
23
|
}
|
|
24
24
|
>
|
|
25
25
|
|
|
26
|
-
type DefinedInitialDataOptions<
|
|
26
|
+
export type DefinedInitialDataOptions<
|
|
27
27
|
TQueryFnData = unknown,
|
|
28
28
|
TError = DefaultError,
|
|
29
29
|
TData = TQueryFnData,
|
package/src/index.ts
CHANGED
|
@@ -13,6 +13,10 @@ export type {
|
|
|
13
13
|
InfiniteQueryObserverOptions,
|
|
14
14
|
} from './QueryClient'
|
|
15
15
|
export { createQuery, queryOptions } from './createQuery'
|
|
16
|
+
export type {
|
|
17
|
+
DefinedInitialDataOptions,
|
|
18
|
+
UndefinedInitialDataOptions,
|
|
19
|
+
} from './createQuery'
|
|
16
20
|
export {
|
|
17
21
|
QueryClientContext,
|
|
18
22
|
QueryClientProvider,
|