@suspensive/react-query-4 3.19.0 → 3.19.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/dist/{IsFetching-CmAXgxBe.d.cts → IsFetching-CThOxeZB.d.cts} +3 -3
- package/dist/{IsFetching-CmAXgxBe.d.cts.map → IsFetching-CThOxeZB.d.cts.map} +1 -1
- package/dist/IsFetching.d.cts +1 -1
- package/dist/{PrefetchInfiniteQuery-BewcG5rR.d.cts → PrefetchInfiniteQuery-DgZfL2Sb.d.cts} +3 -3
- package/dist/{PrefetchInfiniteQuery-BewcG5rR.d.cts.map → PrefetchInfiniteQuery-DgZfL2Sb.d.cts.map} +1 -1
- package/dist/PrefetchInfiniteQuery.d.cts +1 -1
- package/dist/{PrefetchQuery-C3h9DidM.d.cts → PrefetchQuery-CeQ0yxDL.d.cts} +3 -3
- package/dist/{PrefetchQuery-C3h9DidM.d.cts.map → PrefetchQuery-CeQ0yxDL.d.cts.map} +1 -1
- package/dist/PrefetchQuery.d.cts +1 -1
- package/dist/{QueriesHydration-DQiuolCU.d.cts → QueriesHydration-B89HKn9y.d.cts} +3 -3
- package/dist/{QueriesHydration-DQiuolCU.d.cts.map → QueriesHydration-B89HKn9y.d.cts.map} +1 -1
- package/dist/QueriesHydration.d.cts +1 -1
- package/dist/{QueryClientConsumer-BW1kmzJX.d.mts → QueryClientConsumer-DNkucS1e.d.mts} +3 -3
- package/dist/{QueryClientConsumer-BW1kmzJX.d.mts.map → QueryClientConsumer-DNkucS1e.d.mts.map} +1 -1
- package/dist/QueryClientConsumer.d.mts +1 -1
- package/dist/{SuspenseInfiniteQuery-B6hHnPDQ.d.mts → SuspenseInfiniteQuery-Bt7GeiHi.d.cts} +4 -4
- package/dist/{SuspenseInfiniteQuery-B6hHnPDQ.d.mts.map → SuspenseInfiniteQuery-Bt7GeiHi.d.cts.map} +1 -1
- package/dist/{SuspenseInfiniteQuery-CBf92CTq.d.cts → SuspenseInfiniteQuery-CSd2Hyym.d.mts} +3 -3
- package/dist/{SuspenseInfiniteQuery-CBf92CTq.d.cts.map → SuspenseInfiniteQuery-CSd2Hyym.d.mts.map} +1 -1
- package/dist/SuspenseInfiniteQuery.d.cts +1 -1
- package/dist/SuspenseInfiniteQuery.d.mts +1 -1
- package/dist/{SuspenseQueries-wO-fCk30.d.cts → SuspenseQueries-B-UR1dnn.d.cts} +3 -3
- package/dist/{SuspenseQueries-wO-fCk30.d.cts.map → SuspenseQueries-B-UR1dnn.d.cts.map} +1 -1
- package/dist/SuspenseQueries.d.cts +1 -1
- package/dist/{SuspenseQuery-DzwOaqvu.d.cts → SuspenseQuery-BKoPQQ_o.d.cts} +3 -3
- package/dist/{SuspenseQuery-DzwOaqvu.d.cts.map → SuspenseQuery-BKoPQQ_o.d.cts.map} +1 -1
- package/dist/SuspenseQuery.d.cts +1 -1
- package/dist/components/ClientOnly.d.cts +2 -2
- package/dist/index.d.cts +7 -7
- package/dist/index.d.mts +2 -2
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
2
2
|
import { QueryFilters, useIsFetching } from "@tanstack/react-query";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ declare const IsFetching: ({
|
|
|
10
10
|
children
|
|
11
11
|
}: QueryFilters & {
|
|
12
12
|
children: (isFetching: ReturnType<typeof useIsFetching>) => ReactNode;
|
|
13
|
-
}) =>
|
|
13
|
+
}) => react_jsx_runtime5.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { IsFetching as t };
|
|
16
|
-
//# sourceMappingURL=IsFetching-
|
|
16
|
+
//# sourceMappingURL=IsFetching-CThOxeZB.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IsFetching-
|
|
1
|
+
{"version":3,"file":"IsFetching-CThOxeZB.d.cts","names":[],"sources":["../src/IsFetching.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAQa,cAAA,UAIZ,EAAA,CAAA;EAAA;CAAA,EAFE,YAEF,GAAA;EAJ0B,QAAA,EAAA,CAAA,UAAA,EAEgB,UAFhB,CAAA,OAEkC,aAFlC,CAAA,EAAA,GAEqD,SAFrD;CAExB,EAAA,GAAwF,kBAAA,CAAA,GAAA,CAAA,OAAxF"}
|
package/dist/IsFetching.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as IsFetching } from "./IsFetching-
|
|
1
|
+
import { t as IsFetching } from "./IsFetching-CThOxeZB.cjs";
|
|
2
2
|
export { IsFetching };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/PrefetchInfiniteQuery.d.ts
|
|
@@ -11,7 +11,7 @@ import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
|
11
11
|
* <PrefetchInfiniteQuery queryKey={['queryKey']} queryFn={queryFn} />
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>):
|
|
14
|
+
declare function PrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime1.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { PrefetchInfiniteQuery as t };
|
|
17
|
-
//# sourceMappingURL=PrefetchInfiniteQuery-
|
|
17
|
+
//# sourceMappingURL=PrefetchInfiniteQuery-DgZfL2Sb.d.cts.map
|
package/dist/{PrefetchInfiniteQuery-BewcG5rR.d.cts.map → PrefetchInfiniteQuery-DgZfL2Sb.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrefetchInfiniteQuery-
|
|
1
|
+
{"version":3,"file":"PrefetchInfiniteQuery-DgZfL2Sb.d.cts","names":[],"sources":["../src/PrefetchInfiniteQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAaA;;;;;AAKmD,iBALnC,qBAKmC,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAFzC,YAEyC,EAAA,kBAD/B,QAC+B,GADpB,QACoB,CAAA,CAAA,OAAA,EAAxC,yBAAwC,CAAd,YAAc,EAAA,MAAA,EAAQ,KAAR,EAAe,SAAf,CAAA,CAAA,EAAyB,kBAAA,CAAA,GAAA,CAAA,OAAzB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-
|
|
1
|
+
import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-DgZfL2Sb.cjs";
|
|
2
2
|
export { PrefetchInfiniteQuery };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
3
3
|
|
|
4
4
|
//#region src/PrefetchQuery.d.ts
|
|
@@ -11,7 +11,7 @@ import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
|
11
11
|
* <PrefetchQuery queryKey={['queryKey']} queryFn={queryFn} />
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>):
|
|
14
|
+
declare function PrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>): react_jsx_runtime2.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { PrefetchQuery as t };
|
|
17
|
-
//# sourceMappingURL=PrefetchQuery-
|
|
17
|
+
//# sourceMappingURL=PrefetchQuery-CeQ0yxDL.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PrefetchQuery-
|
|
1
|
+
{"version":3,"file":"PrefetchQuery-CeQ0yxDL.d.cts","names":[],"sources":["../src/PrefetchQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAaA;;;;;AAK2C,iBAL3B,aAK2B,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAFjC,YAEiC,EAAA,kBADvB,QACuB,GADZ,QACY,CAAA,CAAA,OAAA,EAAhC,iBAAgC,CAAd,YAAc,EAAA,MAAA,EAAQ,KAAR,EAAe,SAAf,CAAA,CAAA,EAAyB,kBAAA,CAAA,GAAA,CAAA,OAAzB"}
|
package/dist/PrefetchQuery.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as PrefetchQuery } from "./PrefetchQuery-
|
|
1
|
+
import { t as PrefetchQuery } from "./PrefetchQuery-CeQ0yxDL.cjs";
|
|
2
2
|
export { PrefetchQuery };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
import { HydrateProps, OmitKeyof, QueryClient, QueryOptions, UseInfiniteQueryOptions, WithRequired } from "@tanstack/react-query";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -100,7 +100,7 @@ declare function QueriesHydration({
|
|
|
100
100
|
* When not set, no timeout is applied.
|
|
101
101
|
*/
|
|
102
102
|
timeout?: number;
|
|
103
|
-
} & OmitKeyof<HydrateProps, 'state'>): Promise<
|
|
103
|
+
} & OmitKeyof<HydrateProps, 'state'>): Promise<react_jsx_runtime4.JSX.Element>;
|
|
104
104
|
//#endregion
|
|
105
105
|
export { QueriesHydration as t };
|
|
106
|
-
//# sourceMappingURL=QueriesHydration-
|
|
106
|
+
//# sourceMappingURL=QueriesHydration-B89HKn9y.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueriesHydration-
|
|
1
|
+
{"version":3,"file":"QueriesHydration-B89HKn9y.d.cts","names":[],"sources":["../src/QueriesHydration.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AA6EA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAsB,gBAAA;;;;;;;;;;;gBAWN;;;;;YAMV,aAAa,gDACb,aAAa;;;;;;;;cAWD;;;;;;;;IAQd,UAAU,yBAAsB,QAAA,kBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as QueriesHydration } from "./QueriesHydration-
|
|
1
|
+
import { t as QueriesHydration } from "./QueriesHydration-B89HKn9y.cjs";
|
|
2
2
|
export { QueriesHydration };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryClient } from "@tanstack/react-query";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
import { Context, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/QueryClientConsumer.d.ts
|
|
@@ -12,7 +12,7 @@ declare function QueryClientConsumer({
|
|
|
12
12
|
}: {
|
|
13
13
|
children: (queryClient: QueryClient) => ReactNode;
|
|
14
14
|
context?: Context<QueryClient | undefined>;
|
|
15
|
-
}):
|
|
15
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { QueryClientConsumer as t };
|
|
18
|
-
//# sourceMappingURL=QueryClientConsumer-
|
|
18
|
+
//# sourceMappingURL=QueryClientConsumer-DNkucS1e.d.mts.map
|
package/dist/{QueryClientConsumer-BW1kmzJX.d.mts.map → QueryClientConsumer-DNkucS1e.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryClientConsumer-
|
|
1
|
+
{"version":3,"file":"QueryClientConsumer-DNkucS1e.d.mts","names":[],"sources":["../src/QueryClientConsumer.tsx"],"sourcesContent":[],"mappings":";;;;;;;;AAQgB,iBAAA,mBAAA,CAAmB;EAAA,QAAA;EAAA;CAAA,EAAA;EACjC,QAAA,EAAA,CAAA,WAAA,EAGwB,WAHxB,EAAA,GAGwC,SAHxC;EACA,OAAA,CAAA,EAGU,OAHV,CAGkB,WAHlB,GAAA,SAAA,CAAA;CAEwB,CAAA,EAEzB,kBAAA,CAAA,GAAA,CAAA,OAFyB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as QueryClientConsumer } from "./QueryClientConsumer-
|
|
1
|
+
import { t as QueryClientConsumer } from "./QueryClientConsumer-DNkucS1e.mjs";
|
|
2
2
|
export { QueryClientConsumer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as UseSuspenseInfiniteQueryOptions } from "./useSuspenseInfiniteQuery-
|
|
1
|
+
import { t as UseSuspenseInfiniteQueryOptions } from "./useSuspenseInfiniteQuery-xXu-A7cX.cjs";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
3
|
import { QueryKey, UseSuspenseInfiniteQueryResult } from "@tanstack/react-query";
|
|
3
|
-
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/SuspenseInfiniteQuery.d.ts
|
|
@@ -26,7 +26,7 @@ declare const SuspenseInfiniteQuery: <TQueryFnData = unknown, TError = unknown,
|
|
|
26
26
|
...options
|
|
27
27
|
}: UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
28
28
|
children: (query: UseSuspenseInfiniteQueryResult<TData, TError>) => ReactNode;
|
|
29
|
-
}) =>
|
|
29
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { SuspenseInfiniteQuery as t };
|
|
32
|
-
//# sourceMappingURL=SuspenseInfiniteQuery-
|
|
32
|
+
//# sourceMappingURL=SuspenseInfiniteQuery-Bt7GeiHi.d.cts.map
|
package/dist/{SuspenseInfiniteQuery-B6hHnPDQ.d.mts.map → SuspenseInfiniteQuery-Bt7GeiHi.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseInfiniteQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseInfiniteQuery-Bt7GeiHi.d.cts","names":[],"sources":["../src/SuspenseInfiniteQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAqBA;;;;;;;;;;;;;AASsE,cATzD,qBASyD,EAAA,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAN5D,YAM4D,EAAA,kBALlD,QAKkD,GALvC,QAKuC,CAAA,CAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EADnE,+BACmE,CADnC,YACmC,EADrB,MACqB,EADb,KACa,EADN,SACM,CAAA,GAAA;EACrE,QAAA,EAAA,CAAA,KAAA,EADmB,8BACnB,CADkD,KAClD,EADyD,MACzD,CAAA,EAAA,GADqE,SACrE;CAAuD,EAAA,GAAvD,kBAAA,CAAA,GAAA,CAAA,OAAuD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as UseSuspenseInfiniteQueryOptions } from "./useSuspenseInfiniteQuery-
|
|
2
|
-
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
1
|
+
import { t as UseSuspenseInfiniteQueryOptions } from "./useSuspenseInfiniteQuery-Bh0nh8Kc.mjs";
|
|
3
2
|
import { QueryKey, UseSuspenseInfiniteQueryResult } from "@tanstack/react-query";
|
|
3
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/SuspenseInfiniteQuery.d.ts
|
|
@@ -29,4 +29,4 @@ declare const SuspenseInfiniteQuery: <TQueryFnData = unknown, TError = unknown,
|
|
|
29
29
|
}) => react_jsx_runtime4.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { SuspenseInfiniteQuery as t };
|
|
32
|
-
//# sourceMappingURL=SuspenseInfiniteQuery-
|
|
32
|
+
//# sourceMappingURL=SuspenseInfiniteQuery-CSd2Hyym.d.mts.map
|
package/dist/{SuspenseInfiniteQuery-CBf92CTq.d.cts.map → SuspenseInfiniteQuery-CSd2Hyym.d.mts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseInfiniteQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseInfiniteQuery-CSd2Hyym.d.mts","names":[],"sources":["../src/SuspenseInfiniteQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;AAqBA;;;;;;;;;;;;;AASsE,cATzD,qBASyD,EAAA,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAN5D,YAM4D,EAAA,kBALlD,QAKkD,GALvC,QAKuC,CAAA,CAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EADnE,+BACmE,CADnC,YACmC,EADrB,MACqB,EADb,KACa,EADN,SACM,CAAA,GAAA;EACrE,QAAA,EAAA,CAAA,KAAA,EADmB,8BACnB,CADkD,KAClD,EADyD,MACzD,CAAA,EAAA,GADqE,SACrE;CAAuD,EAAA,GAAvD,kBAAA,CAAA,GAAA,CAAA,OAAuD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-
|
|
1
|
+
import { t as SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-Bt7GeiHi.cjs";
|
|
2
2
|
export { SuspenseInfiniteQuery };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
2
2
|
import { SuspenseQueriesOptions, SuspenseQueriesResults } from "@tanstack/react-query";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ declare function SuspenseQueries<T extends any[]>({
|
|
|
25
25
|
}: {
|
|
26
26
|
queries: readonly [...SuspenseQueriesOptions<T>];
|
|
27
27
|
children: (queries: SuspenseQueriesResults<T>) => ReactNode;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime6.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SuspenseQueries as t };
|
|
31
|
-
//# sourceMappingURL=SuspenseQueries-
|
|
31
|
+
//# sourceMappingURL=SuspenseQueries-B-UR1dnn.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseQueries-
|
|
1
|
+
{"version":3,"file":"SuspenseQueries-B-UR1dnn.d.cts","names":[],"sources":["../src/SuspenseQueries.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AAoBA;;;;;;;;;;;;iBAAgB;;;;wBAIQ,uBAAuB;sBACzB,uBAAuB,OAAO;IACnD,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SuspenseQueries } from "./SuspenseQueries-
|
|
1
|
+
import { t as SuspenseQueries } from "./SuspenseQueries-B-UR1dnn.cjs";
|
|
2
2
|
export { SuspenseQueries };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
2
2
|
import { QueryKey, UseSuspenseQueryOptions, UseSuspenseQueryResult } from "@tanstack/react-query";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ declare const SuspenseQuery: <TQueryFnData = unknown, TError = unknown, TData =
|
|
|
25
25
|
...options
|
|
26
26
|
}: UseSuspenseQueryOptions<TQueryFnData, TError, TData, TQueryKey> & {
|
|
27
27
|
children: (queryResult: UseSuspenseQueryResult<TData, TError>) => ReactNode;
|
|
28
|
-
}) =>
|
|
28
|
+
}) => react_jsx_runtime8.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { SuspenseQuery as t };
|
|
31
|
-
//# sourceMappingURL=SuspenseQuery-
|
|
31
|
+
//# sourceMappingURL=SuspenseQuery-BKoPQQ_o.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuspenseQuery-
|
|
1
|
+
{"version":3,"file":"SuspenseQuery-BKoPQQ_o.d.cts","names":[],"sources":["../src/SuspenseQuery.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;AA0BA;;;;;;;;;;;;;AASoE,cATvD,aASuD,EAAA,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAN1D,YAM0D,EAAA,kBALhD,QAKgD,GALrC,QAKqC,CAAA,CAAA;EAAA,QAAA;EAAA,GAAA;CAAA,EADjE,uBACiE,CADzC,YACyC,EAD3B,MAC2B,EADnB,KACmB,EADZ,SACY,CAAA,GAAA;EACnE,QAAA,EAAA,CAAA,WAAA,EADyB,sBACzB,CADgD,KAChD,EADuD,MACvD,CAAA,EAAA,GADmE,SACnE;CAA+C,EAAA,GAA/C,kBAAA,CAAA,GAAA,CAAA,OAA+C"}
|
package/dist/SuspenseQuery.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as SuspenseQuery } from "./SuspenseQuery-
|
|
1
|
+
import { t as SuspenseQuery } from "./SuspenseQuery-BKoPQQ_o.cjs";
|
|
2
2
|
export { SuspenseQuery };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/ClientOnly.d.ts
|
|
4
4
|
declare const ClientOnly: ({
|
|
@@ -7,7 +7,7 @@ declare const ClientOnly: ({
|
|
|
7
7
|
}: {
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
fallback: React.ReactNode;
|
|
10
|
-
}) =>
|
|
10
|
+
}) => react_jsx_runtime7.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ClientOnly };
|
|
13
13
|
//# sourceMappingURL=ClientOnly.d.cts.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as IsFetching } from "./IsFetching-
|
|
1
|
+
import { t as IsFetching } from "./IsFetching-CThOxeZB.cjs";
|
|
2
2
|
import { t as Mutation } from "./Mutation-Dt5kUsd8.cjs";
|
|
3
|
-
import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-
|
|
4
|
-
import { t as PrefetchQuery } from "./PrefetchQuery-
|
|
5
|
-
import { t as QueriesHydration } from "./QueriesHydration-
|
|
3
|
+
import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-DgZfL2Sb.cjs";
|
|
4
|
+
import { t as PrefetchQuery } from "./PrefetchQuery-CeQ0yxDL.cjs";
|
|
5
|
+
import { t as QueriesHydration } from "./QueriesHydration-B89HKn9y.cjs";
|
|
6
6
|
import { t as QueryClientConsumer } from "./QueryClientConsumer-D3h25GmM.cjs";
|
|
7
7
|
import { n as UseSuspenseInfiniteQueryResult, r as useSuspenseInfiniteQuery, t as UseSuspenseInfiniteQueryOptions } from "./useSuspenseInfiniteQuery-xXu-A7cX.cjs";
|
|
8
|
-
import { t as SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-
|
|
9
|
-
import { t as SuspenseQueries } from "./SuspenseQueries-
|
|
10
|
-
import { t as SuspenseQuery } from "./SuspenseQuery-
|
|
8
|
+
import { t as SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-Bt7GeiHi.cjs";
|
|
9
|
+
import { t as SuspenseQueries } from "./SuspenseQueries-B-UR1dnn.cjs";
|
|
10
|
+
import { t as SuspenseQuery } from "./SuspenseQuery-BKoPQQ_o.cjs";
|
|
11
11
|
import { t as createGetQueryClient } from "./createGetQueryClient-iXoXO7so.cjs";
|
|
12
12
|
import { n as UnSelectedInfiniteOptions, r as infiniteQueryOptions, t as SelectedInfiniteOptions } from "./infiniteQueryOptions-Be7VYTUR.cjs";
|
|
13
13
|
import { n as UnSelectedQueryOptions, r as queryOptions, t as SelectedQueryOptions } from "./queryOptions-DNGHeGX5.cjs";
|
package/dist/index.d.mts
CHANGED
|
@@ -3,9 +3,9 @@ import { t as Mutation } from "./Mutation-CGpbCg54.mjs";
|
|
|
3
3
|
import { t as PrefetchInfiniteQuery } from "./PrefetchInfiniteQuery-Dzjm5lf8.mjs";
|
|
4
4
|
import { t as PrefetchQuery } from "./PrefetchQuery-DAqAWOeP.mjs";
|
|
5
5
|
import { t as QueriesHydration } from "./QueriesHydration-BeMkJU3l.mjs";
|
|
6
|
-
import { t as QueryClientConsumer } from "./QueryClientConsumer-
|
|
6
|
+
import { t as QueryClientConsumer } from "./QueryClientConsumer-DNkucS1e.mjs";
|
|
7
7
|
import { n as UseSuspenseInfiniteQueryResult, r as useSuspenseInfiniteQuery, t as UseSuspenseInfiniteQueryOptions } from "./useSuspenseInfiniteQuery-Bh0nh8Kc.mjs";
|
|
8
|
-
import { t as SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-
|
|
8
|
+
import { t as SuspenseInfiniteQuery } from "./SuspenseInfiniteQuery-CSd2Hyym.mjs";
|
|
9
9
|
import { t as SuspenseQueries } from "./SuspenseQueries-CF_WoDIW.mjs";
|
|
10
10
|
import { t as SuspenseQuery } from "./SuspenseQuery-BZ20Rsoo.mjs";
|
|
11
11
|
import { t as createGetQueryClient } from "./createGetQueryClient-DTKVVwpJ.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suspensive/react-query-4",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.1",
|
|
4
4
|
"description": "Suspensive interfaces for @tanstack/react-query@4",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"suspensive",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@types/react": "^19.2.7",
|
|
44
44
|
"react": "^19.2.3",
|
|
45
45
|
"@suspensive/eslint-config": "0.0.1",
|
|
46
|
-
"@suspensive/
|
|
47
|
-
"@suspensive/
|
|
46
|
+
"@suspensive/tsconfig": "0.0.0-development",
|
|
47
|
+
"@suspensive/tsdown": "0.0.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@tanstack/react-query": "*",
|