@tanstack/lit-query 0.2.26 → 0.2.27
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/index.cjs +141 -27
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +23 -35
- package/build/legacy/index.d.cts.map +1 -1
- package/build/legacy/index.d.ts +23 -35
- package/build/legacy/index.d.ts.map +1 -1
- package/build/legacy/index.js +141 -27
- package/build/legacy/index.js.map +1 -1
- package/build/modern/index.cjs +141 -27
- package/build/modern/index.cjs.map +1 -1
- package/build/modern/index.d.cts +23 -35
- package/build/modern/index.d.cts.map +1 -1
- package/build/modern/index.d.ts +23 -35
- package/build/modern/index.d.ts.map +1 -1
- package/build/modern/index.js +141 -27
- package/build/modern/index.js.map +1 -1
- package/package.json +6 -5
- package/src/QueryClientProvider.ts +32 -14
- package/src/accessor.ts +11 -2
- package/src/context.ts +11 -5
- package/src/controllers/BaseController.ts +75 -3
- package/src/createInfiniteQueryController.ts +9 -6
- package/src/createMutationController.ts +11 -7
- package/src/createQueriesController.ts +21 -6
- package/src/createQueryController.ts +9 -6
- package/src/infiniteQueryOptions.ts +0 -2
- package/src/mutationOptions.ts +0 -2
- package/src/queryObserverResultTracker.ts +15 -0
- package/src/queryOptions.ts +2 -5
- package/src/useIsFetching.ts +4 -6
- package/src/useIsMutating.ts +4 -6
- package/src/useMutationState.ts +4 -6
package/build/legacy/index.d.cts
CHANGED
|
@@ -7,7 +7,6 @@ export * from "@tanstack/query-core";
|
|
|
7
7
|
*
|
|
8
8
|
* Lit Query APIs read function accessors during host updates, so the getter can
|
|
9
9
|
* depend on reactive host state.
|
|
10
|
-
*
|
|
11
10
|
* @example
|
|
12
11
|
* ```ts
|
|
13
12
|
* const staticKey: Accessor<readonly unknown[]> = ['todos']
|
|
@@ -21,7 +20,6 @@ type Accessor<T> = T | (() => T);
|
|
|
21
20
|
*
|
|
22
21
|
* Controller creators and cache state helpers return this shape so render code
|
|
23
22
|
* can use either `result()` or `result.current`.
|
|
24
|
-
*
|
|
25
23
|
* @example
|
|
26
24
|
* ```ts
|
|
27
25
|
* const query = this.todos()
|
|
@@ -49,7 +47,6 @@ export declare const queryClientContext: {
|
|
|
49
47
|
*
|
|
50
48
|
* `QueryClientProvider` calls this automatically while it is connected. Prefer
|
|
51
49
|
* passing an explicit client or rendering under a provider when possible.
|
|
52
|
-
*
|
|
53
50
|
* @param client - The query client to register as the current default.
|
|
54
51
|
*/
|
|
55
52
|
export declare function registerDefaultQueryClient(client: QueryClient): void;
|
|
@@ -58,14 +55,12 @@ export declare function registerDefaultQueryClient(client: QueryClient): void;
|
|
|
58
55
|
* `registerDefaultQueryClient`.
|
|
59
56
|
*
|
|
60
57
|
* `QueryClientProvider` calls this automatically when it disconnects.
|
|
61
|
-
*
|
|
62
58
|
* @param client - The query client registration to release.
|
|
63
59
|
*/
|
|
64
60
|
export declare function unregisterDefaultQueryClient(client: QueryClient): void;
|
|
65
61
|
/**
|
|
66
62
|
* Returns the registered default `QueryClient`, if exactly one default client is
|
|
67
63
|
* available.
|
|
68
|
-
*
|
|
69
64
|
* @returns The default query client, or `undefined` when there is no registered
|
|
70
65
|
* client or more than one registered client.
|
|
71
66
|
*/
|
|
@@ -77,13 +72,13 @@ export declare function getDefaultQueryClient(): QueryClient | undefined;
|
|
|
77
72
|
* This helper is useful outside a Lit reactive controller when a single
|
|
78
73
|
* provider is mounted. It throws if no client is registered or if multiple
|
|
79
74
|
* clients are mounted and the default would be ambiguous.
|
|
80
|
-
*
|
|
81
75
|
* @returns The single registered query client.
|
|
76
|
+
* @throws {Error} If no `QueryClient` is registered, or if multiple are
|
|
77
|
+
* mounted and the default is ambiguous.
|
|
82
78
|
*/
|
|
83
79
|
export declare function useQueryClient(): QueryClient;
|
|
84
80
|
/**
|
|
85
81
|
* Resolves an explicit `QueryClient` or falls back to `useQueryClient`.
|
|
86
|
-
*
|
|
87
82
|
* @param explicit - Optional client supplied by the caller.
|
|
88
83
|
* @returns The explicit client when provided, otherwise the current default
|
|
89
84
|
* client.
|
|
@@ -103,7 +98,6 @@ export declare function resolveQueryClient(explicit?: QueryClient): QueryClient;
|
|
|
103
98
|
* This class is not registered as a custom element by the package. Applications
|
|
104
99
|
* must register either a subclass or the class itself with
|
|
105
100
|
* `customElements.define`.
|
|
106
|
-
*
|
|
107
101
|
* @example
|
|
108
102
|
* ```ts
|
|
109
103
|
* import { html, LitElement } from 'lit'
|
|
@@ -126,7 +120,6 @@ export declare function resolveQueryClient(explicit?: QueryClient): QueryClient;
|
|
|
126
120
|
* }
|
|
127
121
|
* }
|
|
128
122
|
* ```
|
|
129
|
-
*
|
|
130
123
|
* @example
|
|
131
124
|
* ```ts
|
|
132
125
|
* import { html } from 'lit'
|
|
@@ -160,13 +153,30 @@ export declare class QueryClientProvider extends LitElement {
|
|
|
160
153
|
private readonly contextProvider;
|
|
161
154
|
private mountedClient;
|
|
162
155
|
constructor();
|
|
163
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Provides the client to descendants and mounts it when the element is
|
|
158
|
+
* connected.
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
164
161
|
connectedCallback(): void;
|
|
165
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* Unmounts the client when the element is disconnected.
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
166
|
disconnectedCallback(): void;
|
|
167
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* Swaps the provided and mounted client when `client` changes.
|
|
169
|
+
* @internal
|
|
170
|
+
* @param changedProperties - The properties that changed. When `client` changes, the previous
|
|
171
|
+
* client is unmounted and the new one is provided and mounted.
|
|
172
|
+
* @throws {Error} If `client` is unset while the provider is connected.
|
|
173
|
+
*/
|
|
168
174
|
protected willUpdate(changedProperties: Map<PropertyKey, unknown>): void;
|
|
169
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Renders the provider's children.
|
|
177
|
+
* @internal
|
|
178
|
+
* @returns A `<slot>` that renders the provider's children.
|
|
179
|
+
*/
|
|
170
180
|
render(): TemplateResult;
|
|
171
181
|
private mountClient;
|
|
172
182
|
private unmountClient;
|
|
@@ -209,7 +219,6 @@ type InfiniteQueryResultAccessor<TData, TError> = ValueAccessor<InfiniteQueryObs
|
|
|
209
219
|
*
|
|
210
220
|
* If `queryClient` is omitted, the controller resolves the client from the
|
|
211
221
|
* nearest connected `QueryClientProvider`.
|
|
212
|
-
*
|
|
213
222
|
* @param host - The Lit reactive controller host that owns the infinite query
|
|
214
223
|
* subscription.
|
|
215
224
|
* @param options - Infinite query observer options, or a getter that returns
|
|
@@ -218,7 +227,6 @@ type InfiniteQueryResultAccessor<TData, TError> = ValueAccessor<InfiniteQueryObs
|
|
|
218
227
|
* controllers that should not resolve a client from Lit context.
|
|
219
228
|
* @returns An accessor for the latest infinite query result with page helper
|
|
220
229
|
* methods.
|
|
221
|
-
*
|
|
222
230
|
* @example
|
|
223
231
|
* ```ts
|
|
224
232
|
* import { LitElement, html } from 'lit'
|
|
@@ -288,7 +296,6 @@ type MutationResultAccessor<TData, TError, TVariables, TOnMutateResult> = ValueA
|
|
|
288
296
|
*
|
|
289
297
|
* If `queryClient` is omitted, the controller resolves the client from the
|
|
290
298
|
* nearest connected `QueryClientProvider`.
|
|
291
|
-
*
|
|
292
299
|
* @param host - The Lit reactive controller host that owns the mutation
|
|
293
300
|
* subscription.
|
|
294
301
|
* @param options - Mutation observer options, or a getter that returns options.
|
|
@@ -296,7 +303,6 @@ type MutationResultAccessor<TData, TError, TVariables, TOnMutateResult> = ValueA
|
|
|
296
303
|
* controllers that should not resolve a client from Lit context.
|
|
297
304
|
* @returns An accessor for the latest mutation result with mutation helper
|
|
298
305
|
* methods.
|
|
299
|
-
*
|
|
300
306
|
* @example
|
|
301
307
|
* ```ts
|
|
302
308
|
* import { LitElement, html } from 'lit'
|
|
@@ -405,7 +411,6 @@ type QueriesResultAccessor<TCombinedResult> = ValueAccessor<TCombinedResult> & {
|
|
|
405
411
|
*
|
|
406
412
|
* If `queryClient` is omitted, the controller resolves the client from the
|
|
407
413
|
* nearest connected `QueryClientProvider`.
|
|
408
|
-
*
|
|
409
414
|
* @param host - The Lit reactive controller host that owns the queries
|
|
410
415
|
* subscription.
|
|
411
416
|
* @param options - Queries controller options, or a getter that returns options.
|
|
@@ -413,7 +418,6 @@ type QueriesResultAccessor<TCombinedResult> = ValueAccessor<TCombinedResult> & {
|
|
|
413
418
|
* controllers that should not resolve a client from Lit context.
|
|
414
419
|
* @returns An accessor for the latest query results, or the value returned by
|
|
415
420
|
* `combine`.
|
|
416
|
-
*
|
|
417
421
|
* @example
|
|
418
422
|
* ```ts
|
|
419
423
|
* import { LitElement, html } from 'lit'
|
|
@@ -473,14 +477,12 @@ type QueryResultAccessor<TData, TError> = ValueAccessor<QueryObserverResult<TDat
|
|
|
473
477
|
*
|
|
474
478
|
* If `queryClient` is omitted, the controller resolves the client from the
|
|
475
479
|
* nearest connected `QueryClientProvider`.
|
|
476
|
-
*
|
|
477
480
|
* @param host - The Lit reactive controller host that owns the query
|
|
478
481
|
* subscription.
|
|
479
482
|
* @param options - Query observer options, or a getter that returns options.
|
|
480
483
|
* @param queryClient - Optional explicit query client. Provide this for
|
|
481
484
|
* controllers that should not resolve a client from Lit context.
|
|
482
485
|
* @returns An accessor for the latest query result with query helper methods.
|
|
483
|
-
*
|
|
484
486
|
* @example
|
|
485
487
|
* ```ts
|
|
486
488
|
* import { LitElement, html } from 'lit'
|
|
@@ -522,14 +524,12 @@ type IsFetchingAccessor = ValueAccessor<number> & {
|
|
|
522
524
|
* When `filters` is a function, it is re-read during host updates so the count
|
|
523
525
|
* can follow reactive host state. If `queryClient` is omitted, the controller
|
|
524
526
|
* resolves the client from the nearest connected `QueryClientProvider`.
|
|
525
|
-
*
|
|
526
527
|
* @param host - The Lit reactive controller host that owns the cache
|
|
527
528
|
* subscription.
|
|
528
529
|
* @param filters - Query filters, or a getter that returns query filters.
|
|
529
530
|
* @param queryClient - Optional explicit query client. Provide this for
|
|
530
531
|
* controllers that should not resolve a client from Lit context.
|
|
531
532
|
* @returns An accessor for the current number of matching fetching queries.
|
|
532
|
-
*
|
|
533
533
|
* @example
|
|
534
534
|
* ```ts
|
|
535
535
|
* import { LitElement, html } from 'lit'
|
|
@@ -565,14 +565,12 @@ type IsMutatingAccessor = ValueAccessor<number> & {
|
|
|
565
565
|
* When `filters` is a function, it is re-read during host updates so the count
|
|
566
566
|
* can follow reactive host state. If `queryClient` is omitted, the controller
|
|
567
567
|
* resolves the client from the nearest connected `QueryClientProvider`.
|
|
568
|
-
*
|
|
569
568
|
* @param host - The Lit reactive controller host that owns the cache
|
|
570
569
|
* subscription.
|
|
571
570
|
* @param filters - Mutation filters, or a getter that returns mutation filters.
|
|
572
571
|
* @param queryClient - Optional explicit query client. Provide this for
|
|
573
572
|
* controllers that should not resolve a client from Lit context.
|
|
574
573
|
* @returns An accessor for the current number of matching pending mutations.
|
|
575
|
-
*
|
|
576
574
|
* @example
|
|
577
575
|
* ```ts
|
|
578
576
|
* import { LitElement, html } from 'lit'
|
|
@@ -619,14 +617,12 @@ type MutationStateAccessor<TResult> = ValueAccessor<Array<TResult>> & {
|
|
|
619
617
|
* the selection can follow reactive host state. If `queryClient` is omitted,
|
|
620
618
|
* the controller resolves the client from the nearest connected
|
|
621
619
|
* `QueryClientProvider`.
|
|
622
|
-
*
|
|
623
620
|
* @param host - The Lit reactive controller host that owns the mutation cache
|
|
624
621
|
* subscription.
|
|
625
622
|
* @param options - Mutation state filters and optional selector.
|
|
626
623
|
* @param queryClient - Optional explicit query client. Provide this for
|
|
627
624
|
* controllers that should not resolve a client from Lit context.
|
|
628
625
|
* @returns An accessor for the selected mutation state array.
|
|
629
|
-
*
|
|
630
626
|
* @example
|
|
631
627
|
* ```ts
|
|
632
628
|
* import { LitElement, html } from 'lit'
|
|
@@ -669,10 +665,8 @@ type UndefinedInitialDataOptions<TQueryFnData = unknown, TError = DefaultError,
|
|
|
669
665
|
/**
|
|
670
666
|
* Brands query options so the `queryKey` carries the query function data and
|
|
671
667
|
* error types across TanStack Query APIs.
|
|
672
|
-
*
|
|
673
668
|
* @param options - Query options to preserve and brand.
|
|
674
669
|
* @returns The same options object with a typed `queryKey`.
|
|
675
|
-
*
|
|
676
670
|
* @example
|
|
677
671
|
* ```ts
|
|
678
672
|
* import { queryOptions } from '@tanstack/lit-query'
|
|
@@ -690,7 +684,6 @@ export declare function queryOptions<TQueryFnData = unknown, TError = DefaultErr
|
|
|
690
684
|
/**
|
|
691
685
|
* Brands query options so the `queryKey` carries the query function data and
|
|
692
686
|
* error types across TanStack Query APIs.
|
|
693
|
-
*
|
|
694
687
|
* @param options - Query options to preserve and brand.
|
|
695
688
|
* @returns The same options object with a typed `queryKey`.
|
|
696
689
|
*/
|
|
@@ -700,7 +693,6 @@ export declare function queryOptions<TQueryFnData = unknown, TError = DefaultErr
|
|
|
700
693
|
/**
|
|
701
694
|
* Brands query options so the `queryKey` carries the query function data and
|
|
702
695
|
* error types across TanStack Query APIs.
|
|
703
|
-
*
|
|
704
696
|
* @param options - Query options to preserve and brand.
|
|
705
697
|
* @returns The same options object with a typed `queryKey`.
|
|
706
698
|
*/
|
|
@@ -712,10 +704,8 @@ export declare function queryOptions<TQueryFnData = unknown, TError = DefaultErr
|
|
|
712
704
|
/**
|
|
713
705
|
* Brands infinite query options so the `queryKey` carries the infinite query
|
|
714
706
|
* data and error types across TanStack Query APIs.
|
|
715
|
-
*
|
|
716
707
|
* @param options - Infinite query options to preserve and brand.
|
|
717
708
|
* @returns The same options object with a typed `queryKey`.
|
|
718
|
-
*
|
|
719
709
|
* @example
|
|
720
710
|
* ```ts
|
|
721
711
|
* import { infiniteQueryOptions } from '@tanstack/lit-query'
|
|
@@ -735,10 +725,8 @@ export declare function infiniteQueryOptions<TQueryFnData = unknown, TError = De
|
|
|
735
725
|
//#region src/mutationOptions.d.ts
|
|
736
726
|
/**
|
|
737
727
|
* Preserves and types mutation options for reuse across Lit Query APIs.
|
|
738
|
-
*
|
|
739
728
|
* @param options - Mutation options to preserve.
|
|
740
729
|
* @returns The same options object.
|
|
741
|
-
*
|
|
742
730
|
* @example
|
|
743
731
|
* ```ts
|
|
744
732
|
* import { mutationOptions } from '@tanstack/lit-query'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/accessor.ts","../../src/context.ts","../../src/QueryClientProvider.ts","../../src/createInfiniteQueryController.ts","../../src/createMutationController.ts","../../src/createQueriesController.ts","../../src/createQueryController.ts","../../src/useIsFetching.ts","../../src/useIsMutating.ts","../../src/useMutationState.ts","../../src/queryOptions.ts","../../src/infiniteQueryOptions.ts","../../src/mutationOptions.ts","../../src/types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/accessor.ts","../../src/context.ts","../../src/QueryClientProvider.ts","../../src/createInfiniteQueryController.ts","../../src/createMutationController.ts","../../src/createQueriesController.ts","../../src/createQueryController.ts","../../src/useIsFetching.ts","../../src/useIsMutating.ts","../../src/useMutationState.ts","../../src/queryOptions.ts","../../src/infiniteQueryOptions.ts","../../src/mutationOptions.ts","../../src/types.ts"],"mappings":";;;;;;;;;;;;;;;KAWY,SAAS,KAAK,WAAW;;;;;;;;;;;;;KAuBzB,cAAc,YAAY;WAC3B,SAAS;;;;;;;;;;;qBCzBP;eAAA;;;;;;;;;;wBAoBG,2BAA2B,QAAQ;;;;;;;;wBAYnC,6BAA6B,QAAQ;;;;;;;wBA0BrC,yBAAyB;;;;;;;;;;;;wBAoCzB,kBAAkB;;;;;;;wBAmBlB,mBAAmB,WAAW,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBC9D/C,4BAA4B;;SAEvB;;;;;;;;;;;EAUR,QAAQ;mBAEC;UAET;;;;;;;EAcC;;;;;EAWA;;;;;;;;YAYU,WACjB,mBAAmB,IAAI;;;;;;EAsChB,UAAU;UAIX;UAcA;UAaA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AQ,OAAO,aAC5D,uBAAuB,cAAc,QAAQ,OAAO;EACrD,UAAU,QAAQ,WAAW,cAAc;;;;;;;;wBAS7B,aACd,wBACA,SAAS,cACT,QAAQ,cACR,kBAAkB,WAAW,UAE7B,SAAS,4BAA4B,cAAc,QAAQ,OAAO,aACjE,4BAA4B,cAAc,QAAQ,OAAO;EAC1D,UAAU,QAAQ,WAAW,cAAc;;;;;;;;;;;;;;;;;;;;;wBC5G7B,qBACd,wBACA,SAAS,cACT,QAAQ,aAAa,eACrB,kBAAkB,WAAW,UAC7B,sBAEA,SAAS,6BACP,cACA,QACA,OACA,WACA,cAED,6BACD,cACA,QACA,OACA,WACA;EAEA,UAAU,QAAQ,WAAW,aAAa,eAAe;;;;;;;;;;;;;;;;;;wBC3B3C,gBACd,iBACA,SAAS,cACT,mBACA,2BAEA,SAAS,wBAAwB,OAAO,QAAQ,YAAY,mBAC3D,wBAAwB,OAAO,QAAQ,YAAY;;;;;;KCP1C,uBACV,wBACA,SAAS,cACT,QAAQ,cACR,aAAa,cACb,kBAAkB,WAAW,YAC3B,SACF,mBAAmB,cAAc,QAAQ,OAAO,YAAY;;;;KAMlD,sBACV,iBACA,SAAS,gBACP,oBAAoB,OAAO;;;;KAKnB,+BACV,wBACA,SAAS,cACT,QAAQ,aAAa,eACrB,kBAAkB,WAAW,UAC7B,wBACE,SACF,2BAA2B,cAAc,QAAQ,OAAO,WAAW;;;;KAMzD,0BACV,iBACA,SAAS,cACT,mBACA,6BACE,SAAS,sBAAsB,OAAO,QAAQ,YAAY;;;;KAKlD,yBACV,iBACA,SAAS,cACT,mBACA,6BACE,uBAAuB,OAAO,QAAQ,YAAY;;;;KAK1C,yBACV,sBAAsB,aAAa,YACnC,kBAAkB,qBAAqB,kBACrC,SAAS,+BAA+B,eAAe"}
|
package/build/legacy/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from "@tanstack/query-core";
|
|
|
7
7
|
*
|
|
8
8
|
* Lit Query APIs read function accessors during host updates, so the getter can
|
|
9
9
|
* depend on reactive host state.
|
|
10
|
-
*
|
|
11
10
|
* @example
|
|
12
11
|
* ```ts
|
|
13
12
|
* const staticKey: Accessor<readonly unknown[]> = ['todos']
|
|
@@ -21,7 +20,6 @@ type Accessor<T> = T | (() => T);
|
|
|
21
20
|
*
|
|
22
21
|
* Controller creators and cache state helpers return this shape so render code
|
|
23
22
|
* can use either `result()` or `result.current`.
|
|
24
|
-
*
|
|
25
23
|
* @example
|
|
26
24
|
* ```ts
|
|
27
25
|
* const query = this.todos()
|
|
@@ -49,7 +47,6 @@ export declare const queryClientContext: {
|
|
|
49
47
|
*
|
|
50
48
|
* `QueryClientProvider` calls this automatically while it is connected. Prefer
|
|
51
49
|
* passing an explicit client or rendering under a provider when possible.
|
|
52
|
-
*
|
|
53
50
|
* @param client - The query client to register as the current default.
|
|
54
51
|
*/
|
|
55
52
|
export declare function registerDefaultQueryClient(client: QueryClient): void;
|
|
@@ -58,14 +55,12 @@ export declare function registerDefaultQueryClient(client: QueryClient): void;
|
|
|
58
55
|
* `registerDefaultQueryClient`.
|
|
59
56
|
*
|
|
60
57
|
* `QueryClientProvider` calls this automatically when it disconnects.
|
|
61
|
-
*
|
|
62
58
|
* @param client - The query client registration to release.
|
|
63
59
|
*/
|
|
64
60
|
export declare function unregisterDefaultQueryClient(client: QueryClient): void;
|
|
65
61
|
/**
|
|
66
62
|
* Returns the registered default `QueryClient`, if exactly one default client is
|
|
67
63
|
* available.
|
|
68
|
-
*
|
|
69
64
|
* @returns The default query client, or `undefined` when there is no registered
|
|
70
65
|
* client or more than one registered client.
|
|
71
66
|
*/
|
|
@@ -77,13 +72,13 @@ export declare function getDefaultQueryClient(): QueryClient | undefined;
|
|
|
77
72
|
* This helper is useful outside a Lit reactive controller when a single
|
|
78
73
|
* provider is mounted. It throws if no client is registered or if multiple
|
|
79
74
|
* clients are mounted and the default would be ambiguous.
|
|
80
|
-
*
|
|
81
75
|
* @returns The single registered query client.
|
|
76
|
+
* @throws {Error} If no `QueryClient` is registered, or if multiple are
|
|
77
|
+
* mounted and the default is ambiguous.
|
|
82
78
|
*/
|
|
83
79
|
export declare function useQueryClient(): QueryClient;
|
|
84
80
|
/**
|
|
85
81
|
* Resolves an explicit `QueryClient` or falls back to `useQueryClient`.
|
|
86
|
-
*
|
|
87
82
|
* @param explicit - Optional client supplied by the caller.
|
|
88
83
|
* @returns The explicit client when provided, otherwise the current default
|
|
89
84
|
* client.
|
|
@@ -103,7 +98,6 @@ export declare function resolveQueryClient(explicit?: QueryClient): QueryClient;
|
|
|
103
98
|
* This class is not registered as a custom element by the package. Applications
|
|
104
99
|
* must register either a subclass or the class itself with
|
|
105
100
|
* `customElements.define`.
|
|
106
|
-
*
|
|
107
101
|
* @example
|
|
108
102
|
* ```ts
|
|
109
103
|
* import { html, LitElement } from 'lit'
|
|
@@ -126,7 +120,6 @@ export declare function resolveQueryClient(explicit?: QueryClient): QueryClient;
|
|
|
126
120
|
* }
|
|
127
121
|
* }
|
|
128
122
|
* ```
|
|
129
|
-
*
|
|
130
123
|
* @example
|
|
131
124
|
* ```ts
|
|
132
125
|
* import { html } from 'lit'
|
|
@@ -160,13 +153,30 @@ export declare class QueryClientProvider extends LitElement {
|
|
|
160
153
|
private readonly contextProvider;
|
|
161
154
|
private mountedClient;
|
|
162
155
|
constructor();
|
|
163
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Provides the client to descendants and mounts it when the element is
|
|
158
|
+
* connected.
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
164
161
|
connectedCallback(): void;
|
|
165
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* Unmounts the client when the element is disconnected.
|
|
164
|
+
* @internal
|
|
165
|
+
*/
|
|
166
166
|
disconnectedCallback(): void;
|
|
167
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* Swaps the provided and mounted client when `client` changes.
|
|
169
|
+
* @internal
|
|
170
|
+
* @param changedProperties - The properties that changed. When `client` changes, the previous
|
|
171
|
+
* client is unmounted and the new one is provided and mounted.
|
|
172
|
+
* @throws {Error} If `client` is unset while the provider is connected.
|
|
173
|
+
*/
|
|
168
174
|
protected willUpdate(changedProperties: Map<PropertyKey, unknown>): void;
|
|
169
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* Renders the provider's children.
|
|
177
|
+
* @internal
|
|
178
|
+
* @returns A `<slot>` that renders the provider's children.
|
|
179
|
+
*/
|
|
170
180
|
render(): TemplateResult;
|
|
171
181
|
private mountClient;
|
|
172
182
|
private unmountClient;
|
|
@@ -209,7 +219,6 @@ type InfiniteQueryResultAccessor<TData, TError> = ValueAccessor<InfiniteQueryObs
|
|
|
209
219
|
*
|
|
210
220
|
* If `queryClient` is omitted, the controller resolves the client from the
|
|
211
221
|
* nearest connected `QueryClientProvider`.
|
|
212
|
-
*
|
|
213
222
|
* @param host - The Lit reactive controller host that owns the infinite query
|
|
214
223
|
* subscription.
|
|
215
224
|
* @param options - Infinite query observer options, or a getter that returns
|
|
@@ -218,7 +227,6 @@ type InfiniteQueryResultAccessor<TData, TError> = ValueAccessor<InfiniteQueryObs
|
|
|
218
227
|
* controllers that should not resolve a client from Lit context.
|
|
219
228
|
* @returns An accessor for the latest infinite query result with page helper
|
|
220
229
|
* methods.
|
|
221
|
-
*
|
|
222
230
|
* @example
|
|
223
231
|
* ```ts
|
|
224
232
|
* import { LitElement, html } from 'lit'
|
|
@@ -288,7 +296,6 @@ type MutationResultAccessor<TData, TError, TVariables, TOnMutateResult> = ValueA
|
|
|
288
296
|
*
|
|
289
297
|
* If `queryClient` is omitted, the controller resolves the client from the
|
|
290
298
|
* nearest connected `QueryClientProvider`.
|
|
291
|
-
*
|
|
292
299
|
* @param host - The Lit reactive controller host that owns the mutation
|
|
293
300
|
* subscription.
|
|
294
301
|
* @param options - Mutation observer options, or a getter that returns options.
|
|
@@ -296,7 +303,6 @@ type MutationResultAccessor<TData, TError, TVariables, TOnMutateResult> = ValueA
|
|
|
296
303
|
* controllers that should not resolve a client from Lit context.
|
|
297
304
|
* @returns An accessor for the latest mutation result with mutation helper
|
|
298
305
|
* methods.
|
|
299
|
-
*
|
|
300
306
|
* @example
|
|
301
307
|
* ```ts
|
|
302
308
|
* import { LitElement, html } from 'lit'
|
|
@@ -405,7 +411,6 @@ type QueriesResultAccessor<TCombinedResult> = ValueAccessor<TCombinedResult> & {
|
|
|
405
411
|
*
|
|
406
412
|
* If `queryClient` is omitted, the controller resolves the client from the
|
|
407
413
|
* nearest connected `QueryClientProvider`.
|
|
408
|
-
*
|
|
409
414
|
* @param host - The Lit reactive controller host that owns the queries
|
|
410
415
|
* subscription.
|
|
411
416
|
* @param options - Queries controller options, or a getter that returns options.
|
|
@@ -413,7 +418,6 @@ type QueriesResultAccessor<TCombinedResult> = ValueAccessor<TCombinedResult> & {
|
|
|
413
418
|
* controllers that should not resolve a client from Lit context.
|
|
414
419
|
* @returns An accessor for the latest query results, or the value returned by
|
|
415
420
|
* `combine`.
|
|
416
|
-
*
|
|
417
421
|
* @example
|
|
418
422
|
* ```ts
|
|
419
423
|
* import { LitElement, html } from 'lit'
|
|
@@ -473,14 +477,12 @@ type QueryResultAccessor<TData, TError> = ValueAccessor<QueryObserverResult<TDat
|
|
|
473
477
|
*
|
|
474
478
|
* If `queryClient` is omitted, the controller resolves the client from the
|
|
475
479
|
* nearest connected `QueryClientProvider`.
|
|
476
|
-
*
|
|
477
480
|
* @param host - The Lit reactive controller host that owns the query
|
|
478
481
|
* subscription.
|
|
479
482
|
* @param options - Query observer options, or a getter that returns options.
|
|
480
483
|
* @param queryClient - Optional explicit query client. Provide this for
|
|
481
484
|
* controllers that should not resolve a client from Lit context.
|
|
482
485
|
* @returns An accessor for the latest query result with query helper methods.
|
|
483
|
-
*
|
|
484
486
|
* @example
|
|
485
487
|
* ```ts
|
|
486
488
|
* import { LitElement, html } from 'lit'
|
|
@@ -522,14 +524,12 @@ type IsFetchingAccessor = ValueAccessor<number> & {
|
|
|
522
524
|
* When `filters` is a function, it is re-read during host updates so the count
|
|
523
525
|
* can follow reactive host state. If `queryClient` is omitted, the controller
|
|
524
526
|
* resolves the client from the nearest connected `QueryClientProvider`.
|
|
525
|
-
*
|
|
526
527
|
* @param host - The Lit reactive controller host that owns the cache
|
|
527
528
|
* subscription.
|
|
528
529
|
* @param filters - Query filters, or a getter that returns query filters.
|
|
529
530
|
* @param queryClient - Optional explicit query client. Provide this for
|
|
530
531
|
* controllers that should not resolve a client from Lit context.
|
|
531
532
|
* @returns An accessor for the current number of matching fetching queries.
|
|
532
|
-
*
|
|
533
533
|
* @example
|
|
534
534
|
* ```ts
|
|
535
535
|
* import { LitElement, html } from 'lit'
|
|
@@ -565,14 +565,12 @@ type IsMutatingAccessor = ValueAccessor<number> & {
|
|
|
565
565
|
* When `filters` is a function, it is re-read during host updates so the count
|
|
566
566
|
* can follow reactive host state. If `queryClient` is omitted, the controller
|
|
567
567
|
* resolves the client from the nearest connected `QueryClientProvider`.
|
|
568
|
-
*
|
|
569
568
|
* @param host - The Lit reactive controller host that owns the cache
|
|
570
569
|
* subscription.
|
|
571
570
|
* @param filters - Mutation filters, or a getter that returns mutation filters.
|
|
572
571
|
* @param queryClient - Optional explicit query client. Provide this for
|
|
573
572
|
* controllers that should not resolve a client from Lit context.
|
|
574
573
|
* @returns An accessor for the current number of matching pending mutations.
|
|
575
|
-
*
|
|
576
574
|
* @example
|
|
577
575
|
* ```ts
|
|
578
576
|
* import { LitElement, html } from 'lit'
|
|
@@ -619,14 +617,12 @@ type MutationStateAccessor<TResult> = ValueAccessor<Array<TResult>> & {
|
|
|
619
617
|
* the selection can follow reactive host state. If `queryClient` is omitted,
|
|
620
618
|
* the controller resolves the client from the nearest connected
|
|
621
619
|
* `QueryClientProvider`.
|
|
622
|
-
*
|
|
623
620
|
* @param host - The Lit reactive controller host that owns the mutation cache
|
|
624
621
|
* subscription.
|
|
625
622
|
* @param options - Mutation state filters and optional selector.
|
|
626
623
|
* @param queryClient - Optional explicit query client. Provide this for
|
|
627
624
|
* controllers that should not resolve a client from Lit context.
|
|
628
625
|
* @returns An accessor for the selected mutation state array.
|
|
629
|
-
*
|
|
630
626
|
* @example
|
|
631
627
|
* ```ts
|
|
632
628
|
* import { LitElement, html } from 'lit'
|
|
@@ -669,10 +665,8 @@ type UndefinedInitialDataOptions<TQueryFnData = unknown, TError = DefaultError,
|
|
|
669
665
|
/**
|
|
670
666
|
* Brands query options so the `queryKey` carries the query function data and
|
|
671
667
|
* error types across TanStack Query APIs.
|
|
672
|
-
*
|
|
673
668
|
* @param options - Query options to preserve and brand.
|
|
674
669
|
* @returns The same options object with a typed `queryKey`.
|
|
675
|
-
*
|
|
676
670
|
* @example
|
|
677
671
|
* ```ts
|
|
678
672
|
* import { queryOptions } from '@tanstack/lit-query'
|
|
@@ -690,7 +684,6 @@ export declare function queryOptions<TQueryFnData = unknown, TError = DefaultErr
|
|
|
690
684
|
/**
|
|
691
685
|
* Brands query options so the `queryKey` carries the query function data and
|
|
692
686
|
* error types across TanStack Query APIs.
|
|
693
|
-
*
|
|
694
687
|
* @param options - Query options to preserve and brand.
|
|
695
688
|
* @returns The same options object with a typed `queryKey`.
|
|
696
689
|
*/
|
|
@@ -700,7 +693,6 @@ export declare function queryOptions<TQueryFnData = unknown, TError = DefaultErr
|
|
|
700
693
|
/**
|
|
701
694
|
* Brands query options so the `queryKey` carries the query function data and
|
|
702
695
|
* error types across TanStack Query APIs.
|
|
703
|
-
*
|
|
704
696
|
* @param options - Query options to preserve and brand.
|
|
705
697
|
* @returns The same options object with a typed `queryKey`.
|
|
706
698
|
*/
|
|
@@ -712,10 +704,8 @@ export declare function queryOptions<TQueryFnData = unknown, TError = DefaultErr
|
|
|
712
704
|
/**
|
|
713
705
|
* Brands infinite query options so the `queryKey` carries the infinite query
|
|
714
706
|
* data and error types across TanStack Query APIs.
|
|
715
|
-
*
|
|
716
707
|
* @param options - Infinite query options to preserve and brand.
|
|
717
708
|
* @returns The same options object with a typed `queryKey`.
|
|
718
|
-
*
|
|
719
709
|
* @example
|
|
720
710
|
* ```ts
|
|
721
711
|
* import { infiniteQueryOptions } from '@tanstack/lit-query'
|
|
@@ -735,10 +725,8 @@ export declare function infiniteQueryOptions<TQueryFnData = unknown, TError = De
|
|
|
735
725
|
//#region src/mutationOptions.d.ts
|
|
736
726
|
/**
|
|
737
727
|
* Preserves and types mutation options for reuse across Lit Query APIs.
|
|
738
|
-
*
|
|
739
728
|
* @param options - Mutation options to preserve.
|
|
740
729
|
* @returns The same options object.
|
|
741
|
-
*
|
|
742
730
|
* @example
|
|
743
731
|
* ```ts
|
|
744
732
|
* import { mutationOptions } from '@tanstack/lit-query'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/accessor.ts","../../src/context.ts","../../src/QueryClientProvider.ts","../../src/createInfiniteQueryController.ts","../../src/createMutationController.ts","../../src/createQueriesController.ts","../../src/createQueryController.ts","../../src/useIsFetching.ts","../../src/useIsMutating.ts","../../src/useMutationState.ts","../../src/queryOptions.ts","../../src/infiniteQueryOptions.ts","../../src/mutationOptions.ts","../../src/types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/accessor.ts","../../src/context.ts","../../src/QueryClientProvider.ts","../../src/createInfiniteQueryController.ts","../../src/createMutationController.ts","../../src/createQueriesController.ts","../../src/createQueryController.ts","../../src/useIsFetching.ts","../../src/useIsMutating.ts","../../src/useMutationState.ts","../../src/queryOptions.ts","../../src/infiniteQueryOptions.ts","../../src/mutationOptions.ts","../../src/types.ts"],"mappings":";;;;;;;;;;;;;;;KAWY,SAAS,KAAK,WAAW;;;;;;;;;;;;;KAuBzB,cAAc,YAAY;WAC3B,SAAS;;;;;;;;;;;qBCzBP;eAAA;;;;;;;;;;wBAoBG,2BAA2B,QAAQ;;;;;;;;wBAYnC,6BAA6B,QAAQ;;;;;;;wBA0BrC,yBAAyB;;;;;;;;;;;;wBAoCzB,kBAAkB;;;;;;;wBAmBlB,mBAAmB,WAAW,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