@osdk/react-devtools 0.5.0
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/CHANGELOG.md +79 -0
- package/build/esm/DevToolsContext.js +19 -0
- package/build/esm/DevToolsContext.js.map +1 -0
- package/build/esm/components/ActionMetrics.js +89 -0
- package/build/esm/components/ActionMetrics.js.map +1 -0
- package/build/esm/components/BubbleChart.js +175 -0
- package/build/esm/components/BubbleChart.js.map +1 -0
- package/build/esm/components/BubbleChart.module.scss.js +6 -0
- package/build/esm/components/CacheInspectorTab.js +291 -0
- package/build/esm/components/CacheInspectorTab.js.map +1 -0
- package/build/esm/components/CacheInspectorTab.module.scss.js +39 -0
- package/build/esm/components/CacheMetrics.js +55 -0
- package/build/esm/components/CacheMetrics.js.map +1 -0
- package/build/esm/components/ComponentCard.js +124 -0
- package/build/esm/components/ComponentCard.js.map +1 -0
- package/build/esm/components/ComponentCard.module.scss.js +31 -0
- package/build/esm/components/ComputeTab.js +175 -0
- package/build/esm/components/ComputeTab.js.map +1 -0
- package/build/esm/components/CopyableCodeBlock.js +49 -0
- package/build/esm/components/CopyableCodeBlock.js.map +1 -0
- package/build/esm/components/CopyableCodeBlock.module.scss.js +10 -0
- package/build/esm/components/DebuggingTab.js +342 -0
- package/build/esm/components/DebuggingTab.js.map +1 -0
- package/build/esm/components/DebuggingTab.module.scss.js +18 -0
- package/build/esm/components/HookRow.js +180 -0
- package/build/esm/components/HookRow.js.map +1 -0
- package/build/esm/components/HookRow.module.scss.js +16 -0
- package/build/esm/components/ImprovementsTab.js +138 -0
- package/build/esm/components/ImprovementsTab.js.map +1 -0
- package/build/esm/components/ImprovementsTab.module.scss.js +30 -0
- package/build/esm/components/InspectorSelectionHeader.js +65 -0
- package/build/esm/components/InspectorSelectionHeader.js.map +1 -0
- package/build/esm/components/InterceptTab.js +862 -0
- package/build/esm/components/InterceptTab.js.map +1 -0
- package/build/esm/components/InterceptTab.module.scss.js +49 -0
- package/build/esm/components/IssueCard.js +115 -0
- package/build/esm/components/IssueCard.js.map +1 -0
- package/build/esm/components/IssueCard.module.scss.js +24 -0
- package/build/esm/components/LogEntryCard.js +94 -0
- package/build/esm/components/LogEntryCard.js.map +1 -0
- package/build/esm/components/LogEntryCard.module.scss.js +19 -0
- package/build/esm/components/MockEditor.js +316 -0
- package/build/esm/components/MockEditor.js.map +1 -0
- package/build/esm/components/MonitorErrorBoundary.js +64 -0
- package/build/esm/components/MonitorErrorBoundary.js.map +1 -0
- package/build/esm/components/MonitorErrorBoundary.module.scss.js +9 -0
- package/build/esm/components/MonitoringPanel.js +434 -0
- package/build/esm/components/MonitoringPanel.js.map +1 -0
- package/build/esm/components/MonitoringPanel.module.scss.js +81 -0
- package/build/esm/components/ObjectLoadingMetrics.js +60 -0
- package/build/esm/components/ObjectLoadingMetrics.js.map +1 -0
- package/build/esm/components/OsdkAppErrorBoundary.js +68 -0
- package/build/esm/components/OsdkAppErrorBoundary.js.map +1 -0
- package/build/esm/components/OsdkDevTools.js +40 -0
- package/build/esm/components/OsdkDevTools.js.map +1 -0
- package/build/esm/components/OverrideEditor.js +197 -0
- package/build/esm/components/OverrideEditor.js.map +1 -0
- package/build/esm/components/PerformanceTab.js +297 -0
- package/build/esm/components/PerformanceTab.js.map +1 -0
- package/build/esm/components/PrimitiveSelectionPanel.js +220 -0
- package/build/esm/components/PrimitiveSelectionPanel.js.map +1 -0
- package/build/esm/components/PrimitiveSelectionPanel.module.scss.js +26 -0
- package/build/esm/components/issueTypes.js +2 -0
- package/build/esm/components/issueTypes.js.map +1 -0
- package/build/esm/components/resolveComponentName.js +57 -0
- package/build/esm/components/resolveComponentName.js.map +1 -0
- package/build/esm/components/testHelpers.js +312 -0
- package/build/esm/components/testHelpers.js.map +1 -0
- package/build/esm/css.d.ts +20 -0
- package/build/esm/fiber/DegradationNotice.js +193 -0
- package/build/esm/fiber/DegradationNotice.js.map +1 -0
- package/build/esm/fiber/DevtoolsHook.js +252 -0
- package/build/esm/fiber/DevtoolsHook.js.map +1 -0
- package/build/esm/fiber/FiberAccess.js +65 -0
- package/build/esm/fiber/FiberAccess.js.map +1 -0
- package/build/esm/fiber/FiberInspection.js +140 -0
- package/build/esm/fiber/FiberInspection.js.map +1 -0
- package/build/esm/fiber/FiberTags.js +52 -0
- package/build/esm/fiber/FiberTags.js.map +1 -0
- package/build/esm/fiber/HookStateInspector.js +254 -0
- package/build/esm/fiber/HookStateInspector.js.map +1 -0
- package/build/esm/fiber/SafeFiberOperation.js +35 -0
- package/build/esm/fiber/SafeFiberOperation.js.map +1 -0
- package/build/esm/fiber/capabilities.js +180 -0
- package/build/esm/fiber/capabilities.js.map +1 -0
- package/build/esm/fiber/traverseFiber.js +129 -0
- package/build/esm/fiber/traverseFiber.js.map +1 -0
- package/build/esm/fiber/types.js +2 -0
- package/build/esm/fiber/types.js.map +1 -0
- package/build/esm/fiber/validation.js +155 -0
- package/build/esm/fiber/validation.js.map +1 -0
- package/build/esm/hooks/createPollingStore.js +81 -0
- package/build/esm/hooks/createPollingStore.js.map +1 -0
- package/build/esm/hooks/useActiveComponents.js +27 -0
- package/build/esm/hooks/useActiveComponents.js.map +1 -0
- package/build/esm/hooks/useComponentRegistry.js +25 -0
- package/build/esm/hooks/useComponentRegistry.js.map +1 -0
- package/build/esm/hooks/useComputeSelectors.js +43 -0
- package/build/esm/hooks/useComputeSelectors.js.map +1 -0
- package/build/esm/hooks/useConsoleLogs.js +46 -0
- package/build/esm/hooks/useConsoleLogs.js.map +1 -0
- package/build/esm/hooks/useInspectorSelection.js +93 -0
- package/build/esm/hooks/useInspectorSelection.js.map +1 -0
- package/build/esm/hooks/useMetrics.js +23 -0
- package/build/esm/hooks/useMetrics.js.map +1 -0
- package/build/esm/hooks/usePersistedState.js +89 -0
- package/build/esm/hooks/usePersistedState.js.map +1 -0
- package/build/esm/hooks/useRecommendations.js +123 -0
- package/build/esm/hooks/useRecommendations.js.map +1 -0
- package/build/esm/hooks/useSharedTick.js +49 -0
- package/build/esm/hooks/useSharedTick.js.map +1 -0
- package/build/esm/hooks/useTimeElapsed.js +51 -0
- package/build/esm/hooks/useTimeElapsed.js.map +1 -0
- package/build/esm/hooks/useTrackerSubscription.js +97 -0
- package/build/esm/hooks/useTrackerSubscription.js.map +1 -0
- package/build/esm/hooks/useUnusedFieldAnalysis.js +99 -0
- package/build/esm/hooks/useUnusedFieldAnalysis.js.map +1 -0
- package/build/esm/index.js +31 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/inspector/ClickToInspectSystem.js +228 -0
- package/build/esm/inspector/ClickToInspectSystem.js.map +1 -0
- package/build/esm/inspector/components/ComponentLabel.js +175 -0
- package/build/esm/inspector/components/ComponentLabel.js.map +1 -0
- package/build/esm/inspector/components/ComponentLabel.module.scss.js +12 -0
- package/build/esm/inspector/components/InspectorBanner.js +79 -0
- package/build/esm/inspector/components/InspectorBanner.js.map +1 -0
- package/build/esm/inspector/components/InspectorOverlay.js +149 -0
- package/build/esm/inspector/components/InspectorOverlay.js.map +1 -0
- package/build/esm/inspector/components/SelectionHighlight.js +74 -0
- package/build/esm/inspector/components/SelectionHighlight.js.map +1 -0
- package/build/esm/inspector/createClickToInspect.js +21 -0
- package/build/esm/inspector/createClickToInspect.js.map +1 -0
- package/build/esm/inspector/hooks/useAnimatedBounds.js +167 -0
- package/build/esm/inspector/hooks/useAnimatedBounds.js.map +1 -0
- package/build/esm/inspector/index.js +40 -0
- package/build/esm/inspector/index.js.map +1 -0
- package/build/esm/inspector/inspectorController.js +328 -0
- package/build/esm/inspector/inspectorController.js.map +1 -0
- package/build/esm/inspector/types.js +2 -0
- package/build/esm/inspector/types.js.map +1 -0
- package/build/esm/inspector/utils/elementBounds.js +72 -0
- package/build/esm/inspector/utils/elementBounds.js.map +1 -0
- package/build/esm/inspector/utils/interpolation.js +26 -0
- package/build/esm/inspector/utils/interpolation.js.map +1 -0
- package/build/esm/inspector/utils/labelPositioning.js +62 -0
- package/build/esm/inspector/utils/labelPositioning.js.map +1 -0
- package/build/esm/mocking/MockCacheKeyGenerator.js +109 -0
- package/build/esm/mocking/MockCacheKeyGenerator.js.map +1 -0
- package/build/esm/mocking/MockManager.js +281 -0
- package/build/esm/mocking/MockManager.js.map +1 -0
- package/build/esm/prototyping/PrototypeOverrideStore.js +66 -0
- package/build/esm/prototyping/PrototypeOverrideStore.js.map +1 -0
- package/build/esm/prototyping/index.js +18 -0
- package/build/esm/prototyping/index.js.map +1 -0
- package/build/esm/public/vite.js +19 -0
- package/build/esm/public/vite.js.map +1 -0
- package/build/esm/register.js +41 -0
- package/build/esm/register.js.map +1 -0
- package/build/esm/scss.d.ts +20 -0
- package/build/esm/store/ComputeStore.js +269 -0
- package/build/esm/store/ComputeStore.js.map +1 -0
- package/build/esm/store/ConsoleLogStore.js +289 -0
- package/build/esm/store/ConsoleLogStore.js.map +1 -0
- package/build/esm/store/MetricsStore.js +428 -0
- package/build/esm/store/MetricsStore.js.map +1 -0
- package/build/esm/store/MonitorStore.js +288 -0
- package/build/esm/store/MonitorStore.js.map +1 -0
- package/build/esm/store/SubscribableStore.js +38 -0
- package/build/esm/store/SubscribableStore.js.map +1 -0
- package/build/esm/store/WindowErrorStore.js +195 -0
- package/build/esm/store/WindowErrorStore.js.map +1 -0
- package/build/esm/styles.css +19441 -0
- package/build/esm/styles.js +31 -0
- package/build/esm/styles.js.map +1 -0
- package/build/esm/types/compute.js +2 -0
- package/build/esm/types/compute.js.map +1 -0
- package/build/esm/types/emissions.js +2 -0
- package/build/esm/types/emissions.js.map +1 -0
- package/build/esm/types/index.js +23 -0
- package/build/esm/types/index.js.map +1 -0
- package/build/esm/utils/ActionLifecycleTracker.js +178 -0
- package/build/esm/utils/ActionLifecycleTracker.js.map +1 -0
- package/build/esm/utils/CacheEfficiencyAnalyzer.js +198 -0
- package/build/esm/utils/CacheEfficiencyAnalyzer.js.map +1 -0
- package/build/esm/utils/CircularBuffer.js +96 -0
- package/build/esm/utils/CircularBuffer.js.map +1 -0
- package/build/esm/utils/ComponentContextCapture.js +215 -0
- package/build/esm/utils/ComponentContextCapture.js.map +1 -0
- package/build/esm/utils/ComponentPrimitiveDiscovery.js +173 -0
- package/build/esm/utils/ComponentPrimitiveDiscovery.js.map +1 -0
- package/build/esm/utils/ComponentQueryRegistry.js +340 -0
- package/build/esm/utils/ComponentQueryRegistry.js.map +1 -0
- package/build/esm/utils/ComputeMonitor.js +199 -0
- package/build/esm/utils/ComputeMonitor.js.map +1 -0
- package/build/esm/utils/EventTimeline.js +130 -0
- package/build/esm/utils/EventTimeline.js.map +1 -0
- package/build/esm/utils/LinkTraversalTracker.js +116 -0
- package/build/esm/utils/LinkTraversalTracker.js.map +1 -0
- package/build/esm/utils/MockDataGenerator.js +473 -0
- package/build/esm/utils/MockDataGenerator.js.map +1 -0
- package/build/esm/utils/ObservableClientMonitor.js +768 -0
- package/build/esm/utils/ObservableClientMonitor.js.map +1 -0
- package/build/esm/utils/PerformanceRecommendationEngine.js +185 -0
- package/build/esm/utils/PerformanceRecommendationEngine.js.map +1 -0
- package/build/esm/utils/PropertyAccessTracker.js +238 -0
- package/build/esm/utils/PropertyAccessTracker.js.map +1 -0
- package/build/esm/utils/RecommendationMatcher.js +53 -0
- package/build/esm/utils/RecommendationMatcher.js.map +1 -0
- package/build/esm/utils/SubscriptionTracker.js +132 -0
- package/build/esm/utils/SubscriptionTracker.js.map +1 -0
- package/build/esm/utils/UnusedFieldAnalyzer.js +186 -0
- package/build/esm/utils/UnusedFieldAnalyzer.js.map +1 -0
- package/build/esm/utils/WaterfallDetector.js +200 -0
- package/build/esm/utils/WaterfallDetector.js.map +1 -0
- package/build/esm/utils/computePayload.js +37 -0
- package/build/esm/utils/computePayload.js.map +1 -0
- package/build/esm/utils/computeRequest.js +29 -0
- package/build/esm/utils/computeRequest.js.map +1 -0
- package/build/esm/utils/format.js +69 -0
- package/build/esm/utils/format.js.map +1 -0
- package/build/esm/utils/logger.js +31 -0
- package/build/esm/utils/logger.js.map +1 -0
- package/build/esm/vite/constants.js +18 -0
- package/build/esm/vite/constants.js.map +1 -0
- package/build/esm/vite/hookInstaller.js +99 -0
- package/build/esm/vite/hookInstaller.js.map +1 -0
- package/build/esm/vite/index.js +77 -0
- package/build/esm/vite/index.js.map +1 -0
- package/build/types/DevToolsContext.d.ts +3 -0
- package/build/types/DevToolsContext.d.ts.map +1 -0
- package/build/types/components/ActionMetrics.d.ts +6 -0
- package/build/types/components/ActionMetrics.d.ts.map +1 -0
- package/build/types/components/BubbleChart.d.ts +10 -0
- package/build/types/components/BubbleChart.d.ts.map +1 -0
- package/build/types/components/CacheInspectorTab.d.ts +6 -0
- package/build/types/components/CacheInspectorTab.d.ts.map +1 -0
- package/build/types/components/CacheMetrics.d.ts +6 -0
- package/build/types/components/CacheMetrics.d.ts.map +1 -0
- package/build/types/components/ComponentCard.d.ts +13 -0
- package/build/types/components/ComponentCard.d.ts.map +1 -0
- package/build/types/components/ComputeTab.d.ts +6 -0
- package/build/types/components/ComputeTab.d.ts.map +1 -0
- package/build/types/components/CopyableCodeBlock.d.ts +7 -0
- package/build/types/components/CopyableCodeBlock.d.ts.map +1 -0
- package/build/types/components/DebuggingTab.d.ts +6 -0
- package/build/types/components/DebuggingTab.d.ts.map +1 -0
- package/build/types/components/HookRow.d.ts +9 -0
- package/build/types/components/HookRow.d.ts.map +1 -0
- package/build/types/components/ImprovementsTab.d.ts +7 -0
- package/build/types/components/ImprovementsTab.d.ts.map +1 -0
- package/build/types/components/InspectorSelectionHeader.d.ts +12 -0
- package/build/types/components/InspectorSelectionHeader.d.ts.map +1 -0
- package/build/types/components/InterceptTab.d.ts +126 -0
- package/build/types/components/InterceptTab.d.ts.map +1 -0
- package/build/types/components/IssueCard.d.ts +8 -0
- package/build/types/components/IssueCard.d.ts.map +1 -0
- package/build/types/components/LogEntryCard.d.ts +7 -0
- package/build/types/components/LogEntryCard.d.ts.map +1 -0
- package/build/types/components/MockEditor.d.ts +58 -0
- package/build/types/components/MockEditor.d.ts.map +1 -0
- package/build/types/components/MonitorErrorBoundary.d.ts +16 -0
- package/build/types/components/MonitorErrorBoundary.d.ts.map +1 -0
- package/build/types/components/MonitoringPanel.d.ts +8 -0
- package/build/types/components/MonitoringPanel.d.ts.map +1 -0
- package/build/types/components/ObjectLoadingMetrics.d.ts +7 -0
- package/build/types/components/ObjectLoadingMetrics.d.ts.map +1 -0
- package/build/types/components/OsdkAppErrorBoundary.d.ts +18 -0
- package/build/types/components/OsdkAppErrorBoundary.d.ts.map +1 -0
- package/build/types/components/OsdkDevTools.d.ts +2 -0
- package/build/types/components/OsdkDevTools.d.ts.map +1 -0
- package/build/types/components/OverrideEditor.d.ts +26 -0
- package/build/types/components/OverrideEditor.d.ts.map +1 -0
- package/build/types/components/PerformanceTab.d.ts +8 -0
- package/build/types/components/PerformanceTab.d.ts.map +1 -0
- package/build/types/components/PrimitiveSelectionPanel.d.ts +28 -0
- package/build/types/components/PrimitiveSelectionPanel.d.ts.map +1 -0
- package/build/types/components/issueTypes.d.ts +16 -0
- package/build/types/components/issueTypes.d.ts.map +1 -0
- package/build/types/components/resolveComponentName.d.ts +3 -0
- package/build/types/components/resolveComponentName.d.ts.map +1 -0
- package/build/types/components/testHelpers.d.ts +2 -0
- package/build/types/components/testHelpers.d.ts.map +1 -0
- package/build/types/css.d.d.ts +4 -0
- package/build/types/css.d.d.ts.map +1 -0
- package/build/types/fiber/DegradationNotice.d.ts +8 -0
- package/build/types/fiber/DegradationNotice.d.ts.map +1 -0
- package/build/types/fiber/DevtoolsHook.d.ts +7 -0
- package/build/types/fiber/DevtoolsHook.d.ts.map +1 -0
- package/build/types/fiber/FiberAccess.d.ts +2 -0
- package/build/types/fiber/FiberAccess.d.ts.map +1 -0
- package/build/types/fiber/FiberInspection.d.ts +6 -0
- package/build/types/fiber/FiberInspection.d.ts.map +1 -0
- package/build/types/fiber/FiberTags.d.ts +33 -0
- package/build/types/fiber/FiberTags.d.ts.map +1 -0
- package/build/types/fiber/HookStateInspector.d.ts +45 -0
- package/build/types/fiber/HookStateInspector.d.ts.map +1 -0
- package/build/types/fiber/SafeFiberOperation.d.ts +7 -0
- package/build/types/fiber/SafeFiberOperation.d.ts.map +1 -0
- package/build/types/fiber/capabilities.d.ts +38 -0
- package/build/types/fiber/capabilities.d.ts.map +1 -0
- package/build/types/fiber/traverseFiber.d.ts +5 -0
- package/build/types/fiber/traverseFiber.d.ts.map +1 -0
- package/build/types/fiber/types.d.ts +87 -0
- package/build/types/fiber/types.d.ts.map +1 -0
- package/build/types/fiber/validation.d.ts +10 -0
- package/build/types/fiber/validation.d.ts.map +1 -0
- package/build/types/hooks/createPollingStore.d.ts +5 -0
- package/build/types/hooks/createPollingStore.d.ts.map +1 -0
- package/build/types/hooks/useActiveComponents.d.ts +3 -0
- package/build/types/hooks/useActiveComponents.d.ts.map +1 -0
- package/build/types/hooks/useComponentRegistry.d.ts +3 -0
- package/build/types/hooks/useComponentRegistry.d.ts.map +1 -0
- package/build/types/hooks/useComputeSelectors.d.ts +7 -0
- package/build/types/hooks/useComputeSelectors.d.ts.map +1 -0
- package/build/types/hooks/useConsoleLogs.d.ts +7 -0
- package/build/types/hooks/useConsoleLogs.d.ts.map +1 -0
- package/build/types/hooks/useInspectorSelection.d.ts +9 -0
- package/build/types/hooks/useInspectorSelection.d.ts.map +1 -0
- package/build/types/hooks/useMetrics.d.ts +3 -0
- package/build/types/hooks/useMetrics.d.ts.map +1 -0
- package/build/types/hooks/usePersistedState.d.ts +1 -0
- package/build/types/hooks/usePersistedState.d.ts.map +1 -0
- package/build/types/hooks/useRecommendations.d.ts +10 -0
- package/build/types/hooks/useRecommendations.d.ts.map +1 -0
- package/build/types/hooks/useSharedTick.d.ts +1 -0
- package/build/types/hooks/useSharedTick.d.ts.map +1 -0
- package/build/types/hooks/useTimeElapsed.d.ts +1 -0
- package/build/types/hooks/useTimeElapsed.d.ts.map +1 -0
- package/build/types/hooks/useTrackerSubscription.d.ts +16 -0
- package/build/types/hooks/useTrackerSubscription.d.ts.map +1 -0
- package/build/types/hooks/useUnusedFieldAnalysis.d.ts +8 -0
- package/build/types/hooks/useUnusedFieldAnalysis.d.ts.map +1 -0
- package/build/types/index.d.ts +21 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/inspector/ClickToInspectSystem.d.ts +40 -0
- package/build/types/inspector/ClickToInspectSystem.d.ts.map +1 -0
- package/build/types/inspector/components/ComponentLabel.d.ts +3 -0
- package/build/types/inspector/components/ComponentLabel.d.ts.map +1 -0
- package/build/types/inspector/components/InspectorBanner.d.ts +5 -0
- package/build/types/inspector/components/InspectorBanner.d.ts.map +1 -0
- package/build/types/inspector/components/InspectorOverlay.d.ts +3 -0
- package/build/types/inspector/components/InspectorOverlay.d.ts.map +1 -0
- package/build/types/inspector/components/SelectionHighlight.d.ts +3 -0
- package/build/types/inspector/components/SelectionHighlight.d.ts.map +1 -0
- package/build/types/inspector/createClickToInspect.d.ts +3 -0
- package/build/types/inspector/createClickToInspect.d.ts.map +1 -0
- package/build/types/inspector/hooks/useAnimatedBounds.d.ts +2 -0
- package/build/types/inspector/hooks/useAnimatedBounds.d.ts.map +1 -0
- package/build/types/inspector/index.d.ts +13 -0
- package/build/types/inspector/index.d.ts.map +1 -0
- package/build/types/inspector/inspectorController.d.ts +2 -0
- package/build/types/inspector/inspectorController.d.ts.map +1 -0
- package/build/types/inspector/types.d.ts +94 -0
- package/build/types/inspector/types.d.ts.map +1 -0
- package/build/types/inspector/utils/elementBounds.d.ts +3 -0
- package/build/types/inspector/utils/elementBounds.d.ts.map +1 -0
- package/build/types/inspector/utils/interpolation.d.ts +7 -0
- package/build/types/inspector/utils/interpolation.d.ts.map +1 -0
- package/build/types/inspector/utils/labelPositioning.d.ts +3 -0
- package/build/types/inspector/utils/labelPositioning.d.ts.map +1 -0
- package/build/types/mocking/MockCacheKeyGenerator.d.ts +41 -0
- package/build/types/mocking/MockCacheKeyGenerator.d.ts.map +1 -0
- package/build/types/mocking/MockManager.d.ts +103 -0
- package/build/types/mocking/MockManager.d.ts.map +1 -0
- package/build/types/prototyping/PrototypeOverrideStore.d.ts +33 -0
- package/build/types/prototyping/PrototypeOverrideStore.d.ts.map +1 -0
- package/build/types/prototyping/index.d.ts +1 -0
- package/build/types/prototyping/index.d.ts.map +1 -0
- package/build/types/public/vite.d.ts +2 -0
- package/build/types/public/vite.d.ts.map +1 -0
- package/build/types/register.d.ts +1 -0
- package/build/types/register.d.ts.map +1 -0
- package/build/types/scss.d.d.ts +6 -0
- package/build/types/scss.d.d.ts.map +1 -0
- package/build/types/store/ComputeStore.d.ts +47 -0
- package/build/types/store/ComputeStore.d.ts.map +1 -0
- package/build/types/store/ConsoleLogStore.d.ts +29 -0
- package/build/types/store/ConsoleLogStore.d.ts.map +1 -0
- package/build/types/store/MetricsStore.d.ts +42 -0
- package/build/types/store/MetricsStore.d.ts.map +1 -0
- package/build/types/store/MonitorStore.d.ts +86 -0
- package/build/types/store/MonitorStore.d.ts.map +1 -0
- package/build/types/store/SubscribableStore.d.ts +6 -0
- package/build/types/store/SubscribableStore.d.ts.map +1 -0
- package/build/types/store/WindowErrorStore.d.ts +32 -0
- package/build/types/store/WindowErrorStore.d.ts.map +1 -0
- package/build/types/styles.d.ts +1 -0
- package/build/types/styles.d.ts.map +1 -0
- package/build/types/types/compute.d.ts +73 -0
- package/build/types/types/compute.d.ts.map +1 -0
- package/build/types/types/emissions.d.ts +24 -0
- package/build/types/types/emissions.d.ts.map +1 -0
- package/build/types/types/index.d.ts +143 -0
- package/build/types/types/index.d.ts.map +1 -0
- package/build/types/utils/ActionLifecycleTracker.d.ts +39 -0
- package/build/types/utils/ActionLifecycleTracker.d.ts.map +1 -0
- package/build/types/utils/CacheEfficiencyAnalyzer.d.ts +45 -0
- package/build/types/utils/CacheEfficiencyAnalyzer.d.ts.map +1 -0
- package/build/types/utils/CircularBuffer.d.ts +18 -0
- package/build/types/utils/CircularBuffer.d.ts.map +1 -0
- package/build/types/utils/ComponentContextCapture.d.ts +29 -0
- package/build/types/utils/ComponentContextCapture.d.ts.map +1 -0
- package/build/types/utils/ComponentPrimitiveDiscovery.d.ts +62 -0
- package/build/types/utils/ComponentPrimitiveDiscovery.d.ts.map +1 -0
- package/build/types/utils/ComponentQueryRegistry.d.ts +91 -0
- package/build/types/utils/ComponentQueryRegistry.d.ts.map +1 -0
- package/build/types/utils/ComputeMonitor.d.ts +14 -0
- package/build/types/utils/ComputeMonitor.d.ts.map +1 -0
- package/build/types/utils/EventTimeline.d.ts +102 -0
- package/build/types/utils/EventTimeline.d.ts.map +1 -0
- package/build/types/utils/LinkTraversalTracker.d.ts +43 -0
- package/build/types/utils/LinkTraversalTracker.d.ts.map +1 -0
- package/build/types/utils/MockDataGenerator.d.ts +23 -0
- package/build/types/utils/MockDataGenerator.d.ts.map +1 -0
- package/build/types/utils/ObservableClientMonitor.d.ts +62 -0
- package/build/types/utils/ObservableClientMonitor.d.ts.map +1 -0
- package/build/types/utils/PerformanceRecommendationEngine.d.ts +67 -0
- package/build/types/utils/PerformanceRecommendationEngine.d.ts.map +1 -0
- package/build/types/utils/PropertyAccessTracker.d.ts +50 -0
- package/build/types/utils/PropertyAccessTracker.d.ts.map +1 -0
- package/build/types/utils/RecommendationMatcher.d.ts +5 -0
- package/build/types/utils/RecommendationMatcher.d.ts.map +1 -0
- package/build/types/utils/SubscriptionTracker.d.ts +17 -0
- package/build/types/utils/SubscriptionTracker.d.ts.map +1 -0
- package/build/types/utils/UnusedFieldAnalyzer.d.ts +46 -0
- package/build/types/utils/UnusedFieldAnalyzer.d.ts.map +1 -0
- package/build/types/utils/WaterfallDetector.d.ts +28 -0
- package/build/types/utils/WaterfallDetector.d.ts.map +1 -0
- package/build/types/utils/computePayload.d.ts +3 -0
- package/build/types/utils/computePayload.d.ts.map +1 -0
- package/build/types/utils/computeRequest.d.ts +20 -0
- package/build/types/utils/computeRequest.d.ts.map +1 -0
- package/build/types/utils/format.d.ts +5 -0
- package/build/types/utils/format.d.ts.map +1 -0
- package/build/types/utils/logger.d.ts +2 -0
- package/build/types/utils/logger.d.ts.map +1 -0
- package/build/types/vite/constants.d.ts +1 -0
- package/build/types/vite/constants.d.ts.map +1 -0
- package/build/types/vite/hookInstaller.d.ts +1 -0
- package/build/types/vite/hookInstaller.d.ts.map +1 -0
- package/build/types/vite/index.d.ts +20 -0
- package/build/types/vite/index.d.ts.map +1 -0
- package/package.json +114 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["dirname","resolve","resolvePath","fileURLToPath","PLUGIN_NAME","generateHookInstallationScript","__dirname","import","meta","url","CSS_PATH","osdkDevTools","options","enabled","process","env","NODE_ENV","verbose","injectCSS","name","enforce","apply","config","command","mode","VITEST","transformIndexHtml","order","handler","html","hookScript","cssTag","injection","transformed","replace","console","log"],"sources":["index.ts"],"sourcesContent":["/*\n * Copyright 2025 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { dirname, resolve as resolvePath } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport type { Plugin } from \"vite\";\nimport { PLUGIN_NAME } from \"./constants.js\";\nimport { generateHookInstallationScript } from \"./hookInstaller.js\";\n\nconst __dirname = dirname(fileURLToPath(import.meta.url));\nconst CSS_PATH = resolvePath(__dirname, \"../styles.css\");\n\nexport interface OsdkDevToolsOptions {\n /**\n * Enable devtools.\n * Default: true in development, false in production\n */\n enabled?: boolean;\n\n /**\n * Enable verbose logging for debugging.\n * Default: false\n */\n verbose?: boolean;\n\n /**\n * Automatically inject CSS.\n * Default: true\n */\n injectCSS?: boolean;\n}\n\nexport function osdkDevTools(options: OsdkDevToolsOptions = {}): Plugin {\n const {\n enabled = process.env.NODE_ENV !== \"production\",\n verbose = false,\n injectCSS = true,\n } = options;\n\n return {\n name: PLUGIN_NAME,\n\n enforce: \"pre\",\n\n apply(config, { command }) {\n if (config.mode === \"production\") {\n return false;\n }\n\n if (process.env.VITEST) {\n return false;\n }\n\n if (!enabled) {\n return false;\n }\n\n return command === \"serve\";\n },\n\n transformIndexHtml: {\n order: \"pre\",\n\n handler(html) {\n if (!enabled) return html;\n\n const hookScript = generateHookInstallationScript(verbose);\n\n const registerScript =\n `\\n <script type=\"module\">import '@osdk/react-devtools';</script>`;\n\n let cssTag = \"\";\n if (injectCSS) {\n cssTag = `\\n <link rel=\"stylesheet\" href=\"/@fs${CSS_PATH}\" />`;\n }\n\n const injection = `${hookScript}${registerScript}${cssTag}\\n`;\n let transformed = html.replace(\"</head>\", `${injection}</head>`);\n\n if (transformed === html) {\n transformed = html.replace(\"</body>\", `${injection}</body>`);\n }\n\n if (transformed !== html) {\n if (verbose) {\n // eslint-disable-next-line no-console\n console.log(`[${PLUGIN_NAME}] Injected devtools into HTML`);\n }\n } else if (verbose) {\n // eslint-disable-next-line no-console\n console.log(\n `[${PLUGIN_NAME}] Warning: Could not find </head> or </body> tag for injection`,\n );\n }\n\n return transformed;\n },\n },\n };\n}\n\n// Default export for convenience\nexport default osdkDevTools;\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,OAAO,EAAEC,OAAO,IAAIC,WAAW,QAAQ,WAAW;AAC3D,SAASC,aAAa,QAAQ,UAAU;AAExC,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,8BAA8B,QAAQ,oBAAoB;AAEnE,MAAMC,SAAS,GAAGN,OAAO,CAACG,aAAa,CAACI,MAAM,CAACC,IAAI,CAACC,GAAG,CAAC,CAAC;AACzD,MAAMC,QAAQ,GAAGR,WAAW,CAACI,SAAS,EAAE,eAAe,CAAC;AAsBxD,OAAO,SAASK,YAAYA,CAACC,OAA4B,GAAG,CAAC,CAAC,EAAU;EACtE,MAAM;IACJC,OAAO,GAAGC,OAAO,CAACC,GAAG,CAACC,QAAQ,KAAK,YAAY;IAC/CC,OAAO,GAAG,KAAK;IACfC,SAAS,GAAG;EACd,CAAC,GAAGN,OAAO;EAEX,OAAO;IACLO,IAAI,EAAEf,WAAW;IAEjBgB,OAAO,EAAE,KAAK;IAEdC,KAAKA,CAACC,MAAM,EAAE;MAAEC;IAAQ,CAAC,EAAE;MACzB,IAAID,MAAM,CAACE,IAAI,KAAK,YAAY,EAAE;QAChC,OAAO,KAAK;MACd;MAEA,IAAIV,OAAO,CAACC,GAAG,CAACU,MAAM,EAAE;QACtB,OAAO,KAAK;MACd;MAEA,IAAI,CAACZ,OAAO,EAAE;QACZ,OAAO,KAAK;MACd;MAEA,OAAOU,OAAO,KAAK,OAAO;IAC5B,CAAC;IAEDG,kBAAkB,EAAE;MAClBC,KAAK,EAAE,KAAK;MAEZC,OAAOA,CAACC,IAAI,EAAE;QACZ,IAAI,CAAChB,OAAO,EAAE,OAAOgB,IAAI;QAEzB,MAAMC,UAAU,GAAGzB,8BAA8B,CAACY,OAAO,CAAC;QAK1D,IAAIc,MAAM,GAAG,EAAE;QACf,IAAIb,SAAS,EAAE;UACba,MAAM,GAAG,wCAAwCrB,QAAQ,MAAM;QACjE;QAEA,MAAMsB,SAAS,GAAG,GAAGF,UAAU,GAP7B,mEAAmE,GAOlBC,MAAM,IAAI;QAC7D,IAAIE,WAAW,GAAGJ,IAAI,CAACK,OAAO,CAAC,SAAS,EAAE,GAAGF,SAAS,SAAS,CAAC;QAEhE,IAAIC,WAAW,KAAKJ,IAAI,EAAE;UACxBI,WAAW,GAAGJ,IAAI,CAACK,OAAO,CAAC,SAAS,EAAE,GAAGF,SAAS,SAAS,CAAC;QAC9D;QAEA,IAAIC,WAAW,KAAKJ,IAAI,EAAE;UACxB,IAAIZ,OAAO,EAAE;YACX;YACAkB,OAAO,CAACC,GAAG,CAAC,IAAIhC,WAAW,+BAA+B,CAAC;UAC7D;QACF,CAAC,MAAM,IAAIa,OAAO,EAAE;UAClB;UACAkB,OAAO,CAACC,GAAG,CACT,IAAIhC,WAAW,gEACjB,CAAC;QACH;QAEA,OAAO6B,WAAW;MACpB;IACF;EACF,CAAC;AACH;;AAEA;AACA,eAAetB,YAAY","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cAAc,eAAe,OAAQ;AAErC,cAAc,oBAAoB,yBAA0B;AAE5D,OAAO,cAAMA,iBAAiB,QAAQ","names":["DevToolsContext: Context<MonitorStore | null>"],"sources":["../../src/DevToolsContext.ts"],"version":3,"file":"DevToolsContext.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAC1B,cAAc,uBAAuB,mBAAoB;AAOzD,iBAAiB,mBAAmB;CAClC,SAAS;AACV;AAED,OAAO,cAAMA,eAAe,MAAM,GAAG","names":["ActionMetrics: React.FC<ActionMetricsProps>"],"sources":["../../../src/components/ActionMetrics.tsx"],"version":3,"file":"ActionMetrics.d.ts"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ComputeStore } from "../store/ComputeStore.js";
|
|
3
|
+
interface BubbleChartProps {
|
|
4
|
+
computeStore: ComputeStore;
|
|
5
|
+
fillHeight: boolean;
|
|
6
|
+
selectedIds: string[];
|
|
7
|
+
onSelectRequest: (id: string | undefined) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const BubbleChart: React.FC<BubbleChartProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAsBA,OAAO,WAAW,OAAQ;AAO1B,cAAc,oBAAoB,0BAA2B;UA+BnD,iBAAiB;CACzB,cAAc;CACd;CACA;CACA,kBAAkBA;AACnB;AAED,OAAO,cAAMC,aAAa,MAAM,GAAG","names":["id: string | undefined","BubbleChart: React.FC<BubbleChartProps>"],"sources":["../../../src/components/BubbleChart.tsx"],"version":3,"file":"BubbleChart.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AA2BA,OAAO,WAAkC,OAAQ;AAEjD,cAAc,oBAAoB,0BAA2B;AAkD7D,iBAAiB,uBAAuB;CACtC,cAAc;AACf;AAgBD,OAAO,cAAMA,mBAAmB,MAAM,GAAG","names":["CacheInspectorTab: React.FC<CacheInspectorTabProps>"],"sources":["../../../src/components/CacheInspectorTab.tsx"],"version":3,"file":"CacheInspectorTab.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAC1B,cAAc,uBAAuB,mBAAoB;AAOzD,iBAAiB,kBAAkB;CACjC,SAAS;AACV;AAED,OAAO,cAAMA,cAAc,MAAM,GAAG","names":["CacheMetrics: React.FC<CacheMetricsProps>"],"sources":["../../../src/components/CacheMetrics.tsx"],"version":3,"file":"CacheMetrics.d.ts"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { MonitorStore } from "../store/MonitorStore.js";
|
|
3
|
+
import type { ComponentHookBinding } from "../utils/ComponentQueryRegistry.js";
|
|
4
|
+
import type { Issue } from "./issueTypes.js";
|
|
5
|
+
export interface ComponentCardProps {
|
|
6
|
+
componentId: string;
|
|
7
|
+
bindings: ComponentHookBinding[];
|
|
8
|
+
formatTime?: (ms: number) => string;
|
|
9
|
+
monitorStore?: MonitorStore;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
issues?: Issue[];
|
|
12
|
+
}
|
|
13
|
+
export declare const ComponentCard: React.FC<ComponentCardProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAyB,OAAQ;AACxC,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,4BAA4B,oCAAqC;AAG/E,cAAc,aAAa,iBAAkB;AAG7C,iBAAiB,mBAAmB;CAClC;CACA,UAAU;CACV,cAAcA;CACd,eAAe;CACf,QAAQ,MAAM;CACd,SAAS;AACV;AAED,OAAO,cAAMC,eAAe,MAAM,GAAG","names":["ms: number","ComponentCard: React.FC<ComponentCardProps>"],"sources":["../../../src/components/ComponentCard.tsx"],"version":3,"file":"ComponentCard.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAwB,OAAQ;AAOvC,cAAc,oBAAoB,0BAA2B;AAM7D,iBAAiB,gBAAgB;CAC/B,cAAc;AACf;AAED,OAAO,cAAMA,YAAY,MAAM,GAAG","names":["ComputeTab: React.FC<ComputeTabProps>"],"sources":["../../../src/components/ComputeTab.tsx"],"version":3,"file":"ComputeTab.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAA8C,OAAQ;UAGnD,uBAAuB;CAC/B,UAAU,MAAM;CAChB;AACD;AAED,OAAO,cAAMA,mBAAmB,MAAM,GAAG","names":["CopyableCodeBlock: React.FC<CopyableCodeBlockProps>"],"sources":["../../../src/components/CopyableCodeBlock.tsx"],"version":3,"file":"CopyableCodeBlock.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAuD,OAAQ;AAItE,cAAc,oBAAoB,0BAA2B;AAY7D,iBAAiB,kBAAkB;CACjC,cAAc;AACf;AAqJD,OAAO,cAAMA,cAAc,MAAM,GAAG","names":["DebuggingTab: React.FC<DebuggingTabProps>"],"sources":["../../../src/components/DebuggingTab.tsx"],"version":3,"file":"DebuggingTab.d.ts"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { MonitorStore } from "../store/MonitorStore.js";
|
|
3
|
+
import type { ComponentHookBinding } from "../utils/ComponentQueryRegistry.js";
|
|
4
|
+
export interface HookRowProps {
|
|
5
|
+
binding: ComponentHookBinding;
|
|
6
|
+
formatTime?: (ms: number) => string;
|
|
7
|
+
monitorStore?: MonitorStore;
|
|
8
|
+
}
|
|
9
|
+
export declare const HookRow: React.FC<HookRowProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAwB,OAAQ;AAEvC,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,4BAA4B,oCAAqC;AA6C/E,iBAAiB,aAAa;CAC5B,SAAS;CACT,cAAcA;CACd,eAAe;AAChB;AASD,OAAO,cAAMC,SAAS,MAAM,GAAG","names":["ms: number","HookRow: React.FC<HookRowProps>"],"sources":["../../../src/components/HookRow.tsx"],"version":3,"file":"HookRow.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAyB,OAAQ;AAExC,cAAc,oBAAoB,0BAA2B;UAInD,qBAAqB;CAC7B,cAAc;AACf;AAED,OAAO,cAAMA,iBAAiB,MAAM,GAAG","names":["ImprovementsTab: React.FC<ImprovementsTabProps>"],"sources":["../../../src/components/ImprovementsTab.tsx"],"version":3,"file":"ImprovementsTab.d.ts"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface InspectorSelectionHeaderProps {
|
|
3
|
+
error: string | null;
|
|
4
|
+
onDismissError: () => void;
|
|
5
|
+
isSelectionActive: boolean;
|
|
6
|
+
onActivateSelection: () => void;
|
|
7
|
+
infoText: React.ReactNode;
|
|
8
|
+
activeWarningText: string;
|
|
9
|
+
buttonLabel: string;
|
|
10
|
+
showHelpTooltip?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const InspectorSelectionHeader: React.FC<InspectorSelectionHeaderProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAG1B,iBAAiB,8BAA8B;CAC7C;CACA;CACA;CACA;CACA,UAAU,MAAM;CAChB;CACA;CACA;AACD;AAED,OAAO,cAAMA,0BAA0B,MAAM,GAC3C","names":["InspectorSelectionHeader: React.FC<\n InspectorSelectionHeaderProps\n>"],"sources":["../../../src/components/InspectorSelectionHeader.tsx"],"version":3,"file":"InspectorSelectionHeader.d.ts"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { MockResponse } from "../mocking/MockManager.js";
|
|
3
|
+
import type { PrototypeOverride, PrototypeOverrideParams } from "../prototyping/PrototypeOverrideStore.js";
|
|
4
|
+
import type { MonitorStore } from "../store/MonitorStore.js";
|
|
5
|
+
import type { SelectedPrimitive } from "./PrimitiveSelectionPanel.js";
|
|
6
|
+
export interface MockConfiguration {
|
|
7
|
+
primitive: SelectedPrimitive;
|
|
8
|
+
mockType: "static" | "function" | "passthrough";
|
|
9
|
+
responseType: "success" | "error";
|
|
10
|
+
usePayload?: boolean;
|
|
11
|
+
payload?: string;
|
|
12
|
+
useResponse?: boolean;
|
|
13
|
+
staticData?: string;
|
|
14
|
+
functionCode?: string;
|
|
15
|
+
errorMessage?: string;
|
|
16
|
+
enabled: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface SelectedQuery {
|
|
19
|
+
componentId: string;
|
|
20
|
+
componentName: string;
|
|
21
|
+
objectType: string;
|
|
22
|
+
hookType: string;
|
|
23
|
+
hookIndex: number;
|
|
24
|
+
originalParams: PrototypeOverrideParams;
|
|
25
|
+
querySignature: string;
|
|
26
|
+
isAggregation?: boolean;
|
|
27
|
+
}
|
|
28
|
+
type MockWithConfig = MockResponse & {
|
|
29
|
+
config: MockConfiguration
|
|
30
|
+
};
|
|
31
|
+
export type InterceptAction = {
|
|
32
|
+
type: "SET_SELECTED_PRIMITIVE"
|
|
33
|
+
primitive: SelectedPrimitive | null
|
|
34
|
+
} | {
|
|
35
|
+
type: "SET_MOCKS"
|
|
36
|
+
mocks: Array<MockWithConfig>
|
|
37
|
+
} | {
|
|
38
|
+
type: "UPDATE_MOCKS"
|
|
39
|
+
updater: (prev: Array<MockWithConfig>) => Array<MockWithConfig>
|
|
40
|
+
} | {
|
|
41
|
+
type: "SET_EDITING_MOCK"
|
|
42
|
+
mock: MockWithConfig | null
|
|
43
|
+
} | {
|
|
44
|
+
type: "SET_MOCK_TYPE"
|
|
45
|
+
mockType: MockConfiguration["mockType"]
|
|
46
|
+
} | {
|
|
47
|
+
type: "SET_RESPONSE_TYPE"
|
|
48
|
+
responseType: MockConfiguration["responseType"]
|
|
49
|
+
} | {
|
|
50
|
+
type: "SET_USE_PAYLOAD"
|
|
51
|
+
usePayload: boolean
|
|
52
|
+
} | {
|
|
53
|
+
type: "SET_MOCK_PAYLOAD"
|
|
54
|
+
mockPayload: string
|
|
55
|
+
} | {
|
|
56
|
+
type: "SET_USE_RESPONSE"
|
|
57
|
+
useResponse: boolean
|
|
58
|
+
} | {
|
|
59
|
+
type: "SET_STATIC_DATA"
|
|
60
|
+
staticData: string
|
|
61
|
+
} | {
|
|
62
|
+
type: "SET_FUNCTION_CODE"
|
|
63
|
+
functionCode: string
|
|
64
|
+
} | {
|
|
65
|
+
type: "SET_ERROR_MESSAGE"
|
|
66
|
+
errorMessage: string
|
|
67
|
+
} | {
|
|
68
|
+
type: "SET_SELECTED_QUERY"
|
|
69
|
+
query: SelectedQuery | null
|
|
70
|
+
} | {
|
|
71
|
+
type: "SET_ACTIVE_OVERRIDES"
|
|
72
|
+
overrides: PrototypeOverride[]
|
|
73
|
+
} | {
|
|
74
|
+
type: "SET_WHERE_CLAUSE_TEXT"
|
|
75
|
+
text: string
|
|
76
|
+
} | {
|
|
77
|
+
type: "SET_ORDER_BY_TEXT"
|
|
78
|
+
text: string
|
|
79
|
+
} | {
|
|
80
|
+
type: "SET_PAGE_SIZE"
|
|
81
|
+
pageSize: number | undefined
|
|
82
|
+
} | {
|
|
83
|
+
type: "SET_GROUP_BY_TEXT"
|
|
84
|
+
text: string
|
|
85
|
+
} | {
|
|
86
|
+
type: "SET_SELECT_TEXT"
|
|
87
|
+
text: string
|
|
88
|
+
} | {
|
|
89
|
+
type: "SET_CHOOSING_PRIMITIVE"
|
|
90
|
+
primitive: SelectedPrimitive | null
|
|
91
|
+
} | {
|
|
92
|
+
type: "SET_ERROR"
|
|
93
|
+
error: string | null
|
|
94
|
+
} | {
|
|
95
|
+
type: "HYDRATE_OVERRIDE_FORM"
|
|
96
|
+
params: HydrateOverrideFormParams
|
|
97
|
+
} | {
|
|
98
|
+
type: "INIT_MOCK_FORM_FROM_CONFIG"
|
|
99
|
+
config: MockConfiguration
|
|
100
|
+
} | {
|
|
101
|
+
type: "INIT_MOCK_FORM_FROM_PRIMITIVE"
|
|
102
|
+
primitive: SelectedPrimitive
|
|
103
|
+
} | {
|
|
104
|
+
type: "SELECT_PRIMITIVE_FOR_MOCK"
|
|
105
|
+
primitive: SelectedPrimitive
|
|
106
|
+
} | {
|
|
107
|
+
type: "CANCEL_MOCK_EDITOR"
|
|
108
|
+
} | {
|
|
109
|
+
type: "CLEAR_SELECTION"
|
|
110
|
+
} | {
|
|
111
|
+
type: "SAVE_MOCK_DONE"
|
|
112
|
+
};
|
|
113
|
+
interface HydrateOverrideFormParams {
|
|
114
|
+
isAggregation: boolean;
|
|
115
|
+
where?: unknown;
|
|
116
|
+
orderBy?: unknown;
|
|
117
|
+
pageSize?: number;
|
|
118
|
+
groupBy?: unknown;
|
|
119
|
+
select?: unknown;
|
|
120
|
+
}
|
|
121
|
+
export interface InterceptTabProps {
|
|
122
|
+
monitorStore: MonitorStore;
|
|
123
|
+
theme?: "light" | "dark";
|
|
124
|
+
}
|
|
125
|
+
export declare const InterceptTab: React.FC<InterceptTabProps>;
|
|
126
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,OAAO,WAAiD,OAAQ;AAGhE,cAAc,oBAAoB,2BAA4B;AAC9D,cACE,mBACA,+BACK,0CAA2C;AAClD,cAAc,oBAAoB,0BAA2B;AAY7D,cAAc,yBAAyB,8BAA+B;AA0CtE,iBAAiB,kBAAkB;CACjC,WAAW;CACX,UAAU,WAAW,aAAa;CAClC,cAAc,YAAY;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;AACD;AAED,iBAAiB,cAAc;CAC7B;CACA;CACA;CACA;CACA;CACA,gBAAgB;CAChB;CACA;AACD;KAEI,iBAAiB,eAAe;CAAE,QAAQ;AAAmB;AA2DlE,YAAY,kBACR;CAAE,MAAM;CAA0B,WAAW;AAA0B,IACvE;CAAE,MAAM;CAAa,OAAO,MAAM;AAAiB,IACnD;CACA,MAAM;CACN,UAAUA,MAAM,MAAM,oBAAoB,MAAM;AACjD,IACC;CAAE,MAAM;CAAoB,MAAM;AAAuB,IACzD;CAAE,MAAM;CAAiB,UAAU,kBAAkB;AAAa,IAClE;CACA,MAAM;CACN,cAAc,kBAAkB;AACjC,IACC;CAAE,MAAM;CAAmB;AAAqB,IAChD;CAAE,MAAM;CAAoB;AAAqB,IACjD;CAAE,MAAM;CAAoB;AAAsB,IAClD;CAAE,MAAM;CAAmB;AAAoB,IAC/C;CAAE,MAAM;CAAqB;AAAsB,IACnD;CAAE,MAAM;CAAqB;AAAsB,IACnD;CAAE,MAAM;CAAsB,OAAO;AAAsB,IAC3D;CAAE,MAAM;CAAwB,WAAW;AAAqB,IAChE;CAAE,MAAM;CAAyB;AAAc,IAC/C;CAAE,MAAM;CAAqB;AAAc,IAC3C;CAAE,MAAM;CAAiB;AAA8B,IACvD;CAAE,MAAM;CAAqB;AAAc,IAC3C;CAAE,MAAM;CAAmB;AAAc,IACzC;CAAE,MAAM;CAA0B,WAAW;AAA0B,IACvE;CAAE,MAAM;CAAa;AAAsB,IAC3C;CAAE,MAAM;CAAyB,QAAQ;AAA2B,IACpE;CAAE,MAAM;CAA8B,QAAQ;AAAmB,IACjE;CAAE,MAAM;CAAiC,WAAW;AAAmB,IACvE;CAAE,MAAM;CAA6B,WAAW;AAAmB,IACnE;CAAE,MAAM;AAAsB,IAC9B;CAAE,MAAM;AAAmB,IAC3B;CAAE,MAAM;AAAkB;UAEpB,0BAA0B;CAClC;CACA;CACA;CACA;CACA;CACA;AACD;AAqID,iBAAiB,kBAAkB;CACjC,cAAc;CACd,QAAQ,UAAU;AACnB;AAED,OAAO,cAAMC,cAAc,MAAM,GAAG","names":["prev: Array<MockWithConfig>","InterceptTab: React.FC<InterceptTabProps>"],"sources":["../../../src/components/InterceptTab.tsx"],"version":3,"file":"InterceptTab.d.ts"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { Issue } from "./issueTypes.js";
|
|
3
|
+
export interface IssueCardProps {
|
|
4
|
+
issue: Issue;
|
|
5
|
+
onComponentClick?: (componentId: string) => void;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
}
|
|
8
|
+
export declare const IssueCard: React.FC<IssueCardProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAyB,OAAQ;AAIxC,cAAc,aAAa,iBAAkB;AAE7C,iBAAiB,eAAe;CAC9B,OAAO;CACP,oBAAoBA;CACpB,QAAQ,MAAM;AACf;AAoBD,OAAO,cAAMC,WAAW,MAAM,GAAG","names":["componentId: string","IssueCard: React.FC<IssueCardProps>"],"sources":["../../../src/components/IssueCard.tsx"],"version":3,"file":"IssueCard.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAyB,OAAQ;AACxC,cAAc,uBAAuB,6BAA8B;AAInE,iBAAiB,kBAAkB;CACjC,OAAO;CACP,QAAQ,MAAM;AACf;AAqCD,OAAO,cAAMA,cAAc,MAAM,GAAG","names":["LogEntryCard: React.FC<LogEntryCardProps>"],"sources":["../../../src/components/LogEntryCard.tsx"],"version":3,"file":"LogEntryCard.d.ts"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { MockResponse } from "../mocking/MockManager.js";
|
|
3
|
+
import type { InterceptAction, MockConfiguration } from "./InterceptTab.js";
|
|
4
|
+
import type { SelectedPrimitive } from "./PrimitiveSelectionPanel.js";
|
|
5
|
+
type MockWithConfig = MockResponse & {
|
|
6
|
+
config: MockConfiguration
|
|
7
|
+
};
|
|
8
|
+
interface MockEditorProps {
|
|
9
|
+
selectedPrimitive: SelectedPrimitive;
|
|
10
|
+
editingMock: MockWithConfig | null;
|
|
11
|
+
mockType: MockConfiguration["mockType"];
|
|
12
|
+
responseType: MockConfiguration["responseType"];
|
|
13
|
+
usePayload: boolean;
|
|
14
|
+
mockPayload: string;
|
|
15
|
+
useResponse: boolean;
|
|
16
|
+
staticData: string;
|
|
17
|
+
functionCode: string;
|
|
18
|
+
errorMessage: string;
|
|
19
|
+
dispatch: React.Dispatch<InterceptAction>;
|
|
20
|
+
mockPrimitiveInfo: ReturnType<typeof getMockPrimitiveInfo> | null;
|
|
21
|
+
onSaveMock: () => void;
|
|
22
|
+
onCancel: () => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const MockEditor: React.FC<MockEditorProps>;
|
|
25
|
+
export declare function getMockPrimitiveInfo(primitive: SelectedPrimitive): {
|
|
26
|
+
title: string
|
|
27
|
+
subtitle: string
|
|
28
|
+
icon: "flash" | "th-list" | "cube" | "link" | "database" | "grouped-bar-chart"
|
|
29
|
+
signature: string | undefined
|
|
30
|
+
};
|
|
31
|
+
export declare function createMatcherFromPrimitive(primitive: SelectedPrimitive): {
|
|
32
|
+
actionName?: string
|
|
33
|
+
objectType?: string
|
|
34
|
+
whereClause?: Record<string, unknown>
|
|
35
|
+
primaryKey?: string
|
|
36
|
+
linkName?: string
|
|
37
|
+
};
|
|
38
|
+
export declare function createResponseFromConfig(primitive: SelectedPrimitive, mockData: unknown): {
|
|
39
|
+
type: "action"
|
|
40
|
+
result: unknown
|
|
41
|
+
} | {
|
|
42
|
+
type: "list"
|
|
43
|
+
list: unknown[]
|
|
44
|
+
hasMore: boolean
|
|
45
|
+
} | {
|
|
46
|
+
type: "object"
|
|
47
|
+
object: unknown
|
|
48
|
+
};
|
|
49
|
+
export interface MockItemProps {
|
|
50
|
+
mock: MockResponse & {
|
|
51
|
+
config: MockConfiguration
|
|
52
|
+
};
|
|
53
|
+
onToggle: () => void;
|
|
54
|
+
onDelete: () => void;
|
|
55
|
+
onEdit: () => void;
|
|
56
|
+
}
|
|
57
|
+
export declare const MockItem: React.FC<MockItemProps>;
|
|
58
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AA2BA,OAAO,WAAW,OAAQ;AAC1B,cAAc,oBAAoB,2BAA4B;AAC9D,cAAc,iBAAiB,yBAAyB,mBAAoB;AAE5E,cAAc,yBAAyB,8BAA+B;KAEjE,iBAAiB,eAAe;CAAE,QAAQ;AAAmB;UAExD,gBAAgB;CACxB,mBAAmB;CACnB,aAAa;CACb,UAAU,kBAAkB;CAC5B,cAAc,kBAAkB;CAChC;CACA;CACA;CACA;CACA;CACA;CACA,UAAU,MAAM,SAAS;CACzB,mBAAmB,kBAAkB;CACrC;CACA;AACD;AAED,OAAO,cAAMA,YAAY,MAAM,GAAG;AA8MlC,OAAO,iBAAS,qBAAqBC,WAAW,oBAAoB;CAClE;CACA;CACA,MACI,UACA,YACA,SACA,SACA,aACA;CACJ;AACD;AAiDD,OAAO,iBAAS,2BAA2BA,WAAW,oBAAoB;CACxE;CACA;CACA,cAAc;CACd;CACA;AACD;AA6BD,OAAO,iBAAS,yBACdA,WAAW,mBACXC,oBACC;CACD,MAAM;CACN;AACD,IAAG;CACF,MAAM;CACN;CACA;AACD,IAAG;CACF,MAAM;CACN;AACD;AAiBD,iBAAiB,cAAc;CAC7B,MAAM,eAAe;EAAE,QAAQ;CAAmB;CAClD;CACA;CACA;AACD;AAED,OAAO,cAAMC,UAAU,MAAM,GAAG","names":["MockEditor: React.FC<MockEditorProps>","primitive: SelectedPrimitive","mockData: unknown","MockItem: React.FC<MockItemProps>"],"sources":["../../../src/components/MockEditor.tsx"],"version":3,"file":"MockEditor.d.ts"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface MonitorErrorBoundaryProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
onError?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
5
|
+
}
|
|
6
|
+
interface MonitorErrorBoundaryState {
|
|
7
|
+
hasError: boolean;
|
|
8
|
+
error: Error | null;
|
|
9
|
+
}
|
|
10
|
+
export declare class MonitorErrorBoundary extends React.Component<MonitorErrorBoundaryProps, MonitorErrorBoundaryState> {
|
|
11
|
+
constructor(props: MonitorErrorBoundaryProps);
|
|
12
|
+
static getDerivedStateFromError(error: Error): MonitorErrorBoundaryState;
|
|
13
|
+
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
14
|
+
render(): React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,OAAO,WAAW,OAAQ;AAG1B,iBAAiB,0BAA0B;CACzC,UAAU,MAAM;CAChB,WAAWA,OAAO,OAAOC,WAAW,MAAM;AAC3C;UAES,0BAA0B;CAClC;CACA,OAAO;AACR;AAED,OAAO,cAAM,6BAA6B,MAAM,UAC9C,2BACA,2BACA;CACA,YAAYC,OAAO;CAKnB,OAAO,yBAAyBF,OAAO,QAAQ;CAI/C,kBAAkBA,OAAO,OAAOC,WAAW,MAAM;CAQjD,UAAU,MAAM;AA+BjB","names":["error: Error","errorInfo: React.ErrorInfo","props: MonitorErrorBoundaryProps"],"sources":["../../../src/components/MonitorErrorBoundary.tsx"],"version":3,"file":"MonitorErrorBoundary.d.ts"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { MonitorStore } from "../store/MonitorStore.js";
|
|
3
|
+
export interface MonitoringPanelProps {
|
|
4
|
+
/** The MonitorStore instance that provides all metrics, compute, and component tracking data. */
|
|
5
|
+
monitorStore: MonitorStore;
|
|
6
|
+
}
|
|
7
|
+
export declare const MonitoringPanel: React.FC<MonitoringPanelProps>;
|
|
8
|
+
export declare const SafeMonitoringPanel: React.FC<MonitoringPanelProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAuD,OAAQ;AAQtE,cAAc,oBAAoB,0BAA2B;AA6D7D,iBAAiB,qBAAqB;;CAEpC,cAAc;AACf;AAED,OAAO,cAAMA,iBAAiB,MAAM,GAAG;AAmevC,OAAO,cAAMC,qBAAqB,MAAM,GAAG","names":["MonitoringPanel: React.FC<MonitoringPanelProps>","SafeMonitoringPanel: React.FC<MonitoringPanelProps>"],"sources":["../../../src/components/MonitoringPanel.tsx"],"version":3,"file":"MonitoringPanel.d.ts"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { UnusedFieldReport } from "../utils/UnusedFieldAnalyzer.js";
|
|
3
|
+
export interface ObjectLoadingMetricsProps {
|
|
4
|
+
analysisLoading: boolean;
|
|
5
|
+
unusedFieldReport: UnusedFieldReport | null;
|
|
6
|
+
}
|
|
7
|
+
export declare const ObjectLoadingMetrics: React.FC<ObjectLoadingMetricsProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAE1B,cAAc,yBAAyB,iCAAkC;AAGzE,iBAAiB,0BAA0B;CACzC;CACA,mBAAmB;AACpB;AAED,OAAO,cAAMA,sBAAsB,MAAM,GAAG","names":["ObjectLoadingMetrics: React.FC<ObjectLoadingMetricsProps>"],"sources":["../../../src/components/ObjectLoadingMetrics.tsx"],"version":3,"file":"ObjectLoadingMetrics.d.ts"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { MonitorStore } from "../store/MonitorStore.js";
|
|
3
|
+
export interface OsdkAppErrorBoundaryProps {
|
|
4
|
+
monitorStore: MonitorStore;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
fallback?: React.ReactNode | ((error: Error, reset: () => void) => React.ReactNode);
|
|
7
|
+
}
|
|
8
|
+
interface OsdkAppErrorBoundaryState {
|
|
9
|
+
error: Error | null;
|
|
10
|
+
}
|
|
11
|
+
export declare class OsdkAppErrorBoundary extends React.Component<OsdkAppErrorBoundaryProps, OsdkAppErrorBoundaryState> {
|
|
12
|
+
constructor(props: OsdkAppErrorBoundaryProps);
|
|
13
|
+
static getDerivedStateFromError(error: Error): OsdkAppErrorBoundaryState;
|
|
14
|
+
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
15
|
+
reset: () => void;
|
|
16
|
+
render(): React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAqBA,OAAO,WAAW,OAAQ;AAC1B,cAAc,oBAAoB,0BAA2B;AAE7D,iBAAiB,0BAA0B;CACzC,cAAc;CACd,UAAU,MAAM;CAChB,WACI,MAAM,cACJA,OAAO,OAAOC,sBAAsB,MAAM;AACjD;UAES,0BAA0B;CAClC,OAAO;AACR;AAED,OAAO,cAAM,6BAA6B,MAAM,UAC9C,2BACA,2BACA;CACA,YAAYC,OAAO;CAKnB,OAAO,yBAAyBF,OAAO,QAAQ;CAI/C,kBAAkBA,OAAO,OAAOG,WAAW,MAAM;CAOjD;CAIA,UAAU,MAAM;AAsBjB","names":["error: Error","reset: () => void","props: OsdkAppErrorBoundaryProps","errorInfo: React.ErrorInfo"],"sources":["../../../src/components/OsdkAppErrorBoundary.tsx"],"version":3,"file":"OsdkAppErrorBoundary.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,OAAO,WAA2B,OAAQ;AAyB1C,OAAO,iBAAS,gBAAgB,MAAM","names":[],"sources":["../../../src/components/OsdkDevTools.tsx"],"version":3,"file":"OsdkDevTools.d.ts"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ReactCodeMirrorProps } from "@uiw/react-codemirror";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import type { PrototypeOverride } from "../prototyping/PrototypeOverrideStore.js";
|
|
4
|
+
import type { InterceptAction, SelectedQuery } from "./InterceptTab.js";
|
|
5
|
+
interface OverrideEditorProps {
|
|
6
|
+
selectedQuery: SelectedQuery;
|
|
7
|
+
whereClauseText: string;
|
|
8
|
+
orderByText: string;
|
|
9
|
+
pageSize: number | undefined;
|
|
10
|
+
groupByText: string;
|
|
11
|
+
selectText: string;
|
|
12
|
+
jsonExtensions: ReactCodeMirrorProps["extensions"];
|
|
13
|
+
theme: "light" | "dark";
|
|
14
|
+
dispatch: React.Dispatch<InterceptAction>;
|
|
15
|
+
onApplyOverride: () => void;
|
|
16
|
+
onClearSelection: () => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const OverrideEditor: React.FC<OverrideEditorProps>;
|
|
19
|
+
export interface OverrideItemProps {
|
|
20
|
+
override: PrototypeOverride;
|
|
21
|
+
onToggle: () => void;
|
|
22
|
+
onRemove: () => void;
|
|
23
|
+
onEdit: () => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const OverrideItem: React.FC<OverrideItemProps>;
|
|
26
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,cAAc,4BAA4B,uBAAwB;AAClE,OAAO,WAAyB,OAAQ;AACxC,cAAc,yBAAyB,0CAA2C;AAClF,cAAc,iBAAiB,qBAAqB,mBAAoB;UAS9D,oBAAoB;CAC5B,eAAe;CACf;CACA;CACA;CACA;CACA;CACA,gBAAgB,qBAAqB;CACrC,OAAO,UAAU;CACjB,UAAU,MAAM,SAAS;CACzB;CACA;AACD;AAED,OAAO,cAAMA,gBAAgB,MAAM,GAAG;AAuItC,iBAAiB,kBAAkB;CACjC,UAAU;CACV;CACA;CACA;AACD;AAED,OAAO,cAAMC,cAAc,MAAM,GAAG","names":["OverrideEditor: React.FC<OverrideEditorProps>","OverrideItem: React.FC<OverrideItemProps>"],"sources":["../../../src/components/OverrideEditor.tsx"],"version":3,"file":"OverrideEditor.d.ts"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { MetricsStore } from "../store/MetricsStore.js";
|
|
3
|
+
import type { MonitorStore } from "../store/MonitorStore.js";
|
|
4
|
+
export interface PerformanceTabProps {
|
|
5
|
+
metricsStore: MetricsStore;
|
|
6
|
+
monitorStore: MonitorStore;
|
|
7
|
+
}
|
|
8
|
+
export declare const PerformanceTab: React.FC<PerformanceTabProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAkBA,OAAO,WAAkC,OAAQ;AAKjD,cAAc,oBAAoB,0BAA2B;AAC7D,cAAc,oBAAoB,0BAA2B;AA6B7D,iBAAiB,oBAAoB;CACnC,cAAc;CACd,cAAc;AACf;AAED,OAAO,cAAMA,gBAAgB,MAAM,GAAG","names":["PerformanceTab: React.FC<PerformanceTabProps>"],"sources":["../../../src/components/PerformanceTab.tsx"],"version":3,"file":"PerformanceTab.d.ts"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { DiscoveredAction, DiscoveredAggregation, DiscoveredLink, DiscoveredObject, DiscoveredObjectSet, DiscoveredPrimitives, DiscoveredQuery } from "../utils/ComponentPrimitiveDiscovery.js";
|
|
3
|
+
export type PrimitiveType = "action" | "objectSet" | "object" | "link" | "query" | "aggregation";
|
|
4
|
+
export type SelectedPrimitive = {
|
|
5
|
+
type: "action"
|
|
6
|
+
data: DiscoveredAction
|
|
7
|
+
} | {
|
|
8
|
+
type: "objectSet"
|
|
9
|
+
data: DiscoveredObjectSet
|
|
10
|
+
} | {
|
|
11
|
+
type: "object"
|
|
12
|
+
data: DiscoveredObject
|
|
13
|
+
} | {
|
|
14
|
+
type: "link"
|
|
15
|
+
data: DiscoveredLink
|
|
16
|
+
} | {
|
|
17
|
+
type: "query"
|
|
18
|
+
data: DiscoveredQuery
|
|
19
|
+
} | {
|
|
20
|
+
type: "aggregation"
|
|
21
|
+
data: DiscoveredAggregation
|
|
22
|
+
};
|
|
23
|
+
export interface PrimitiveSelectionPanelProps {
|
|
24
|
+
primitives: DiscoveredPrimitives;
|
|
25
|
+
onSelectPrimitive: (primitive: SelectedPrimitive) => void;
|
|
26
|
+
onClose: () => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const PrimitiveSelectionPanel: React.FC<PrimitiveSelectionPanelProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,OAAO,WAAyB,OAAQ;AACxC,cACE,kBACA,uBACA,gBACA,kBACA,qBACA,sBACA,uBACK,yCAA0C;AAGjD,YAAY,gBACR,WACA,cACA,WACA,SACA,UACA;AAEJ,YAAY,oBACR;CAAE,MAAM;CAAU,MAAM;AAAkB,IAC1C;CAAE,MAAM;CAAa,MAAM;AAAqB,IAChD;CAAE,MAAM;CAAU,MAAM;AAAkB,IAC1C;CAAE,MAAM;CAAQ,MAAM;AAAgB,IACtC;CAAE,MAAM;CAAS,MAAM;AAAiB,IACxC;CAAE,MAAM;CAAe,MAAM;AAAuB;AAExD,iBAAiB,6BAA6B;CAC5C,YAAY;CACZ,oBAAoBA,WAAW;CAC/B;AACD;AAED,OAAO,cAAMC,yBAAyB,MAAM,GAAG","names":["primitive: SelectedPrimitive","PrimitiveSelectionPanel: React.FC<PrimitiveSelectionPanelProps>"],"sources":["../../../src/components/PrimitiveSelectionPanel.tsx"],"version":3,"file":"PrimitiveSelectionPanel.d.ts"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface Issue {
|
|
2
|
+
id: string;
|
|
3
|
+
severity: "error" | "warning" | "info";
|
|
4
|
+
category: string;
|
|
5
|
+
title: string;
|
|
6
|
+
message: string;
|
|
7
|
+
suggestion?: string;
|
|
8
|
+
componentId?: string;
|
|
9
|
+
componentName?: string;
|
|
10
|
+
timestamp: number;
|
|
11
|
+
expandable?: {
|
|
12
|
+
stack?: string
|
|
13
|
+
detailsJson?: string
|
|
14
|
+
code?: string
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,iBAAiB,MAAM;CACrB;CACA,UAAU,UAAU,YAAY;CAChC;CACA;CACA;CACA;CACA;CACA;CACA;CACA,aAAa;EACX;EACA;EACA;CACD;AACF","names":[],"sources":["../../../src/components/issueTypes.ts"],"version":3,"file":"issueTypes.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAgBA,cAAc,4BAA4B,oCAAqC;AAE/E,OAAO,iBAAS,oBACdA,UAAU;AAyCZ,OAAO,iBAAS,qBACdA,UAAU","names":["bindings: ComponentHookBinding[]"],"sources":["../../../src/components/resolveComponentName.ts"],"version":3,"file":"resolveComponentName.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,cAAc,oBAAoB,0BAA2B;AA0I7D,OAAO,iBAAS,0BAA0B","names":[],"sources":["../../../src/components/testHelpers.ts"],"version":3,"file":"testHelpers.d.ts"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"eAgBe,QAAQ;CACrB,MAAMA;AACN,gBAAe;AAChB","names":["content: string"],"sources":["../../src/css.d.ts"],"version":3,"file":"css.d.d.ts"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { type FiberCapabilities } from "./capabilities.js";
|
|
3
|
+
export interface DegradationNoticeProps {
|
|
4
|
+
onRetry?: () => void;
|
|
5
|
+
showWhenHealthy?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const DegradationNotice: React.FC<DegradationNoticeProps>;
|
|
8
|
+
export declare function useFiberCapabilities(): FiberCapabilities;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAiBA,OAAO,WAAW,OAAQ;AAC1B,cACO,yBAGA,mBAAoB;AAsB3B,iBAAiB,uBAAuB;CACtC;CACA;AACD;AAyBD,OAAO,cAAMA,mBAAmB,MAAM,GAAG;AA8KzC,OAAO,iBAAS,wBAAwB","names":["DegradationNotice: React.FC<DegradationNoticeProps>"],"sources":["../../../src/fiber/DegradationNotice.tsx"],"version":3,"file":"DegradationNotice.d.ts"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { FiberRoot, ReactRenderer } from "./types.js";
|
|
2
|
+
export declare function safelyInstallDevToolsHook(): void;
|
|
3
|
+
export declare function isReactDetected(): boolean;
|
|
4
|
+
export declare function getRenderers(): Map<number, ReactRenderer>;
|
|
5
|
+
export declare function getAllFiberRoots(): FiberRoot[];
|
|
6
|
+
export declare function onReactDetected(callback: () => void): () => void;
|
|
7
|
+
export declare function onCommitFiberRoot(handler: (rendererID: number, root: FiberRoot, priority: number | undefined) => void): () => void;
|