@qiaopeng/tanstack-query-plus 0.5.9 → 0.5.10

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.
Files changed (250) hide show
  1. package/README.md +86 -55
  2. package/dist/{types/base.d.ts → base-CHnwqfyz.d.cts} +12 -14
  3. package/dist/base-CHnwqfyz.d.ts +52 -0
  4. package/dist/chunk-52ZO6Y67.cjs +1121 -0
  5. package/dist/chunk-52ZO6Y67.cjs.map +1 -0
  6. package/dist/chunk-5J6OXSLW.cjs +36 -0
  7. package/dist/chunk-5J6OXSLW.cjs.map +1 -0
  8. package/dist/chunk-6MAYHLTE.cjs +310 -0
  9. package/dist/chunk-6MAYHLTE.cjs.map +1 -0
  10. package/dist/chunk-ADS2QTMP.js +144 -0
  11. package/dist/chunk-ADS2QTMP.js.map +1 -0
  12. package/dist/chunk-APXNNHBD.cjs +374 -0
  13. package/dist/chunk-APXNNHBD.cjs.map +1 -0
  14. package/dist/chunk-AXMWOGNX.js +134 -0
  15. package/dist/chunk-AXMWOGNX.js.map +1 -0
  16. package/dist/chunk-B4KO3K3E.cjs +521 -0
  17. package/dist/chunk-B4KO3K3E.cjs.map +1 -0
  18. package/dist/chunk-BK3OTIBD.cjs +15 -0
  19. package/dist/chunk-BK3OTIBD.cjs.map +1 -0
  20. package/dist/chunk-BYAOQALW.js +13 -0
  21. package/dist/chunk-BYAOQALW.js.map +1 -0
  22. package/dist/chunk-CRTVS7VI.cjs +162 -0
  23. package/dist/chunk-CRTVS7VI.cjs.map +1 -0
  24. package/dist/chunk-EXITP7QO.js +288 -0
  25. package/dist/chunk-EXITP7QO.js.map +1 -0
  26. package/dist/chunk-GMO3PRZZ.js +565 -0
  27. package/dist/chunk-GMO3PRZZ.js.map +1 -0
  28. package/dist/chunk-HRO2DWKZ.js +12 -0
  29. package/dist/chunk-HRO2DWKZ.js.map +1 -0
  30. package/dist/chunk-JHDKUQSB.js +1069 -0
  31. package/dist/chunk-JHDKUQSB.js.map +1 -0
  32. package/dist/chunk-JN2Y6RSY.js +23 -0
  33. package/dist/chunk-JN2Y6RSY.js.map +1 -0
  34. package/dist/chunk-JRJSKRZW.cjs +29 -0
  35. package/dist/chunk-JRJSKRZW.cjs.map +1 -0
  36. package/dist/chunk-KC62H4VJ.js +123 -0
  37. package/dist/chunk-KC62H4VJ.js.map +1 -0
  38. package/dist/chunk-LHEHSLD5.js +31 -0
  39. package/dist/chunk-LHEHSLD5.js.map +1 -0
  40. package/dist/chunk-N4264P7N.cjs +156 -0
  41. package/dist/chunk-N4264P7N.cjs.map +1 -0
  42. package/dist/chunk-NF5QYPYC.cjs +133 -0
  43. package/dist/chunk-NF5QYPYC.cjs.map +1 -0
  44. package/dist/chunk-OFLCHKKE.cjs +28 -0
  45. package/dist/chunk-OFLCHKKE.cjs.map +1 -0
  46. package/dist/chunk-PCNSWVA5.cjs +602 -0
  47. package/dist/chunk-PCNSWVA5.cjs.map +1 -0
  48. package/dist/chunk-STOMAA2X.js +85 -0
  49. package/dist/chunk-STOMAA2X.js.map +1 -0
  50. package/dist/chunk-UVF5S6LX.cjs +15 -0
  51. package/dist/chunk-UVF5S6LX.cjs.map +1 -0
  52. package/dist/chunk-WEIXCDCA.cjs +90 -0
  53. package/dist/chunk-WEIXCDCA.cjs.map +1 -0
  54. package/dist/chunk-X3ZTSLBQ.js +355 -0
  55. package/dist/chunk-X3ZTSLBQ.js.map +1 -0
  56. package/dist/chunk-YEV73J4J.js +504 -0
  57. package/dist/chunk-YEV73J4J.js.map +1 -0
  58. package/dist/chunk-YW5PNTRU.cjs +14 -0
  59. package/dist/chunk-YW5PNTRU.cjs.map +1 -0
  60. package/dist/chunk-ZNXSWUIS.js +12 -0
  61. package/dist/chunk-ZNXSWUIS.js.map +1 -0
  62. package/dist/chunk-ZUEMBY4W.js +21 -0
  63. package/dist/chunk-ZUEMBY4W.js.map +1 -0
  64. package/dist/components/index.cjs +60 -0
  65. package/dist/components/index.cjs.map +1 -0
  66. package/dist/components/index.d.cts +43 -0
  67. package/dist/components/index.d.ts +43 -4
  68. package/dist/components/index.js +3 -4
  69. package/dist/components/index.js.map +1 -0
  70. package/dist/core/devtools.cjs +25 -0
  71. package/dist/core/devtools.cjs.map +1 -0
  72. package/dist/core/devtools.d.cts +17 -0
  73. package/dist/core/devtools.d.ts +9 -7
  74. package/dist/core/devtools.js +4 -16
  75. package/dist/core/devtools.js.map +1 -0
  76. package/dist/core/index.cjs +220 -0
  77. package/dist/core/index.cjs.map +1 -0
  78. package/dist/core/index.d.cts +196 -0
  79. package/dist/core/index.d.ts +196 -9
  80. package/dist/core/index.js +7 -8
  81. package/dist/core/index.js.map +1 -0
  82. package/dist/features/index.cjs +76 -0
  83. package/dist/features/index.cjs.map +1 -0
  84. package/dist/features/index.d.cts +86 -0
  85. package/dist/features/index.d.ts +86 -4
  86. package/dist/features/index.js +7 -3
  87. package/dist/features/index.js.map +1 -0
  88. package/dist/hooks/index.cjs +209 -0
  89. package/dist/hooks/index.cjs.map +1 -0
  90. package/dist/hooks/index.d.cts +377 -0
  91. package/dist/hooks/index.d.ts +377 -10
  92. package/dist/hooks/index.js +8 -9
  93. package/dist/hooks/index.js.map +1 -0
  94. package/dist/hooks/useInViewPrefetch.cjs +33 -0
  95. package/dist/hooks/useInViewPrefetch.cjs.map +1 -0
  96. package/dist/hooks/useInViewPrefetch.d.cts +12 -0
  97. package/dist/hooks/useInViewPrefetch.d.ts +6 -4
  98. package/dist/hooks/useInViewPrefetch.js +30 -20
  99. package/dist/hooks/useInViewPrefetch.js.map +1 -0
  100. package/dist/index.cjs +811 -0
  101. package/dist/index.cjs.map +1 -0
  102. package/dist/index.d.cts +36 -0
  103. package/dist/index.d.ts +36 -8
  104. package/dist/index.js +89 -7
  105. package/dist/index.js.map +1 -0
  106. package/dist/{types/offline.d.ts → offline-DVPtgoAS.d.ts} +15 -13
  107. package/dist/offline-xxeA_-6V.d.cts +99 -0
  108. package/dist/persistence-MRtkmhqq.d.cts +216 -0
  109. package/dist/persistence-tIrEb0pR.d.ts +216 -0
  110. package/dist/react-query/index.cjs +52 -0
  111. package/dist/react-query/index.cjs.map +1 -0
  112. package/dist/react-query/index.d.cts +1 -0
  113. package/dist/react-query/index.d.ts +1 -3
  114. package/dist/react-query/index.js +3 -1
  115. package/dist/react-query/index.js.map +1 -0
  116. package/dist/types/index.cjs +43 -0
  117. package/dist/types/index.cjs.map +1 -0
  118. package/dist/types/index.d.cts +157 -0
  119. package/dist/types/index.d.ts +116 -12
  120. package/dist/types/index.js +6 -8
  121. package/dist/types/index.js.map +1 -0
  122. package/dist/utils/index.cjs +234 -0
  123. package/dist/utils/index.cjs.map +1 -0
  124. package/dist/utils/index.d.cts +272 -0
  125. package/dist/utils/index.d.ts +272 -10
  126. package/dist/utils/index.js +9 -9
  127. package/dist/utils/index.js.map +1 -0
  128. package/package.json +13 -3
  129. package/dist/PersistQueryClientProvider.d.ts +0 -22
  130. package/dist/PersistQueryClientProvider.d.ts.map +0 -1
  131. package/dist/PersistQueryClientProvider.js +0 -57
  132. package/dist/components/LoadingFallback.d.ts +0 -16
  133. package/dist/components/LoadingFallback.d.ts.map +0 -1
  134. package/dist/components/LoadingFallback.js +0 -27
  135. package/dist/components/QueryErrorBoundary.d.ts +0 -12
  136. package/dist/components/QueryErrorBoundary.d.ts.map +0 -1
  137. package/dist/components/QueryErrorBoundary.js +0 -9
  138. package/dist/components/SuspenseWrapper.d.ts +0 -14
  139. package/dist/components/SuspenseWrapper.d.ts.map +0 -1
  140. package/dist/components/SuspenseWrapper.js +0 -9
  141. package/dist/components/index.d.ts.map +0 -1
  142. package/dist/components/internal/ErrorBoundary.d.ts +0 -27
  143. package/dist/components/internal/ErrorBoundary.d.ts.map +0 -1
  144. package/dist/components/internal/ErrorBoundary.js +0 -37
  145. package/dist/core/config.d.ts +0 -80
  146. package/dist/core/config.d.ts.map +0 -1
  147. package/dist/core/config.js +0 -327
  148. package/dist/core/devtools.d.ts.map +0 -1
  149. package/dist/core/env.d.ts +0 -4
  150. package/dist/core/env.d.ts.map +0 -1
  151. package/dist/core/env.js +0 -26
  152. package/dist/core/focusManager.d.ts +0 -33
  153. package/dist/core/focusManager.d.ts.map +0 -1
  154. package/dist/core/focusManager.js +0 -122
  155. package/dist/core/index.d.ts.map +0 -1
  156. package/dist/core/keys.d.ts +0 -59
  157. package/dist/core/keys.d.ts.map +0 -1
  158. package/dist/core/keys.js +0 -107
  159. package/dist/core/queryOptions.d.ts +0 -19
  160. package/dist/core/queryOptions.d.ts.map +0 -1
  161. package/dist/core/queryOptions.js +0 -32
  162. package/dist/features/index.d.ts.map +0 -1
  163. package/dist/features/offline.d.ts +0 -49
  164. package/dist/features/offline.d.ts.map +0 -1
  165. package/dist/features/offline.js +0 -300
  166. package/dist/features/persistence.d.ts +0 -36
  167. package/dist/features/persistence.d.ts.map +0 -1
  168. package/dist/features/persistence.js +0 -187
  169. package/dist/hooks/batchQueries.d.ts +0 -129
  170. package/dist/hooks/batchQueries.d.ts.map +0 -1
  171. package/dist/hooks/batchQueries.js +0 -301
  172. package/dist/hooks/index.d.ts.map +0 -1
  173. package/dist/hooks/useDataGuardMutation.d.ts +0 -39
  174. package/dist/hooks/useDataGuardMutation.d.ts.map +0 -1
  175. package/dist/hooks/useDataGuardMutation.js +0 -137
  176. package/dist/hooks/useDataGuardQuery.d.ts +0 -28
  177. package/dist/hooks/useDataGuardQuery.d.ts.map +0 -1
  178. package/dist/hooks/useDataGuardQuery.js +0 -71
  179. package/dist/hooks/useFocusManager.d.ts +0 -41
  180. package/dist/hooks/useFocusManager.d.ts.map +0 -1
  181. package/dist/hooks/useFocusManager.js +0 -109
  182. package/dist/hooks/useInViewPrefetch.d.ts.map +0 -1
  183. package/dist/hooks/useInfiniteQuery.d.ts +0 -33
  184. package/dist/hooks/useInfiniteQuery.d.ts.map +0 -1
  185. package/dist/hooks/useInfiniteQuery.js +0 -61
  186. package/dist/hooks/useMutation.d.ts +0 -25
  187. package/dist/hooks/useMutation.d.ts.map +0 -1
  188. package/dist/hooks/useMutation.js +0 -180
  189. package/dist/hooks/usePrefetch.d.ts +0 -54
  190. package/dist/hooks/usePrefetch.d.ts.map +0 -1
  191. package/dist/hooks/usePrefetch.js +0 -229
  192. package/dist/hooks/useQuery.d.ts +0 -21
  193. package/dist/hooks/useQuery.d.ts.map +0 -1
  194. package/dist/hooks/useQuery.js +0 -46
  195. package/dist/hooks/useSuspenseQuery.d.ts +0 -11
  196. package/dist/hooks/useSuspenseQuery.d.ts.map +0 -1
  197. package/dist/hooks/useSuspenseQuery.js +0 -19
  198. package/dist/index.d.ts.map +0 -1
  199. package/dist/react-query/index.d.ts.map +0 -1
  200. package/dist/types/base.d.ts.map +0 -1
  201. package/dist/types/base.js +0 -26
  202. package/dist/types/dataGuard.d.ts +0 -69
  203. package/dist/types/dataGuard.d.ts.map +0 -1
  204. package/dist/types/dataGuard.js +0 -10
  205. package/dist/types/index.d.ts.map +0 -1
  206. package/dist/types/infinite.d.ts +0 -39
  207. package/dist/types/infinite.d.ts.map +0 -1
  208. package/dist/types/infinite.js +0 -1
  209. package/dist/types/offline.d.ts.map +0 -1
  210. package/dist/types/offline.js +0 -8
  211. package/dist/types/optimistic.d.ts +0 -126
  212. package/dist/types/optimistic.d.ts.map +0 -1
  213. package/dist/types/optimistic.js +0 -7
  214. package/dist/types/persistence.d.ts +0 -9
  215. package/dist/types/persistence.d.ts.map +0 -1
  216. package/dist/types/persistence.js +0 -1
  217. package/dist/types/selectors.d.ts +0 -11
  218. package/dist/types/selectors.d.ts.map +0 -1
  219. package/dist/types/selectors.js +0 -1
  220. package/dist/types/suspense.d.ts +0 -67
  221. package/dist/types/suspense.d.ts.map +0 -1
  222. package/dist/types/suspense.js +0 -1
  223. package/dist/utils/dataGuard.d.ts +0 -37
  224. package/dist/utils/dataGuard.d.ts.map +0 -1
  225. package/dist/utils/dataGuard.js +0 -251
  226. package/dist/utils/fieldMapper.d.ts +0 -9
  227. package/dist/utils/fieldMapper.d.ts.map +0 -1
  228. package/dist/utils/fieldMapper.js +0 -27
  229. package/dist/utils/index.d.ts.map +0 -1
  230. package/dist/utils/network.d.ts +0 -9
  231. package/dist/utils/network.d.ts.map +0 -1
  232. package/dist/utils/network.js +0 -43
  233. package/dist/utils/optimisticUtils.d.ts +0 -45
  234. package/dist/utils/optimisticUtils.d.ts.map +0 -1
  235. package/dist/utils/optimisticUtils.js +0 -116
  236. package/dist/utils/placeholderData.d.ts +0 -3
  237. package/dist/utils/placeholderData.d.ts.map +0 -1
  238. package/dist/utils/placeholderData.js +0 -28
  239. package/dist/utils/prefetchManager.d.ts +0 -111
  240. package/dist/utils/prefetchManager.d.ts.map +0 -1
  241. package/dist/utils/prefetchManager.js +0 -246
  242. package/dist/utils/queryKey.d.ts +0 -26
  243. package/dist/utils/queryKey.d.ts.map +0 -1
  244. package/dist/utils/queryKey.js +0 -89
  245. package/dist/utils/selectors.d.ts +0 -30
  246. package/dist/utils/selectors.d.ts.map +0 -1
  247. package/dist/utils/selectors.js +0 -18
  248. package/dist/utils/storage.d.ts +0 -7
  249. package/dist/utils/storage.d.ts.map +0 -1
  250. package/dist/utils/storage.js +0 -84
