@buoy-gg/react-query 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +389 -0
- package/lib/commonjs/index.js +107 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/preset.js +220 -0
- package/lib/commonjs/react-query/ReactQueryDevTools.js +335 -0
- package/lib/commonjs/react-query/components/DataEditorMode.js +316 -0
- package/lib/commonjs/react-query/components/FilterStatusBadge.js +51 -0
- package/lib/commonjs/react-query/components/MutationBrowserMode.js +51 -0
- package/lib/commonjs/react-query/components/MutationEditorMode.js +257 -0
- package/lib/commonjs/react-query/components/QueryBrowserMode.js +82 -0
- package/lib/commonjs/react-query/components/QueryDebugInfo.js +107 -0
- package/lib/commonjs/react-query/components/QueryFilterViewV3.js +221 -0
- package/lib/commonjs/react-query/components/QuerySelector.js +208 -0
- package/lib/commonjs/react-query/components/ReactQueryDevToolsModal.js +76 -0
- package/lib/commonjs/react-query/components/ReactQuerySection.js +47 -0
- package/lib/commonjs/react-query/components/WifiToggle.js +49 -0
- package/lib/commonjs/react-query/components/index.js +253 -0
- package/lib/commonjs/react-query/components/modals/DataEditorModal.js +70 -0
- package/lib/commonjs/react-query/components/modals/MutationBrowserFooter.js +69 -0
- package/lib/commonjs/react-query/components/modals/MutationBrowserModal.js +146 -0
- package/lib/commonjs/react-query/components/modals/MutationEditorModal.js +58 -0
- package/lib/commonjs/react-query/components/modals/QueryBrowserFooter.js +63 -0
- package/lib/commonjs/react-query/components/modals/QueryBrowserModal.js +237 -0
- package/lib/commonjs/react-query/components/modals/ReactQueryModal.js +83 -0
- package/lib/commonjs/react-query/components/modals/ReactQueryModalHeader.js +171 -0
- package/lib/commonjs/react-query/components/modals/SwipeIndicator.js +204 -0
- package/lib/commonjs/react-query/components/query-browser/ActionButton.js +127 -0
- package/lib/commonjs/react-query/components/query-browser/ClearCacheButton.js +53 -0
- package/lib/commonjs/react-query/components/query-browser/Explorer.js +985 -0
- package/lib/commonjs/react-query/components/query-browser/MutationButton.js +184 -0
- package/lib/commonjs/react-query/components/query-browser/MutationDetails.js +122 -0
- package/lib/commonjs/react-query/components/query-browser/MutationDetailsChips.js +66 -0
- package/lib/commonjs/react-query/components/query-browser/MutationInformation.js +117 -0
- package/lib/commonjs/react-query/components/query-browser/MutationStatusCount.js +111 -0
- package/lib/commonjs/react-query/components/query-browser/MutationsList.js +212 -0
- package/lib/commonjs/react-query/components/query-browser/NetworkToggleButton.js +54 -0
- package/lib/commonjs/react-query/components/query-browser/QueryActions.js +138 -0
- package/lib/commonjs/react-query/components/query-browser/QueryBrowser.js +146 -0
- package/lib/commonjs/react-query/components/query-browser/QueryDetails.js +137 -0
- package/lib/commonjs/react-query/components/query-browser/QueryDetailsChip.js +76 -0
- package/lib/commonjs/react-query/components/query-browser/QueryInformation.js +94 -0
- package/lib/commonjs/react-query/components/query-browser/QueryRow.js +93 -0
- package/lib/commonjs/react-query/components/query-browser/QueryStatus.js +125 -0
- package/lib/commonjs/react-query/components/query-browser/QueryStatusCount.js +130 -0
- package/lib/commonjs/react-query/components/query-browser/StorageStatusCount.js +106 -0
- package/lib/commonjs/react-query/components/query-browser/index.js +170 -0
- package/lib/commonjs/react-query/components/query-browser/svgs.js +74 -0
- package/lib/commonjs/react-query/hooks/index.js +96 -0
- package/lib/commonjs/react-query/hooks/useActionButtons.js +59 -0
- package/lib/commonjs/react-query/hooks/useAllMutations.js +35 -0
- package/lib/commonjs/react-query/hooks/useAllQueries.js +117 -0
- package/lib/commonjs/react-query/hooks/useModalManager.js +178 -0
- package/lib/commonjs/react-query/hooks/useModalPersistence.js +71 -0
- package/lib/commonjs/react-query/hooks/useMutationActionButtons.js +22 -0
- package/lib/commonjs/react-query/hooks/useQueryStatusCounts.js +110 -0
- package/lib/commonjs/react-query/hooks/useReactQueryState.js +24 -0
- package/lib/commonjs/react-query/hooks/useSelectedMutation.js +30 -0
- package/lib/commonjs/react-query/hooks/useSelectedQuery.js +96 -0
- package/lib/commonjs/react-query/hooks/useStorageQueryCounts.js +28 -0
- package/lib/commonjs/react-query/hooks/useWifiState.js +67 -0
- package/lib/commonjs/react-query/index.js +16 -0
- package/lib/commonjs/react-query/types/index.js +16 -0
- package/lib/commonjs/react-query/types/types.js +14 -0
- package/lib/commonjs/react-query/utils/actions/deleteItem.js +23 -0
- package/lib/commonjs/react-query/utils/actions/invalidate.js +13 -0
- package/lib/commonjs/react-query/utils/actions/refetch.js +15 -0
- package/lib/commonjs/react-query/utils/actions/remove.js +12 -0
- package/lib/commonjs/react-query/utils/actions/reset.js +15 -0
- package/lib/commonjs/react-query/utils/actions/triggerError.js +30 -0
- package/lib/commonjs/react-query/utils/actions/triggerLoading.js +51 -0
- package/lib/commonjs/react-query/utils/deleteNestedDataByPath.js +56 -0
- package/lib/commonjs/react-query/utils/formatRelativeTime.js +29 -0
- package/lib/commonjs/react-query/utils/getQueryStatusColor.js +16 -0
- package/lib/commonjs/react-query/utils/getQueryStatusLabel.js +17 -0
- package/lib/commonjs/react-query/utils/getStorageQueryCounts.js +35 -0
- package/lib/commonjs/react-query/utils/index.js +170 -0
- package/lib/commonjs/react-query/utils/modalStorageOperations.js +127 -0
- package/lib/commonjs/react-query/utils/storageQueryUtils.js +149 -0
- package/lib/commonjs/react-query/utils/updateNestedDataByPath.js +61 -0
- package/lib/module/index.js +19 -0
- package/lib/module/preset.js +216 -0
- package/lib/module/react-query/ReactQueryDevTools.js +68 -0
- package/lib/module/react-query/components/DataEditorMode.js +310 -0
- package/lib/module/react-query/components/FilterStatusBadge.js +47 -0
- package/lib/module/react-query/components/MutationBrowserMode.js +46 -0
- package/lib/module/react-query/components/MutationEditorMode.js +252 -0
- package/lib/module/react-query/components/QueryBrowserMode.js +77 -0
- package/lib/module/react-query/components/QueryDebugInfo.js +104 -0
- package/lib/module/react-query/components/QueryFilterViewV3.js +218 -0
- package/lib/module/react-query/components/QuerySelector.js +204 -0
- package/lib/module/react-query/components/ReactQueryDevToolsModal.js +72 -0
- package/lib/module/react-query/components/ReactQuerySection.js +43 -0
- package/lib/module/react-query/components/WifiToggle.js +46 -0
- package/lib/module/react-query/components/index.js +29 -0
- package/lib/module/react-query/components/modals/DataEditorModal.js +66 -0
- package/lib/module/react-query/components/modals/MutationBrowserFooter.js +64 -0
- package/lib/module/react-query/components/modals/MutationBrowserModal.js +143 -0
- package/lib/module/react-query/components/modals/MutationEditorModal.js +54 -0
- package/lib/module/react-query/components/modals/QueryBrowserFooter.js +58 -0
- package/lib/module/react-query/components/modals/QueryBrowserModal.js +233 -0
- package/lib/module/react-query/components/modals/ReactQueryModal.js +79 -0
- package/lib/module/react-query/components/modals/ReactQueryModalHeader.js +167 -0
- package/lib/module/react-query/components/modals/SwipeIndicator.js +200 -0
- package/lib/module/react-query/components/query-browser/ActionButton.js +124 -0
- package/lib/module/react-query/components/query-browser/ClearCacheButton.js +49 -0
- package/lib/module/react-query/components/query-browser/Explorer.js +983 -0
- package/lib/module/react-query/components/query-browser/MutationButton.js +180 -0
- package/lib/module/react-query/components/query-browser/MutationDetails.js +117 -0
- package/lib/module/react-query/components/query-browser/MutationDetailsChips.js +62 -0
- package/lib/module/react-query/components/query-browser/MutationInformation.js +112 -0
- package/lib/module/react-query/components/query-browser/MutationStatusCount.js +106 -0
- package/lib/module/react-query/components/query-browser/MutationsList.js +207 -0
- package/lib/module/react-query/components/query-browser/NetworkToggleButton.js +50 -0
- package/lib/module/react-query/components/query-browser/QueryActions.js +133 -0
- package/lib/module/react-query/components/query-browser/QueryBrowser.js +141 -0
- package/lib/module/react-query/components/query-browser/QueryDetails.js +132 -0
- package/lib/module/react-query/components/query-browser/QueryDetailsChip.js +72 -0
- package/lib/module/react-query/components/query-browser/QueryInformation.js +89 -0
- package/lib/module/react-query/components/query-browser/QueryRow.js +89 -0
- package/lib/module/react-query/components/query-browser/QueryStatus.js +121 -0
- package/lib/module/react-query/components/query-browser/QueryStatusCount.js +125 -0
- package/lib/module/react-query/components/query-browser/StorageStatusCount.js +101 -0
- package/lib/module/react-query/components/query-browser/index.js +22 -0
- package/lib/module/react-query/components/query-browser/svgs.js +66 -0
- package/lib/module/react-query/hooks/index.js +23 -0
- package/lib/module/react-query/hooks/useActionButtons.js +54 -0
- package/lib/module/react-query/hooks/useAllMutations.js +32 -0
- package/lib/module/react-query/hooks/useAllQueries.js +114 -0
- package/lib/module/react-query/hooks/useModalManager.js +175 -0
- package/lib/module/react-query/hooks/useModalPersistence.js +67 -0
- package/lib/module/react-query/hooks/useMutationActionButtons.js +18 -0
- package/lib/module/react-query/hooks/useQueryStatusCounts.js +108 -0
- package/lib/module/react-query/hooks/useReactQueryState.js +20 -0
- package/lib/module/react-query/hooks/useSelectedMutation.js +27 -0
- package/lib/module/react-query/hooks/useSelectedQuery.js +92 -0
- package/lib/module/react-query/hooks/useStorageQueryCounts.js +25 -0
- package/lib/module/react-query/hooks/useWifiState.js +64 -0
- package/lib/module/react-query/index.js +3 -0
- package/lib/module/react-query/types/index.js +3 -0
- package/lib/module/react-query/types/types.js +10 -0
- package/lib/module/react-query/utils/actions/deleteItem.js +19 -0
- package/lib/module/react-query/utils/actions/invalidate.js +9 -0
- package/lib/module/react-query/utils/actions/refetch.js +11 -0
- package/lib/module/react-query/utils/actions/remove.js +8 -0
- package/lib/module/react-query/utils/actions/reset.js +11 -0
- package/lib/module/react-query/utils/actions/triggerError.js +26 -0
- package/lib/module/react-query/utils/actions/triggerLoading.js +47 -0
- package/lib/module/react-query/utils/deleteNestedDataByPath.js +51 -0
- package/lib/module/react-query/utils/formatRelativeTime.js +25 -0
- package/lib/module/react-query/utils/getQueryStatusColor.js +12 -0
- package/lib/module/react-query/utils/getQueryStatusLabel.js +13 -0
- package/lib/module/react-query/utils/getStorageQueryCounts.js +31 -0
- package/lib/module/react-query/utils/index.js +27 -0
- package/lib/module/react-query/utils/modalStorageOperations.js +117 -0
- package/lib/module/react-query/utils/storageQueryUtils.js +140 -0
- package/lib/module/react-query/utils/updateNestedDataByPath.js +56 -0
- package/lib/typescript/index.d.ts +7 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/preset.d.ts +160 -0
- package/lib/typescript/preset.d.ts.map +1 -0
- package/lib/typescript/react-query/ReactQueryDevTools.d.ts +45 -0
- package/lib/typescript/react-query/ReactQueryDevTools.d.ts.map +1 -0
- package/lib/typescript/react-query/components/DataEditorMode.d.ts +25 -0
- package/lib/typescript/react-query/components/DataEditorMode.d.ts.map +1 -0
- package/lib/typescript/react-query/components/FilterStatusBadge.d.ts +12 -0
- package/lib/typescript/react-query/components/FilterStatusBadge.d.ts.map +1 -0
- package/lib/typescript/react-query/components/MutationBrowserMode.d.ts +14 -0
- package/lib/typescript/react-query/components/MutationBrowserMode.d.ts.map +1 -0
- package/lib/typescript/react-query/components/MutationEditorMode.d.ts +12 -0
- package/lib/typescript/react-query/components/MutationEditorMode.d.ts.map +1 -0
- package/lib/typescript/react-query/components/QueryBrowserMode.d.ts +14 -0
- package/lib/typescript/react-query/components/QueryBrowserMode.d.ts.map +1 -0
- package/lib/typescript/react-query/components/QueryDebugInfo.d.ts +6 -0
- package/lib/typescript/react-query/components/QueryDebugInfo.d.ts.map +1 -0
- package/lib/typescript/react-query/components/QueryFilterViewV3.d.ts +17 -0
- package/lib/typescript/react-query/components/QueryFilterViewV3.d.ts.map +1 -0
- package/lib/typescript/react-query/components/QuerySelector.d.ts +15 -0
- package/lib/typescript/react-query/components/QuerySelector.d.ts.map +1 -0
- package/lib/typescript/react-query/components/ReactQueryDevToolsModal.d.ts +19 -0
- package/lib/typescript/react-query/components/ReactQueryDevToolsModal.d.ts.map +1 -0
- package/lib/typescript/react-query/components/ReactQuerySection.d.ts +11 -0
- package/lib/typescript/react-query/components/ReactQuerySection.d.ts.map +1 -0
- package/lib/typescript/react-query/components/WifiToggle.d.ts +8 -0
- package/lib/typescript/react-query/components/WifiToggle.d.ts.map +1 -0
- package/lib/typescript/react-query/components/index.d.ts +21 -0
- package/lib/typescript/react-query/components/index.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/DataEditorModal.d.ts +17 -0
- package/lib/typescript/react-query/components/modals/DataEditorModal.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/MutationBrowserFooter.d.ts +17 -0
- package/lib/typescript/react-query/components/modals/MutationBrowserFooter.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/MutationBrowserModal.d.ts +21 -0
- package/lib/typescript/react-query/components/modals/MutationBrowserModal.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/MutationEditorModal.d.ts +17 -0
- package/lib/typescript/react-query/components/modals/MutationEditorModal.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/QueryBrowserFooter.d.ts +16 -0
- package/lib/typescript/react-query/components/modals/QueryBrowserFooter.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/QueryBrowserModal.d.ts +21 -0
- package/lib/typescript/react-query/components/modals/QueryBrowserModal.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/ReactQueryModal.d.ts +29 -0
- package/lib/typescript/react-query/components/modals/ReactQueryModal.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/ReactQueryModalHeader.d.ts +19 -0
- package/lib/typescript/react-query/components/modals/ReactQueryModalHeader.d.ts.map +1 -0
- package/lib/typescript/react-query/components/modals/SwipeIndicator.d.ts +14 -0
- package/lib/typescript/react-query/components/modals/SwipeIndicator.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/ActionButton.d.ts +49 -0
- package/lib/typescript/react-query/components/query-browser/ActionButton.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/ClearCacheButton.d.ts +12 -0
- package/lib/typescript/react-query/components/query-browser/ClearCacheButton.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/Explorer.d.ts +19 -0
- package/lib/typescript/react-query/components/query-browser/Explorer.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/MutationButton.d.ts +12 -0
- package/lib/typescript/react-query/components/query-browser/MutationButton.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/MutationDetails.d.ts +10 -0
- package/lib/typescript/react-query/components/query-browser/MutationDetails.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/MutationDetailsChips.d.ts +10 -0
- package/lib/typescript/react-query/components/query-browser/MutationDetailsChips.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/MutationInformation.d.ts +8 -0
- package/lib/typescript/react-query/components/query-browser/MutationInformation.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/MutationStatusCount.d.ts +12 -0
- package/lib/typescript/react-query/components/query-browser/MutationStatusCount.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/MutationsList.d.ts +17 -0
- package/lib/typescript/react-query/components/query-browser/MutationsList.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/NetworkToggleButton.d.ts +11 -0
- package/lib/typescript/react-query/components/query-browser/NetworkToggleButton.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/QueryActions.d.ts +12 -0
- package/lib/typescript/react-query/components/query-browser/QueryActions.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/QueryBrowser.d.ts +19 -0
- package/lib/typescript/react-query/components/query-browser/QueryBrowser.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/QueryDetails.d.ts +10 -0
- package/lib/typescript/react-query/components/query-browser/QueryDetails.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/QueryDetailsChip.d.ts +10 -0
- package/lib/typescript/react-query/components/query-browser/QueryDetailsChip.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/QueryInformation.d.ts +12 -0
- package/lib/typescript/react-query/components/query-browser/QueryInformation.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/QueryRow.d.ts +12 -0
- package/lib/typescript/react-query/components/query-browser/QueryRow.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/QueryStatus.d.ts +17 -0
- package/lib/typescript/react-query/components/query-browser/QueryStatus.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/QueryStatusCount.d.ts +11 -0
- package/lib/typescript/react-query/components/query-browser/QueryStatusCount.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/StorageStatusCount.d.ts +18 -0
- package/lib/typescript/react-query/components/query-browser/StorageStatusCount.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/index.d.ts +21 -0
- package/lib/typescript/react-query/components/query-browser/index.d.ts.map +1 -0
- package/lib/typescript/react-query/components/query-browser/svgs.d.ts +17 -0
- package/lib/typescript/react-query/components/query-browser/svgs.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/index.d.ts +13 -0
- package/lib/typescript/react-query/hooks/index.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useActionButtons.d.ts +21 -0
- package/lib/typescript/react-query/hooks/useActionButtons.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useAllMutations.d.ts +10 -0
- package/lib/typescript/react-query/hooks/useAllMutations.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useAllQueries.d.ts +12 -0
- package/lib/typescript/react-query/hooks/useAllQueries.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useModalManager.d.ts +39 -0
- package/lib/typescript/react-query/hooks/useModalManager.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useModalPersistence.d.ts +29 -0
- package/lib/typescript/react-query/hooks/useModalPersistence.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useMutationActionButtons.d.ts +15 -0
- package/lib/typescript/react-query/hooks/useMutationActionButtons.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useQueryStatusCounts.d.ts +25 -0
- package/lib/typescript/react-query/hooks/useQueryStatusCounts.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useReactQueryState.d.ts +9 -0
- package/lib/typescript/react-query/hooks/useReactQueryState.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useSelectedMutation.d.ts +7 -0
- package/lib/typescript/react-query/hooks/useSelectedMutation.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useSelectedQuery.d.ts +25 -0
- package/lib/typescript/react-query/hooks/useSelectedQuery.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useStorageQueryCounts.d.ts +10 -0
- package/lib/typescript/react-query/hooks/useStorageQueryCounts.d.ts.map +1 -0
- package/lib/typescript/react-query/hooks/useWifiState.d.ts +9 -0
- package/lib/typescript/react-query/hooks/useWifiState.d.ts.map +1 -0
- package/lib/typescript/react-query/index.d.ts +2 -0
- package/lib/typescript/react-query/index.d.ts.map +1 -0
- package/lib/typescript/react-query/types/index.d.ts +2 -0
- package/lib/typescript/react-query/types/index.d.ts.map +1 -0
- package/lib/typescript/react-query/types/types.d.ts +10 -0
- package/lib/typescript/react-query/types/types.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/actions/deleteItem.d.ts +9 -0
- package/lib/typescript/react-query/utils/actions/deleteItem.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/actions/invalidate.d.ts +8 -0
- package/lib/typescript/react-query/utils/actions/invalidate.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/actions/refetch.d.ts +7 -0
- package/lib/typescript/react-query/utils/actions/refetch.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/actions/remove.d.ts +8 -0
- package/lib/typescript/react-query/utils/actions/remove.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/actions/reset.d.ts +8 -0
- package/lib/typescript/react-query/utils/actions/reset.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/actions/triggerError.d.ts +8 -0
- package/lib/typescript/react-query/utils/actions/triggerError.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/actions/triggerLoading.d.ts +7 -0
- package/lib/typescript/react-query/utils/actions/triggerLoading.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/deleteNestedDataByPath.d.ts +9 -0
- package/lib/typescript/react-query/utils/deleteNestedDataByPath.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/formatRelativeTime.d.ts +7 -0
- package/lib/typescript/react-query/utils/formatRelativeTime.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/getQueryStatusColor.d.ts +10 -0
- package/lib/typescript/react-query/utils/getQueryStatusColor.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/getQueryStatusLabel.d.ts +9 -0
- package/lib/typescript/react-query/utils/getQueryStatusLabel.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/getStorageQueryCounts.d.ts +13 -0
- package/lib/typescript/react-query/utils/getStorageQueryCounts.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/index.d.ts +17 -0
- package/lib/typescript/react-query/utils/index.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/modalStorageOperations.d.ts +55 -0
- package/lib/typescript/react-query/utils/modalStorageOperations.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/storageQueryUtils.d.ts +69 -0
- package/lib/typescript/react-query/utils/storageQueryUtils.d.ts.map +1 -0
- package/lib/typescript/react-query/utils/updateNestedDataByPath.d.ts +10 -0
- package/lib/typescript/react-query/utils/updateNestedDataByPath.d.ts.map +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { buoyColors } from "@buoy-gg/shared-ui";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Centralized storage query keys for all storage hooks
|
|
7
|
+
* This ensures consistency across MMKV, AsyncStorage, and SecureStorage hooks
|
|
8
|
+
* and allows easy modification of the base storage key in one place
|
|
9
|
+
*/
|
|
10
|
+
export const storageQueryKeys = {
|
|
11
|
+
/**
|
|
12
|
+
* Base storage key - change this to update all storage-related queries
|
|
13
|
+
*/
|
|
14
|
+
base: () => ["#storage"],
|
|
15
|
+
/**
|
|
16
|
+
* MMKV storage query keys
|
|
17
|
+
*/
|
|
18
|
+
mmkv: {
|
|
19
|
+
root: () => [...storageQueryKeys.base(), "mmkv"],
|
|
20
|
+
key: key => [...storageQueryKeys.mmkv.root(), key],
|
|
21
|
+
all: () => [...storageQueryKeys.mmkv.root(), "all"]
|
|
22
|
+
},
|
|
23
|
+
/**
|
|
24
|
+
* AsyncStorage query keys
|
|
25
|
+
*/
|
|
26
|
+
async: {
|
|
27
|
+
root: () => [...storageQueryKeys.base(), "async"],
|
|
28
|
+
key: key => [...storageQueryKeys.async.root(), key],
|
|
29
|
+
all: () => [...storageQueryKeys.async.root(), "all"]
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* SecureStorage query keys
|
|
33
|
+
*/
|
|
34
|
+
secure: {
|
|
35
|
+
root: () => [...storageQueryKeys.base(), "secure"],
|
|
36
|
+
key: key => [...storageQueryKeys.secure.root(), key],
|
|
37
|
+
all: () => [...storageQueryKeys.secure.root(), "all"]
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Storage types that can be enabled/disabled
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Check if a query key matches any of the storage patterns
|
|
47
|
+
*/
|
|
48
|
+
export function isStorageQuery(queryKey) {
|
|
49
|
+
if (!Array.isArray(queryKey) || queryKey.length === 0) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return queryKey[0] === "#storage";
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Get the storage type from a query key
|
|
57
|
+
*/
|
|
58
|
+
export function getStorageType(queryKey) {
|
|
59
|
+
if (!isStorageQuery(queryKey) || queryKey.length < 2) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
const storageType = queryKey[1];
|
|
63
|
+
if (storageType === "mmkv" || storageType === "async" || storageType === "secure") {
|
|
64
|
+
return storageType;
|
|
65
|
+
}
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Get display label for storage type
|
|
71
|
+
*/
|
|
72
|
+
export function getStorageTypeLabel(storageType) {
|
|
73
|
+
switch (storageType) {
|
|
74
|
+
case "mmkv":
|
|
75
|
+
return "MMKV";
|
|
76
|
+
case "async":
|
|
77
|
+
return "Async";
|
|
78
|
+
case "secure":
|
|
79
|
+
return "Secure";
|
|
80
|
+
default:
|
|
81
|
+
return storageType;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Get storage type color class for styling
|
|
87
|
+
*/
|
|
88
|
+
export function getStorageTypeColor(storageType) {
|
|
89
|
+
switch (storageType) {
|
|
90
|
+
case "mmkv":
|
|
91
|
+
return "purple";
|
|
92
|
+
// Premium, high-performance
|
|
93
|
+
case "async":
|
|
94
|
+
return "blue";
|
|
95
|
+
// Standard, reliable
|
|
96
|
+
case "secure":
|
|
97
|
+
return "green";
|
|
98
|
+
// Security, safety
|
|
99
|
+
default:
|
|
100
|
+
return "gray";
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Get storage type hex color for UI components
|
|
106
|
+
* Design rationale:
|
|
107
|
+
* - MMKV: Primary teal - Premium, high-performance, sophisticated
|
|
108
|
+
* - Async: Warning color - Standard, reliable, default
|
|
109
|
+
* - Secure: Success color - Security, safety, protection
|
|
110
|
+
*/
|
|
111
|
+
export function getStorageTypeHexColor(storageType) {
|
|
112
|
+
switch (storageType) {
|
|
113
|
+
case "mmkv":
|
|
114
|
+
return buoyColors.primary;
|
|
115
|
+
// Premium, high-performance
|
|
116
|
+
case "async":
|
|
117
|
+
return buoyColors.warning;
|
|
118
|
+
// Standard, reliable
|
|
119
|
+
case "secure":
|
|
120
|
+
return buoyColors.success;
|
|
121
|
+
// Security, safety
|
|
122
|
+
default:
|
|
123
|
+
return buoyColors.textMuted;
|
|
124
|
+
// Gray
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Extract clean storage key from storage query key
|
|
130
|
+
* Example: ["#storage", "async", "@dev_tools_modal_state"] → "@dev_tools_modal_state"
|
|
131
|
+
*/
|
|
132
|
+
export function getCleanStorageKey(queryKey) {
|
|
133
|
+
if (!isStorageQuery(queryKey) || queryKey.length < 3) {
|
|
134
|
+
return "Unknown Storage Key";
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// Return everything after the storage type (index 2 and beyond)
|
|
138
|
+
const cleanKeys = queryKey.slice(2);
|
|
139
|
+
return cleanKeys.filter(k => k != null).map(k => String(k)).join(" › ") || "Unknown Storage Key";
|
|
140
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* updates nested data by path
|
|
5
|
+
*
|
|
6
|
+
* @param {JsonValue} oldData Data to be updated
|
|
7
|
+
* @param {Array<string>} updatePath Path to the data to be updated
|
|
8
|
+
* @param {JsonValue} value New value
|
|
9
|
+
*/
|
|
10
|
+
export const updateNestedDataByPath = (oldData, updatePath, value) => {
|
|
11
|
+
if (updatePath.length === 0) {
|
|
12
|
+
return value;
|
|
13
|
+
}
|
|
14
|
+
if (oldData instanceof Map) {
|
|
15
|
+
const newData = new Map(oldData);
|
|
16
|
+
if (updatePath.length === 1) {
|
|
17
|
+
newData.set(updatePath[0], value);
|
|
18
|
+
return newData;
|
|
19
|
+
}
|
|
20
|
+
const [head, ...tail] = updatePath;
|
|
21
|
+
const currentValue = newData.get(head);
|
|
22
|
+
newData.set(head, updateNestedDataByPath(currentValue ?? null, tail, value));
|
|
23
|
+
return newData;
|
|
24
|
+
}
|
|
25
|
+
if (oldData instanceof Set) {
|
|
26
|
+
const setAsArray = updateNestedDataByPath(Array.from(oldData), updatePath, value);
|
|
27
|
+
return new Set(Array.isArray(setAsArray) ? setAsArray : []);
|
|
28
|
+
}
|
|
29
|
+
if (Array.isArray(oldData)) {
|
|
30
|
+
const newData = [...oldData];
|
|
31
|
+
if (updatePath.length === 1) {
|
|
32
|
+
// @ts-expect-error NAS
|
|
33
|
+
newData[updatePath[0]] = value;
|
|
34
|
+
return newData;
|
|
35
|
+
}
|
|
36
|
+
const [head, ...tail] = updatePath;
|
|
37
|
+
// @ts-expect-error NAS
|
|
38
|
+
newData[head] = updateNestedDataByPath(newData[head], tail, value);
|
|
39
|
+
return newData;
|
|
40
|
+
}
|
|
41
|
+
if (oldData instanceof Object) {
|
|
42
|
+
const newData = {
|
|
43
|
+
...oldData
|
|
44
|
+
};
|
|
45
|
+
if (updatePath.length === 1) {
|
|
46
|
+
// @ts-expect-error NAS
|
|
47
|
+
newData[updatePath[0]] = value;
|
|
48
|
+
return newData;
|
|
49
|
+
}
|
|
50
|
+
const [head, ...tail] = updatePath;
|
|
51
|
+
// @ts-expect-error NAS
|
|
52
|
+
newData[head] = updateNestedDataByPath(newData[head], tail, value);
|
|
53
|
+
return newData;
|
|
54
|
+
}
|
|
55
|
+
return oldData;
|
|
56
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { reactQueryToolPreset, createReactQueryTool, wifiTogglePreset, createWifiToggleTool, } from "./preset";
|
|
2
|
+
export * from "./react-query";
|
|
3
|
+
export * from "./react-query/components";
|
|
4
|
+
export * from "./react-query/hooks";
|
|
5
|
+
export * from "./react-query/utils";
|
|
6
|
+
export * from "./react-query/types";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAkBA,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,UAAU,CAAC;AAIlB,cAAc,eAAe,CAAC;AAC9B,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pre-configured React Query devtools for FloatingDevTools
|
|
3
|
+
*
|
|
4
|
+
* This preset provides a zero-config way to add React Query inspection to your dev tools.
|
|
5
|
+
* Just import and add it to your apps array!
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* import { reactQueryToolPreset } from '@buoy-gg/react-query';
|
|
10
|
+
*
|
|
11
|
+
* const installedApps = [
|
|
12
|
+
* reactQueryToolPreset, // That's it!
|
|
13
|
+
* // ...other tools
|
|
14
|
+
* ];
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
import { ReactQueryDevToolsModal } from "./react-query/components/ReactQueryDevToolsModal";
|
|
18
|
+
/**
|
|
19
|
+
* WiFi icon component - uses hooks to subscribe to onlineManager changes.
|
|
20
|
+
*
|
|
21
|
+
* ⚠️ IMPORTANT - DO NOT MODIFY THIS COMPONENT ⚠️
|
|
22
|
+
* This component MUST use useState and useEffect hooks to subscribe to onlineManager.
|
|
23
|
+
* It is rendered as a JSX component (<IconComponent />) in FloatingMenu and DialIcon,
|
|
24
|
+
* which allows hooks to work properly.
|
|
25
|
+
*
|
|
26
|
+
* If you remove the hooks or change this to read onlineManager.isOnline() directly,
|
|
27
|
+
* the icon color will NOT update when the WiFi toggle is pressed.
|
|
28
|
+
*
|
|
29
|
+
* See: FloatingMenu.tsx (renders as <IconComponent />)
|
|
30
|
+
* See: DialIcon.tsx (renders as <icon.iconComponent />)
|
|
31
|
+
*/
|
|
32
|
+
declare function WifiIcon({ size }: {
|
|
33
|
+
size: number;
|
|
34
|
+
}): import("react").JSX.Element;
|
|
35
|
+
/**
|
|
36
|
+
* Pre-configured React Query devtools for FloatingDevTools.
|
|
37
|
+
* Includes:
|
|
38
|
+
* - Query browser and inspector
|
|
39
|
+
* - Mutation tracking
|
|
40
|
+
* - Cache inspection
|
|
41
|
+
* - Query invalidation
|
|
42
|
+
* - Performance monitoring
|
|
43
|
+
*/
|
|
44
|
+
export declare const reactQueryToolPreset: {
|
|
45
|
+
id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
description: string;
|
|
48
|
+
slot: "both";
|
|
49
|
+
icon: ({ size }: {
|
|
50
|
+
size: number;
|
|
51
|
+
}) => import("react").JSX.Element;
|
|
52
|
+
component: typeof ReactQueryDevToolsModal;
|
|
53
|
+
props: {
|
|
54
|
+
enableSharedModalDimensions: boolean;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Create a custom React Query devtools configuration.
|
|
59
|
+
* Use this if you want to override default settings.
|
|
60
|
+
*
|
|
61
|
+
* @example
|
|
62
|
+
* ```tsx
|
|
63
|
+
* import { createReactQueryTool } from '@buoy-gg/react-query';
|
|
64
|
+
*
|
|
65
|
+
* const myQueryTool = createReactQueryTool({
|
|
66
|
+
* name: "TANSTACK",
|
|
67
|
+
* colorPreset: "purple",
|
|
68
|
+
* enableSharedModalDimensions: true,
|
|
69
|
+
* });
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
export declare function createReactQueryTool(options?: {
|
|
73
|
+
/** Tool name (default: "QUERY") */
|
|
74
|
+
name?: string;
|
|
75
|
+
/** Tool description */
|
|
76
|
+
description?: string;
|
|
77
|
+
/** Custom tool ID (default: "query") */
|
|
78
|
+
id?: string;
|
|
79
|
+
/** Enable shared modal dimensions */
|
|
80
|
+
enableSharedModalDimensions?: boolean;
|
|
81
|
+
}): {
|
|
82
|
+
id: string;
|
|
83
|
+
name: string;
|
|
84
|
+
description: string;
|
|
85
|
+
slot: "both";
|
|
86
|
+
icon: ({ size }: {
|
|
87
|
+
size: number;
|
|
88
|
+
}) => import("react").JSX.Element;
|
|
89
|
+
component: typeof ReactQueryDevToolsModal;
|
|
90
|
+
props: {
|
|
91
|
+
enableSharedModalDimensions: boolean;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Pre-configured WiFi toggle tool for FloatingDevTools.
|
|
96
|
+
* Allows toggling React Query's online state to simulate offline scenarios.
|
|
97
|
+
* Simple toggle - no modal needed!
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ```tsx
|
|
101
|
+
* import { wifiTogglePreset } from '@buoy-gg/react-query';
|
|
102
|
+
*
|
|
103
|
+
* const installedApps = [
|
|
104
|
+
* wifiTogglePreset, // That's it!
|
|
105
|
+
* // ...other tools
|
|
106
|
+
* ];
|
|
107
|
+
* ```
|
|
108
|
+
*/
|
|
109
|
+
export declare const wifiTogglePreset: {
|
|
110
|
+
id: string;
|
|
111
|
+
name: string;
|
|
112
|
+
description: string;
|
|
113
|
+
slot: "row";
|
|
114
|
+
icon: typeof WifiIcon;
|
|
115
|
+
component: () => null;
|
|
116
|
+
props: {};
|
|
117
|
+
launchMode: "toggle-only";
|
|
118
|
+
onPress: () => void;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Create a custom WiFi toggle tool configuration.
|
|
122
|
+
* Use this if you want to override default settings.
|
|
123
|
+
*
|
|
124
|
+
* @example
|
|
125
|
+
* ```tsx
|
|
126
|
+
* import { createWifiToggleTool } from '@buoy-gg/react-query';
|
|
127
|
+
*
|
|
128
|
+
* const myWifiTool = createWifiToggleTool({
|
|
129
|
+
* name: "OFFLINE",
|
|
130
|
+
* onColor: "#10B981",
|
|
131
|
+
* offColor: "#DC2626",
|
|
132
|
+
* });
|
|
133
|
+
* ```
|
|
134
|
+
*/
|
|
135
|
+
export declare function createWifiToggleTool(options?: {
|
|
136
|
+
/** Tool name (default: "WIFI") */
|
|
137
|
+
name?: string;
|
|
138
|
+
/** Tool description */
|
|
139
|
+
description?: string;
|
|
140
|
+
/** Icon color when online (default: "#10B981" - green) */
|
|
141
|
+
onColor?: string;
|
|
142
|
+
/** Icon color when offline (default: "#DC2626" - red) */
|
|
143
|
+
offColor?: string;
|
|
144
|
+
/** Custom tool ID (default: "query-wifi-toggle") */
|
|
145
|
+
id?: string;
|
|
146
|
+
}): {
|
|
147
|
+
id: string;
|
|
148
|
+
name: string;
|
|
149
|
+
description: string;
|
|
150
|
+
slot: "row";
|
|
151
|
+
icon: ({ size }: {
|
|
152
|
+
size: number;
|
|
153
|
+
}) => import("react").JSX.Element;
|
|
154
|
+
component: () => null;
|
|
155
|
+
props: {};
|
|
156
|
+
launchMode: "toggle-only";
|
|
157
|
+
onPress: () => void;
|
|
158
|
+
};
|
|
159
|
+
export {};
|
|
160
|
+
//# sourceMappingURL=preset.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAqB3F;;;;;;;;;;;;;GAaG;AACH,iBAAS,QAAQ,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,+BAY3C;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,oBAAoB;;;;;qBAKd;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;;;CAKlC,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE;IAC7C,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wCAAwC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,qCAAqC;IACrC,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;;;;;qBAMoB;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;;;EASpC;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;CAc5B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,CAAC,EAAE;IAC7C,kCAAkC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;;;;;qBAWmC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;;;EA6BnD"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Main entry point for the React Query Dev Tools feature
|
|
3
|
+
* This component orchestrates all React Query dev tools functionality
|
|
4
|
+
*/
|
|
5
|
+
export { ReactQueryModal } from "./components/modals/ReactQueryModal";
|
|
6
|
+
export { ReactQueryModalHeader } from "./components/modals/ReactQueryModalHeader";
|
|
7
|
+
export { QueryBrowserModal } from "./components/modals/QueryBrowserModal";
|
|
8
|
+
export { MutationBrowserModal } from "./components/modals/MutationBrowserModal";
|
|
9
|
+
export { MutationEditorModal } from "./components/modals/MutationEditorModal";
|
|
10
|
+
export { DataEditorModal } from "./components/modals/DataEditorModal";
|
|
11
|
+
export { QueryBrowserFooter } from "./components/modals/QueryBrowserFooter";
|
|
12
|
+
export { MutationBrowserFooter } from "./components/modals/MutationBrowserFooter";
|
|
13
|
+
export { SwipeIndicator } from "./components/modals/SwipeIndicator";
|
|
14
|
+
export { Explorer } from "./components/query-browser";
|
|
15
|
+
export { QueryBrowser } from "./components/query-browser";
|
|
16
|
+
export { QueryDetails } from "./components/query-browser";
|
|
17
|
+
export { QueryInformation } from "./components/query-browser";
|
|
18
|
+
export { QueryActions } from "./components/query-browser";
|
|
19
|
+
export { QueryRow } from "./components/query-browser";
|
|
20
|
+
export { QueryStatus } from "./components/query-browser";
|
|
21
|
+
export { QueryStatusCount } from "./components/query-browser";
|
|
22
|
+
export { QueryDetailsChip } from "./components/query-browser";
|
|
23
|
+
export { MutationsList } from "./components/query-browser";
|
|
24
|
+
export { MutationDetails } from "./components/query-browser";
|
|
25
|
+
export { MutationInformation } from "./components/query-browser";
|
|
26
|
+
export { MutationButton } from "./components/query-browser";
|
|
27
|
+
export { MutationStatusCount } from "./components/query-browser";
|
|
28
|
+
export { MutationDetailsChips } from "./components/query-browser";
|
|
29
|
+
export { ActionButton } from "./components/query-browser";
|
|
30
|
+
export { ClearCacheButton } from "./components/query-browser";
|
|
31
|
+
export { NetworkToggleButton } from "./components/query-browser";
|
|
32
|
+
export { StorageStatusCount } from "./components/query-browser";
|
|
33
|
+
export { VirtualizedDataExplorer, DataViewer, TypeLegend, } from "@buoy-gg/shared-ui/dataViewer";
|
|
34
|
+
export { QueryBrowserMode } from "./components/QueryBrowserMode";
|
|
35
|
+
export { MutationBrowserMode } from "./components/MutationBrowserMode";
|
|
36
|
+
export { MutationEditorMode } from "./components/MutationEditorMode";
|
|
37
|
+
export { DataEditorMode } from "./components/DataEditorMode";
|
|
38
|
+
export { QuerySelector } from "./components/QuerySelector";
|
|
39
|
+
export { QueryDebugInfo } from "./components/QueryDebugInfo";
|
|
40
|
+
export { WifiToggle } from "./components/WifiToggle";
|
|
41
|
+
export { ReactQuerySection } from "./components/ReactQuerySection";
|
|
42
|
+
export * from "./hooks";
|
|
43
|
+
export * from "./utils";
|
|
44
|
+
export * from "./types";
|
|
45
|
+
//# sourceMappingURL=ReactQueryDevTools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactQueryDevTools.d.ts","sourceRoot":"","sources":["../../../src/react-query/ReactQueryDevTools.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAGlF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAGtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGpE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAG9D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGlE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAGhE,OAAO,EACL,uBAAuB,EACvB,UAAU,EACV,UAAU,GACX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAGnE,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Query } from "@tanstack/react-query";
|
|
2
|
+
interface DataEditorModeProps {
|
|
3
|
+
selectedQuery: Query;
|
|
4
|
+
isFloatingMode: boolean;
|
|
5
|
+
disableInternalFooter?: boolean;
|
|
6
|
+
/** Version number that increments when query state changes, used to force re-renders */
|
|
7
|
+
queryVersion?: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Primary data editing surface displayed inside the React Query modal. Couples the editable
|
|
11
|
+
* explorer, read-only insight panels, and action footer for the selected query.
|
|
12
|
+
*/
|
|
13
|
+
export declare function DataEditorMode({ selectedQuery, isFloatingMode, disableInternalFooter, queryVersion, }: DataEditorModeProps): import("react").JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* Standalone footer variant that can be composed into sticky modal layouts while reusing the
|
|
16
|
+
* standard action button arrangement.
|
|
17
|
+
*/
|
|
18
|
+
export declare function DataEditorActionsFooter({ selectedQuery, isFloatingMode, queryVersion, }: {
|
|
19
|
+
selectedQuery: Query;
|
|
20
|
+
isFloatingMode: boolean;
|
|
21
|
+
/** Version number that increments when query state changes, used to force re-renders */
|
|
22
|
+
queryVersion?: number;
|
|
23
|
+
}): import("react").JSX.Element;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=DataEditorMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataEditorMode.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/DataEditorMode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAkB,MAAM,uBAAuB,CAAC;AAyB9D,UAAU,mBAAmB;IAC3B,aAAa,EAAE,KAAK,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,wFAAwF;IACxF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC7B,aAAa,EACb,cAAc,EACd,qBAA6B,EAC7B,YAAY,GACb,EAAE,mBAAmB,+BA8ErB;AAGD;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,aAAa,EACb,cAAc,EACd,YAAY,GACb,EAAE;IACD,aAAa,EAAE,KAAK,CAAC;IACrB,cAAc,EAAE,OAAO,CAAC;IACxB,wFAAwF;IACxF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,+BA2BA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
interface FilterStatusBadgeProps {
|
|
2
|
+
totalCount: number;
|
|
3
|
+
filteredCount: number;
|
|
4
|
+
onPress?: () => void;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Compact badge showing filter status (e.g., "Showing 5 of 12")
|
|
8
|
+
* Displayed below the header when filters are active
|
|
9
|
+
*/
|
|
10
|
+
export declare function FilterStatusBadge({ totalCount, filteredCount, onPress, }: FilterStatusBadgeProps): import("react").JSX.Element | null;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=FilterStatusBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterStatusBadge.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/FilterStatusBadge.tsx"],"names":[],"mappings":"AAGA,UAAU,sBAAsB;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,UAAU,EACV,aAAa,EACb,OAAO,GACR,EAAE,sBAAsB,sCAuBxB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface MutationBrowserModeProps {
|
|
3
|
+
selectedMutation: Mutation | undefined;
|
|
4
|
+
onMutationSelect: (mutation: Mutation | undefined) => void;
|
|
5
|
+
activeFilter: string | null;
|
|
6
|
+
searchText?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Layout wrapper that renders the mutation list alongside selection handling glue logic used by
|
|
10
|
+
* the React Query modal.
|
|
11
|
+
*/
|
|
12
|
+
export declare function MutationBrowserMode({ selectedMutation, onMutationSelect, activeFilter, searchText, }: MutationBrowserModeProps): import("react").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=MutationBrowserMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationBrowserMode.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/MutationBrowserMode.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,UAAU,wBAAwB;IAChC,gBAAgB,EAAE,QAAQ,GAAG,SAAS,CAAC;IACvC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3D,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,UAAe,GAChB,EAAE,wBAAwB,+BAwB1B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface MutationEditorModeProps {
|
|
3
|
+
selectedMutation: Mutation;
|
|
4
|
+
isFloatingMode: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Mutation-focused editing experience mirroring the query editor layout. Provides mutation detail
|
|
8
|
+
* panels, data inspector, and action buttons for the selected mutation entry.
|
|
9
|
+
*/
|
|
10
|
+
export declare function MutationEditorMode({ selectedMutation, isFloatingMode, }: MutationEditorModeProps): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=MutationEditorMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationEditorMode.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/MutationEditorMode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjD,UAAU,uBAAuB;IAC/B,gBAAgB,EAAE,QAAQ,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,gBAAgB,EAChB,cAAc,GACf,EAAE,uBAAuB,+BAuEzB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Query } from "@tanstack/react-query";
|
|
2
|
+
interface QueryBrowserModeProps {
|
|
3
|
+
selectedQuery: Query | undefined;
|
|
4
|
+
onQuerySelect: (query: Query | undefined) => void;
|
|
5
|
+
activeFilter: string | null;
|
|
6
|
+
searchText?: string;
|
|
7
|
+
ignoredPatterns?: Set<string>;
|
|
8
|
+
includedPatterns?: Set<string>;
|
|
9
|
+
onFilterPress?: () => void;
|
|
10
|
+
}
|
|
11
|
+
/** Wrapper around the query list experience used inside the modal view. */
|
|
12
|
+
export declare function QueryBrowserMode({ selectedQuery, onQuerySelect, activeFilter, searchText, ignoredPatterns, includedPatterns, onFilterPress, }: QueryBrowserModeProps): import("react").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=QueryBrowserMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryBrowserMode.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/QueryBrowserMode.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAM9C,UAAU,qBAAqB;IAC7B,aAAa,EAAE,KAAK,GAAG,SAAS,CAAC;IACjC,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAClD,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,gBAAgB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,2EAA2E;AAC3E,wBAAgB,gBAAgB,CAAC,EAC/B,aAAa,EACb,aAAa,EACb,YAAY,EACZ,UAAe,EACf,eAA2B,EAC3B,gBAA4B,EAC5B,aAAa,GACd,EAAE,qBAAqB,+BAoEvB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lightweight debug panel that surfaces high-level QueryClient information and recently seen
|
|
3
|
+
* query keys. Intended primarily for the React Query dev tools modal.
|
|
4
|
+
*/
|
|
5
|
+
export declare function QueryDebugInfo(): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=QueryDebugInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryDebugInfo.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/QueryDebugInfo.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAgB,cAAc,gCAsC7B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Query } from "@tanstack/react-query";
|
|
2
|
+
interface QueryFilterViewV3Props {
|
|
3
|
+
queries: Query[];
|
|
4
|
+
activeFilter: string | null;
|
|
5
|
+
onFilterChange: (filter: string | null) => void;
|
|
6
|
+
ignoredPatterns: Set<string>;
|
|
7
|
+
onPatternToggle: (pattern: string) => void;
|
|
8
|
+
includedPatterns: Set<string>;
|
|
9
|
+
onIncludedPatternToggle: (pattern: string) => void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Comprehensive filter control panel for React Query DevTools matching the Network DevTools
|
|
13
|
+
* filter UI pattern. Provides status filtering and query key pattern-based filtering.
|
|
14
|
+
*/
|
|
15
|
+
export declare function QueryFilterViewV3({ queries, activeFilter, onFilterChange, ignoredPatterns, onPatternToggle, includedPatterns, onIncludedPatternToggle, }: QueryFilterViewV3Props): import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=QueryFilterViewV3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryFilterViewV3.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/QueryFilterViewV3.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAkB9C,UAAU,sBAAsB;IAC9B,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,gBAAgB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,uBAAuB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACpD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,YAAY,EACZ,cAAc,EACd,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,uBAAuB,GACxB,EAAE,sBAAsB,+BAgPxB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Query } from "@tanstack/react-query";
|
|
2
|
+
interface QuerySelectorProps {
|
|
3
|
+
queries: Query[];
|
|
4
|
+
selectedQuery?: Query;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onSelect: (query: Query) => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Modal selector that lists all known queries, highlighting status and enabling the user to focus
|
|
11
|
+
* a specific query within the dev tools experience.
|
|
12
|
+
*/
|
|
13
|
+
export declare function QuerySelector({ queries, selectedQuery, isOpen, onClose, onSelect, }: QuerySelectorProps): import("react").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=QuerySelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuerySelector.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/QuerySelector.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAM9C,UAAU,kBAAkB;IAC1B,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,aAAa,EACb,MAAM,EACN,OAAO,EACP,QAAQ,GACT,EAAE,kBAAkB,+BAmHpB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Configuration options for the high-level React Query dev tools modal wrapper. */
|
|
2
|
+
export interface ReactQueryDevToolsModalProps {
|
|
3
|
+
/** Controls whether the modal is rendered. */
|
|
4
|
+
visible: boolean;
|
|
5
|
+
/** Fired when the modal should dismiss (after internal state resets). */
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
/** Callback when minimize is requested - receives current modal state for restoration */
|
|
8
|
+
onMinimize?: (modalState: any) => void;
|
|
9
|
+
/**
|
|
10
|
+
* If true, reuse the shared modal dimension keys so sizing is consistent with other dev tools.
|
|
11
|
+
*/
|
|
12
|
+
enableSharedModalDimensions?: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Opinionated wrapper around `ReactQueryModal` that manages selection state and filters so
|
|
16
|
+
* consumers can drop in the full dev tools experience with a single component.
|
|
17
|
+
*/
|
|
18
|
+
export declare function ReactQueryDevToolsModal({ visible, onClose, onMinimize, enableSharedModalDimensions, }: ReactQueryDevToolsModalProps): import("react").JSX.Element | null;
|
|
19
|
+
//# sourceMappingURL=ReactQueryDevToolsModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactQueryDevToolsModal.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/ReactQueryDevToolsModal.tsx"],"names":[],"mappings":"AAIA,oFAAoF;AACpF,MAAM,WAAW,4BAA4B;IAC3C,8CAA8C;IAC9C,OAAO,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,yFAAyF;IACzF,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC;;OAEG;IACH,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAQD;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,EACtC,OAAO,EACP,OAAO,EACP,UAAU,EACV,2BAAkC,GACnC,EAAE,4BAA4B,sCAwE9B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface ReactQuerySectionProps {
|
|
2
|
+
onPress: () => void;
|
|
3
|
+
getReactBuoySubtitle: () => string;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* React Query section component following composition principles.
|
|
7
|
+
* Encapsulates React Query specific business logic and UI.
|
|
8
|
+
*/
|
|
9
|
+
export declare function ReactQuerySection({ onPress, getReactBuoySubtitle, }: ReactQuerySectionProps): import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=ReactQuerySection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactQuerySection.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/ReactQuerySection.tsx"],"names":[],"mappings":"AAIA,UAAU,sBAAsB;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,oBAAoB,EAAE,MAAM,MAAM,CAAC;CACpC;AASD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,oBAAoB,GACrB,EAAE,sBAAsB,+BAuBxB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Small icon button that toggles React Query’s online manager, allowing developers to simulate
|
|
3
|
+
* offline scenarios directly from the modal header.
|
|
4
|
+
*/
|
|
5
|
+
export declare function WifiToggle({ size }: {
|
|
6
|
+
size?: number;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=WifiToggle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WifiToggle.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/WifiToggle.tsx"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,UAAU,CAAC,EAAE,IAAS,EAAE,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,+BA2B1D"}
|