@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,21 @@
|
|
|
1
|
+
export * from "./modals/ReactQueryModal";
|
|
2
|
+
export * from "./modals/ReactQueryModalHeader";
|
|
3
|
+
export * from "./modals/QueryBrowserModal";
|
|
4
|
+
export * from "./modals/MutationBrowserModal";
|
|
5
|
+
export * from "./modals/MutationEditorModal";
|
|
6
|
+
export * from "./modals/DataEditorModal";
|
|
7
|
+
export * from "./modals/QueryBrowserFooter";
|
|
8
|
+
export * from "./modals/MutationBrowserFooter";
|
|
9
|
+
export * from "./modals/SwipeIndicator";
|
|
10
|
+
export * from "./query-browser";
|
|
11
|
+
export { VirtualizedDataExplorer, DataViewer, TypeLegend, } from "@buoy-gg/shared-ui/dataViewer";
|
|
12
|
+
export * from "./QueryBrowserMode";
|
|
13
|
+
export * from "./MutationBrowserMode";
|
|
14
|
+
export * from "./MutationEditorMode";
|
|
15
|
+
export * from "./DataEditorMode";
|
|
16
|
+
export * from "./QuerySelector";
|
|
17
|
+
export * from "./QueryDebugInfo";
|
|
18
|
+
export * from "./WifiToggle";
|
|
19
|
+
export * from "./ReactQuerySection";
|
|
20
|
+
export { ReactQueryDevToolsModal } from "./ReactQueryDevToolsModal";
|
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/react-query/components/index.ts"],"names":[],"mappings":"AACA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AAGxC,cAAc,iBAAiB,CAAC;AAGhC,OAAO,EACL,uBAAuB,EACvB,UAAU,EACV,UAAU,GACX,MAAM,+BAA+B,CAAC;AAGvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { QueryKey } from "@tanstack/react-query";
|
|
2
|
+
interface DataEditorModalProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
selectedQueryKey?: QueryKey;
|
|
5
|
+
onQuerySelect: (query: any) => void;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onMinimize?: (modalState: any) => void;
|
|
8
|
+
enableSharedModalDimensions?: boolean;
|
|
9
|
+
onTabChange: (tab: "queries" | "mutations") => void;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Specialized modal for data editing following "Decompose by Responsibility"
|
|
13
|
+
* Single purpose: Display data editor when a query is selected
|
|
14
|
+
*/
|
|
15
|
+
export declare function DataEditorModal({ visible, selectedQueryKey, onQuerySelect, onClose, onMinimize, enableSharedModalDimensions, onTabChange, }: DataEditorModalProps): import("react").JSX.Element | null;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=DataEditorModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataEditorModal.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/DataEditorModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAQjD,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,aAAa,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACpC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,KAAK,IAAI,CAAC;CACrD;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,UAAU,EACV,2BAAmC,EACnC,WAAW,GACZ,EAAE,oBAAoB,sCA0DtB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ModalMode } from "@buoy-gg/shared-ui";
|
|
2
|
+
interface MutationBrowserFooterProps {
|
|
3
|
+
activeFilter?: string | null;
|
|
4
|
+
onFilterChange?: (filter: string | null) => void;
|
|
5
|
+
modalMode: ModalMode;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Footer component for MutationBrowserModal following composition principles
|
|
9
|
+
*
|
|
10
|
+
* Applied principles:
|
|
11
|
+
* - Decompose by Responsibility: Dedicated footer component for mutation filter controls
|
|
12
|
+
* - Prefer Composition over Configuration: Specialized footer matching DataEditorMode pattern
|
|
13
|
+
* - Extract Reusable Logic: Consistent footer styling across modal types
|
|
14
|
+
*/
|
|
15
|
+
export declare function MutationBrowserFooter({ activeFilter, onFilterChange, modalMode, }: MutationBrowserFooterProps): import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=MutationBrowserFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationBrowserFooter.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/MutationBrowserFooter.tsx"],"names":[],"mappings":"AACA,OAAO,EAAiC,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAI9E,UAAU,0BAA0B;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,SAAS,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,YAAY,EACZ,cAAc,EACd,SAAS,GACV,EAAE,0BAA0B,+BA2B5B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface MutationBrowserModalProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
selectedMutationId?: number;
|
|
5
|
+
onMutationSelect: (mutation: Mutation | undefined) => void;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onMinimize?: (modalState: any) => void;
|
|
8
|
+
activeFilter?: string | null;
|
|
9
|
+
onFilterChange?: (filter: string | null) => void;
|
|
10
|
+
onTabChange: (tab: "queries" | "mutations") => void;
|
|
11
|
+
enableSharedModalDimensions?: boolean;
|
|
12
|
+
searchText?: string;
|
|
13
|
+
onSearchChange?: (text: string) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Specialized modal wrapper for browsing mutations. Handles persistence, swipe gestures, and
|
|
17
|
+
* filter coordination before delegating to the underlying list view.
|
|
18
|
+
*/
|
|
19
|
+
export declare function MutationBrowserModal({ visible, selectedMutationId, onMutationSelect, onClose, onMinimize, activeFilter: externalActiveFilter, onFilterChange: externalOnFilterChange, onTabChange, enableSharedModalDimensions, searchText, onSearchChange, }: MutationBrowserModalProps): import("react").JSX.Element | null;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=MutationBrowserModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationBrowserModal.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/MutationBrowserModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAcjD,UAAU,yBAAyB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,KAAK,IAAI,CAAC;IACpD,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,OAAO,EACP,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,YAAY,EAAE,oBAAoB,EAClC,cAAc,EAAE,sBAAsB,EACtC,WAAW,EACX,2BAAmC,EACnC,UAAe,EACf,cAAc,GACf,EAAE,yBAAyB,sCAmI3B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface MutationEditorModalProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
selectedMutationId?: number;
|
|
5
|
+
onMutationSelect: (mutation: Mutation | undefined) => void;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onMinimize?: (modalState: any) => void;
|
|
8
|
+
onTabChange: (tab: "queries" | "mutations") => void;
|
|
9
|
+
enableSharedModalDimensions?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Modal variant dedicated to editing a single mutation entry. Restores persisted positioning and
|
|
13
|
+
* mirrors the behavior of the query editor.
|
|
14
|
+
*/
|
|
15
|
+
export declare function MutationEditorModal({ visible, selectedMutationId, onMutationSelect, onClose, onMinimize, onTabChange, enableSharedModalDimensions, }: MutationEditorModalProps): import("react").JSX.Element | null;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=MutationEditorModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationEditorModal.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/MutationEditorModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAWjD,UAAU,wBAAwB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,KAAK,IAAI,CAAC;IACpD,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,kBAAkB,EAClB,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,WAAW,EACX,2BAAmC,GACpC,EAAE,wBAAwB,sCA6C1B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface QueryBrowserFooterProps {
|
|
2
|
+
activeFilter?: string | null;
|
|
3
|
+
onFilterChange?: (filter: string | null) => void;
|
|
4
|
+
isFloatingMode?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Footer component for QueryBrowserModal following composition principles
|
|
8
|
+
*
|
|
9
|
+
* Applied principles:
|
|
10
|
+
* - Decompose by Responsibility: Dedicated footer component for filter controls
|
|
11
|
+
* - Prefer Composition over Configuration: Specialized footer matching DataEditorMode pattern
|
|
12
|
+
* - Extract Reusable Logic: Consistent footer styling across modal types
|
|
13
|
+
*/
|
|
14
|
+
export declare function QueryBrowserFooter({ activeFilter, onFilterChange, isFloatingMode, }: QueryBrowserFooterProps): import("react").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=QueryBrowserFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryBrowserFooter.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/QueryBrowserFooter.tsx"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,YAAY,EACZ,cAAc,EACd,cAAqB,GACtB,EAAE,uBAAuB,+BAsBzB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Query, QueryKey } from "@tanstack/react-query";
|
|
2
|
+
interface QueryBrowserModalProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
selectedQueryKey?: QueryKey;
|
|
5
|
+
onQuerySelect: (query: Query | undefined) => void;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onMinimize?: (modalState: any) => void;
|
|
8
|
+
activeFilter?: string | null;
|
|
9
|
+
onFilterChange?: (filter: string | null) => void;
|
|
10
|
+
enableSharedModalDimensions?: boolean;
|
|
11
|
+
onTabChange: (tab: "queries" | "mutations") => void;
|
|
12
|
+
searchText?: string;
|
|
13
|
+
onSearchChange?: (text: string) => void;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Specialized modal for query browsing following "Decompose by Responsibility"
|
|
17
|
+
* Single purpose: Display query browser when no query is selected
|
|
18
|
+
*/
|
|
19
|
+
export declare function QueryBrowserModal({ visible, selectedQueryKey, onQuerySelect, onClose, onMinimize, activeFilter: externalActiveFilter, onFilterChange: externalOnFilterChange, enableSharedModalDimensions, onTabChange, searchText, onSearchChange, }: QueryBrowserModalProps): import("react").JSX.Element | null;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=QueryBrowserModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryBrowserModal.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/QueryBrowserModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAiBxD,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,KAAK,IAAI,CAAC;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,UAAU,EACV,YAAY,EAAE,oBAAoB,EAClC,cAAc,EAAE,sBAAsB,EACtC,2BAAmC,EACnC,WAAW,EACX,UAAe,EACf,cAAc,GACf,EAAE,sBAAsB,sCAwNxB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Mutation, QueryKey, Query } from "@tanstack/react-query";
|
|
2
|
+
interface ReactQueryModalProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
selectedQueryKey?: QueryKey;
|
|
5
|
+
selectedMutationId?: number;
|
|
6
|
+
onQuerySelect: (query: Query | undefined) => void;
|
|
7
|
+
onMutationSelect: (mutation: Mutation | undefined) => void;
|
|
8
|
+
onClose: () => void;
|
|
9
|
+
onMinimize?: (modalState: any) => void;
|
|
10
|
+
activeFilter?: string | null;
|
|
11
|
+
onFilterChange?: (filter: string | null) => void;
|
|
12
|
+
activeTab: "queries" | "mutations";
|
|
13
|
+
onTabChange: (tab: "queries" | "mutations") => void;
|
|
14
|
+
enableSharedModalDimensions?: boolean;
|
|
15
|
+
searchText?: string;
|
|
16
|
+
onSearchChange?: (text: string) => void;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Refactored ReactQueryModal following composition principles
|
|
20
|
+
*
|
|
21
|
+
* Applied principles:
|
|
22
|
+
* - Decompose by Responsibility: Separated query browser and data editor modals
|
|
23
|
+
* - Prefer Composition over Configuration: Uses specialized modal components
|
|
24
|
+
* - Extract Reusable Logic: Modal routing logic based on query selection
|
|
25
|
+
* - Utilize Render Props: Each modal handles its own rendering responsibility
|
|
26
|
+
*/
|
|
27
|
+
export declare function ReactQueryModal({ visible, selectedQueryKey, selectedMutationId, onQuerySelect, onMutationSelect, onClose, onMinimize, activeFilter, onFilterChange, activeTab, onTabChange, enableSharedModalDimensions, searchText, onSearchChange, }: ReactQueryModalProps): import("react").JSX.Element;
|
|
28
|
+
export {};
|
|
29
|
+
//# sourceMappingURL=ReactQueryModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactQueryModal.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/ReactQueryModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAMlE,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAClD,gBAAgB,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,SAAS,KAAK,IAAI,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACjD,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC;IACnC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,KAAK,IAAI,CAAC;IACpD,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,EAC9B,OAAO,EACP,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,YAAY,EACZ,cAAc,EACd,SAAS,EACT,WAAW,EACX,2BAAmC,EACnC,UAAe,EACf,cAAc,GACf,EAAE,oBAAoB,+BAwDtB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Query, Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface ReactQueryModalHeaderProps {
|
|
3
|
+
selectedQuery?: Query;
|
|
4
|
+
selectedMutation?: Mutation;
|
|
5
|
+
activeTab: "queries" | "mutations";
|
|
6
|
+
onTabChange: (tab: "queries" | "mutations") => void;
|
|
7
|
+
onBack: () => void;
|
|
8
|
+
searchText?: string;
|
|
9
|
+
onSearchChange?: (text: string) => void;
|
|
10
|
+
onFilterPress?: () => void;
|
|
11
|
+
hasActiveFilters?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Shared header for all React Query modals. Handles tab switching when browsing and presents
|
|
15
|
+
* breadcrumbs when a specific query or mutation is selected.
|
|
16
|
+
*/
|
|
17
|
+
export declare function ReactQueryModalHeader({ selectedQuery, selectedMutation, activeTab, onTabChange, onBack, searchText, onSearchChange, onFilterPress, hasActiveFilters, }: ReactQueryModalHeaderProps): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=ReactQueryModalHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReactQueryModalHeader.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/ReactQueryModalHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKxD,UAAU,0BAA0B;IAClC,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,gBAAgB,CAAC,EAAE,QAAQ,CAAC;IAC5B,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC;IACnC,WAAW,EAAE,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,KAAK,IAAI,CAAC;IACpD,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,aAAa,EACb,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,MAAM,EACN,UAAe,EACf,cAAc,EACd,aAAa,EACb,gBAAwB,GACzB,EAAE,0BAA0B,+BA+I5B"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Animated } from "react-native";
|
|
2
|
+
/**
|
|
3
|
+
* Morphing swipe indicator – thin line ➜ pill ➜ circle with a pop-out cue at
|
|
4
|
+
* full commit. Visual-only; gesture logic lives upstream.
|
|
5
|
+
*/
|
|
6
|
+
interface SwipeIndicatorProps {
|
|
7
|
+
translationX: Animated.Value;
|
|
8
|
+
maxTranslation?: number;
|
|
9
|
+
canSwipeRight?: boolean;
|
|
10
|
+
canSwipeLeft?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function SwipeIndicator({ translationX, maxTranslation, canSwipeLeft, canSwipeRight, }: SwipeIndicatorProps): import("react").JSX.Element;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=SwipeIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/modals/SwipeIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,QAAQ,EAAE,MAAM,cAAc,CAAC;AAI1D;;;GAGG;AAEH,UAAU,mBAAmB;IAC3B,YAAY,EAAE,QAAQ,CAAC,KAAK,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAYD,wBAAgB,cAAc,CAAC,EAC7B,YAAY,EACZ,cAAwC,EACxC,YAAmB,EACnB,aAAoB,GACrB,EAAE,mBAAmB,+BAqLrB"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const buttonConfigs: {
|
|
2
|
+
btnRefetch: {
|
|
3
|
+
color: "#20C997";
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
textColor: "#20C997";
|
|
7
|
+
};
|
|
8
|
+
btnInvalidate: {
|
|
9
|
+
color: "#FFA94D";
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
borderColor: string;
|
|
12
|
+
textColor: "#FFA94D";
|
|
13
|
+
};
|
|
14
|
+
btnReset: {
|
|
15
|
+
color: "#A0A0A0";
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
borderColor: string;
|
|
18
|
+
textColor: "#A0A0A0";
|
|
19
|
+
};
|
|
20
|
+
btnRemove: {
|
|
21
|
+
color: "#EF4444";
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
borderColor: string;
|
|
24
|
+
textColor: "#EF4444";
|
|
25
|
+
};
|
|
26
|
+
btnTriggerLoading: {
|
|
27
|
+
color: "#20C997";
|
|
28
|
+
backgroundColor: string;
|
|
29
|
+
borderColor: string;
|
|
30
|
+
textColor: "#20C997";
|
|
31
|
+
};
|
|
32
|
+
btnTriggerLoadiError: {
|
|
33
|
+
color: "#888888";
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
borderColor: string;
|
|
36
|
+
textColor: "#888888";
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
interface Props {
|
|
40
|
+
onClick: () => void;
|
|
41
|
+
text: string;
|
|
42
|
+
bgColorClass: keyof typeof buttonConfigs;
|
|
43
|
+
_textColorClass: keyof typeof buttonConfigs;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
}
|
|
46
|
+
/** Generic rectangular action button used throughout the query modal footers. */
|
|
47
|
+
export default function ActionButton({ onClick, text, _textColorClass, bgColorClass, disabled, }: Props): import("react").JSX.Element;
|
|
48
|
+
export {};
|
|
49
|
+
//# sourceMappingURL=ActionButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/ActionButton.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqClB,CAAC;AAEF,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,OAAO,aAAa,CAAC;IACzC,eAAe,EAAE,MAAM,OAAO,aAAa,CAAC;IAC5C,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,iFAAiF;AACjF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,OAAO,EACP,IAAI,EACJ,eAAe,EACf,YAAY,EACZ,QAAQ,GACT,EAAE,KAAK,+BA0CP"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface ClearCacheButtonProps {
|
|
3
|
+
type: "queries" | "mutations";
|
|
4
|
+
onClear: () => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Icon-only button for clearing either the query or mutation cache from the dev tools UI.
|
|
9
|
+
*/
|
|
10
|
+
declare const ClearCacheButton: FC<ClearCacheButtonProps>;
|
|
11
|
+
export default ClearCacheButton;
|
|
12
|
+
//# sourceMappingURL=ClearCacheButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClearCacheButton.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/ClearCacheButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,UAAU,qBAAqB;IAC7B,IAAI,EAAE,SAAS,GAAG,WAAW,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA2B/C,CAAC;AAoBF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { JsonValue } from "../../types/types";
|
|
2
|
+
import { Query, QueryKey } from "@tanstack/react-query";
|
|
3
|
+
type Props = {
|
|
4
|
+
editable?: boolean;
|
|
5
|
+
label: string;
|
|
6
|
+
value: JsonValue;
|
|
7
|
+
defaultExpanded?: string[];
|
|
8
|
+
activeQuery?: Query<unknown, Error, unknown, QueryKey> | undefined;
|
|
9
|
+
dataPath?: string[];
|
|
10
|
+
itemsDeletable?: boolean;
|
|
11
|
+
dataVersion?: number;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Recursive data explorer component used for both editable and read-only JSON trees inside the
|
|
15
|
+
* React Query dev tools.
|
|
16
|
+
*/
|
|
17
|
+
export default function Explorer({ editable, label, value, defaultExpanded, activeQuery, dataPath, itemsDeletable, dataVersion, }: Props): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=Explorer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/Explorer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAkB,MAAM,uBAAuB,CAAC;AA2PxE,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,CAAC,EAAE,KAAK,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,CAAC,GAAG,SAAS,CAAC;IACnE,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,QAAQ,EACR,KAAK,EACL,KAAK,EACL,eAAe,EACf,WAAW,EACX,QAAQ,EACR,cAAc,EACd,WAAe,GAChB,EAAE,KAAK,+BAiXP"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface Props {
|
|
3
|
+
mutation: Mutation;
|
|
4
|
+
setSelectedMutation: React.Dispatch<React.SetStateAction<Mutation | undefined>>;
|
|
5
|
+
selected: Mutation | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* List-row button for displaying mutation metadata and selecting it for detail inspection.
|
|
9
|
+
*/
|
|
10
|
+
export default function MutationButton({ mutation, setSelectedMutation, selected, }: Props): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=MutationButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationButton.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/MutationButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAmBjD,UAAU,KAAK;IACb,QAAQ,EAAE,QAAQ,CAAC;IACnB,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CACjC,KAAK,CAAC,cAAc,CAAC,QAAQ,GAAG,SAAS,CAAC,CAC3C,CAAC;IACF,QAAQ,EAAE,QAAQ,GAAG,SAAS,CAAC;CAChC;AACD;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAC,EACrC,QAAQ,EACR,mBAAmB,EACnB,QAAQ,GACT,EAAE,KAAK,+BA4FP"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface Props {
|
|
3
|
+
selectedMutation: Mutation | undefined;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Displays high-level mutation metadata such as status, retries, and timestamps.
|
|
7
|
+
*/
|
|
8
|
+
export default function MutationDetails({ selectedMutation }: Props): import("react").JSX.Element | null;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=MutationDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationDetails.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/MutationDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAKjD,UAAU,KAAK;IACb,gBAAgB,EAAE,QAAQ,GAAG,SAAS,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,gBAAgB,EAAE,EAAE,KAAK,sCAkClE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface Props {
|
|
3
|
+
status: Mutation["state"]["status"];
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Small status chip used in mutation detail views that adapts styling to the mutation status.
|
|
7
|
+
*/
|
|
8
|
+
export default function QueryDetailsChip({ status }: Props): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=MutationDetailsChips.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationDetailsChips.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/MutationDetailsChips.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAwBjD,UAAU,KAAK;IACb,MAAM,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,CAAC;CACrC;AACD;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,+BAWzD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Mutation } from "@tanstack/react-query";
|
|
2
|
+
interface Props {
|
|
3
|
+
selectedMutation: Mutation | undefined;
|
|
4
|
+
}
|
|
5
|
+
/** Detailed information block for a selected mutation within the modal experience. */
|
|
6
|
+
export default function MutationInformation({ selectedMutation }: Props): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=MutationInformation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationInformation.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/MutationInformation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjD,UAAU,KAAK;IACb,gBAAgB,EAAE,QAAQ,GAAG,SAAS,CAAC;CACxC;AAED,sFAAsF;AACtF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,gBAAgB,EAAE,EAAE,KAAK,+BAoDtE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface MutationStatusCountProps {
|
|
3
|
+
activeFilter?: string | null;
|
|
4
|
+
onFilterChange?: (filter: string | null) => void;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Horizontal status filter bar tailored for mutations. Integrates scroll detection to avoid
|
|
8
|
+
* accidental filter toggles while panning.
|
|
9
|
+
*/
|
|
10
|
+
declare const MutationStatusCount: FC<MutationStatusCountProps>;
|
|
11
|
+
export default MutationStatusCount;
|
|
12
|
+
//# sourceMappingURL=MutationStatusCount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationStatusCount.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/MutationStatusCount.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,EAAE,EAAoB,MAAM,OAAO,CAAC;AAE7C,UAAU,wBAAwB;IAChC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CAClD;AAED;;;GAGG;AACH,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAkFrD,CAAC;AAoBF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import { ViewStyle } from "react-native";
|
|
3
|
+
import { Mutation } from "@tanstack/react-query";
|
|
4
|
+
interface Props {
|
|
5
|
+
selectedMutation: Mutation | undefined;
|
|
6
|
+
setSelectedMutation: Dispatch<SetStateAction<Mutation | undefined>>;
|
|
7
|
+
activeFilter?: string | null;
|
|
8
|
+
hideInfoPanel?: boolean;
|
|
9
|
+
contentContainerStyle?: ViewStyle;
|
|
10
|
+
searchText?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Virtualized list of mutations with filtering and selection support for the mutation browser.
|
|
14
|
+
*/
|
|
15
|
+
export default function MutationsList({ selectedMutation, setSelectedMutation, activeFilter, hideInfoPanel, contentContainerStyle, searchText, }: Props): import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=MutationsList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutationsList.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/MutationsList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACzF,OAAO,EAQL,SAAS,EACV,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjD,UAAU,KAAK;IACb,gBAAgB,EAAE,QAAQ,GAAG,SAAS,CAAC;IACvC,mBAAmB,EAAE,QAAQ,CAC3B,cAAc,CAAC,QAAQ,GAAG,SAAS,CAAC,CACrC,CAAC;IACF,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,EACZ,aAAqB,EACrB,qBAAqB,EACrB,UAAe,GAChB,EAAE,KAAK,+BAyJP"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
interface NetworkToggleButtonProps {
|
|
3
|
+
isOffline: boolean;
|
|
4
|
+
onToggle: () => void;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Small toggle used in the query browser to mock offline/online behavior.
|
|
8
|
+
*/
|
|
9
|
+
declare const NetworkToggleButton: FC<NetworkToggleButtonProps>;
|
|
10
|
+
export default NetworkToggleButton;
|
|
11
|
+
//# sourceMappingURL=NetworkToggleButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkToggleButton.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/NetworkToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAI3B,UAAU,wBAAwB;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAuBrD,CAAC;AAmBF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import { Query } from "@tanstack/react-query";
|
|
3
|
+
interface Props {
|
|
4
|
+
setSelectedQuery: Dispatch<SetStateAction<Query | undefined>>;
|
|
5
|
+
query: Query | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Action panel rendered in query detail views providing mutation simulation and removal controls.
|
|
9
|
+
*/
|
|
10
|
+
export default function QueryActions({ query, setSelectedQuery }: Props): import("react").JSX.Element | null;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=QueryActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryActions.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,KAAK,EAAkB,MAAM,uBAAuB,CAAC;AAY9D,UAAU,KAAK;IACb,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC;IAC9D,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;CAC1B;AACD;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,KAAK,EAAE,gBAAgB,EAAE,EAAE,KAAK,sCAgFtE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ViewStyle } from "react-native";
|
|
2
|
+
import { Query } from "@tanstack/react-query";
|
|
3
|
+
interface Props {
|
|
4
|
+
selectedQuery: Query | undefined;
|
|
5
|
+
onQuerySelect: (query: Query | undefined) => void;
|
|
6
|
+
activeFilter?: string | null;
|
|
7
|
+
emptyStateMessage?: string;
|
|
8
|
+
contentContainerStyle?: ViewStyle;
|
|
9
|
+
queries?: Query[];
|
|
10
|
+
searchText?: string;
|
|
11
|
+
ignoredPatterns?: Set<string>;
|
|
12
|
+
includedPatterns?: Set<string>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Scrollable list view of cached queries with filtering support and selection handling.
|
|
16
|
+
*/
|
|
17
|
+
export default function QueryBrowser({ selectedQuery, onQuerySelect, activeFilter, emptyStateMessage, contentContainerStyle, queries: externalQueries, searchText, ignoredPatterns, includedPatterns, }: Props): import("react").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=QueryBrowser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryBrowser.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryBrowser.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsC,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAM9C,UAAU,KAAK;IACb,aAAa,EAAE,KAAK,GAAG,SAAS,CAAC;IACjC,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,KAAK,IAAI,CAAC;IAClD,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,gBAAgB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,aAAa,EACb,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,qBAAqB,EACrB,OAAO,EAAE,eAAe,EACxB,UAAe,EACf,eAA2B,EAC3B,gBAA4B,GAC7B,EAAE,KAAK,+BAiIP"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Query } from "@tanstack/react-query";
|
|
2
|
+
interface Props {
|
|
3
|
+
query: Query | undefined;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Renders the primary metadata summary for a selected query, including fetch status and timings.
|
|
7
|
+
*/
|
|
8
|
+
export default function QueryDetails({ query }: Props): import("react").JSX.Element | null;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=QueryDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryDetails.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryDetails.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAK9C,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,GAAG,SAAS,CAAC;CAC1B;AACD;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EAAE,KAAK,EAAE,EAAE,KAAK,sCAwCpD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Query } from "@tanstack/react-query";
|
|
2
|
+
interface Props {
|
|
3
|
+
query: Query;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Chip component used to display small query metadata values (status, observers, etc.).
|
|
7
|
+
*/
|
|
8
|
+
export default function QueryDetailsChip({ query }: Props): import("react").JSX.Element;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=QueryDetailsChip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryDetailsChip.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryDetailsChip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAK9C,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAC;CACd;AAwCD;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE,KAAK,+BAWxD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Dispatch, SetStateAction } from "react";
|
|
2
|
+
import { Query } from "@tanstack/react-query";
|
|
3
|
+
interface Props {
|
|
4
|
+
setSelectedQuery: Dispatch<SetStateAction<Query | undefined>>;
|
|
5
|
+
selectedQuery: Query | undefined;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Stacked detail view combining metadata, actions, and explorers for the selected query.
|
|
9
|
+
*/
|
|
10
|
+
export default function QueryInformation({ selectedQuery, setSelectedQuery, }: Props): import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=QueryInformation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryInformation.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryInformation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAO9C,UAAU,KAAK;IACb,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC,CAAC;IAC9D,aAAa,EAAE,KAAK,GAAG,SAAS,CAAC;CAClC;AACD;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EACvC,aAAa,EACb,gBAAgB,GACjB,EAAE,KAAK,+BAyCP"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Query } from "@tanstack/react-query";
|
|
2
|
+
interface QueryRowProps {
|
|
3
|
+
query: Query;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
onSelect: (query: Query) => void;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Single row representation of a query for the list view, showing status and observer count.
|
|
9
|
+
*/
|
|
10
|
+
declare const QueryRow: React.FC<QueryRowProps>;
|
|
11
|
+
export default QueryRow;
|
|
12
|
+
//# sourceMappingURL=QueryRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryRow.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAkB9C,UAAU,aAAa;IACrB,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAClC;AAED;;GAEG;AACH,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuErC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { GestureResponderEvent } from "react-native";
|
|
3
|
+
interface QueryStatusProps {
|
|
4
|
+
label: string;
|
|
5
|
+
color: "green" | "yellow" | "gray" | "blue" | "purple" | "red";
|
|
6
|
+
count: number;
|
|
7
|
+
showLabel?: boolean;
|
|
8
|
+
isActive?: boolean;
|
|
9
|
+
onPress?: (event: GestureResponderEvent) => void;
|
|
10
|
+
onTouchStart?: (event: GestureResponderEvent) => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Pill-like status badge used within status filter rows. Displays label, dot, and count.
|
|
14
|
+
*/
|
|
15
|
+
declare const QueryStatus: FC<QueryStatusProps>;
|
|
16
|
+
export default QueryStatus;
|
|
17
|
+
//# sourceMappingURL=QueryStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryStatus.d.ts","sourceRoot":"","sources":["../../../../../src/react-query/components/query-browser/QueryStatus.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAC3B,OAAO,EAKL,qBAAqB,EACtB,MAAM,cAAc,CAAC;AAGtB,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACvD;AAID;;GAEG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAsFrC,CAAC;AAmCF,eAAe,WAAW,CAAC"}
|