@@ -0,0 +1,60 @@
1
+ 'use strict';
2
+
3
+ var chunkN4264P7N_cjs = require('../chunk-N4264P7N.cjs');
4
+
5
+
6
+
7
+ Object.defineProperty(exports, "CardSkeletonFallback", {
8
+ enumerable: true,
9
+ get: function () { return chunkN4264P7N_cjs.CardSkeletonFallback; }
10
+ });
11
+ Object.defineProperty(exports, "DefaultLoadingFallback", {
12
+ enumerable: true,
13
+ get: function () { return chunkN4264P7N_cjs.DefaultLoadingFallback; }
14
+ });
15
+ Object.defineProperty(exports, "FullScreenLoading", {
16
+ enumerable: true,
17
+ get: function () { return chunkN4264P7N_cjs.FullScreenLoading; }
18
+ });
19
+ Object.defineProperty(exports, "HydrationBoundary", {
20
+ enumerable: true,
21
+ get: function () { return chunkN4264P7N_cjs.HydrationBoundary; }
22
+ });
23
+ Object.defineProperty(exports, "ListSkeletonFallback", {
24
+ enumerable: true,
25
+ get: function () { return chunkN4264P7N_cjs.ListSkeletonFallback; }
26
+ });
27
+ Object.defineProperty(exports, "PageSkeletonFallback", {
28
+ enumerable: true,
29
+ get: function () { return chunkN4264P7N_cjs.PageSkeletonFallback; }
30
+ });
31
+ Object.defineProperty(exports, "QueryErrorBoundary", {
32
+ enumerable: true,
33
+ get: function () { return chunkN4264P7N_cjs.QueryErrorBoundary; }
34
+ });
35
+ Object.defineProperty(exports, "QuerySuspenseWrapper", {
36
+ enumerable: true,
37
+ get: function () { return chunkN4264P7N_cjs.QuerySuspenseWrapper; }
38
+ });
39
+ Object.defineProperty(exports, "SmallLoadingIndicator", {
40
+ enumerable: true,
41
+ get: function () { return chunkN4264P7N_cjs.SmallLoadingIndicator; }
42
+ });
43
+ Object.defineProperty(exports, "SuspenseWrapper", {
44
+ enumerable: true,
45
+ get: function () { return chunkN4264P7N_cjs.SuspenseWrapper; }
46
+ });
47
+ Object.defineProperty(exports, "TextSkeletonFallback", {
48
+ enumerable: true,
49
+ get: function () { return chunkN4264P7N_cjs.TextSkeletonFallback; }
50
+ });
51
+ Object.defineProperty(exports, "dehydrate", {
52
+ enumerable: true,
53
+ get: function () { return chunkN4264P7N_cjs.dehydrate; }
54
+ });
55
+ Object.defineProperty(exports, "hydrate", {
56
+ enumerable: true,
57
+ get: function () { return chunkN4264P7N_cjs.hydrate; }
58
+ });
59
+ //# sourceMappingURL=index.cjs.map
60
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,43 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+ export { HydrationBoundary, dehydrate, hydrate } from '@tanstack/react-query';
4
+
5
+ declare function DefaultLoadingFallback(): react_jsx_runtime.JSX.Element;
6
+ declare function TextSkeletonFallback({ lines }: {
7
+ lines?: number;
8
+ }): react_jsx_runtime.JSX.Element;
9
+ declare function CardSkeletonFallback(): react_jsx_runtime.JSX.Element;
10
+ declare function ListSkeletonFallback({ items }: {
11
+ items?: number;
12
+ }): react_jsx_runtime.JSX.Element;
13
+ declare function PageSkeletonFallback(): react_jsx_runtime.JSX.Element;
14
+ declare function SmallLoadingIndicator({ size }: {
15
+ size?: "sm" | "md" | "lg";
16
+ }): react_jsx_runtime.JSX.Element;
17
+ declare function FullScreenLoading({ message }: {
18
+ message?: string;
19
+ }): react_jsx_runtime.JSX.Element;
20
+
21
+ interface QueryErrorBoundaryProps {
22
+ children: ReactNode;
23
+ fallback?: (error: Error, resetErrorBoundary: () => void) => ReactNode;
24
+ onError?: (error: Error, errorInfo: {
25
+ componentStack: string;
26
+ }) => void;
27
+ resetKeys?: Array<string | number>;
28
+ }
29
+ declare function QueryErrorBoundary({ children, fallback, onError, resetKeys, ...props }: QueryErrorBoundaryProps): react_jsx_runtime.JSX.Element;
30
+
31
+ interface SuspenseWrapperProps {
32
+ children: ReactNode;
33
+ fallback?: ReactNode;
34
+ errorFallback?: (error: Error, resetErrorBoundary: () => void) => ReactNode;
35
+ onError?: (error: Error, errorInfo: {
36
+ componentStack: string;
37
+ }) => void;
38
+ resetKeys?: Array<string | number>;
39
+ }
40
+ declare function SuspenseWrapper({ children, fallback, errorFallback, onError, resetKeys }: SuspenseWrapperProps): react_jsx_runtime.JSX.Element;
41
+ declare function QuerySuspenseWrapper({ children, fallback, errorFallback, onError, resetKeys }: SuspenseWrapperProps): react_jsx_runtime.JSX.Element;
42
+
43
+ export { CardSkeletonFallback, DefaultLoadingFallback, FullScreenLoading, ListSkeletonFallback, PageSkeletonFallback, QueryErrorBoundary, type QueryErrorBoundaryProps, QuerySuspenseWrapper, SmallLoadingIndicator, SuspenseWrapper, TextSkeletonFallback };
@@ -1,4 +1,43 @@
1
- export { CardSkeletonFallback, DefaultLoadingFallback, FullScreenLoading, ListSkeletonFallback, PageSkeletonFallback, SmallLoadingIndicator, TextSkeletonFallback } from "./LoadingFallback.js";
2
- export { QueryErrorBoundary, type QueryErrorBoundaryProps } from "./QueryErrorBoundary.js";
3
- export { QuerySuspenseWrapper, SuspenseWrapper } from "./SuspenseWrapper.js";
4
- //# sourceMappingURL=index.d.ts.map
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ReactNode } from 'react';
3
+ export { HydrationBoundary, dehydrate, hydrate } from '@tanstack/react-query';
4
+
5
+ declare function DefaultLoadingFallback(): react_jsx_runtime.JSX.Element;
6
+ declare function TextSkeletonFallback({ lines }: {
7
+ lines?: number;
8
+ }): react_jsx_runtime.JSX.Element;
9
+ declare function CardSkeletonFallback(): react_jsx_runtime.JSX.Element;
10
+ declare function ListSkeletonFallback({ items }: {
11
+ items?: number;
12
+ }): react_jsx_runtime.JSX.Element;
13
+ declare function PageSkeletonFallback(): react_jsx_runtime.JSX.Element;
14
+ declare function SmallLoadingIndicator({ size }: {
15
+ size?: "sm" | "md" | "lg";
16
+ }): react_jsx_runtime.JSX.Element;
17
+ declare function FullScreenLoading({ message }: {
18
+ message?: string;
19
+ }): react_jsx_runtime.JSX.Element;
20
+
21
+ interface QueryErrorBoundaryProps {
22
+ children: ReactNode;
23
+ fallback?: (error: Error, resetErrorBoundary: () => void) => ReactNode;
24
+ onError?: (error: Error, errorInfo: {
25
+ componentStack: string;
26
+ }) => void;
27
+ resetKeys?: Array<string | number>;
28
+ }
29
+ declare function QueryErrorBoundary({ children, fallback, onError, resetKeys, ...props }: QueryErrorBoundaryProps): react_jsx_runtime.JSX.Element;
30
+
31
+ interface SuspenseWrapperProps {
32
+ children: ReactNode;
33
+ fallback?: ReactNode;
34
+ errorFallback?: (error: Error, resetErrorBoundary: () => void) => ReactNode;
35
+ onError?: (error: Error, errorInfo: {
36
+ componentStack: string;
37
+ }) => void;
38
+ resetKeys?: Array<string | number>;
39
+ }
40
+ declare function SuspenseWrapper({ children, fallback, errorFallback, onError, resetKeys }: SuspenseWrapperProps): react_jsx_runtime.JSX.Element;
41
+ declare function QuerySuspenseWrapper({ children, fallback, errorFallback, onError, resetKeys }: SuspenseWrapperProps): react_jsx_runtime.JSX.Element;
42
+
43
+ export { CardSkeletonFallback, DefaultLoadingFallback, FullScreenLoading, ListSkeletonFallback, PageSkeletonFallback, QueryErrorBoundary, type QueryErrorBoundaryProps, QuerySuspenseWrapper, SmallLoadingIndicator, SuspenseWrapper, TextSkeletonFallback };
@@ -1,4 +1,3 @@
1
- export { CardSkeletonFallback, DefaultLoadingFallback, FullScreenLoading, ListSkeletonFallback, PageSkeletonFallback, SmallLoadingIndicator, TextSkeletonFallback } from "./LoadingFallback.js";
2
- export { QueryErrorBoundary } from "./QueryErrorBoundary.js";
3
- export { QuerySuspenseWrapper, SuspenseWrapper } from "./SuspenseWrapper.js";
4
- // Note: SuspenseWrapperProps type is exported from ../types/suspense.js
1
+ export { CardSkeletonFallback, DefaultLoadingFallback, FullScreenLoading, HydrationBoundary, ListSkeletonFallback, PageSkeletonFallback, QueryErrorBoundary, QuerySuspenseWrapper, SmallLoadingIndicator, SuspenseWrapper, TextSkeletonFallback, dehydrate, hydrate } from '../chunk-AXMWOGNX.js';
2
+ //# sourceMappingURL=index.js.map
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ var chunkJRJSKRZW_cjs = require('../chunk-JRJSKRZW.cjs');
4
+ require('../chunk-OFLCHKKE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ReactQueryDevtools", {
9
+ enumerable: true,
10
+ get: function () { return chunkJRJSKRZW_cjs.ReactQueryDevtools; }
11
+ });
12
+ Object.defineProperty(exports, "createDevToolsConfig", {
13
+ enumerable: true,
14
+ get: function () { return chunkJRJSKRZW_cjs.createDevToolsConfig; }
15
+ });
16
+ Object.defineProperty(exports, "defaultDevToolsConfig", {
17
+ enumerable: true,
18
+ get: function () { return chunkJRJSKRZW_cjs.defaultDevToolsConfig; }
19
+ });
20
+ Object.defineProperty(exports, "isDevToolsEnabled", {
21
+ enumerable: true,
22
+ get: function () { return chunkJRJSKRZW_cjs.isDevToolsEnabled; }
23
+ });
24
+ //# sourceMappingURL=devtools.cjs.map
25
+ //# sourceMappingURL=devtools.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"devtools.cjs"}
@@ -0,0 +1,17 @@
1
+ import { ComponentProps } from 'react';
2
+ export { ReactQueryDevtools } from '@tanstack/react-query-devtools';
3
+
4
+ interface DevToolsConfig {
5
+ initialIsOpen?: boolean;
6
+ position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
7
+ enabled?: boolean;
8
+ buttonPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
9
+ panelProps?: ComponentProps<"div">;
10
+ closeButtonProps?: ComponentProps<"button">;
11
+ toggleButtonProps?: ComponentProps<"button">;
12
+ }
13
+ declare const defaultDevToolsConfig: DevToolsConfig;
14
+ declare function createDevToolsConfig(overrides?: Partial<DevToolsConfig>): DevToolsConfig;
15
+ declare function isDevToolsEnabled(): boolean;
16
+
17
+ export { type DevToolsConfig, createDevToolsConfig, defaultDevToolsConfig, isDevToolsEnabled };
@@ -1,6 +1,7 @@
1
- import type { ComponentProps } from "react";
2
- export { ReactQueryDevtools } from "@tanstack/react-query-devtools";
3
- export interface DevToolsConfig {
1
+ import { ComponentProps } from 'react';
2
+ export { ReactQueryDevtools } from '@tanstack/react-query-devtools';
3
+
4
+ interface DevToolsConfig {
4
5
  initialIsOpen?: boolean;
5
6
  position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
6
7
  enabled?: boolean;
@@ -9,7 +10,8 @@ export interface DevToolsConfig {
9
10
  closeButtonProps?: ComponentProps<"button">;
10
11
  toggleButtonProps?: ComponentProps<"button">;
11
12
  }
12
- export declare const defaultDevToolsConfig: DevToolsConfig;
13
- export declare function createDevToolsConfig(overrides?: Partial<DevToolsConfig>): DevToolsConfig;
14
- export declare function isDevToolsEnabled(): boolean;
15
- //# sourceMappingURL=devtools.d.ts.map
13
+ declare const defaultDevToolsConfig: DevToolsConfig;
14
+ declare function createDevToolsConfig(overrides?: Partial<DevToolsConfig>): DevToolsConfig;
15
+ declare function isDevToolsEnabled(): boolean;
16
+
17
+ export { type DevToolsConfig, createDevToolsConfig, defaultDevToolsConfig, isDevToolsEnabled };
@@ -1,16 +1,4 @@
1
- import { isProd } from "./env.js";
2
- export { ReactQueryDevtools } from "@tanstack/react-query-devtools";
3
- export const defaultDevToolsConfig = {
4
- initialIsOpen: false,
5
- position: "bottom-right",
6
- enabled: !isProd
7
- };
8
- export function createDevToolsConfig(overrides) {
9
- return {
10
- ...defaultDevToolsConfig,
11
- ...overrides
12
- };
13
- }
14
- export function isDevToolsEnabled() {
15
- return !isProd;
16
- }
1
+ export { ReactQueryDevtools, createDevToolsConfig, defaultDevToolsConfig, isDevToolsEnabled } from '../chunk-ZUEMBY4W.js';
2
+ import '../chunk-JN2Y6RSY.js';
3
+ //# sourceMappingURL=devtools.js.map
4
+ //# sourceMappingURL=devtools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"devtools.js"}
@@ -0,0 +1,220 @@
1
+ 'use strict';
2
+
3
+ var chunkCRTVS7VI_cjs = require('../chunk-CRTVS7VI.cjs');
4
+ var chunkJRJSKRZW_cjs = require('../chunk-JRJSKRZW.cjs');
5
+ var chunkNF5QYPYC_cjs = require('../chunk-NF5QYPYC.cjs');
6
+ var chunk6MAYHLTE_cjs = require('../chunk-6MAYHLTE.cjs');
7
+ var chunkOFLCHKKE_cjs = require('../chunk-OFLCHKKE.cjs');
8
+
9
+
10
+
11
+ Object.defineProperty(exports, "areKeysEqual", {
12
+ enumerable: true,
13
+ get: function () { return chunkCRTVS7VI_cjs.areKeysEqual; }
14
+ });
15
+ Object.defineProperty(exports, "containsEntity", {
16
+ enumerable: true,
17
+ get: function () { return chunkCRTVS7VI_cjs.containsEntity; }
18
+ });
19
+ Object.defineProperty(exports, "createAppQueryOptions", {
20
+ enumerable: true,
21
+ get: function () { return chunkCRTVS7VI_cjs.createAppQueryOptions; }
22
+ });
23
+ Object.defineProperty(exports, "createAppQueryOptionsWithSelect", {
24
+ enumerable: true,
25
+ get: function () { return chunkCRTVS7VI_cjs.createAppQueryOptionsWithSelect; }
26
+ });
27
+ Object.defineProperty(exports, "createComplexKey", {
28
+ enumerable: true,
29
+ get: function () { return chunkCRTVS7VI_cjs.createComplexKey; }
30
+ });
31
+ Object.defineProperty(exports, "createDomainKeyFactory", {
32
+ enumerable: true,
33
+ get: function () { return chunkCRTVS7VI_cjs.createDomainKeyFactory; }
34
+ });
35
+ Object.defineProperty(exports, "createFilteredKey", {
36
+ enumerable: true,
37
+ get: function () { return chunkCRTVS7VI_cjs.createFilteredKey; }
38
+ });
39
+ Object.defineProperty(exports, "createListQueryOptions", {
40
+ enumerable: true,
41
+ get: function () { return chunkCRTVS7VI_cjs.createListQueryOptions; }
42
+ });
43
+ Object.defineProperty(exports, "createMutationKeyFactory", {
44
+ enumerable: true,
45
+ get: function () { return chunkCRTVS7VI_cjs.createMutationKeyFactory; }
46
+ });
47
+ Object.defineProperty(exports, "createPaginatedKey", {
48
+ enumerable: true,
49
+ get: function () { return chunkCRTVS7VI_cjs.createPaginatedKey; }
50
+ });
51
+ Object.defineProperty(exports, "createSearchKey", {
52
+ enumerable: true,
53
+ get: function () { return chunkCRTVS7VI_cjs.createSearchKey; }
54
+ });
55
+ Object.defineProperty(exports, "createSortedKey", {
56
+ enumerable: true,
57
+ get: function () { return chunkCRTVS7VI_cjs.createSortedKey; }
58
+ });
59
+ Object.defineProperty(exports, "extractEntityId", {
60
+ enumerable: true,
61
+ get: function () { return chunkCRTVS7VI_cjs.extractEntityId; }
62
+ });
63
+ Object.defineProperty(exports, "matchesKeyPattern", {
64
+ enumerable: true,
65
+ get: function () { return chunkCRTVS7VI_cjs.matchesKeyPattern; }
66
+ });
67
+ Object.defineProperty(exports, "normalizeQueryKey", {
68
+ enumerable: true,
69
+ get: function () { return chunkCRTVS7VI_cjs.normalizeQueryKey; }
70
+ });
71
+ Object.defineProperty(exports, "queryKeys", {
72
+ enumerable: true,
73
+ get: function () { return chunkCRTVS7VI_cjs.queryKeys; }
74
+ });
75
+ Object.defineProperty(exports, "validateQueryKey", {
76
+ enumerable: true,
77
+ get: function () { return chunkCRTVS7VI_cjs.validateQueryKey; }
78
+ });
79
+ Object.defineProperty(exports, "ReactQueryDevtools", {
80
+ enumerable: true,
81
+ get: function () { return chunkJRJSKRZW_cjs.ReactQueryDevtools; }
82
+ });
83
+ Object.defineProperty(exports, "createDevToolsConfig", {
84
+ enumerable: true,
85
+ get: function () { return chunkJRJSKRZW_cjs.createDevToolsConfig; }
86
+ });
87
+ Object.defineProperty(exports, "defaultDevToolsConfig", {
88
+ enumerable: true,
89
+ get: function () { return chunkJRJSKRZW_cjs.defaultDevToolsConfig; }
90
+ });
91
+ Object.defineProperty(exports, "isDevToolsEnabled", {
92
+ enumerable: true,
93
+ get: function () { return chunkJRJSKRZW_cjs.isDevToolsEnabled; }
94
+ });
95
+ Object.defineProperty(exports, "SmartFocusManager", {
96
+ enumerable: true,
97
+ get: function () { return chunkNF5QYPYC_cjs.SmartFocusManager; }
98
+ });
99
+ Object.defineProperty(exports, "focusManager", {
100
+ enumerable: true,
101
+ get: function () { return chunkNF5QYPYC_cjs.focusManager; }
102
+ });
103
+ Object.defineProperty(exports, "getSmartFocusManager", {
104
+ enumerable: true,
105
+ get: function () { return chunkNF5QYPYC_cjs.getSmartFocusManager; }
106
+ });
107
+ Object.defineProperty(exports, "pauseFocusManager", {
108
+ enumerable: true,
109
+ get: function () { return chunkNF5QYPYC_cjs.pauseFocusManager; }
110
+ });
111
+ Object.defineProperty(exports, "resetSmartFocusManager", {
112
+ enumerable: true,
113
+ get: function () { return chunkNF5QYPYC_cjs.resetSmartFocusManager; }
114
+ });
115
+ Object.defineProperty(exports, "resumeFocusManager", {
116
+ enumerable: true,
117
+ get: function () { return chunkNF5QYPYC_cjs.resumeFocusManager; }
118
+ });
119
+ Object.defineProperty(exports, "setupFocusManager", {
120
+ enumerable: true,
121
+ get: function () { return chunkNF5QYPYC_cjs.setupFocusManager; }
122
+ });
123
+ Object.defineProperty(exports, "DEFAULT_GC_TIME", {
124
+ enumerable: true,
125
+ get: function () { return chunk6MAYHLTE_cjs.DEFAULT_GC_TIME; }
126
+ });
127
+ Object.defineProperty(exports, "DEFAULT_MUTATION_CONFIG", {
128
+ enumerable: true,
129
+ get: function () { return chunk6MAYHLTE_cjs.DEFAULT_MUTATION_CONFIG; }
130
+ });
131
+ Object.defineProperty(exports, "DEFAULT_QUERY_CONFIG", {
132
+ enumerable: true,
133
+ get: function () { return chunk6MAYHLTE_cjs.DEFAULT_QUERY_CONFIG; }
134
+ });
135
+ Object.defineProperty(exports, "DEFAULT_STALE_TIME", {
136
+ enumerable: true,
137
+ get: function () { return chunk6MAYHLTE_cjs.DEFAULT_STALE_TIME; }
138
+ });
139
+ Object.defineProperty(exports, "DEVELOPMENT_CONFIG", {
140
+ enumerable: true,
141
+ get: function () { return chunk6MAYHLTE_cjs.DEVELOPMENT_CONFIG; }
142
+ });
143
+ Object.defineProperty(exports, "GLOBAL_QUERY_CONFIG", {
144
+ enumerable: true,
145
+ get: function () { return chunk6MAYHLTE_cjs.GLOBAL_QUERY_CONFIG; }
146
+ });
147
+ Object.defineProperty(exports, "LONG_CACHE_CONFIG", {
148
+ enumerable: true,
149
+ get: function () { return chunk6MAYHLTE_cjs.LONG_CACHE_CONFIG; }
150
+ });
151
+ Object.defineProperty(exports, "PRODUCTION_CONFIG", {
152
+ enumerable: true,
153
+ get: function () { return chunk6MAYHLTE_cjs.PRODUCTION_CONFIG; }
154
+ });
155
+ Object.defineProperty(exports, "REALTIME_CONFIG", {
156
+ enumerable: true,
157
+ get: function () { return chunk6MAYHLTE_cjs.REALTIME_CONFIG; }
158
+ });
159
+ Object.defineProperty(exports, "SMART_RETRY_MUTATION_CONFIG", {
160
+ enumerable: true,
161
+ get: function () { return chunk6MAYHLTE_cjs.SMART_RETRY_MUTATION_CONFIG; }
162
+ });
163
+ Object.defineProperty(exports, "TIME_CONSTANTS", {
164
+ enumerable: true,
165
+ get: function () { return chunk6MAYHLTE_cjs.TIME_CONSTANTS; }
166
+ });
167
+ Object.defineProperty(exports, "createCustomConfig", {
168
+ enumerable: true,
169
+ get: function () { return chunk6MAYHLTE_cjs.createCustomConfig; }
170
+ });
171
+ Object.defineProperty(exports, "createErrorSafeConfig", {
172
+ enumerable: true,
173
+ get: function () { return chunk6MAYHLTE_cjs.createErrorSafeConfig; }
174
+ });
175
+ Object.defineProperty(exports, "createSafeRetryStrategy", {
176
+ enumerable: true,
177
+ get: function () { return chunk6MAYHLTE_cjs.createSafeRetryStrategy; }
178
+ });
179
+ Object.defineProperty(exports, "defaultMutationRetryStrategy", {
180
+ enumerable: true,
181
+ get: function () { return chunk6MAYHLTE_cjs.defaultMutationRetryStrategy; }
182
+ });
183
+ Object.defineProperty(exports, "defaultQueryRetryStrategy", {
184
+ enumerable: true,
185
+ get: function () { return chunk6MAYHLTE_cjs.defaultQueryRetryStrategy; }
186
+ });
187
+ Object.defineProperty(exports, "ensureBestPractices", {
188
+ enumerable: true,
189
+ get: function () { return chunk6MAYHLTE_cjs.ensureBestPractices; }
190
+ });
191
+ Object.defineProperty(exports, "exponentialBackoff", {
192
+ enumerable: true,
193
+ get: function () { return chunk6MAYHLTE_cjs.exponentialBackoff; }
194
+ });
195
+ Object.defineProperty(exports, "getConfigByEnvironment", {
196
+ enumerable: true,
197
+ get: function () { return chunk6MAYHLTE_cjs.getConfigByEnvironment; }
198
+ });
199
+ Object.defineProperty(exports, "validateConfig", {
200
+ enumerable: true,
201
+ get: function () { return chunk6MAYHLTE_cjs.validateConfig; }
202
+ });
203
+ Object.defineProperty(exports, "validateGcTime", {
204
+ enumerable: true,
205
+ get: function () { return chunk6MAYHLTE_cjs.validateGcTime; }
206
+ });
207
+ Object.defineProperty(exports, "isDev", {
208
+ enumerable: true,
209
+ get: function () { return chunkOFLCHKKE_cjs.isDev; }
210
+ });
211
+ Object.defineProperty(exports, "isProd", {
212
+ enumerable: true,
213
+ get: function () { return chunkOFLCHKKE_cjs.isProd; }
214
+ });
215
+ Object.defineProperty(exports, "isTest", {
216
+ enumerable: true,
217
+ get: function () { return chunkOFLCHKKE_cjs.isTest; }
218
+ });
219
+ //# sourceMappingURL=index.cjs.map
220
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}