@suspensive/react-query-4 3.19.2 → 3.19.4
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.cjs +18 -2
- package/dist/IsFetching.cjs.map +1 -0
- package/dist/IsFetching.d.cts +18 -2
- package/dist/IsFetching.d.cts.map +1 -0
- package/dist/IsFetching.d.mts +18 -2
- package/dist/IsFetching.d.mts.map +1 -0
- package/dist/IsFetching.mjs +17 -2
- package/dist/IsFetching.mjs.map +1 -0
- package/dist/Mutation.cjs +14 -2
- package/dist/Mutation.cjs.map +1 -0
- package/dist/Mutation.d.cts +14 -2
- package/dist/Mutation.d.cts.map +1 -0
- package/dist/Mutation.d.mts +14 -2
- package/dist/Mutation.d.mts.map +1 -0
- package/dist/Mutation.mjs +13 -2
- package/dist/Mutation.mjs.map +1 -0
- package/dist/PrefetchInfiniteQuery.cjs +20 -2
- package/dist/PrefetchInfiniteQuery.cjs.map +1 -0
- package/dist/PrefetchInfiniteQuery.d.cts +16 -2
- package/dist/PrefetchInfiniteQuery.d.cts.map +1 -0
- package/dist/PrefetchInfiniteQuery.d.mts +16 -2
- package/dist/PrefetchInfiniteQuery.d.mts.map +1 -0
- package/dist/PrefetchInfiniteQuery.mjs +19 -2
- package/dist/PrefetchInfiniteQuery.mjs.map +1 -0
- package/dist/PrefetchQuery.cjs +20 -2
- package/dist/PrefetchQuery.cjs.map +1 -0
- package/dist/PrefetchQuery.d.cts +16 -2
- package/dist/PrefetchQuery.d.cts.map +1 -0
- package/dist/PrefetchQuery.d.mts +16 -2
- package/dist/PrefetchQuery.d.mts.map +1 -0
- package/dist/PrefetchQuery.mjs +19 -2
- package/dist/PrefetchQuery.mjs.map +1 -0
- package/dist/QueriesHydration.cjs +117 -2
- package/dist/QueriesHydration.cjs.map +1 -0
- package/dist/QueriesHydration.d.cts +105 -2
- package/dist/QueriesHydration.d.cts.map +1 -0
- package/dist/QueriesHydration.d.mts +105 -2
- package/dist/QueriesHydration.d.mts.map +1 -0
- package/dist/QueriesHydration.mjs +116 -2
- package/dist/QueriesHydration.mjs.map +1 -0
- package/dist/QueryClientConsumer.cjs +14 -2
- package/dist/QueryClientConsumer.cjs.map +1 -0
- package/dist/QueryClientConsumer.d.cts +18 -2
- package/dist/QueryClientConsumer.d.cts.map +1 -0
- package/dist/QueryClientConsumer.d.mts +18 -2
- package/dist/QueryClientConsumer.d.mts.map +1 -0
- package/dist/QueryClientConsumer.mjs +13 -2
- package/dist/QueryClientConsumer.mjs.map +1 -0
- package/dist/SuspenseInfiniteQuery.cjs +30 -2
- package/dist/SuspenseInfiniteQuery.cjs.map +1 -0
- package/dist/SuspenseInfiniteQuery.d.cts +31 -2
- package/dist/SuspenseInfiniteQuery.d.cts.map +1 -0
- package/dist/SuspenseInfiniteQuery.d.mts +31 -3
- package/dist/SuspenseInfiniteQuery.d.mts.map +1 -0
- package/dist/SuspenseInfiniteQuery.mjs +29 -2
- package/dist/SuspenseInfiniteQuery.mjs.map +1 -0
- package/dist/SuspenseQueries.cjs +26 -2
- package/dist/SuspenseQueries.cjs.map +1 -0
- package/dist/SuspenseQueries.d.cts +30 -2
- package/dist/SuspenseQueries.d.cts.map +1 -0
- package/dist/SuspenseQueries.d.mts +30 -2
- package/dist/SuspenseQueries.d.mts.map +1 -0
- package/dist/SuspenseQueries.mjs +25 -2
- package/dist/SuspenseQueries.mjs.map +1 -0
- package/dist/SuspenseQuery.cjs +30 -2
- package/dist/SuspenseQuery.cjs.map +1 -0
- package/dist/SuspenseQuery.d.cts +30 -2
- package/dist/SuspenseQuery.d.cts.map +1 -0
- package/dist/SuspenseQuery.d.mts +30 -2
- package/dist/SuspenseQuery.d.mts.map +1 -0
- package/dist/SuspenseQuery.mjs +29 -2
- package/dist/SuspenseQuery.mjs.map +1 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/asyncToGenerator.cjs +29 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/asyncToGenerator.mjs +28 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/defineProperty.cjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/defineProperty.mjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.cjs +27 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.mjs +27 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.cjs +15 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.mjs +15 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutPropertiesLoose.cjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutPropertiesLoose.mjs +13 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPrimitive.cjs +16 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPrimitive.mjs +16 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPropertyKey.cjs +11 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPropertyKey.mjs +11 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/typeof.cjs +18 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/typeof.mjs +12 -0
- package/dist/components/ClientOnly.cjs +12 -2
- package/dist/components/ClientOnly.cjs.map +1 -0
- package/dist/components/ClientOnly.mjs +12 -2
- package/dist/components/ClientOnly.mjs.map +1 -0
- package/dist/createGetQueryClient.cjs +63 -2
- package/dist/createGetQueryClient.cjs.map +1 -0
- package/dist/createGetQueryClient.d.cts +53 -2
- package/dist/createGetQueryClient.d.cts.map +1 -0
- package/dist/createGetQueryClient.d.mts +53 -2
- package/dist/createGetQueryClient.d.mts.map +1 -0
- package/dist/createGetQueryClient.mjs +62 -2
- package/dist/createGetQueryClient.mjs.map +1 -0
- package/dist/index.cjs +19 -18
- package/dist/index.d.cts +18 -18
- package/dist/index.d.mts +18 -18
- package/dist/index.mjs +18 -18
- package/dist/infiniteQueryOptions.cjs +17 -2
- package/dist/infiniteQueryOptions.cjs.map +1 -0
- package/dist/infiniteQueryOptions.d.cts +28 -2
- package/dist/infiniteQueryOptions.d.cts.map +1 -0
- package/dist/infiniteQueryOptions.d.mts +28 -2
- package/dist/infiniteQueryOptions.d.mts.map +1 -0
- package/dist/infiniteQueryOptions.mjs +16 -2
- package/dist/infiniteQueryOptions.mjs.map +1 -0
- package/dist/mutationOptions.cjs +9 -2
- package/dist/mutationOptions.cjs.map +1 -0
- package/dist/mutationOptions.d.cts +7 -2
- package/dist/mutationOptions.d.cts.map +1 -0
- package/dist/mutationOptions.d.mts +7 -2
- package/dist/mutationOptions.d.mts.map +1 -0
- package/dist/mutationOptions.mjs +7 -2
- package/dist/mutationOptions.mjs.map +1 -0
- package/dist/queryOptions.cjs +17 -2
- package/dist/queryOptions.cjs.map +1 -0
- package/dist/queryOptions.d.cts +28 -2
- package/dist/queryOptions.d.cts.map +1 -0
- package/dist/queryOptions.d.mts +28 -2
- package/dist/queryOptions.d.mts.map +1 -0
- package/dist/queryOptions.mjs +16 -2
- package/dist/queryOptions.mjs.map +1 -0
- package/dist/usePrefetchInfiniteQuery.cjs +15 -2
- package/dist/usePrefetchInfiniteQuery.cjs.map +1 -0
- package/dist/usePrefetchInfiniteQuery.d.cts +11 -2
- package/dist/usePrefetchInfiniteQuery.d.cts.map +1 -0
- package/dist/usePrefetchInfiniteQuery.d.mts +11 -2
- package/dist/usePrefetchInfiniteQuery.d.mts.map +1 -0
- package/dist/usePrefetchInfiniteQuery.mjs +14 -2
- package/dist/usePrefetchInfiniteQuery.mjs.map +1 -0
- package/dist/usePrefetchQuery.cjs +15 -2
- package/dist/usePrefetchQuery.cjs.map +1 -0
- package/dist/usePrefetchQuery.d.cts +11 -2
- package/dist/usePrefetchQuery.d.cts.map +1 -0
- package/dist/usePrefetchQuery.d.mts +11 -2
- package/dist/usePrefetchQuery.d.mts.map +1 -0
- package/dist/usePrefetchQuery.mjs +14 -2
- package/dist/usePrefetchQuery.mjs.map +1 -0
- package/dist/useSuspenseInfiniteQuery.cjs +17 -2
- package/dist/useSuspenseInfiniteQuery.cjs.map +1 -0
- package/dist/useSuspenseInfiniteQuery.d.cts +17 -2
- package/dist/useSuspenseInfiniteQuery.d.cts.map +1 -0
- package/dist/useSuspenseInfiniteQuery.d.mts +17 -2
- package/dist/useSuspenseInfiniteQuery.d.mts.map +1 -0
- package/dist/useSuspenseInfiniteQuery.mjs +16 -2
- package/dist/useSuspenseInfiniteQuery.mjs.map +1 -0
- package/dist/useSuspenseQueries.cjs +17 -2
- package/dist/useSuspenseQueries.cjs.map +1 -0
- package/dist/useSuspenseQueries.d.cts +36 -2
- package/dist/useSuspenseQueries.d.cts.map +1 -0
- package/dist/useSuspenseQueries.d.mts +36 -2
- package/dist/useSuspenseQueries.d.mts.map +1 -0
- package/dist/useSuspenseQueries.mjs +16 -2
- package/dist/useSuspenseQueries.mjs.map +1 -0
- package/dist/useSuspenseQuery.cjs +17 -2
- package/dist/useSuspenseQuery.cjs.map +1 -0
- package/dist/useSuspenseQuery.d.cts +36 -2
- package/dist/useSuspenseQuery.d.cts.map +1 -0
- package/dist/useSuspenseQuery.d.mts +36 -2
- package/dist/useSuspenseQuery.d.mts.map +1 -0
- package/dist/useSuspenseQuery.mjs +16 -2
- package/dist/useSuspenseQuery.mjs.map +1 -0
- package/package.json +4 -4
- package/src/createGetQueryClient.spec.tsx +25 -77
- package/dist/ClientOnly-BdmzVYnI.mjs +0 -15
- package/dist/ClientOnly-BdmzVYnI.mjs.map +0 -1
- package/dist/ClientOnly-Dvf8t__-.cjs +0 -20
- package/dist/ClientOnly-Dvf8t__-.cjs.map +0 -1
- package/dist/IsFetching-BYkNw1cs.mjs +0 -18
- package/dist/IsFetching-BYkNw1cs.mjs.map +0 -1
- package/dist/IsFetching-BfIQ3Qek.d.mts +0 -19
- package/dist/IsFetching-BfIQ3Qek.d.mts.map +0 -1
- package/dist/IsFetching-BhOgGqrs.cjs +0 -23
- package/dist/IsFetching-BhOgGqrs.cjs.map +0 -1
- package/dist/IsFetching-CuftXnaJ.d.cts +0 -19
- package/dist/IsFetching-CuftXnaJ.d.cts.map +0 -1
- package/dist/Mutation-CGUYEkKX.cjs +0 -19
- package/dist/Mutation-CGUYEkKX.cjs.map +0 -1
- package/dist/Mutation-CGpbCg54.d.mts +0 -14
- package/dist/Mutation-CGpbCg54.d.mts.map +0 -1
- package/dist/Mutation-DGmP7HQI.d.cts +0 -14
- package/dist/Mutation-DGmP7HQI.d.cts.map +0 -1
- package/dist/Mutation-DUJhz3rT.mjs +0 -14
- package/dist/Mutation-DUJhz3rT.mjs.map +0 -1
- package/dist/PrefetchInfiniteQuery-BewcG5rR.d.cts +0 -17
- package/dist/PrefetchInfiniteQuery-BewcG5rR.d.cts.map +0 -1
- package/dist/PrefetchInfiniteQuery-D-3dZMEz.d.mts +0 -17
- package/dist/PrefetchInfiniteQuery-D-3dZMEz.d.mts.map +0 -1
- package/dist/PrefetchInfiniteQuery-RS3Qz-7B.mjs +0 -20
- package/dist/PrefetchInfiniteQuery-RS3Qz-7B.mjs.map +0 -1
- package/dist/PrefetchInfiniteQuery-cCSXqKVR.cjs +0 -25
- package/dist/PrefetchInfiniteQuery-cCSXqKVR.cjs.map +0 -1
- package/dist/PrefetchQuery-0pdYNtpS.cjs +0 -25
- package/dist/PrefetchQuery-0pdYNtpS.cjs.map +0 -1
- package/dist/PrefetchQuery-Ddbt43Fk.d.cts +0 -17
- package/dist/PrefetchQuery-Ddbt43Fk.d.cts.map +0 -1
- package/dist/PrefetchQuery-DqgbVdjY.d.mts +0 -17
- package/dist/PrefetchQuery-DqgbVdjY.d.mts.map +0 -1
- package/dist/PrefetchQuery-uh4idoXK.mjs +0 -20
- package/dist/PrefetchQuery-uh4idoXK.mjs.map +0 -1
- package/dist/QueriesHydration-DPogKsc4.d.mts +0 -106
- package/dist/QueriesHydration-DPogKsc4.d.mts.map +0 -1
- package/dist/QueriesHydration-DnlRrHJ3.d.cts +0 -106
- package/dist/QueriesHydration-DnlRrHJ3.d.cts.map +0 -1
- package/dist/QueriesHydration-GQxJe_Vu.mjs +0 -143
- package/dist/QueriesHydration-GQxJe_Vu.mjs.map +0 -1
- package/dist/QueriesHydration-dcSAzQNT.cjs +0 -148
- package/dist/QueriesHydration-dcSAzQNT.cjs.map +0 -1
- package/dist/QueryClientConsumer-5PZLv_8g.d.mts +0 -18
- package/dist/QueryClientConsumer-5PZLv_8g.d.mts.map +0 -1
- package/dist/QueryClientConsumer-e7PyaFF3.mjs +0 -14
- package/dist/QueryClientConsumer-e7PyaFF3.mjs.map +0 -1
- package/dist/QueryClientConsumer-mF0OUwkq.cjs +0 -19
- package/dist/QueryClientConsumer-mF0OUwkq.cjs.map +0 -1
- package/dist/QueryClientConsumer-pihgMOoA.d.cts +0 -18
- package/dist/QueryClientConsumer-pihgMOoA.d.cts.map +0 -1
- package/dist/SuspenseInfiniteQuery-BimBkaCe.mjs +0 -30
- package/dist/SuspenseInfiniteQuery-BimBkaCe.mjs.map +0 -1
- package/dist/SuspenseInfiniteQuery-BtRviR-Z.d.mts +0 -32
- package/dist/SuspenseInfiniteQuery-BtRviR-Z.d.mts.map +0 -1
- package/dist/SuspenseInfiniteQuery-DSYC5XON.d.cts +0 -32
- package/dist/SuspenseInfiniteQuery-DSYC5XON.d.cts.map +0 -1
- package/dist/SuspenseInfiniteQuery-oVQE2P2T.cjs +0 -35
- package/dist/SuspenseInfiniteQuery-oVQE2P2T.cjs.map +0 -1
- package/dist/SuspenseQueries-BPvriygJ.d.cts +0 -31
- package/dist/SuspenseQueries-BPvriygJ.d.cts.map +0 -1
- package/dist/SuspenseQueries-Brk6gtMw.cjs +0 -31
- package/dist/SuspenseQueries-Brk6gtMw.cjs.map +0 -1
- package/dist/SuspenseQueries-C0mF_XD_.mjs +0 -26
- package/dist/SuspenseQueries-C0mF_XD_.mjs.map +0 -1
- package/dist/SuspenseQueries-CHFS9e4y.d.mts +0 -31
- package/dist/SuspenseQueries-CHFS9e4y.d.mts.map +0 -1
- package/dist/SuspenseQuery-BWI24top.mjs +0 -30
- package/dist/SuspenseQuery-BWI24top.mjs.map +0 -1
- package/dist/SuspenseQuery-D4IZU_Co.d.cts +0 -31
- package/dist/SuspenseQuery-D4IZU_Co.d.cts.map +0 -1
- package/dist/SuspenseQuery-DE4NKrqP.cjs +0 -35
- package/dist/SuspenseQuery-DE4NKrqP.cjs.map +0 -1
- package/dist/SuspenseQuery-VjYG_b1z.d.mts +0 -31
- package/dist/SuspenseQuery-VjYG_b1z.d.mts.map +0 -1
- package/dist/components/ClientOnly.d.cts +0 -13
- package/dist/components/ClientOnly.d.cts.map +0 -1
- package/dist/components/ClientOnly.d.mts +0 -13
- package/dist/components/ClientOnly.d.mts.map +0 -1
- package/dist/createGetQueryClient-B0yrcyXF.mjs +0 -63
- package/dist/createGetQueryClient-B0yrcyXF.mjs.map +0 -1
- package/dist/createGetQueryClient-DTKVVwpJ.d.mts +0 -54
- package/dist/createGetQueryClient-DTKVVwpJ.d.mts.map +0 -1
- package/dist/createGetQueryClient-iXoXO7so.d.cts +0 -54
- package/dist/createGetQueryClient-iXoXO7so.d.cts.map +0 -1
- package/dist/createGetQueryClient-nXvPqrrS.cjs +0 -68
- package/dist/createGetQueryClient-nXvPqrrS.cjs.map +0 -1
- package/dist/infiniteQueryOptions-2KFmTqEY.mjs +0 -17
- package/dist/infiniteQueryOptions-2KFmTqEY.mjs.map +0 -1
- package/dist/infiniteQueryOptions-BVac5B-c.cjs +0 -22
- package/dist/infiniteQueryOptions-BVac5B-c.cjs.map +0 -1
- package/dist/infiniteQueryOptions-Be7VYTUR.d.cts +0 -29
- package/dist/infiniteQueryOptions-Be7VYTUR.d.cts.map +0 -1
- package/dist/infiniteQueryOptions-Bpz4mFYH.d.mts +0 -29
- package/dist/infiniteQueryOptions-Bpz4mFYH.d.mts.map +0 -1
- package/dist/mutationOptions-BIOn3zne.cjs +0 -14
- package/dist/mutationOptions-BIOn3zne.cjs.map +0 -1
- package/dist/mutationOptions-BZS10WEJ.d.mts +0 -7
- package/dist/mutationOptions-BZS10WEJ.d.mts.map +0 -1
- package/dist/mutationOptions-C4emetVL.mjs +0 -8
- package/dist/mutationOptions-C4emetVL.mjs.map +0 -1
- package/dist/mutationOptions-Eid3aM1W.d.cts +0 -7
- package/dist/mutationOptions-Eid3aM1W.d.cts.map +0 -1
- package/dist/objectSpread2-BFPIJj0i.mjs +0 -67
- package/dist/objectSpread2-CpqxxdM2.cjs +0 -73
- package/dist/objectWithoutProperties-BYP50gyF.mjs +0 -25
- package/dist/objectWithoutProperties-CYXRK7DS.cjs +0 -31
- package/dist/queryOptions-92vSd4eV.cjs +0 -22
- package/dist/queryOptions-92vSd4eV.cjs.map +0 -1
- package/dist/queryOptions-DILe-4vk.d.mts +0 -29
- package/dist/queryOptions-DILe-4vk.d.mts.map +0 -1
- package/dist/queryOptions-DNGHeGX5.d.cts +0 -29
- package/dist/queryOptions-DNGHeGX5.d.cts.map +0 -1
- package/dist/queryOptions-Dnf4-wlk.mjs +0 -17
- package/dist/queryOptions-Dnf4-wlk.mjs.map +0 -1
- package/dist/usePrefetchInfiniteQuery-B0_Ladyp.d.mts +0 -12
- package/dist/usePrefetchInfiniteQuery-B0_Ladyp.d.mts.map +0 -1
- package/dist/usePrefetchInfiniteQuery-BmZtlLeD.cjs +0 -20
- package/dist/usePrefetchInfiniteQuery-BmZtlLeD.cjs.map +0 -1
- package/dist/usePrefetchInfiniteQuery-CQSN-P9m.mjs +0 -15
- package/dist/usePrefetchInfiniteQuery-CQSN-P9m.mjs.map +0 -1
- package/dist/usePrefetchInfiniteQuery-CRwRctQH.d.cts +0 -12
- package/dist/usePrefetchInfiniteQuery-CRwRctQH.d.cts.map +0 -1
- package/dist/usePrefetchQuery-38O319FT.d.mts +0 -12
- package/dist/usePrefetchQuery-38O319FT.d.mts.map +0 -1
- package/dist/usePrefetchQuery-93Pltnzl.d.cts +0 -12
- package/dist/usePrefetchQuery-93Pltnzl.d.cts.map +0 -1
- package/dist/usePrefetchQuery-CtrJciA6.mjs +0 -15
- package/dist/usePrefetchQuery-CtrJciA6.mjs.map +0 -1
- package/dist/usePrefetchQuery-woiivAJc.cjs +0 -20
- package/dist/usePrefetchQuery-woiivAJc.cjs.map +0 -1
- package/dist/useSuspenseInfiniteQuery-Bh0nh8Kc.d.mts +0 -17
- package/dist/useSuspenseInfiniteQuery-Bh0nh8Kc.d.mts.map +0 -1
- package/dist/useSuspenseInfiniteQuery-CA0jmgbX.cjs +0 -22
- package/dist/useSuspenseInfiniteQuery-CA0jmgbX.cjs.map +0 -1
- package/dist/useSuspenseInfiniteQuery-DUxKOkCo.mjs +0 -17
- package/dist/useSuspenseInfiniteQuery-DUxKOkCo.mjs.map +0 -1
- package/dist/useSuspenseInfiniteQuery-xXu-A7cX.d.cts +0 -17
- package/dist/useSuspenseInfiniteQuery-xXu-A7cX.d.cts.map +0 -1
- package/dist/useSuspenseQueries-Bf0lSTWB.mjs +0 -17
- package/dist/useSuspenseQueries-Bf0lSTWB.mjs.map +0 -1
- package/dist/useSuspenseQueries-CHPLAyeb.d.cts +0 -37
- package/dist/useSuspenseQueries-CHPLAyeb.d.cts.map +0 -1
- package/dist/useSuspenseQueries-DqBaOI3L.cjs +0 -22
- package/dist/useSuspenseQueries-DqBaOI3L.cjs.map +0 -1
- package/dist/useSuspenseQueries-pfI8hFSM.d.mts +0 -37
- package/dist/useSuspenseQueries-pfI8hFSM.d.mts.map +0 -1
- package/dist/useSuspenseQuery-41ONxa6i.cjs +0 -22
- package/dist/useSuspenseQuery-41ONxa6i.cjs.map +0 -1
- package/dist/useSuspenseQuery-CVWQeHhd.mjs +0 -17
- package/dist/useSuspenseQuery-CVWQeHhd.mjs.map +0 -1
- package/dist/useSuspenseQuery-DG0Jz1Da.d.mts +0 -37
- package/dist/useSuspenseQuery-DG0Jz1Da.d.mts.map +0 -1
- package/dist/useSuspenseQuery-DiNomNWA.d.cts +0 -37
- package/dist/useSuspenseQuery-DiNomNWA.d.cts.map +0 -1
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
//#region \0@oxc-project+runtime@0.101.0/helpers/objectWithoutPropertiesLoose.js
|
|
3
|
-
function _objectWithoutPropertiesLoose(r, e) {
|
|
4
|
-
if (null == r) return {};
|
|
5
|
-
var t = {};
|
|
6
|
-
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
7
|
-
if (e.includes(n)) continue;
|
|
8
|
-
t[n] = r[n];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region \0@oxc-project+runtime@0.101.0/helpers/objectWithoutProperties.js
|
|
15
|
-
function _objectWithoutProperties(e, t) {
|
|
16
|
-
if (null == e) return {};
|
|
17
|
-
var o, r, i = _objectWithoutPropertiesLoose(e, t);
|
|
18
|
-
if (Object.getOwnPropertySymbols) {
|
|
19
|
-
var s = Object.getOwnPropertySymbols(e);
|
|
20
|
-
for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
|
|
21
|
-
}
|
|
22
|
-
return i;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
//#endregion
|
|
26
|
-
Object.defineProperty(exports, '_objectWithoutProperties', {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function () {
|
|
29
|
-
return _objectWithoutProperties;
|
|
30
|
-
}
|
|
31
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
let __tanstack_react_query = require("@tanstack/react-query");
|
|
2
|
-
|
|
3
|
-
//#region src/queryOptions.ts
|
|
4
|
-
/**
|
|
5
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
6
|
-
* @deprecated Use `queryOptions` from \@tanstack/react-query@^4.40.0
|
|
7
|
-
* @example
|
|
8
|
-
* ```diff
|
|
9
|
-
* - import { queryOptions } from '@suspensive/react-query'
|
|
10
|
-
* + import { queryOptions } from '@tanstack/react-query'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
const queryOptions = __tanstack_react_query.queryOptions;
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
Object.defineProperty(exports, 'queryOptions', {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return queryOptions;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=queryOptions-92vSd4eV.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryOptions-92vSd4eV.cjs","names":["original_queryOptions"],"sources":["../src/queryOptions.ts"],"sourcesContent":["import {\n type OmitKeyof,\n type QueryKey,\n type UseQueryOptions,\n type WithRequired,\n queryOptions as original_queryOptions,\n} from '@tanstack/react-query'\n\n/**\n * @deprecated There is no `SelectedQueryOptions` in \\@tanstack/react-query@^4.40.0.\n */\nexport type SelectedQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>,\n | 'getNextPageParam'\n | 'getPreviousPageParam'\n | 'queryKeyHashFn'\n | '_defaulted'\n | 'behavior'\n | 'structuralSharing'\n | 'isDataEqual'\n | 'onSuccess'\n | 'onError'\n | 'onSettled'\n | 'enabled'\n | 'refetchInterval'\n | 'initialData'\n | 'networkMode'\n >,\n 'queryKey' | 'queryFn'\n> & {\n select: (data: TQueryFnData) => TData\n}\n\n/**\n * @deprecated There is no `UnSelectedQueryOptions` in \\@tanstack/react-query@^4.40.0.\n */\nexport type UnSelectedQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>,\n | 'getNextPageParam'\n | 'getPreviousPageParam'\n | 'queryKeyHashFn'\n | '_defaulted'\n | 'behavior'\n | 'structuralSharing'\n | 'isDataEqual'\n | 'onSuccess'\n | 'onError'\n | 'onSettled'\n | 'enabled'\n | 'refetchInterval'\n | 'initialData'\n | 'networkMode'\n >,\n 'queryKey' | 'queryFn'\n> & {\n select?: undefined\n}\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `queryOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { queryOptions } from '@suspensive/react-query'\n * + import { queryOptions } from '@tanstack/react-query'\n * ```\n */\nexport const queryOptions = original_queryOptions\n"],"mappings":";;;;;;;;;;;;AA+EA,MAAa,eAAeA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { OmitKeyof, QueryKey, UseQueryOptions, WithRequired, queryOptions } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/queryOptions.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated There is no `SelectedQueryOptions` in \@tanstack/react-query@^4.40.0.
|
|
7
|
-
*/
|
|
8
|
-
type SelectedQueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = WithRequired<OmitKeyof<UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>, 'getNextPageParam' | 'getPreviousPageParam' | 'queryKeyHashFn' | '_defaulted' | 'behavior' | 'structuralSharing' | 'isDataEqual' | 'onSuccess' | 'onError' | 'onSettled' | 'enabled' | 'refetchInterval' | 'initialData' | 'networkMode'>, 'queryKey' | 'queryFn'> & {
|
|
9
|
-
select: (data: TQueryFnData) => TData;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated There is no `UnSelectedQueryOptions` in \@tanstack/react-query@^4.40.0.
|
|
13
|
-
*/
|
|
14
|
-
type UnSelectedQueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = WithRequired<OmitKeyof<UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>, 'getNextPageParam' | 'getPreviousPageParam' | 'queryKeyHashFn' | '_defaulted' | 'behavior' | 'structuralSharing' | 'isDataEqual' | 'onSuccess' | 'onError' | 'onSettled' | 'enabled' | 'refetchInterval' | 'initialData' | 'networkMode'>, 'queryKey' | 'queryFn'> & {
|
|
15
|
-
select?: undefined;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
19
|
-
* @deprecated Use `queryOptions` from \@tanstack/react-query@^4.40.0
|
|
20
|
-
* @example
|
|
21
|
-
* ```diff
|
|
22
|
-
* - import { queryOptions } from '@suspensive/react-query'
|
|
23
|
-
* + import { queryOptions } from '@tanstack/react-query'
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
declare const queryOptions$1: typeof queryOptions;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { UnSelectedQueryOptions as n, queryOptions$1 as r, SelectedQueryOptions as t };
|
|
29
|
-
//# sourceMappingURL=queryOptions-DILe-4vk.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryOptions-DILe-4vk.d.mts","names":[],"sources":["../src/queryOptions.ts"],"sourcesContent":[],"mappings":";;;;;;AAWA;AAGU,KAHE,oBAGF,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAAA,YAAA,EAAA,kBACU,QADV,GACqB,QADrB,CAAA,GAEN,YAFM,CAGR,SAHQ,CAIN,eAJM,CAIU,YAJV,EAIwB,MAJxB,EAIgC,KAJhC,EAIuC,SAJvC,CAAA,EAAA,kBAAA,GAAA,sBAAA,GAAA,gBAAA,GAAA,YAAA,GAAA,UAAA,GAAA,mBAAA,GAAA,aAAA,GAAA,WAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,GAAA,iBAAA,GAAA,aAAA,GAAA,aAAA,CAAA,EAAA,UAAA,GAAA,SAAA,CAAA,GAAA;EACU,MAAA,EAAA,CAAA,IAAA,EAqBH,YArBG,EAAA,GAqBc,KArBd;CAAW;;;;AAGkB,KAwBrC,sBAxBqC,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QA2BvC,YA3BuC,EAAA,kBA4B7B,QA5B6B,GA4BlB,QA5BkB,CAAA,GA6B7C,YA7B6C,CA8B/C,SA9B+C,CA+B7C,eA/B6C,CA+B7B,YA/B6B,EA+Bf,MA/Be,EA+BP,KA/BO,EA+BA,SA/BA,CAAA,EAAA,kBAAA,GAAA,sBAAA,GAAA,gBAAA,GAAA,YAAA,GAAA,UAAA,GAAA,mBAAA,GAAA,aAAA,GAAA,WAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,GAAA,iBAAA,GAAA,aAAA,GAAA,aAAA,CAAA,EAAA,UAAA,GAAA,SAAA,CAAA,GAAA;EAA7C,MAAA,CAAA,EAAA,SAAA;CADF;;;;;AAyBF;;;;;AAOkC,cA8BrB,cA9BqB,EAAA,OA8BT,YA9BS"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { OmitKeyof, QueryKey, UseQueryOptions, WithRequired, queryOptions } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/queryOptions.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated There is no `SelectedQueryOptions` in \@tanstack/react-query@^4.40.0.
|
|
7
|
-
*/
|
|
8
|
-
type SelectedQueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = WithRequired<OmitKeyof<UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>, 'getNextPageParam' | 'getPreviousPageParam' | 'queryKeyHashFn' | '_defaulted' | 'behavior' | 'structuralSharing' | 'isDataEqual' | 'onSuccess' | 'onError' | 'onSettled' | 'enabled' | 'refetchInterval' | 'initialData' | 'networkMode'>, 'queryKey' | 'queryFn'> & {
|
|
9
|
-
select: (data: TQueryFnData) => TData;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated There is no `UnSelectedQueryOptions` in \@tanstack/react-query@^4.40.0.
|
|
13
|
-
*/
|
|
14
|
-
type UnSelectedQueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = WithRequired<OmitKeyof<UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>, 'getNextPageParam' | 'getPreviousPageParam' | 'queryKeyHashFn' | '_defaulted' | 'behavior' | 'structuralSharing' | 'isDataEqual' | 'onSuccess' | 'onError' | 'onSettled' | 'enabled' | 'refetchInterval' | 'initialData' | 'networkMode'>, 'queryKey' | 'queryFn'> & {
|
|
15
|
-
select?: undefined;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
19
|
-
* @deprecated Use `queryOptions` from \@tanstack/react-query@^4.40.0
|
|
20
|
-
* @example
|
|
21
|
-
* ```diff
|
|
22
|
-
* - import { queryOptions } from '@suspensive/react-query'
|
|
23
|
-
* + import { queryOptions } from '@tanstack/react-query'
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
declare const queryOptions$1: typeof queryOptions;
|
|
27
|
-
//#endregion
|
|
28
|
-
export { UnSelectedQueryOptions as n, queryOptions$1 as r, SelectedQueryOptions as t };
|
|
29
|
-
//# sourceMappingURL=queryOptions-DNGHeGX5.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryOptions-DNGHeGX5.d.cts","names":[],"sources":["../src/queryOptions.ts"],"sourcesContent":[],"mappings":";;;;;;AAWA;AAGU,KAHE,oBAGF,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QAAA,YAAA,EAAA,kBACU,QADV,GACqB,QADrB,CAAA,GAEN,YAFM,CAGR,SAHQ,CAIN,eAJM,CAIU,YAJV,EAIwB,MAJxB,EAIgC,KAJhC,EAIuC,SAJvC,CAAA,EAAA,kBAAA,GAAA,sBAAA,GAAA,gBAAA,GAAA,YAAA,GAAA,UAAA,GAAA,mBAAA,GAAA,aAAA,GAAA,WAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,GAAA,iBAAA,GAAA,aAAA,GAAA,aAAA,CAAA,EAAA,UAAA,GAAA,SAAA,CAAA,GAAA;EACU,MAAA,EAAA,CAAA,IAAA,EAqBH,YArBG,EAAA,GAqBc,KArBd;CAAW;;;;AAGkB,KAwBrC,sBAxBqC,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QA2BvC,YA3BuC,EAAA,kBA4B7B,QA5B6B,GA4BlB,QA5BkB,CAAA,GA6B7C,YA7B6C,CA8B/C,SA9B+C,CA+B7C,eA/B6C,CA+B7B,YA/B6B,EA+Bf,MA/Be,EA+BP,KA/BO,EA+BA,SA/BA,CAAA,EAAA,kBAAA,GAAA,sBAAA,GAAA,gBAAA,GAAA,YAAA,GAAA,UAAA,GAAA,mBAAA,GAAA,aAAA,GAAA,WAAA,GAAA,SAAA,GAAA,WAAA,GAAA,SAAA,GAAA,iBAAA,GAAA,aAAA,GAAA,aAAA,CAAA,EAAA,UAAA,GAAA,SAAA,CAAA,GAAA;EAA7C,MAAA,CAAA,EAAA,SAAA;CADF;;;;;AAyBF;;;;;AAOkC,cA8BrB,cA9BqB,EAAA,OA8BT,YA9BS"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { queryOptions } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/queryOptions.ts
|
|
4
|
-
/**
|
|
5
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
6
|
-
* @deprecated Use `queryOptions` from \@tanstack/react-query@^4.40.0
|
|
7
|
-
* @example
|
|
8
|
-
* ```diff
|
|
9
|
-
* - import { queryOptions } from '@suspensive/react-query'
|
|
10
|
-
* + import { queryOptions } from '@tanstack/react-query'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
const queryOptions$1 = queryOptions;
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { queryOptions$1 as t };
|
|
17
|
-
//# sourceMappingURL=queryOptions-Dnf4-wlk.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queryOptions-Dnf4-wlk.mjs","names":["queryOptions","original_queryOptions"],"sources":["../src/queryOptions.ts"],"sourcesContent":["import {\n type OmitKeyof,\n type QueryKey,\n type UseQueryOptions,\n type WithRequired,\n queryOptions as original_queryOptions,\n} from '@tanstack/react-query'\n\n/**\n * @deprecated There is no `SelectedQueryOptions` in \\@tanstack/react-query@^4.40.0.\n */\nexport type SelectedQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>,\n | 'getNextPageParam'\n | 'getPreviousPageParam'\n | 'queryKeyHashFn'\n | '_defaulted'\n | 'behavior'\n | 'structuralSharing'\n | 'isDataEqual'\n | 'onSuccess'\n | 'onError'\n | 'onSettled'\n | 'enabled'\n | 'refetchInterval'\n | 'initialData'\n | 'networkMode'\n >,\n 'queryKey' | 'queryFn'\n> & {\n select: (data: TQueryFnData) => TData\n}\n\n/**\n * @deprecated There is no `UnSelectedQueryOptions` in \\@tanstack/react-query@^4.40.0.\n */\nexport type UnSelectedQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseQueryOptions<TQueryFnData, TError, TData, TQueryKey>,\n | 'getNextPageParam'\n | 'getPreviousPageParam'\n | 'queryKeyHashFn'\n | '_defaulted'\n | 'behavior'\n | 'structuralSharing'\n | 'isDataEqual'\n | 'onSuccess'\n | 'onError'\n | 'onSettled'\n | 'enabled'\n | 'refetchInterval'\n | 'initialData'\n | 'networkMode'\n >,\n 'queryKey' | 'queryFn'\n> & {\n select?: undefined\n}\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `queryOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { queryOptions } from '@suspensive/react-query'\n * + import { queryOptions } from '@tanstack/react-query'\n * ```\n */\nexport const queryOptions = original_queryOptions\n"],"mappings":";;;;;;;;;;;;AA+EA,MAAaA,iBAAeC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/usePrefetchInfiniteQuery.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.
|
|
7
|
-
* @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}
|
|
8
|
-
*/
|
|
9
|
-
declare function usePrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): void;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { usePrefetchInfiniteQuery as t };
|
|
12
|
-
//# sourceMappingURL=usePrefetchInfiniteQuery-B0_Ladyp.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetchInfiniteQuery-B0_Ladyp.d.mts","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"sourcesContent":[],"mappings":";;;;;;AAQA;;AAIoB,iBAJJ,wBAII,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QADV,YACU,EAAA,kBAAA,QAAA,GAAW,QAAX,CAAA,CAAA,OAAA,EACT,yBADS,CACiB,YADjB,EAC+B,MAD/B,EACuC,KADvC,EAC8C,SAD9C,CAAA,CAAA,EAAA,IAAA"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
let __tanstack_react_query = require("@tanstack/react-query");
|
|
2
|
-
|
|
3
|
-
//#region src/usePrefetchInfiniteQuery.ts
|
|
4
|
-
/**
|
|
5
|
-
* The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.
|
|
6
|
-
* @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}
|
|
7
|
-
*/
|
|
8
|
-
function usePrefetchInfiniteQuery(options) {
|
|
9
|
-
const queryClient = (0, __tanstack_react_query.useQueryClient)();
|
|
10
|
-
if (typeof options.queryKey !== "undefined" && !queryClient.getQueryState(options.queryKey)) queryClient.prefetchInfiniteQuery(options);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
Object.defineProperty(exports, 'usePrefetchInfiniteQuery', {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return usePrefetchInfiniteQuery;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=usePrefetchInfiniteQuery-BmZtlLeD.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetchInfiniteQuery-BmZtlLeD.cjs","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"sourcesContent":["'use client'\n\nimport { type FetchInfiniteQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}\n */\nexport function usePrefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchInfiniteQuery(options)\n }\n}\n"],"mappings":";;;;;;;AAQA,SAAgB,yBAKd,SAA4E;CAC5E,MAAM,0DAA8B;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,sBAAsB,QAAQ"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useQueryClient } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/usePrefetchInfiniteQuery.ts
|
|
4
|
-
/**
|
|
5
|
-
* The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.
|
|
6
|
-
* @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}
|
|
7
|
-
*/
|
|
8
|
-
function usePrefetchInfiniteQuery(options) {
|
|
9
|
-
const queryClient = useQueryClient();
|
|
10
|
-
if (typeof options.queryKey !== "undefined" && !queryClient.getQueryState(options.queryKey)) queryClient.prefetchInfiniteQuery(options);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { usePrefetchInfiniteQuery as t };
|
|
15
|
-
//# sourceMappingURL=usePrefetchInfiniteQuery-CQSN-P9m.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetchInfiniteQuery-CQSN-P9m.mjs","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"sourcesContent":["'use client'\n\nimport { type FetchInfiniteQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}\n */\nexport function usePrefetchInfiniteQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchInfiniteQuery(options)\n }\n}\n"],"mappings":";;;;;;;AAQA,SAAgB,yBAKd,SAA4E;CAC5E,MAAM,cAAc,gBAAgB;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,sBAAsB,QAAQ"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FetchInfiniteQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/usePrefetchInfiniteQuery.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The `usePrefetchInfiniteQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseInfiniteQuery`.
|
|
7
|
-
* @see {@link https://suspensive.org/docs/react-query/usePrefetchInfiniteQuery Suspensive Docs}
|
|
8
|
-
*/
|
|
9
|
-
declare function usePrefetchInfiniteQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey>): void;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { usePrefetchInfiniteQuery as t };
|
|
12
|
-
//# sourceMappingURL=usePrefetchInfiniteQuery-CRwRctQH.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetchInfiniteQuery-CRwRctQH.d.cts","names":[],"sources":["../src/usePrefetchInfiniteQuery.ts"],"sourcesContent":[],"mappings":";;;;;;AAQA;;AAIoB,iBAJJ,wBAII,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QADV,YACU,EAAA,kBAAA,QAAA,GAAW,QAAX,CAAA,CAAA,OAAA,EACT,yBADS,CACiB,YADjB,EAC+B,MAD/B,EACuC,KADvC,EAC8C,SAD9C,CAAA,CAAA,EAAA,IAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/usePrefetchQuery.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.
|
|
7
|
-
* @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}
|
|
8
|
-
*/
|
|
9
|
-
declare function usePrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>): void;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { usePrefetchQuery as t };
|
|
12
|
-
//# sourceMappingURL=usePrefetchQuery-38O319FT.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetchQuery-38O319FT.d.mts","names":[],"sources":["../src/usePrefetchQuery.ts"],"sourcesContent":[],"mappings":";;;;;;AAQA;;AAIoB,iBAJJ,gBAII,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QADV,YACU,EAAA,kBAAA,QAAA,GAAW,QAAX,CAAA,CAAA,OAAA,EACT,iBADS,CACS,YADT,EACuB,MADvB,EAC+B,KAD/B,EACsC,SADtC,CAAA,CAAA,EAAA,IAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { FetchQueryOptions, QueryKey } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/usePrefetchQuery.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.
|
|
7
|
-
* @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}
|
|
8
|
-
*/
|
|
9
|
-
declare function usePrefetchQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>): void;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { usePrefetchQuery as t };
|
|
12
|
-
//# sourceMappingURL=usePrefetchQuery-93Pltnzl.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetchQuery-93Pltnzl.d.cts","names":[],"sources":["../src/usePrefetchQuery.ts"],"sourcesContent":[],"mappings":";;;;;;AAQA;;AAIoB,iBAJJ,gBAII,CAAA,eAAA,OAAA,EAAA,SAAA,OAAA,EAAA,QADV,YACU,EAAA,kBAAA,QAAA,GAAW,QAAX,CAAA,CAAA,OAAA,EACT,iBADS,CACS,YADT,EACuB,MADvB,EAC+B,KAD/B,EACsC,SADtC,CAAA,CAAA,EAAA,IAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useQueryClient } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/usePrefetchQuery.ts
|
|
4
|
-
/**
|
|
5
|
-
* The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.
|
|
6
|
-
* @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}
|
|
7
|
-
*/
|
|
8
|
-
function usePrefetchQuery(options) {
|
|
9
|
-
const queryClient = useQueryClient();
|
|
10
|
-
if (typeof options.queryKey !== "undefined" && !queryClient.getQueryState(options.queryKey)) queryClient.prefetchQuery(options);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
export { usePrefetchQuery as t };
|
|
15
|
-
//# sourceMappingURL=usePrefetchQuery-CtrJciA6.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetchQuery-CtrJciA6.mjs","names":[],"sources":["../src/usePrefetchQuery.ts"],"sourcesContent":["'use client'\n\nimport { type FetchQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}\n */\nexport function usePrefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchQuery(options)\n }\n}\n"],"mappings":";;;;;;;AAQA,SAAgB,iBAKd,SAAoE;CACpE,MAAM,cAAc,gBAAgB;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,cAAc,QAAQ"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
let __tanstack_react_query = require("@tanstack/react-query");
|
|
2
|
-
|
|
3
|
-
//#region src/usePrefetchQuery.ts
|
|
4
|
-
/**
|
|
5
|
-
* The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.
|
|
6
|
-
* @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}
|
|
7
|
-
*/
|
|
8
|
-
function usePrefetchQuery(options) {
|
|
9
|
-
const queryClient = (0, __tanstack_react_query.useQueryClient)();
|
|
10
|
-
if (typeof options.queryKey !== "undefined" && !queryClient.getQueryState(options.queryKey)) queryClient.prefetchQuery(options);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
Object.defineProperty(exports, 'usePrefetchQuery', {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () {
|
|
17
|
-
return usePrefetchQuery;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=usePrefetchQuery-woiivAJc.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"usePrefetchQuery-woiivAJc.cjs","names":[],"sources":["../src/usePrefetchQuery.ts"],"sourcesContent":["'use client'\n\nimport { type FetchQueryOptions, type QueryKey, useQueryClient } from '@tanstack/react-query'\n\n/**\n * The `usePrefetchQuery` does not return anything, it should be used just to fire a prefetch during render, before a suspense boundary that wraps a component that uses `useSuspenseQuery`.\n * @see {@link https://suspensive.org/docs/react-query/usePrefetchQuery Suspensive Docs}\n */\nexport function usePrefetchQuery<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n>(options: FetchQueryOptions<TQueryFnData, TError, TData, TQueryKey>) {\n const queryClient = useQueryClient()\n\n if (typeof options.queryKey !== 'undefined' && !queryClient.getQueryState(options.queryKey)) {\n queryClient.prefetchQuery(options)\n }\n}\n"],"mappings":";;;;;;;AAQA,SAAgB,iBAKd,SAAoE;CACpE,MAAM,0DAA8B;AAEpC,KAAI,OAAO,QAAQ,aAAa,eAAe,CAAC,YAAY,cAAc,QAAQ,SAAS,CACzF,aAAY,cAAc,QAAQ"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OmitKeyof, QueryKey, UseInfiniteQueryOptions, UseSuspenseInfiniteQueryResult as UseSuspenseInfiniteQueryResult$1, WithRequired, useSuspenseInfiniteQuery } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseInfiniteQuery.d.ts
|
|
4
|
-
type UseSuspenseInfiniteQueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = WithRequired<OmitKeyof<UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>, 'suspense' | 'useErrorBoundary' | 'enabled' | 'placeholderData' | 'networkMode' | 'initialData'>, 'queryKey'>;
|
|
5
|
-
/**
|
|
6
|
-
* This feature is officially supported in \@tanstack/react-query@^4.41.0, You can proceed with the migration.
|
|
7
|
-
* @deprecated Use `useSuspenseInfiniteQuery` from \@tanstack/react-query@^4.41.0
|
|
8
|
-
* @example
|
|
9
|
-
* ```diff
|
|
10
|
-
* - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'
|
|
11
|
-
* + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
declare const useSuspenseInfiniteQuery$1: typeof useSuspenseInfiniteQuery;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { UseSuspenseInfiniteQueryResult$1 as n, useSuspenseInfiniteQuery$1 as r, UseSuspenseInfiniteQueryOptions as t };
|
|
17
|
-
//# sourceMappingURL=useSuspenseInfiniteQuery-Bh0nh8Kc.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseInfiniteQuery-Bh0nh8Kc.d.mts","names":[],"sources":["../src/useSuspenseInfiniteQuery.ts"],"sourcesContent":[],"mappings":";;;KAYY,kFAGF,gCACU,WAAW,YAC3B,aACF,UACE,wBAAwB,cAAc,QAAQ,OAAO,cAAc;AAPvE;;;;;;;;;AAOI,cAeS,0BAfT,EAAA,OAeiC,wBAfjC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
let __tanstack_react_query = require("@tanstack/react-query");
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseInfiniteQuery.ts
|
|
4
|
-
/**
|
|
5
|
-
* This feature is officially supported in \@tanstack/react-query@^4.41.0, You can proceed with the migration.
|
|
6
|
-
* @deprecated Use `useSuspenseInfiniteQuery` from \@tanstack/react-query@^4.41.0
|
|
7
|
-
* @example
|
|
8
|
-
* ```diff
|
|
9
|
-
* - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'
|
|
10
|
-
* + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
const useSuspenseInfiniteQuery = __tanstack_react_query.useSuspenseInfiniteQuery;
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
Object.defineProperty(exports, 'useSuspenseInfiniteQuery', {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return useSuspenseInfiniteQuery;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=useSuspenseInfiniteQuery-CA0jmgbX.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseInfiniteQuery-CA0jmgbX.cjs","names":["original_useSuspenseInfiniteQuery"],"sources":["../src/useSuspenseInfiniteQuery.ts"],"sourcesContent":["'use client'\n\nimport {\n type OmitKeyof,\n type QueryKey,\n type UseInfiniteQueryOptions,\n type WithRequired,\n useSuspenseInfiniteQuery as original_useSuspenseInfiniteQuery,\n} from '@tanstack/react-query'\n\nexport type { UseSuspenseInfiniteQueryResult } from '@tanstack/react-query'\n\nexport type UseSuspenseInfiniteQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>,\n 'suspense' | 'useErrorBoundary' | 'enabled' | 'placeholderData' | 'networkMode' | 'initialData'\n >,\n 'queryKey'\n>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.41.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseInfiniteQuery` from \\@tanstack/react-query@^4.41.0\n * @example\n * ```diff\n * - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'\n * + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseInfiniteQuery = original_useSuspenseInfiniteQuery\n"],"mappings":";;;;;;;;;;;;AAkCA,MAAa,2BAA2BA"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useSuspenseInfiniteQuery } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseInfiniteQuery.ts
|
|
4
|
-
/**
|
|
5
|
-
* This feature is officially supported in \@tanstack/react-query@^4.41.0, You can proceed with the migration.
|
|
6
|
-
* @deprecated Use `useSuspenseInfiniteQuery` from \@tanstack/react-query@^4.41.0
|
|
7
|
-
* @example
|
|
8
|
-
* ```diff
|
|
9
|
-
* - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'
|
|
10
|
-
* + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
const useSuspenseInfiniteQuery$1 = useSuspenseInfiniteQuery;
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { useSuspenseInfiniteQuery$1 as t };
|
|
17
|
-
//# sourceMappingURL=useSuspenseInfiniteQuery-DUxKOkCo.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseInfiniteQuery-DUxKOkCo.mjs","names":["useSuspenseInfiniteQuery","original_useSuspenseInfiniteQuery"],"sources":["../src/useSuspenseInfiniteQuery.ts"],"sourcesContent":["'use client'\n\nimport {\n type OmitKeyof,\n type QueryKey,\n type UseInfiniteQueryOptions,\n type WithRequired,\n useSuspenseInfiniteQuery as original_useSuspenseInfiniteQuery,\n} from '@tanstack/react-query'\n\nexport type { UseSuspenseInfiniteQueryResult } from '@tanstack/react-query'\n\nexport type UseSuspenseInfiniteQueryOptions<\n TQueryFnData = unknown,\n TError = unknown,\n TData = TQueryFnData,\n TQueryKey extends QueryKey = QueryKey,\n> = WithRequired<\n OmitKeyof<\n UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>,\n 'suspense' | 'useErrorBoundary' | 'enabled' | 'placeholderData' | 'networkMode' | 'initialData'\n >,\n 'queryKey'\n>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.41.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseInfiniteQuery` from \\@tanstack/react-query@^4.41.0\n * @example\n * ```diff\n * - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'\n * + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseInfiniteQuery = original_useSuspenseInfiniteQuery\n"],"mappings":";;;;;;;;;;;;AAkCA,MAAaA,6BAA2BC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { OmitKeyof, QueryKey, UseInfiniteQueryOptions, UseSuspenseInfiniteQueryResult as UseSuspenseInfiniteQueryResult$1, WithRequired, useSuspenseInfiniteQuery } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseInfiniteQuery.d.ts
|
|
4
|
-
type UseSuspenseInfiniteQueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> = WithRequired<OmitKeyof<UseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryFnData, TQueryKey>, 'suspense' | 'useErrorBoundary' | 'enabled' | 'placeholderData' | 'networkMode' | 'initialData'>, 'queryKey'>;
|
|
5
|
-
/**
|
|
6
|
-
* This feature is officially supported in \@tanstack/react-query@^4.41.0, You can proceed with the migration.
|
|
7
|
-
* @deprecated Use `useSuspenseInfiniteQuery` from \@tanstack/react-query@^4.41.0
|
|
8
|
-
* @example
|
|
9
|
-
* ```diff
|
|
10
|
-
* - import { useSuspenseInfiniteQuery } from '@suspensive/react-query'
|
|
11
|
-
* + import { useSuspenseInfiniteQuery } from '@tanstack/react-query'
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
declare const useSuspenseInfiniteQuery$1: typeof useSuspenseInfiniteQuery;
|
|
15
|
-
//#endregion
|
|
16
|
-
export { UseSuspenseInfiniteQueryResult$1 as n, useSuspenseInfiniteQuery$1 as r, UseSuspenseInfiniteQueryOptions as t };
|
|
17
|
-
//# sourceMappingURL=useSuspenseInfiniteQuery-xXu-A7cX.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseInfiniteQuery-xXu-A7cX.d.cts","names":[],"sources":["../src/useSuspenseInfiniteQuery.ts"],"sourcesContent":[],"mappings":";;;KAYY,kFAGF,gCACU,WAAW,YAC3B,aACF,UACE,wBAAwB,cAAc,QAAQ,OAAO,cAAc;AAPvE;;;;;;;;;AAOI,cAeS,0BAfT,EAAA,OAeiC,wBAfjC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useSuspenseQueries } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseQueries.ts
|
|
4
|
-
/**
|
|
5
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
6
|
-
* @deprecated Use `useSuspenseQueries` from \@tanstack/react-query@^4.40.0
|
|
7
|
-
* @example
|
|
8
|
-
* ```diff
|
|
9
|
-
* - import { useSuspenseQueries } from '@suspensive/react-query'
|
|
10
|
-
* + import { useSuspenseQueries } from '@tanstack/react-query'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
const useSuspenseQueries$1 = useSuspenseQueries;
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
export { useSuspenseQueries$1 as t };
|
|
17
|
-
//# sourceMappingURL=useSuspenseQueries-Bf0lSTWB.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseQueries-Bf0lSTWB.mjs","names":["useSuspenseQueries","original_useSuspenseQueries"],"sources":["../src/useSuspenseQueries.ts"],"sourcesContent":["'use client'\n\nimport {\n type SuspenseQueriesOptions as original_SuspenseQueriesOptions,\n type SuspenseQueriesResults as original_SuspenseQueriesResults,\n useSuspenseQueries as original_useSuspenseQueries,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesOptions } from '@suspensive/react-query'\n * + import type { SuspenseQueriesOptions } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesOptions<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesOptions<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesResults` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesResults } from '@suspensive/react-query'\n * + import type { SuspenseQueriesResults } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesResults<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesResults<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQueries` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQueries } from '@suspensive/react-query'\n * + import { useSuspenseQueries } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQueries = original_useSuspenseQueries\n"],"mappings":";;;;;;;;;;;;AA+CA,MAAaA,uBAAqBC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { SuspenseQueriesOptions, SuspenseQueriesResults, useSuspenseQueries } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseQueries.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
7
|
-
* @deprecated Use `SuspenseQueriesOptions` from \@tanstack/react-query@^4.40.0
|
|
8
|
-
* @example
|
|
9
|
-
* ```diff
|
|
10
|
-
* - import type { SuspenseQueriesOptions } from '@suspensive/react-query'
|
|
11
|
-
* + import type { SuspenseQueriesOptions } from '@tanstack/react-query'
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
type SuspenseQueriesOptions$1<T extends Array<any>, TResult extends Array<any> = [], TDepth extends ReadonlyArray<number> = []> = SuspenseQueriesOptions<T, TResult, TDepth>;
|
|
15
|
-
/**
|
|
16
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
17
|
-
* @deprecated Use `SuspenseQueriesResults` from \@tanstack/react-query@^4.40.0
|
|
18
|
-
* @example
|
|
19
|
-
* ```diff
|
|
20
|
-
* - import type { SuspenseQueriesResults } from '@suspensive/react-query'
|
|
21
|
-
* + import type { SuspenseQueriesResults } from '@tanstack/react-query'
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
type SuspenseQueriesResults$1<T extends Array<any>, TResult extends Array<any> = [], TDepth extends ReadonlyArray<number> = []> = SuspenseQueriesResults<T, TResult, TDepth>;
|
|
25
|
-
/**
|
|
26
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
27
|
-
* @deprecated Use `useSuspenseQueries` from \@tanstack/react-query@^4.40.0
|
|
28
|
-
* @example
|
|
29
|
-
* ```diff
|
|
30
|
-
* - import { useSuspenseQueries } from '@suspensive/react-query'
|
|
31
|
-
* + import { useSuspenseQueries } from '@tanstack/react-query'
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
declare const useSuspenseQueries$1: typeof useSuspenseQueries;
|
|
35
|
-
//#endregion
|
|
36
|
-
export { SuspenseQueriesResults$1 as n, useSuspenseQueries$1 as r, SuspenseQueriesOptions$1 as t };
|
|
37
|
-
//# sourceMappingURL=useSuspenseQueries-CHPLAyeb.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseQueries-CHPLAyeb.d.cts","names":[],"sources":["../src/useSuspenseQueries.ts"],"sourcesContent":[],"mappings":";;;;;;AAiBA;;;;;;;AAII,KAJQ,wBAIR,CAAA,UAHQ,KAGR,CAAA,GAAA,CAAA,EAAA,gBAFc,KAEd,CAAA,GAAA,CAAA,GAAA,EAAA,EAAA,eADa,aACb,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,sBAAA,CAAgC,CAAhC,EAAmC,OAAnC,EAA4C,MAA5C,CAAA;;AAWJ;;;;;;;;AAImC,KAJvB,wBAIuB,CAAA,UAHvB,KAGuB,CAAA,GAAA,CAAA,EAAA,gBAFjB,KAEiB,CAAA,GAAA,CAAA,GAAA,EAAA,EAAA,eADlB,aACkB,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAA/B,sBAA+B,CAAC,CAAD,EAAI,OAAJ,EAAa,MAAb,CAAA;AAWnC;;;;;;;;;cAAa,6BAAkB"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
let __tanstack_react_query = require("@tanstack/react-query");
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseQueries.ts
|
|
4
|
-
/**
|
|
5
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
6
|
-
* @deprecated Use `useSuspenseQueries` from \@tanstack/react-query@^4.40.0
|
|
7
|
-
* @example
|
|
8
|
-
* ```diff
|
|
9
|
-
* - import { useSuspenseQueries } from '@suspensive/react-query'
|
|
10
|
-
* + import { useSuspenseQueries } from '@tanstack/react-query'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
const useSuspenseQueries = __tanstack_react_query.useSuspenseQueries;
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
Object.defineProperty(exports, 'useSuspenseQueries', {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return useSuspenseQueries;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=useSuspenseQueries-DqBaOI3L.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseQueries-DqBaOI3L.cjs","names":["original_useSuspenseQueries"],"sources":["../src/useSuspenseQueries.ts"],"sourcesContent":["'use client'\n\nimport {\n type SuspenseQueriesOptions as original_SuspenseQueriesOptions,\n type SuspenseQueriesResults as original_SuspenseQueriesResults,\n useSuspenseQueries as original_useSuspenseQueries,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesOptions } from '@suspensive/react-query'\n * + import type { SuspenseQueriesOptions } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesOptions<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesOptions<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `SuspenseQueriesResults` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { SuspenseQueriesResults } from '@suspensive/react-query'\n * + import type { SuspenseQueriesResults } from '@tanstack/react-query'\n * ```\n */\nexport type SuspenseQueriesResults<\n T extends Array<any>,\n TResult extends Array<any> = [],\n TDepth extends ReadonlyArray<number> = [],\n> = original_SuspenseQueriesResults<T, TResult, TDepth>\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQueries` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQueries } from '@suspensive/react-query'\n * + import { useSuspenseQueries } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQueries = original_useSuspenseQueries\n"],"mappings":";;;;;;;;;;;;AA+CA,MAAa,qBAAqBA"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { SuspenseQueriesOptions, SuspenseQueriesResults, useSuspenseQueries } from "@tanstack/react-query";
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseQueries.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
7
|
-
* @deprecated Use `SuspenseQueriesOptions` from \@tanstack/react-query@^4.40.0
|
|
8
|
-
* @example
|
|
9
|
-
* ```diff
|
|
10
|
-
* - import type { SuspenseQueriesOptions } from '@suspensive/react-query'
|
|
11
|
-
* + import type { SuspenseQueriesOptions } from '@tanstack/react-query'
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
type SuspenseQueriesOptions$1<T extends Array<any>, TResult extends Array<any> = [], TDepth extends ReadonlyArray<number> = []> = SuspenseQueriesOptions<T, TResult, TDepth>;
|
|
15
|
-
/**
|
|
16
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
17
|
-
* @deprecated Use `SuspenseQueriesResults` from \@tanstack/react-query@^4.40.0
|
|
18
|
-
* @example
|
|
19
|
-
* ```diff
|
|
20
|
-
* - import type { SuspenseQueriesResults } from '@suspensive/react-query'
|
|
21
|
-
* + import type { SuspenseQueriesResults } from '@tanstack/react-query'
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
type SuspenseQueriesResults$1<T extends Array<any>, TResult extends Array<any> = [], TDepth extends ReadonlyArray<number> = []> = SuspenseQueriesResults<T, TResult, TDepth>;
|
|
25
|
-
/**
|
|
26
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
27
|
-
* @deprecated Use `useSuspenseQueries` from \@tanstack/react-query@^4.40.0
|
|
28
|
-
* @example
|
|
29
|
-
* ```diff
|
|
30
|
-
* - import { useSuspenseQueries } from '@suspensive/react-query'
|
|
31
|
-
* + import { useSuspenseQueries } from '@tanstack/react-query'
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
declare const useSuspenseQueries$1: typeof useSuspenseQueries;
|
|
35
|
-
//#endregion
|
|
36
|
-
export { SuspenseQueriesResults$1 as n, useSuspenseQueries$1 as r, SuspenseQueriesOptions$1 as t };
|
|
37
|
-
//# sourceMappingURL=useSuspenseQueries-pfI8hFSM.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseQueries-pfI8hFSM.d.mts","names":[],"sources":["../src/useSuspenseQueries.ts"],"sourcesContent":[],"mappings":";;;;;;AAiBA;;;;;;;AAII,KAJQ,wBAIR,CAAA,UAHQ,KAGR,CAAA,GAAA,CAAA,EAAA,gBAFc,KAEd,CAAA,GAAA,CAAA,GAAA,EAAA,EAAA,eADa,aACb,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,sBAAA,CAAgC,CAAhC,EAAmC,OAAnC,EAA4C,MAA5C,CAAA;;AAWJ;;;;;;;;AAImC,KAJvB,wBAIuB,CAAA,UAHvB,KAGuB,CAAA,GAAA,CAAA,EAAA,gBAFjB,KAEiB,CAAA,GAAA,CAAA,GAAA,EAAA,EAAA,eADlB,aACkB,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAA/B,sBAA+B,CAAC,CAAD,EAAI,OAAJ,EAAa,MAAb,CAAA;AAWnC;;;;;;;;;cAAa,6BAAkB"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
let __tanstack_react_query = require("@tanstack/react-query");
|
|
2
|
-
|
|
3
|
-
//#region src/useSuspenseQuery.ts
|
|
4
|
-
/**
|
|
5
|
-
* This feature is officially supported in \@tanstack/react-query@^4.40.0, You can proceed with the migration.
|
|
6
|
-
* @deprecated Use `useSuspenseQuery` from \@tanstack/react-query@^4.40.0
|
|
7
|
-
* @example
|
|
8
|
-
* ```diff
|
|
9
|
-
* - import { useSuspenseQuery } from '@suspensive/react-query'
|
|
10
|
-
* + import { useSuspenseQuery } from '@tanstack/react-query'
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
const useSuspenseQuery = __tanstack_react_query.useSuspenseQuery;
|
|
14
|
-
|
|
15
|
-
//#endregion
|
|
16
|
-
Object.defineProperty(exports, 'useSuspenseQuery', {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return useSuspenseQuery;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=useSuspenseQuery-41ONxa6i.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSuspenseQuery-41ONxa6i.cjs","names":["original_useSuspenseQuery"],"sources":["../src/useSuspenseQuery.ts"],"sourcesContent":["'use client'\n\nimport {\n type UseSuspenseQueryOptions as original_UseSuspenseQueryOptions,\n type UseSuspenseQueryResult as original_UseSuspenseQueryResult,\n useSuspenseQuery as original_useSuspenseQuery,\n} from '@tanstack/react-query'\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryOptions` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryOptions } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryOptions } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryOptions = original_UseSuspenseQueryOptions\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `UseSuspenseQueryResult` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import type { UseSuspenseQueryResult } from '@suspensive/react-query'\n * + import type { UseSuspenseQueryResult } from '@tanstack/react-query'\n * ```\n */\nexport type UseSuspenseQueryResult = original_UseSuspenseQueryResult\n\n/**\n * This feature is officially supported in \\@tanstack/react-query@^4.40.0, You can proceed with the migration.\n * @deprecated Use `useSuspenseQuery` from \\@tanstack/react-query@^4.40.0\n * @example\n * ```diff\n * - import { useSuspenseQuery } from '@suspensive/react-query'\n * + import { useSuspenseQuery } from '@tanstack/react-query'\n * ```\n */\nexport const useSuspenseQuery = original_useSuspenseQuery\n"],"mappings":";;;;;;;;;;;;AAuCA,MAAa,mBAAmBA"}
|