@tanstack/solid-query 5.0.0-alpha.23 → 5.0.0-alpha.26

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.
@@ -27,3 +27,4 @@ export interface QueryClientConfig extends QueryCoreClientConfig {
27
27
  export declare class QueryClient extends QueryCoreClient {
28
28
  constructor(config?: QueryClientConfig);
29
29
  }
30
+ //# sourceMappingURL=QueryClient.d.ts.map
@@ -7,3 +7,4 @@ export declare type QueryClientProviderProps = {
7
7
  children?: JSX.Element;
8
8
  };
9
9
  export declare const QueryClientProvider: (props: QueryClientProviderProps) => JSX.Element;
10
+ //# sourceMappingURL=QueryClientProvider.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=QueryClientProvider.test.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=createInfiniteQuery.test.d.ts.map
@@ -1 +1,2 @@
1
1
  import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=createMutation.test.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=createQueries.test.d.ts.map
@@ -1 +1,2 @@
1
1
  import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=createQuery.test.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export declare type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false;
2
2
  export declare type Expect<T extends true> = T;
3
+ //# sourceMappingURL=createQuery.types.test.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=suspense.test.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=transition.test.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=useIsFetching.test.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=useIsMutating.test.d.ts.map
@@ -19,3 +19,4 @@ export declare function expectType<T>(_: T): void;
19
19
  * Assert the parameter is not typed as `any`
20
20
  */
21
21
  export declare function expectTypeNotAny<T>(_: 0 extends 1 & T ? never : T): void;
22
+ //# sourceMappingURL=utils.d.ts.map
@@ -3,3 +3,4 @@ import type { QueryClient } from './QueryClient';
3
3
  import type { Accessor } from 'solid-js';
4
4
  import type { CreateBaseQueryOptions } from './types';
5
5
  export declare function createBaseQuery<TQueryFnData, TError, TData, TQueryData, TQueryKey extends QueryKey>(options: Accessor<CreateBaseQueryOptions<TQueryFnData, TError, TData, TQueryData, TQueryKey>>, Observer: typeof QueryObserver, queryClient?: Accessor<QueryClient>): QueryObserverResult<TData, TError>;
6
+ //# sourceMappingURL=createBaseQuery.d.ts.map
@@ -3,3 +3,4 @@ import type { QueryClient } from './QueryClient';
3
3
  import type { CreateInfiniteQueryOptions, CreateInfiniteQueryResult } from './types';
4
4
  import type { Accessor } from 'solid-js';
5
5
  export declare function createInfiniteQuery<TQueryFnData, TError = DefaultError, TData = InfiniteData<TQueryFnData>, TQueryKey extends QueryKey = QueryKey, TPageParam = unknown>(options: CreateInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>, queryClient?: Accessor<QueryClient>): CreateInfiniteQueryResult<TData, TError>;
6
+ //# sourceMappingURL=createInfiniteQuery.d.ts.map
@@ -3,3 +3,4 @@ import type { QueryClient } from './QueryClient';
3
3
  import type { CreateMutationOptions, CreateMutationResult } from './types';
4
4
  import type { Accessor } from 'solid-js';
5
5
  export declare function createMutation<TData = unknown, TError = DefaultError, TVariables = void, TContext = unknown>(options: CreateMutationOptions<TData, TError, TVariables, TContext>, queryClient?: Accessor<QueryClient>): CreateMutationResult<TData, TError, TVariables, TContext>;
6
+ //# sourceMappingURL=createMutation.d.ts.map
@@ -50,3 +50,4 @@ export declare function createQueries<T extends any[]>(queriesOptions: Accessor<
50
50
  queries: readonly [...QueriesOptions<T>];
51
51
  }>, queryClient?: Accessor<QueryClient>): QueriesResults<T>;
52
52
  export {};
53
+ //# sourceMappingURL=createQueries.d.ts.map
@@ -10,3 +10,4 @@ declare type DefinedInitialDataOptions<TQueryFnData = unknown, TError = DefaultE
10
10
  export declare function createQuery<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UndefinedInitialDataOptions<TQueryFnData, TError, TData, TQueryKey>, queryClient?: () => QueryClient): CreateQueryResult<TData, TError>;
11
11
  export declare function createQuery<TQueryFnData = unknown, TError = DefaultError, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: DefinedInitialDataOptions<TQueryFnData, TError, TData, TQueryKey>, queryClient?: () => QueryClient): DefinedCreateQueryResult<TData, TError>;
12
12
  export {};
13
+ //# sourceMappingURL=createQuery.d.ts.map
@@ -11,3 +11,4 @@ export { createInfiniteQuery } from './createInfiniteQuery';
11
11
  export { createMutation } from './createMutation';
12
12
  export { useIsMutating } from './useIsMutating';
13
13
  export { createQueries } from './createQueries';
14
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=setBatchUpdatesFn.d.ts.map
@@ -32,3 +32,4 @@ declare type Override<A, B> = {
32
32
  [K in keyof A]: K extends keyof B ? B[K] : A[K];
33
33
  };
34
34
  export {};
35
+ //# sourceMappingURL=types.d.ts.map
@@ -2,3 +2,4 @@ import type { QueryFilters } from '@tanstack/query-core';
2
2
  import type { QueryClient } from './QueryClient';
3
3
  import type { Accessor } from 'solid-js';
4
4
  export declare function useIsFetching(filters?: Accessor<QueryFilters>, queryClient?: Accessor<QueryClient>): Accessor<number>;
5
+ //# sourceMappingURL=useIsFetching.d.ts.map
@@ -2,3 +2,4 @@ import type { MutationFilters } from '@tanstack/query-core';
2
2
  import type { QueryClient } from './QueryClient';
3
3
  import type { Accessor } from 'solid-js';
4
4
  export declare function useIsMutating(filters?: Accessor<MutationFilters>, queryClient?: Accessor<QueryClient>): Accessor<number>;
5
+ //# sourceMappingURL=useIsMutating.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare function shouldThrowError<T extends (...args: any[]) => boolean>(throwError: boolean | T | undefined, params: Parameters<T>): boolean;
2
+ //# sourceMappingURL=utils.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/solid-query",
3
- "version": "5.0.0-alpha.23",
3
+ "version": "5.0.0-alpha.26",
4
4
  "description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  "vite-plugin-solid": "^2.3.9"
44
44
  },
45
45
  "dependencies": {
46
- "@tanstack/query-core": "5.0.0-alpha.23"
46
+ "@tanstack/query-core": "5.0.0-alpha.26"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "solid-js": "^1.6.13"