@zenstackhq/tanstack-query 2.14.1 → 2.14.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/package.json +4 -4
- package/runtime-v5/react.d.mts +4 -4
- package/runtime-v5/react.d.ts +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenstackhq/tanstack-query",
|
|
3
3
|
"displayName": "ZenStack plugin for generating tanstack-query hooks",
|
|
4
|
-
"version": "2.14.
|
|
4
|
+
"version": "2.14.2",
|
|
5
5
|
"description": "ZenStack plugin for generating tanstack-query hooks",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"exports": {
|
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
"ts-morph": "^16.0.0",
|
|
80
80
|
"ts-pattern": "^4.3.0",
|
|
81
81
|
"upper-case-first": "^2.0.2",
|
|
82
|
-
"@zenstackhq/runtime": "2.14.
|
|
83
|
-
"@zenstackhq/sdk": "2.14.
|
|
82
|
+
"@zenstackhq/runtime": "2.14.2",
|
|
83
|
+
"@zenstackhq/sdk": "2.14.2"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@tanstack/react-query": "^4.29.7",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"swr": "^2.0.3",
|
|
102
102
|
"tmp": "^0.2.3",
|
|
103
103
|
"vue": "^3.3.4",
|
|
104
|
-
"@zenstackhq/testtools": "2.14.
|
|
104
|
+
"@zenstackhq/testtools": "2.14.2"
|
|
105
105
|
},
|
|
106
106
|
"scripts": {
|
|
107
107
|
"clean": "rimraf dist",
|
package/runtime-v5/react.d.mts
CHANGED
|
@@ -190,6 +190,7 @@ declare function useSuspenseModelQuery<TQueryFnData, TData, TError>(model: strin
|
|
|
190
190
|
data: TData;
|
|
191
191
|
error: TError | null;
|
|
192
192
|
isError: boolean;
|
|
193
|
+
isPending: false;
|
|
193
194
|
isLoading: false;
|
|
194
195
|
isLoadingError: false;
|
|
195
196
|
isRefetchError: boolean;
|
|
@@ -209,7 +210,6 @@ declare function useSuspenseModelQuery<TQueryFnData, TData, TError>(model: strin
|
|
|
209
210
|
isStale: boolean;
|
|
210
211
|
refetch: (options?: _tanstack_react_query_v5.RefetchOptions) => Promise<_tanstack_react_query_v5.QueryObserverResult<TData, TError>>;
|
|
211
212
|
fetchStatus: _tanstack_react_query_v5.FetchStatus;
|
|
212
|
-
isPending: false;
|
|
213
213
|
queryKey: [string, string, string, unknown, {
|
|
214
214
|
infinite: boolean;
|
|
215
215
|
optimisticUpdate: boolean;
|
|
@@ -425,6 +425,7 @@ declare function useSuspenseInfiniteModelQuery<TQueryFnData, TData, TError>(mode
|
|
|
425
425
|
data: InfiniteData<TData, unknown>;
|
|
426
426
|
error: TError | null;
|
|
427
427
|
isError: boolean;
|
|
428
|
+
isPending: false;
|
|
428
429
|
isLoading: false;
|
|
429
430
|
isLoadingError: false;
|
|
430
431
|
isRefetchError: boolean;
|
|
@@ -448,11 +449,10 @@ declare function useSuspenseInfiniteModelQuery<TQueryFnData, TData, TError>(mode
|
|
|
448
449
|
fetchPreviousPage: (options?: _tanstack_react_query_v5.FetchPreviousPageOptions) => Promise<_tanstack_react_query_v5.InfiniteQueryObserverResult<InfiniteData<TData, unknown>, TError>>;
|
|
449
450
|
hasNextPage: boolean;
|
|
450
451
|
hasPreviousPage: boolean;
|
|
451
|
-
isFetchingNextPage: boolean;
|
|
452
|
-
isFetchingPreviousPage: boolean;
|
|
453
|
-
isPending: false;
|
|
454
452
|
isFetchNextPageError: boolean;
|
|
453
|
+
isFetchingNextPage: boolean;
|
|
455
454
|
isFetchPreviousPageError: boolean;
|
|
455
|
+
isFetchingPreviousPage: boolean;
|
|
456
456
|
queryKey: [string, string, string, unknown, {
|
|
457
457
|
infinite: boolean;
|
|
458
458
|
optimisticUpdate: boolean;
|
package/runtime-v5/react.d.ts
CHANGED
|
@@ -190,6 +190,7 @@ declare function useSuspenseModelQuery<TQueryFnData, TData, TError>(model: strin
|
|
|
190
190
|
data: TData;
|
|
191
191
|
error: TError | null;
|
|
192
192
|
isError: boolean;
|
|
193
|
+
isPending: false;
|
|
193
194
|
isLoading: false;
|
|
194
195
|
isLoadingError: false;
|
|
195
196
|
isRefetchError: boolean;
|
|
@@ -209,7 +210,6 @@ declare function useSuspenseModelQuery<TQueryFnData, TData, TError>(model: strin
|
|
|
209
210
|
isStale: boolean;
|
|
210
211
|
refetch: (options?: _tanstack_react_query_v5.RefetchOptions) => Promise<_tanstack_react_query_v5.QueryObserverResult<TData, TError>>;
|
|
211
212
|
fetchStatus: _tanstack_react_query_v5.FetchStatus;
|
|
212
|
-
isPending: false;
|
|
213
213
|
queryKey: [string, string, string, unknown, {
|
|
214
214
|
infinite: boolean;
|
|
215
215
|
optimisticUpdate: boolean;
|
|
@@ -425,6 +425,7 @@ declare function useSuspenseInfiniteModelQuery<TQueryFnData, TData, TError>(mode
|
|
|
425
425
|
data: InfiniteData<TData, unknown>;
|
|
426
426
|
error: TError | null;
|
|
427
427
|
isError: boolean;
|
|
428
|
+
isPending: false;
|
|
428
429
|
isLoading: false;
|
|
429
430
|
isLoadingError: false;
|
|
430
431
|
isRefetchError: boolean;
|
|
@@ -448,11 +449,10 @@ declare function useSuspenseInfiniteModelQuery<TQueryFnData, TData, TError>(mode
|
|
|
448
449
|
fetchPreviousPage: (options?: _tanstack_react_query_v5.FetchPreviousPageOptions) => Promise<_tanstack_react_query_v5.InfiniteQueryObserverResult<InfiniteData<TData, unknown>, TError>>;
|
|
449
450
|
hasNextPage: boolean;
|
|
450
451
|
hasPreviousPage: boolean;
|
|
451
|
-
isFetchingNextPage: boolean;
|
|
452
|
-
isFetchingPreviousPage: boolean;
|
|
453
|
-
isPending: false;
|
|
454
452
|
isFetchNextPageError: boolean;
|
|
453
|
+
isFetchingNextPage: boolean;
|
|
455
454
|
isFetchPreviousPageError: boolean;
|
|
455
|
+
isFetchingPreviousPage: boolean;
|
|
456
456
|
queryKey: [string, string, string, unknown, {
|
|
457
457
|
infinite: boolean;
|
|
458
458
|
optimisticUpdate: boolean;
|