react-native-debug-toolkit 2.1.0 → 2.2.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/README.md +54 -92
- package/README.zh-CN.md +50 -88
- package/lib/commonjs/core/DebugToolkit.js +33 -11
- package/lib/commonjs/core/DebugToolkit.js.map +1 -1
- package/lib/commonjs/core/DebugToolkitProvider.js +18 -12
- package/lib/commonjs/core/DebugToolkitProvider.js.map +1 -1
- package/lib/commonjs/{initialize.js → core/initialize.js} +17 -17
- package/lib/commonjs/core/initialize.js.map +1 -0
- package/lib/commonjs/{components → features/clipboard}/ClipboardTab.js +2 -2
- package/lib/commonjs/features/clipboard/ClipboardTab.js.map +1 -0
- package/lib/commonjs/features/{ClipboardFeature.js → clipboard/index.js} +3 -3
- package/lib/commonjs/features/clipboard/index.js.map +1 -0
- package/lib/commonjs/{components → features/console}/ConsoleLogTab.js +9 -9
- package/lib/commonjs/features/console/ConsoleLogTab.js.map +1 -0
- package/lib/commonjs/features/{ConsoleLogFeature.js → console/index.js} +10 -7
- package/lib/commonjs/features/console/index.js.map +1 -0
- package/lib/commonjs/{components → features/environment}/EnvironmentTab.js +3 -3
- package/lib/commonjs/features/environment/EnvironmentTab.js.map +1 -0
- package/lib/commonjs/features/{EnvironmentFeature.js → environment/index.js} +18 -13
- package/lib/commonjs/features/environment/index.js.map +1 -0
- package/lib/commonjs/{components → features/navigation}/NavigationLogTab.js +4 -3
- package/lib/commonjs/features/navigation/NavigationLogTab.js.map +1 -0
- package/lib/commonjs/features/{NavigationLogFeature.js → navigation/index.js} +4 -4
- package/lib/commonjs/features/navigation/index.js.map +1 -0
- package/lib/commonjs/{hooks → features/navigation}/useNavigationLogger.js +3 -3
- package/lib/commonjs/features/navigation/useNavigationLogger.js.map +1 -0
- package/lib/commonjs/{components → features/network}/NetworkLogTab.js +8 -7
- package/lib/commonjs/features/network/NetworkLogTab.js.map +1 -0
- package/lib/commonjs/features/{NetworkFeature.js → network/index.js} +20 -31
- package/lib/commonjs/features/network/index.js.map +1 -0
- package/lib/commonjs/features/network/networkInterceptor.js +261 -0
- package/lib/commonjs/features/network/networkInterceptor.js.map +1 -0
- package/lib/commonjs/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.js +3 -2
- package/lib/commonjs/features/thirdPartyLibs/ThirdPartyLibsTab.js.map +1 -0
- package/lib/commonjs/features/{ThirdPartyLibsFeature.js → thirdPartyLibs/index.js} +8 -8
- package/lib/commonjs/features/thirdPartyLibs/index.js.map +1 -0
- package/lib/commonjs/{native/NativeDebugLibs.js → features/thirdPartyLibs/nativeDebugLibs.js} +1 -1
- package/lib/commonjs/features/thirdPartyLibs/nativeDebugLibs.js.map +1 -0
- package/lib/commonjs/{components → features/track}/TrackLogTab.js +8 -8
- package/lib/commonjs/features/track/TrackLogTab.js.map +1 -0
- package/lib/commonjs/features/{TrackFeature.js → track/index.js} +10 -5
- package/lib/commonjs/features/track/index.js.map +1 -0
- package/lib/commonjs/{components → features/zustand}/ZustandLogTab.js +8 -8
- package/lib/commonjs/features/zustand/ZustandLogTab.js.map +1 -0
- package/lib/commonjs/features/{ZustandLogFeature.js → zustand/index.js} +4 -4
- package/lib/commonjs/features/zustand/index.js.map +1 -0
- package/lib/commonjs/index.js +21 -21
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/types/environment.js +2 -0
- package/lib/commonjs/types/environment.js.map +1 -0
- package/lib/commonjs/types/feature.js +6 -0
- package/lib/commonjs/types/feature.js.map +1 -0
- package/lib/commonjs/types/index.js +0 -4
- package/lib/commonjs/types/logs.js +2 -0
- package/lib/commonjs/types/logs.js.map +1 -0
- package/lib/commonjs/types/navigation.js +2 -0
- package/lib/commonjs/types/navigation.js.map +1 -0
- package/lib/commonjs/types/thirdPartyLibs.js +2 -0
- package/lib/commonjs/types/thirdPartyLibs.js.map +1 -0
- package/lib/commonjs/{components → ui}/DebugView.js +2 -2
- package/lib/commonjs/ui/DebugView.js.map +1 -0
- package/lib/commonjs/{components → ui/floating}/FloatIcon.js +65 -12
- package/lib/commonjs/ui/floating/FloatIcon.js.map +1 -0
- package/lib/commonjs/{components → ui/panel}/DebugPanel.js +4 -4
- package/lib/commonjs/ui/panel/DebugPanel.js.map +1 -0
- package/lib/commonjs/{components → ui/panel}/FeatureTabBar.js +1 -1
- package/lib/commonjs/ui/panel/FeatureTabBar.js.map +1 -0
- package/lib/commonjs/{components → ui/panel}/FloatPanelView.js +36 -12
- package/lib/commonjs/ui/panel/FloatPanelView.js.map +1 -0
- package/lib/commonjs/{components → ui}/shared/CollapsibleSection.js +1 -1
- package/lib/commonjs/ui/shared/CollapsibleSection.js.map +1 -0
- package/lib/commonjs/{components → ui}/shared/CopyButton.js +1 -1
- package/lib/commonjs/ui/shared/CopyButton.js.map +1 -0
- package/lib/commonjs/ui/shared/JsonView.js.map +1 -0
- package/lib/commonjs/{components → ui}/shared/LogListScreen.js +2 -2
- package/lib/commonjs/ui/shared/LogListScreen.js.map +1 -0
- package/lib/commonjs/ui/shared/useSlideDetailAnimation.js.map +1 -0
- package/lib/commonjs/{utils → ui/theme}/colors.js +0 -5
- package/lib/commonjs/ui/theme/colors.js.map +1 -0
- package/lib/commonjs/ui/theme/layout.js.map +1 -0
- package/lib/commonjs/utils/createChannelFeature.js +18 -4
- package/lib/commonjs/utils/createChannelFeature.js.map +1 -1
- package/lib/commonjs/utils/createObservableStore.js +5 -0
- package/lib/commonjs/utils/createObservableStore.js.map +1 -1
- package/lib/commonjs/utils/createPersistedObservableStore.js +71 -0
- package/lib/commonjs/utils/createPersistedObservableStore.js.map +1 -0
- package/lib/commonjs/utils/debugPreferences.js +52 -0
- package/lib/commonjs/utils/debugPreferences.js.map +1 -0
- package/lib/module/core/DebugToolkit.js +33 -11
- package/lib/module/core/DebugToolkit.js.map +1 -1
- package/lib/module/core/DebugToolkitProvider.js +18 -12
- package/lib/module/core/DebugToolkitProvider.js.map +1 -1
- package/lib/module/{initialize.js → core/initialize.js} +10 -10
- package/lib/module/core/initialize.js.map +1 -0
- package/lib/module/{components → features/clipboard}/ClipboardTab.js +2 -2
- package/lib/module/features/clipboard/ClipboardTab.js.map +1 -0
- package/lib/module/features/{ClipboardFeature.js → clipboard/index.js} +3 -3
- package/lib/module/features/clipboard/index.js.map +1 -0
- package/lib/module/{components → features/console}/ConsoleLogTab.js +9 -9
- package/lib/module/features/console/ConsoleLogTab.js.map +1 -0
- package/lib/module/features/{ConsoleLogFeature.js → console/index.js} +10 -7
- package/lib/module/features/console/index.js.map +1 -0
- package/lib/module/{components → features/environment}/EnvironmentTab.js +3 -3
- package/lib/module/features/environment/EnvironmentTab.js.map +1 -0
- package/lib/module/features/{EnvironmentFeature.js → environment/index.js} +18 -13
- package/lib/module/features/environment/index.js.map +1 -0
- package/lib/module/{components → features/navigation}/NavigationLogTab.js +4 -3
- package/lib/module/features/navigation/NavigationLogTab.js.map +1 -0
- package/lib/module/features/{NavigationLogFeature.js → navigation/index.js} +4 -4
- package/lib/module/features/navigation/index.js.map +1 -0
- package/lib/module/{hooks → features/navigation}/useNavigationLogger.js +2 -2
- package/lib/module/features/navigation/useNavigationLogger.js.map +1 -0
- package/lib/module/{components → features/network}/NetworkLogTab.js +8 -7
- package/lib/module/features/network/NetworkLogTab.js.map +1 -0
- package/lib/module/features/{NetworkFeature.js → network/index.js} +20 -31
- package/lib/module/features/network/index.js.map +1 -0
- package/lib/module/features/network/networkInterceptor.js +256 -0
- package/lib/module/features/network/networkInterceptor.js.map +1 -0
- package/lib/module/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.js +3 -2
- package/lib/module/features/thirdPartyLibs/ThirdPartyLibsTab.js.map +1 -0
- package/lib/module/features/{ThirdPartyLibsFeature.js → thirdPartyLibs/index.js} +4 -4
- package/lib/module/features/thirdPartyLibs/index.js.map +1 -0
- package/lib/module/{native/NativeDebugLibs.js → features/thirdPartyLibs/nativeDebugLibs.js} +1 -1
- package/lib/module/features/thirdPartyLibs/nativeDebugLibs.js.map +1 -0
- package/lib/module/{components → features/track}/TrackLogTab.js +8 -8
- package/lib/module/features/track/TrackLogTab.js.map +1 -0
- package/lib/module/features/{TrackFeature.js → track/index.js} +10 -5
- package/lib/module/features/track/index.js.map +1 -0
- package/lib/module/{components → features/zustand}/ZustandLogTab.js +8 -8
- package/lib/module/features/zustand/ZustandLogTab.js.map +1 -0
- package/lib/module/features/{ZustandLogFeature.js → zustand/index.js} +4 -4
- package/lib/module/features/zustand/index.js.map +1 -0
- package/lib/module/index.js +11 -11
- package/lib/module/index.js.map +1 -1
- package/lib/module/types/environment.js +2 -0
- package/lib/module/types/environment.js.map +1 -0
- package/lib/module/types/feature.js +4 -0
- package/lib/module/types/feature.js.map +1 -0
- package/lib/module/types/index.js +0 -2
- package/lib/module/types/logs.js +2 -0
- package/lib/module/types/logs.js.map +1 -0
- package/lib/module/types/navigation.js +2 -0
- package/lib/module/types/navigation.js.map +1 -0
- package/lib/module/types/thirdPartyLibs.js +2 -0
- package/lib/module/types/thirdPartyLibs.js.map +1 -0
- package/lib/module/{components → ui}/DebugView.js +2 -2
- package/lib/module/ui/DebugView.js.map +1 -0
- package/lib/module/{components → ui/floating}/FloatIcon.js +66 -13
- package/lib/module/ui/floating/FloatIcon.js.map +1 -0
- package/lib/module/{components → ui/panel}/DebugPanel.js +4 -4
- package/lib/module/ui/panel/DebugPanel.js.map +1 -0
- package/lib/module/{components → ui/panel}/FeatureTabBar.js +1 -1
- package/lib/module/ui/panel/FeatureTabBar.js.map +1 -0
- package/lib/module/{components → ui/panel}/FloatPanelView.js +36 -12
- package/lib/module/ui/panel/FloatPanelView.js.map +1 -0
- package/lib/module/{components → ui}/shared/CollapsibleSection.js +1 -1
- package/lib/module/ui/shared/CollapsibleSection.js.map +1 -0
- package/lib/module/{components → ui}/shared/CopyButton.js +1 -1
- package/lib/module/ui/shared/CopyButton.js.map +1 -0
- package/lib/module/ui/shared/JsonView.js.map +1 -0
- package/lib/module/{components → ui}/shared/LogListScreen.js +2 -2
- package/lib/module/ui/shared/LogListScreen.js.map +1 -0
- package/lib/module/ui/shared/useSlideDetailAnimation.js.map +1 -0
- package/lib/module/{utils → ui/theme}/colors.js +0 -5
- package/lib/module/ui/theme/colors.js.map +1 -0
- package/lib/module/ui/theme/layout.js.map +1 -0
- package/lib/module/utils/createChannelFeature.js +18 -4
- package/lib/module/utils/createChannelFeature.js.map +1 -1
- package/lib/module/utils/createObservableStore.js +5 -0
- package/lib/module/utils/createObservableStore.js.map +1 -1
- package/lib/module/utils/createPersistedObservableStore.js +67 -0
- package/lib/module/utils/createPersistedObservableStore.js.map +1 -0
- package/lib/module/utils/debugPreferences.js +46 -0
- package/lib/module/utils/debugPreferences.js.map +1 -0
- package/lib/typescript/src/core/DebugToolkit.d.ts +7 -3
- package/lib/typescript/src/core/DebugToolkit.d.ts.map +1 -1
- package/lib/typescript/src/core/DebugToolkitProvider.d.ts +2 -2
- package/lib/typescript/src/core/DebugToolkitProvider.d.ts.map +1 -1
- package/lib/typescript/src/{initialize.d.ts → core/initialize.d.ts} +7 -7
- package/lib/typescript/src/core/initialize.d.ts.map +1 -0
- package/lib/typescript/src/features/clipboard/ClipboardTab.d.ts +4 -0
- package/lib/typescript/src/features/clipboard/ClipboardTab.d.ts.map +1 -0
- package/lib/typescript/src/features/{ClipboardFeature.d.ts → clipboard/index.d.ts} +3 -3
- package/lib/typescript/src/features/clipboard/index.d.ts.map +1 -0
- package/lib/typescript/src/{components → features/console}/ConsoleLogTab.d.ts +2 -2
- package/lib/typescript/src/features/console/ConsoleLogTab.d.ts.map +1 -0
- package/lib/typescript/src/features/{ConsoleLogFeature.d.ts → console/index.d.ts} +3 -3
- package/lib/typescript/src/features/console/index.d.ts.map +1 -0
- package/lib/typescript/src/{components → features/environment}/EnvironmentTab.d.ts +1 -1
- package/lib/typescript/src/features/environment/EnvironmentTab.d.ts.map +1 -0
- package/lib/typescript/src/features/{EnvironmentFeature.d.ts → environment/index.d.ts} +2 -2
- package/lib/typescript/src/features/environment/index.d.ts.map +1 -0
- package/lib/typescript/src/{components → features/navigation}/NavigationLogTab.d.ts +2 -2
- package/lib/typescript/src/features/navigation/NavigationLogTab.d.ts.map +1 -0
- package/lib/typescript/src/features/{NavigationLogFeature.d.ts → navigation/index.d.ts} +3 -3
- package/lib/typescript/src/features/navigation/index.d.ts.map +1 -0
- package/lib/typescript/src/{hooks → features/navigation}/useNavigationLogger.d.ts +1 -1
- package/lib/typescript/src/features/navigation/useNavigationLogger.d.ts.map +1 -0
- package/lib/typescript/src/{components → features/network}/NetworkLogTab.d.ts +2 -2
- package/lib/typescript/src/features/network/NetworkLogTab.d.ts.map +1 -0
- package/lib/typescript/src/features/network/index.d.ts +15 -0
- package/lib/typescript/src/features/network/index.d.ts.map +1 -0
- package/lib/typescript/src/features/network/networkInterceptor.d.ts +19 -0
- package/lib/typescript/src/features/network/networkInterceptor.d.ts.map +1 -0
- package/lib/typescript/src/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.d.ts +2 -2
- package/lib/typescript/src/features/thirdPartyLibs/ThirdPartyLibsTab.d.ts.map +1 -0
- package/lib/typescript/src/features/thirdPartyLibs/index.d.ts +3 -0
- package/lib/typescript/src/features/thirdPartyLibs/index.d.ts.map +1 -0
- package/lib/typescript/src/{native/NativeDebugLibs.d.ts → features/thirdPartyLibs/nativeDebugLibs.d.ts} +1 -1
- package/lib/typescript/src/features/thirdPartyLibs/nativeDebugLibs.d.ts.map +1 -0
- package/lib/typescript/src/{components → features/track}/TrackLogTab.d.ts +2 -2
- package/lib/typescript/src/features/track/TrackLogTab.d.ts.map +1 -0
- package/lib/typescript/src/features/{TrackFeature.d.ts → track/index.d.ts} +3 -3
- package/lib/typescript/src/features/track/index.d.ts.map +1 -0
- package/lib/typescript/src/{components → features/zustand}/ZustandLogTab.d.ts +2 -2
- package/lib/typescript/src/features/zustand/ZustandLogTab.d.ts.map +1 -0
- package/lib/typescript/src/features/{ZustandLogFeature.d.ts → zustand/index.d.ts} +3 -3
- package/lib/typescript/src/features/zustand/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +19 -19
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types/environment.d.ts +11 -0
- package/lib/typescript/src/types/environment.d.ts.map +1 -0
- package/lib/typescript/src/types/feature.d.ts +23 -0
- package/lib/typescript/src/types/feature.d.ts.map +1 -0
- package/lib/typescript/src/types/index.d.ts +5 -108
- package/lib/typescript/src/types/index.d.ts.map +1 -1
- package/lib/typescript/src/types/logs.d.ts +51 -0
- package/lib/typescript/src/types/logs.d.ts.map +1 -0
- package/lib/typescript/src/types/navigation.d.ts +8 -0
- package/lib/typescript/src/types/navigation.d.ts.map +1 -0
- package/lib/typescript/src/types/thirdPartyLibs.d.ts +13 -0
- package/lib/typescript/src/types/thirdPartyLibs.d.ts.map +1 -0
- package/lib/typescript/src/{components → ui}/DebugView.d.ts +1 -1
- package/lib/typescript/src/ui/DebugView.d.ts.map +1 -0
- package/lib/typescript/src/ui/floating/FloatIcon.d.ts.map +1 -0
- package/lib/typescript/src/ui/panel/DebugPanel.d.ts.map +1 -0
- package/lib/typescript/src/ui/panel/FeatureTabBar.d.ts.map +1 -0
- package/lib/typescript/src/ui/panel/FloatPanelView.d.ts +12 -0
- package/lib/typescript/src/ui/panel/FloatPanelView.d.ts.map +1 -0
- package/lib/typescript/src/ui/shared/CollapsibleSection.d.ts.map +1 -0
- package/lib/typescript/src/ui/shared/CopyButton.d.ts.map +1 -0
- package/lib/typescript/src/ui/shared/JsonView.d.ts.map +1 -0
- package/lib/typescript/src/ui/shared/LogListScreen.d.ts.map +1 -0
- package/lib/typescript/src/ui/shared/useSlideDetailAnimation.d.ts.map +1 -0
- package/lib/typescript/src/ui/theme/colors.d.ts.map +1 -0
- package/lib/typescript/src/ui/theme/layout.d.ts.map +1 -0
- package/lib/typescript/src/utils/createChannelFeature.d.ts +12 -3
- package/lib/typescript/src/utils/createChannelFeature.d.ts.map +1 -1
- package/lib/typescript/src/utils/createObservableStore.d.ts +1 -0
- package/lib/typescript/src/utils/createObservableStore.d.ts.map +1 -1
- package/lib/typescript/src/utils/createPersistedObservableStore.d.ts +15 -0
- package/lib/typescript/src/utils/createPersistedObservableStore.d.ts.map +1 -0
- package/lib/typescript/src/utils/debugPreferences.d.ts +10 -0
- package/lib/typescript/src/utils/debugPreferences.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/core/DebugToolkit.tsx +37 -11
- package/src/core/DebugToolkitProvider.tsx +20 -13
- package/src/{initialize.ts → core/initialize.ts} +16 -16
- package/src/{components → features/clipboard}/ClipboardTab.tsx +4 -4
- package/src/features/{ClipboardFeature.ts → clipboard/index.ts} +4 -4
- package/src/{components → features/console}/ConsoleLogTab.tsx +10 -10
- package/src/features/{ConsoleLogFeature.ts → console/index.ts} +11 -8
- package/src/{components → features/environment}/EnvironmentTab.tsx +5 -5
- package/src/features/{EnvironmentFeature.ts → environment/index.ts} +23 -13
- package/src/{components → features/navigation}/NavigationLogTab.tsx +6 -5
- package/src/features/{NavigationLogFeature.ts → navigation/index.ts} +5 -5
- package/src/{hooks → features/navigation}/useNavigationLogger.ts +3 -3
- package/src/{components → features/network}/NetworkLogTab.tsx +10 -9
- package/src/features/{NetworkFeature.ts → network/index.ts} +26 -39
- package/src/features/network/networkInterceptor.ts +311 -0
- package/src/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.tsx +5 -4
- package/src/features/{ThirdPartyLibsFeature.ts → thirdPartyLibs/index.ts} +5 -5
- package/src/{components → features/track}/TrackLogTab.tsx +9 -9
- package/src/features/{TrackFeature.ts → track/index.ts} +13 -6
- package/src/{components → features/zustand}/ZustandLogTab.tsx +10 -10
- package/src/features/{ZustandLogFeature.ts → zustand/index.ts} +5 -5
- package/src/index.ts +19 -19
- package/src/types/environment.ts +11 -0
- package/src/types/feature.ts +32 -0
- package/src/types/index.ts +29 -127
- package/src/types/logs.ts +54 -0
- package/src/types/navigation.ts +5 -0
- package/src/types/thirdPartyLibs.ts +13 -0
- package/src/{components → ui}/DebugView.tsx +3 -3
- package/src/{components → ui/floating}/FloatIcon.tsx +60 -29
- package/src/{components → ui/panel}/DebugPanel.tsx +4 -4
- package/src/{components → ui/panel}/FeatureTabBar.tsx +1 -1
- package/src/{components → ui/panel}/FloatPanelView.tsx +38 -13
- package/src/{components → ui}/shared/CollapsibleSection.tsx +1 -1
- package/src/{components → ui}/shared/CopyButton.tsx +1 -1
- package/src/{components → ui}/shared/LogListScreen.tsx +2 -2
- package/src/{utils → ui/theme}/colors.ts +0 -5
- package/src/utils/createChannelFeature.ts +32 -7
- package/src/utils/createObservableStore.ts +6 -0
- package/src/utils/createPersistedObservableStore.ts +76 -0
- package/src/utils/debugPreferences.ts +48 -0
- package/lib/commonjs/components/ClipboardTab.js.map +0 -1
- package/lib/commonjs/components/ConsoleLogTab.js.map +0 -1
- package/lib/commonjs/components/DebugPanel.js.map +0 -1
- package/lib/commonjs/components/DebugView.js.map +0 -1
- package/lib/commonjs/components/EnvironmentTab.js.map +0 -1
- package/lib/commonjs/components/FeatureTabBar.js.map +0 -1
- package/lib/commonjs/components/FloatIcon.js.map +0 -1
- package/lib/commonjs/components/FloatPanelView.js.map +0 -1
- package/lib/commonjs/components/NavigationLogTab.js.map +0 -1
- package/lib/commonjs/components/NetworkLogTab.js.map +0 -1
- package/lib/commonjs/components/ThirdPartyLibsTab.js.map +0 -1
- package/lib/commonjs/components/TrackLogTab.js.map +0 -1
- package/lib/commonjs/components/ZustandLogTab.js.map +0 -1
- package/lib/commonjs/components/shared/CollapsibleSection.js.map +0 -1
- package/lib/commonjs/components/shared/CopyButton.js.map +0 -1
- package/lib/commonjs/components/shared/JsonView.js.map +0 -1
- package/lib/commonjs/components/shared/LogListScreen.js.map +0 -1
- package/lib/commonjs/features/ClipboardFeature.js.map +0 -1
- package/lib/commonjs/features/ConsoleLogFeature.js.map +0 -1
- package/lib/commonjs/features/EnvironmentFeature.js.map +0 -1
- package/lib/commonjs/features/NavigationLogFeature.js.map +0 -1
- package/lib/commonjs/features/NetworkFeature.js.map +0 -1
- package/lib/commonjs/features/ThirdPartyLibsFeature.js.map +0 -1
- package/lib/commonjs/features/TrackFeature.js.map +0 -1
- package/lib/commonjs/features/ZustandLogFeature.js.map +0 -1
- package/lib/commonjs/hooks/useNavigationLogger.js.map +0 -1
- package/lib/commonjs/hooks/useSlideDetailAnimation.js.map +0 -1
- package/lib/commonjs/initialize.js.map +0 -1
- package/lib/commonjs/interceptors/networkInterceptor.js +0 -466
- package/lib/commonjs/interceptors/networkInterceptor.js.map +0 -1
- package/lib/commonjs/native/NativeDebugLibs.js.map +0 -1
- package/lib/commonjs/utils/colors.js.map +0 -1
- package/lib/commonjs/utils/layout.js.map +0 -1
- package/lib/module/components/ClipboardTab.js.map +0 -1
- package/lib/module/components/ConsoleLogTab.js.map +0 -1
- package/lib/module/components/DebugPanel.js.map +0 -1
- package/lib/module/components/DebugView.js.map +0 -1
- package/lib/module/components/EnvironmentTab.js.map +0 -1
- package/lib/module/components/FeatureTabBar.js.map +0 -1
- package/lib/module/components/FloatIcon.js.map +0 -1
- package/lib/module/components/FloatPanelView.js.map +0 -1
- package/lib/module/components/NavigationLogTab.js.map +0 -1
- package/lib/module/components/NetworkLogTab.js.map +0 -1
- package/lib/module/components/ThirdPartyLibsTab.js.map +0 -1
- package/lib/module/components/TrackLogTab.js.map +0 -1
- package/lib/module/components/ZustandLogTab.js.map +0 -1
- package/lib/module/components/shared/CollapsibleSection.js.map +0 -1
- package/lib/module/components/shared/CopyButton.js.map +0 -1
- package/lib/module/components/shared/JsonView.js.map +0 -1
- package/lib/module/components/shared/LogListScreen.js.map +0 -1
- package/lib/module/features/ClipboardFeature.js.map +0 -1
- package/lib/module/features/ConsoleLogFeature.js.map +0 -1
- package/lib/module/features/EnvironmentFeature.js.map +0 -1
- package/lib/module/features/NavigationLogFeature.js.map +0 -1
- package/lib/module/features/NetworkFeature.js.map +0 -1
- package/lib/module/features/ThirdPartyLibsFeature.js.map +0 -1
- package/lib/module/features/TrackFeature.js.map +0 -1
- package/lib/module/features/ZustandLogFeature.js.map +0 -1
- package/lib/module/hooks/useNavigationLogger.js.map +0 -1
- package/lib/module/hooks/useSlideDetailAnimation.js.map +0 -1
- package/lib/module/initialize.js.map +0 -1
- package/lib/module/interceptors/networkInterceptor.js +0 -460
- package/lib/module/interceptors/networkInterceptor.js.map +0 -1
- package/lib/module/native/NativeDebugLibs.js.map +0 -1
- package/lib/module/utils/colors.js.map +0 -1
- package/lib/module/utils/layout.js.map +0 -1
- package/lib/typescript/src/components/ClipboardTab.d.ts +0 -4
- package/lib/typescript/src/components/ClipboardTab.d.ts.map +0 -1
- package/lib/typescript/src/components/ConsoleLogTab.d.ts.map +0 -1
- package/lib/typescript/src/components/DebugPanel.d.ts.map +0 -1
- package/lib/typescript/src/components/DebugView.d.ts.map +0 -1
- package/lib/typescript/src/components/EnvironmentTab.d.ts.map +0 -1
- package/lib/typescript/src/components/FeatureTabBar.d.ts.map +0 -1
- package/lib/typescript/src/components/FloatIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/FloatPanelView.d.ts +0 -9
- package/lib/typescript/src/components/FloatPanelView.d.ts.map +0 -1
- package/lib/typescript/src/components/NavigationLogTab.d.ts.map +0 -1
- package/lib/typescript/src/components/NetworkLogTab.d.ts.map +0 -1
- package/lib/typescript/src/components/ThirdPartyLibsTab.d.ts.map +0 -1
- package/lib/typescript/src/components/TrackLogTab.d.ts.map +0 -1
- package/lib/typescript/src/components/ZustandLogTab.d.ts.map +0 -1
- package/lib/typescript/src/components/shared/CollapsibleSection.d.ts.map +0 -1
- package/lib/typescript/src/components/shared/CopyButton.d.ts.map +0 -1
- package/lib/typescript/src/components/shared/JsonView.d.ts.map +0 -1
- package/lib/typescript/src/components/shared/LogListScreen.d.ts.map +0 -1
- package/lib/typescript/src/features/ClipboardFeature.d.ts.map +0 -1
- package/lib/typescript/src/features/ConsoleLogFeature.d.ts.map +0 -1
- package/lib/typescript/src/features/EnvironmentFeature.d.ts.map +0 -1
- package/lib/typescript/src/features/NavigationLogFeature.d.ts.map +0 -1
- package/lib/typescript/src/features/NetworkFeature.d.ts +0 -15
- package/lib/typescript/src/features/NetworkFeature.d.ts.map +0 -1
- package/lib/typescript/src/features/ThirdPartyLibsFeature.d.ts +0 -3
- package/lib/typescript/src/features/ThirdPartyLibsFeature.d.ts.map +0 -1
- package/lib/typescript/src/features/TrackFeature.d.ts.map +0 -1
- package/lib/typescript/src/features/ZustandLogFeature.d.ts.map +0 -1
- package/lib/typescript/src/hooks/useNavigationLogger.d.ts.map +0 -1
- package/lib/typescript/src/hooks/useSlideDetailAnimation.d.ts.map +0 -1
- package/lib/typescript/src/initialize.d.ts.map +0 -1
- package/lib/typescript/src/interceptors/networkInterceptor.d.ts +0 -18
- package/lib/typescript/src/interceptors/networkInterceptor.d.ts.map +0 -1
- package/lib/typescript/src/native/NativeDebugLibs.d.ts.map +0 -1
- package/lib/typescript/src/utils/colors.d.ts.map +0 -1
- package/lib/typescript/src/utils/layout.d.ts.map +0 -1
- package/src/interceptors/networkInterceptor.ts +0 -646
- /package/lib/commonjs/{components → ui}/shared/JsonView.js +0 -0
- /package/lib/commonjs/{hooks → ui/shared}/useSlideDetailAnimation.js +0 -0
- /package/lib/commonjs/{utils → ui/theme}/layout.js +0 -0
- /package/lib/module/{components → ui}/shared/JsonView.js +0 -0
- /package/lib/module/{hooks → ui/shared}/useSlideDetailAnimation.js +0 -0
- /package/lib/module/{utils → ui/theme}/layout.js +0 -0
- /package/lib/typescript/src/{components → ui/floating}/FloatIcon.d.ts +0 -0
- /package/lib/typescript/src/{components → ui/panel}/DebugPanel.d.ts +0 -0
- /package/lib/typescript/src/{components → ui/panel}/FeatureTabBar.d.ts +0 -0
- /package/lib/typescript/src/{components → ui}/shared/CollapsibleSection.d.ts +0 -0
- /package/lib/typescript/src/{components → ui}/shared/CopyButton.d.ts +0 -0
- /package/lib/typescript/src/{components → ui}/shared/JsonView.d.ts +0 -0
- /package/lib/typescript/src/{components → ui}/shared/LogListScreen.d.ts +0 -0
- /package/lib/typescript/src/{hooks → ui/shared}/useSlideDetailAnimation.d.ts +0 -0
- /package/lib/typescript/src/{utils → ui/theme}/colors.d.ts +0 -0
- /package/lib/typescript/src/{utils → ui/theme}/layout.d.ts +0 -0
- /package/src/{native/NativeDebugLibs.ts → features/thirdPartyLibs/nativeDebugLibs.ts} +0 -0
- /package/src/{components → ui}/shared/JsonView.tsx +0 -0
- /package/src/{hooks → ui/shared}/useSlideDetailAnimation.ts +0 -0
- /package/src/{utils → ui/theme}/layout.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createObservableStore","getPreference","setPreference","createPersistedObservableStore","options","storageKey","maxPersist","debounceMs","serialize","store","writeTimer","idCounter","then","raw","entries","JSON","parse","Array","isArray","restored","slice","pushBatch","max","e","n","parseInt","id","isNaN","scheduleWrite","clearTimeout","setTimeout","data","getData","toStore","map","stringify","push","item","maxEntries","clear","subscribe","nextId","String"],"sourceRoot":"../../../src","sources":["utils/createPersistedObservableStore.ts"],"mappings":";;AAAA,SAASA,qBAAqB,QAA8B,yBAAyB;AACrF,SAASC,aAAa,EAAEC,aAAa,QAAQ,oBAAoB;AAcjE,OAAO,SAASC,8BAA8BA,CAC5CC,OAAiC,EACJ;EAC7B,MAAM;IAAEC,UAAU;IAAEC,UAAU;IAAEC,UAAU,GAAG,IAAI;IAAEC;EAAU,CAAC,GAAGJ,OAAO;EACxE,MAAMK,KAAK,GAAGT,qBAAqB,CAAI,CAAC;EACxC,IAAIU,UAAgD,GAAG,IAAI;EAC3D,IAAIC,SAAS,GAAG,CAAC;;EAEjB;EACAV,aAAa,CAACI,UAAU,CAAC,CAACO,IAAI,CAAEC,GAAG,IAAK;IACtC,IAAI,CAACA,GAAG,EAAE;IACV,IAAI;MACF,MAAMC,OAAO,GAAGC,IAAI,CAACC,KAAK,CAACH,GAAG,CAAQ;MACtC,IAAI,CAACI,KAAK,CAACC,OAAO,CAACJ,OAAO,CAAC,EAAE;MAC7B,MAAMK,QAAQ,GAAGL,OAAO,CAACM,KAAK,CAAC,CAACd,UAAU,CAAC;MAC3CG,KAAK,CAACY,SAAS,CAACF,QAAQ,CAAC;MACzB;MACA,IAAIG,GAAG,GAAG,CAAC;MACX,KAAK,MAAMC,CAAC,IAAIJ,QAAQ,EAAE;QACxB,MAAMK,CAAC,GAAGC,QAAQ,CAACF,CAAC,CAACG,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;QAClC,IAAI,CAACC,KAAK,CAACH,CAAC,CAAC,IAAIA,CAAC,IAAIF,GAAG,EAAEA,GAAG,GAAGE,CAAC,GAAG,CAAC;MACxC;MACAb,SAAS,GAAGW,GAAG;IACjB,CAAC,CAAC,MAAM;MACN;IAAA;EAEJ,CAAC,CAAC;EAEF,SAASM,aAAaA,CAAA,EAAS;IAC7B,IAAIlB,UAAU,KAAK,IAAI,EAAEmB,YAAY,CAACnB,UAAU,CAAC;IACjDA,UAAU,GAAGoB,UAAU,CAAC,MAAM;MAC5BpB,UAAU,GAAG,IAAI;MACjB,MAAMqB,IAAI,GAAGtB,KAAK,CAACuB,OAAO,CAAC,CAAC,CAACZ,KAAK,CAAC,CAACd,UAAU,CAAC;MAC/C,MAAM2B,OAAO,GAAGzB,SAAS,GAAGuB,IAAI,CAACG,GAAG,CAAC1B,SAAS,CAAC,GAAGuB,IAAI;MACtD,IAAI;QACF7B,aAAa,CAACG,UAAU,EAAEU,IAAI,CAACoB,SAAS,CAACF,OAAO,CAAC,CAAC;MACpD,CAAC,CAAC,MAAM;QACN;MAAA;IAEJ,CAAC,EAAE1B,UAAU,CAAC;EAChB;EAEA,OAAO;IACLyB,OAAO,EAAEvB,KAAK,CAACuB,OAAO;IACtBI,IAAI,EAAEA,CAACC,IAAI,EAAEC,UAAU,KAAK;MAC1B7B,KAAK,CAAC2B,IAAI,CAACC,IAAI,EAAEC,UAAU,CAAC;MAC5BV,aAAa,CAAC,CAAC;IACjB,CAAC;IACDP,SAAS,EAAEZ,KAAK,CAACY,SAAS;IAC1BkB,KAAK,EAAEA,CAAA,KAAM;MACX9B,KAAK,CAAC8B,KAAK,CAAC,CAAC;MACb,IAAI7B,UAAU,KAAK,IAAI,EAAE;QACvBmB,YAAY,CAACnB,UAAU,CAAC;QACxBA,UAAU,GAAG,IAAI;MACnB;MACAR,aAAa,CAACG,UAAU,EAAE,IAAI,CAAC;IACjC,CAAC;IACDmC,SAAS,EAAE/B,KAAK,CAAC+B,SAAS;IAC1BC,MAAM,EAAEA,CAAA,KAAMC,MAAM,CAAC/B,SAAS,EAAE;EAClC,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4
|
+
|
|
5
|
+
const memoryStore = new Map();
|
|
6
|
+
function loadAsyncStorage() {
|
|
7
|
+
try {
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
9
|
+
const mod = require('@react-native-async-storage/async-storage');
|
|
10
|
+
if (mod && typeof mod.getItem === 'function') return mod;
|
|
11
|
+
return null;
|
|
12
|
+
} catch {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export async function setPreference(key, value) {
|
|
17
|
+
memoryStore.set(key, value);
|
|
18
|
+
const AsyncStorage = loadAsyncStorage();
|
|
19
|
+
if (AsyncStorage) {
|
|
20
|
+
try {
|
|
21
|
+
await AsyncStorage.setItem(key, value);
|
|
22
|
+
} catch {
|
|
23
|
+
// degrade to memory only
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export async function getPreference(key) {
|
|
28
|
+
const AsyncStorage = loadAsyncStorage();
|
|
29
|
+
if (AsyncStorage) {
|
|
30
|
+
try {
|
|
31
|
+
const val = await AsyncStorage.getItem(key);
|
|
32
|
+
if (val !== null) return val;
|
|
33
|
+
} catch {
|
|
34
|
+
// fall through to memory
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return memoryStore.get(key) ?? null;
|
|
38
|
+
}
|
|
39
|
+
export const KEYS = {
|
|
40
|
+
fabPosition: '@react_native_debug_toolkit/fab_position',
|
|
41
|
+
lastTab: '@react_native_debug_toolkit/last_tab',
|
|
42
|
+
consoleLogs: '@react_native_debug_toolkit/console_logs',
|
|
43
|
+
networkLogs: '@react_native_debug_toolkit/network_logs',
|
|
44
|
+
trackLogs: '@react_native_debug_toolkit/track_logs'
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=debugPreferences.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["memoryStore","Map","loadAsyncStorage","mod","require","getItem","setPreference","key","value","set","AsyncStorage","setItem","getPreference","val","get","KEYS","fabPosition","lastTab","consoleLogs","networkLogs","trackLogs"],"sourceRoot":"../../../src","sources":["utils/debugPreferences.ts"],"mappings":";;AAAA;;AAGA,MAAMA,WAAW,GAAG,IAAIC,GAAG,CAAiB,CAAC;AAE7C,SAASC,gBAAgBA,CAAA,EAA4B;EACnD,IAAI;IACF;IACA,MAAMC,GAAG,GAAGC,OAAO,CAAC,2CAA2C,CAAC;IAChE,IAAID,GAAG,IAAI,OAAOA,GAAG,CAACE,OAAO,KAAK,UAAU,EAAE,OAAOF,GAAG;IACxD,OAAO,IAAI;EACb,CAAC,CAAC,MAAM;IACN,OAAO,IAAI;EACb;AACF;AAEA,OAAO,eAAeG,aAAaA,CAACC,GAAW,EAAEC,KAAa,EAAiB;EAC7ER,WAAW,CAACS,GAAG,CAACF,GAAG,EAAEC,KAAK,CAAC;EAC3B,MAAME,YAAY,GAAGR,gBAAgB,CAAC,CAAC;EACvC,IAAIQ,YAAY,EAAE;IAChB,IAAI;MACF,MAAMA,YAAY,CAACC,OAAO,CAACJ,GAAG,EAAEC,KAAK,CAAC;IACxC,CAAC,CAAC,MAAM;MACN;IAAA;EAEJ;AACF;AAEA,OAAO,eAAeI,aAAaA,CAACL,GAAW,EAA0B;EACvE,MAAMG,YAAY,GAAGR,gBAAgB,CAAC,CAAC;EACvC,IAAIQ,YAAY,EAAE;IAChB,IAAI;MACF,MAAMG,GAAG,GAAG,MAAMH,YAAY,CAACL,OAAO,CAACE,GAAG,CAAC;MAC3C,IAAIM,GAAG,KAAK,IAAI,EAAE,OAAOA,GAAG;IAC9B,CAAC,CAAC,MAAM;MACN;IAAA;EAEJ;EACA,OAAOb,WAAW,CAACc,GAAG,CAACP,GAAG,CAAC,IAAI,IAAI;AACrC;AAEA,OAAO,MAAMQ,IAAI,GAAG;EAClBC,WAAW,EAAE,0CAA0C;EACvDC,OAAO,EAAE,sCAAsC;EAC/CC,WAAW,EAAE,0CAA0C;EACvDC,WAAW,EAAE,0CAA0C;EACvDC,SAAS,EAAE;AACb,CAAU","ignoreList":[]}
|
|
@@ -4,15 +4,19 @@ export declare const DebugToolkit: {
|
|
|
4
4
|
subscribe(listener: Listener): () => void;
|
|
5
5
|
readonly features: AnyDebugFeature[];
|
|
6
6
|
readonly enabled: boolean;
|
|
7
|
-
readonly
|
|
7
|
+
readonly launcherVisible: boolean;
|
|
8
8
|
setEnabled(enabled: boolean): void;
|
|
9
9
|
replaceFeatures(features: AnyDebugFeature[]): void;
|
|
10
10
|
addFeature(feature: AnyDebugFeature): void;
|
|
11
11
|
removeFeature(name: string): void;
|
|
12
12
|
reset(): void;
|
|
13
13
|
hasFeatures(): boolean;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
readonly panelOpen: boolean;
|
|
15
|
+
openPanel(): void;
|
|
16
|
+
closePanel(): void;
|
|
17
|
+
togglePanel(): void;
|
|
18
|
+
showLauncher(): void;
|
|
19
|
+
hideLauncher(): void;
|
|
16
20
|
clearAll(): void;
|
|
17
21
|
destroy(): void;
|
|
18
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugToolkit.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DebugToolkit.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,KAAK,QAAQ,GAAG,MAAM,IAAI,CAAC;AAoB3B,eAAO,MAAM,YAAY;wBACH,QAAQ,GAAG,MAAM,IAAI;uBAOzB,eAAe,EAAE;sBAIlB,OAAO;8BAIC,OAAO;wBAIV,OAAO,GAAG,IAAI;8BAWR,eAAe,EAAE,GAAG,IAAI;wBAoB9B,eAAe,GAAG,IAAI;wBA4BtB,MAAM,GAAG,IAAI;aAkBxB,IAAI;mBAQE,OAAO;wBAIL,OAAO;iBAIX,IAAI;kBAMH,IAAI;mBAMH,IAAI;oBAQH,IAAI;oBAMJ,IAAI;gBAKR,IAAI;eAKL,IAAI;CAIhB,CAAC"}
|
|
@@ -2,8 +2,8 @@ import React, { type ReactNode } from 'react';
|
|
|
2
2
|
import type { AnyDebugFeature } from '../types';
|
|
3
3
|
interface ToolkitContextValue {
|
|
4
4
|
features: AnyDebugFeature[];
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
showLauncher: () => void;
|
|
6
|
+
hideLauncher: () => void;
|
|
7
7
|
clearAll: () => void;
|
|
8
8
|
}
|
|
9
9
|
interface DebugToolkitProviderProps {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugToolkitProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,
|
|
1
|
+
{"version":3,"file":"DebugToolkitProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAwE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAUD,UAAU,yBAAyB;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,oBAAoB,CAAC,EAAE,QAAQ,EAAE,EAAE,yBAAyB,qBAsD3E;AAED,wBAAgB,eAAe,IAAI,mBAAmB,CASrD"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DebugToolkit } from './
|
|
2
|
-
import type { NetworkFeatureConfig } from '
|
|
3
|
-
import type { ConsoleFeatureConfig } from '
|
|
4
|
-
import type { ZustandFeatureConfig } from '
|
|
5
|
-
import type { NavigationFeatureConfig } from '
|
|
6
|
-
import type { TrackFeatureConfig } from '
|
|
7
|
-
import { createEnvironmentFeature } from '
|
|
1
|
+
import { DebugToolkit } from './DebugToolkit';
|
|
2
|
+
import type { NetworkFeatureConfig } from '../features/network';
|
|
3
|
+
import type { ConsoleFeatureConfig } from '../features/console';
|
|
4
|
+
import type { ZustandFeatureConfig } from '../features/zustand';
|
|
5
|
+
import type { NavigationFeatureConfig } from '../features/navigation';
|
|
6
|
+
import type { TrackFeatureConfig } from '../features/track';
|
|
7
|
+
import { createEnvironmentFeature } from '../features/environment';
|
|
8
8
|
/** Feature-specific configuration map */
|
|
9
9
|
export interface FeatureConfigs {
|
|
10
10
|
network?: boolean | NetworkFeatureConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/core/initialize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAMnE,yCAAyC;AACzC,MAAM,WAAW,cAAc;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAAC;IACzC,UAAU,CAAC,EAAE,OAAO,GAAG,uBAAuB,CAAC;IAC/C,KAAK,CAAC,EAAE,OAAO,GAAG,kBAAkB,CAAC;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAmDD;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CACpC,OAAO,CAAC,EAAE,iBAAiB,GAC1B,OAAO,YAAY,CA4BrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClipboardTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/clipboard/ClipboardTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAE3D,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC,CAqC/D,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { DebugFeature } from '
|
|
1
|
+
import type { DebugFeature } from '../../types';
|
|
2
2
|
/**
|
|
3
3
|
* Clipboard feature — all logic lives in ClipboardTab.
|
|
4
4
|
* Data flow is user-driven (TextInput), not event-based.
|
|
5
5
|
*/
|
|
6
|
-
export declare const createClipboardFeature: () => DebugFeature<
|
|
7
|
-
//# sourceMappingURL=
|
|
6
|
+
export declare const createClipboardFeature: () => DebugFeature<null>;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/clipboard/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAAO,YAAY,CAAC,IAAI,CAOzD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ConsoleLogEntry, DebugFeatureRenderProps } from '
|
|
3
|
-
export declare const ConsoleLogTab: React.FC<DebugFeatureRenderProps<ConsoleLogEntry>>;
|
|
2
|
+
import type { ConsoleLogEntry, DebugFeatureRenderProps } from '../../types';
|
|
3
|
+
export declare const ConsoleLogTab: React.FC<DebugFeatureRenderProps<ConsoleLogEntry[]>>;
|
|
4
4
|
//# sourceMappingURL=ConsoleLogTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConsoleLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/console/ConsoleLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAgB5E,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,eAAe,EAAE,CAAC,CAiD7E,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { ConsoleLogEntry, DebugFeature } from '
|
|
1
|
+
import type { ConsoleLogEntry, DebugFeature } from '../../types';
|
|
2
2
|
export interface ConsoleFeatureConfig {
|
|
3
3
|
/** Maximum number of console logs to keep (default: 200) */
|
|
4
4
|
maxLogs?: number;
|
|
5
5
|
}
|
|
6
|
-
export declare const createConsoleLogFeature: (config?: ConsoleFeatureConfig) => DebugFeature<ConsoleLogEntry>;
|
|
6
|
+
export declare const createConsoleLogFeature: (config?: ConsoleFeatureConfig) => DebugFeature<ConsoleLogEntry[]>;
|
|
7
7
|
/** Reset module-level state for testing */
|
|
8
8
|
export declare function _resetConsoleForTesting(): void;
|
|
9
|
-
//# sourceMappingURL=
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/console/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AA0EjE,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,uBAAuB,GAAI,SAAS,oBAAoB,KAAG,YAAY,CAAC,eAAe,EAAE,CAiCrG,CAAC;AAEF,2CAA2C;AAC3C,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { DebugFeatureRenderProps, EnvironmentState } from '
|
|
2
|
+
import type { DebugFeatureRenderProps, EnvironmentState } from '../../types';
|
|
3
3
|
export declare const EnvironmentTab: React.FC<DebugFeatureRenderProps<EnvironmentState>>;
|
|
4
4
|
//# sourceMappingURL=EnvironmentTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnvironmentTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/environment/EnvironmentTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAY7E,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,CA+F7E,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { DebugFeature, EnvironmentConfig, EnvironmentState } from '
|
|
1
|
+
import type { DebugFeature, EnvironmentConfig, EnvironmentState } from '../../types';
|
|
2
2
|
export interface EnvironmentFeatureAPI extends DebugFeature<EnvironmentState> {
|
|
3
3
|
registerEnvironments: (environments: EnvironmentConfig[]) => void;
|
|
4
4
|
switchEnvironment: (environmentId: string | null) => void;
|
|
5
5
|
getCurrentEnvironmentId: () => string | null;
|
|
6
6
|
}
|
|
7
7
|
export declare const createEnvironmentFeature: (initialEnvironments?: EnvironmentConfig[]) => EnvironmentFeatureAPI;
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/environment/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,YAAY,EAEZ,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AAmErB,MAAM,WAAW,qBAAsB,SAAQ,YAAY,CAAC,gBAAgB,CAAC;IAC3E,oBAAoB,EAAE,CAAC,YAAY,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAClE,iBAAiB,EAAE,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1D,uBAAuB,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC;CAC9C;AAED,eAAO,MAAM,wBAAwB,GACnC,sBAAsB,iBAAiB,EAAE,KACxC,qBAkHF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { DebugFeatureRenderProps, NavigationLogEntry } from '
|
|
3
|
-
export declare const NavigationLogTab: React.FC<DebugFeatureRenderProps<NavigationLogEntry>>;
|
|
2
|
+
import type { DebugFeatureRenderProps, NavigationLogEntry } from '../../types';
|
|
3
|
+
export declare const NavigationLogTab: React.FC<DebugFeatureRenderProps<NavigationLogEntry[]>>;
|
|
4
4
|
//# sourceMappingURL=NavigationLogTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NavigationLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/navigation/NavigationLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAE/E,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,kBAAkB,EAAE,CAAC,CA8CnF,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { DebugFeature, NavigationLogEntry } from '
|
|
1
|
+
import type { DebugFeature, NavigationLogEntry } from '../../types';
|
|
2
2
|
export declare const addNavigationLog: (action: string, from: string, to: string, startTime?: number, duration?: number, debugLog?: string) => void;
|
|
3
3
|
export interface NavigationFeatureConfig {
|
|
4
4
|
/** Maximum number of navigation logs to keep (default: 200) */
|
|
5
5
|
maxLogs?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const createNavigationLogFeature: (config?: NavigationFeatureConfig) => DebugFeature<NavigationLogEntry>;
|
|
7
|
+
export declare const createNavigationLogFeature: (config?: NavigationFeatureConfig) => DebugFeature<NavigationLogEntry[]>;
|
|
8
8
|
/** Reset module-level state for testing */
|
|
9
9
|
export declare function _resetNavigationForTesting(): void;
|
|
10
|
-
//# sourceMappingURL=
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/navigation/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAQpE,eAAO,MAAM,gBAAgB,GAC3B,QAAQ,MAAM,EACd,MAAM,MAAM,EACZ,IAAI,MAAM,EACV,YAAY,MAAM,EAClB,WAAW,MAAM,EACjB,WAAW,MAAM,KAChB,IAUF,CAAC;AAEF,MAAM,WAAW,uBAAuB;IACtC,+DAA+D;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,0BAA0B,GAAI,SAAS,uBAAuB,KAAG,YAAY,CAAC,kBAAkB,EAAE,CAK5G,CAAC;AAEJ,2CAA2C;AAC3C,wBAAgB,0BAA0B,IAAI,IAAI,CAEjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNavigationLogger.d.ts","sourceRoot":"","sources":["../../../../../src/features/navigation/useNavigationLogger.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAyB1D;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC,sBAAsB,GAAG,IAAI,CAAC,QA+DhG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { DebugFeatureRenderProps, NetworkLogEntry } from '
|
|
3
|
-
export declare const NetworkLogTab: React.FC<DebugFeatureRenderProps<NetworkLogEntry>>;
|
|
2
|
+
import type { DebugFeatureRenderProps, NetworkLogEntry } from '../../types';
|
|
3
|
+
export declare const NetworkLogTab: React.FC<DebugFeatureRenderProps<NetworkLogEntry[]>>;
|
|
4
4
|
//# sourceMappingURL=NetworkLogTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NetworkLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/network/NetworkLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAcxC,OAAO,KAAK,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAyB5E,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,eAAe,EAAE,CAAC,CA+I7E,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type { AxiosInstanceLike } from './networkInterceptor';
|
|
2
|
+
import type { DebugFeature, NetworkLogEntry } from '../../types';
|
|
3
|
+
import type { AxiosInstanceLike } from './networkInterceptor';
|
|
4
|
+
export interface NetworkFeatureConfig {
|
|
5
|
+
/** Maximum number of network logs to keep (default: 200) */
|
|
6
|
+
maxLogs?: number;
|
|
7
|
+
/** URLs to filter out from logging */
|
|
8
|
+
blacklist?: Array<string | RegExp>;
|
|
9
|
+
/** Axios instance to intercept. Pass your axios.create() instance to capture axios requests. */
|
|
10
|
+
axiosInstance?: AxiosInstanceLike;
|
|
11
|
+
}
|
|
12
|
+
export declare const createNetworkFeature: (config?: NetworkFeatureConfig) => DebugFeature<NetworkLogEntry[]>;
|
|
13
|
+
/** Reset module-level state for testing */
|
|
14
|
+
export declare function _resetNetworkForTesting(): void;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/network/index.ts"],"names":[],"mappings":"AAEA,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAKjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAmC9D,MAAM,WAAW,oBAAoB;IACnC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sCAAsC;IACtC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACnC,gGAAgG;IAChG,aAAa,CAAC,EAAE,iBAAiB,CAAC;CACnC;AAED,eAAO,MAAM,oBAAoB,GAAI,SAAS,oBAAoB,KAAG,YAAY,CAAC,eAAe,EAAE,CAsDlG,CAAC;AAEF,2CAA2C;AAC3C,wBAAgB,uBAAuB,IAAI,IAAI,CAG9C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { NetworkLogEntry } from '../../types';
|
|
2
|
+
type NetworkLogPayload = Omit<NetworkLogEntry, 'id'>;
|
|
3
|
+
export interface AxiosInstanceLike {
|
|
4
|
+
interceptors: {
|
|
5
|
+
request: {
|
|
6
|
+
use(onFulfilled?: (config: any) => any, onRejected?: (error: any) => any): number;
|
|
7
|
+
eject(id: number): void;
|
|
8
|
+
};
|
|
9
|
+
response: {
|
|
10
|
+
use(onFulfilled?: (response: any) => any, onRejected?: (error: any) => any): number;
|
|
11
|
+
eject(id: number): void;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function startFetch(emit: (entry: NetworkLogPayload) => void): () => void;
|
|
16
|
+
export declare function startAxios(axiosInstance: AxiosInstanceLike, emit: (entry: NetworkLogPayload) => void): () => void;
|
|
17
|
+
export declare function resetInterceptors(): void;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=networkInterceptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"networkInterceptor.d.ts","sourceRoot":"","sources":["../../../../../src/features/network/networkInterceptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnD,KAAK,iBAAiB,GAAG,IAAI,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;AAQrD,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE;QACZ,OAAO,EAAE;YAEP,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,GAAG,EAAE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,GAAG,MAAM,CAAC;YAClF,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;SACzB,CAAC;QACF,QAAQ,EAAE;YAER,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,GAAG,EAAE,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,GAAG,MAAM,CAAC;YACpF,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;SACzB,CAAC;KACH,CAAC;CACH;AAqHD,wBAAgB,UAAU,CAAC,IAAI,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,GAAG,MAAM,IAAI,CA+D/E;AAOD,wBAAgB,UAAU,CACxB,aAAa,EAAE,iBAAiB,EAChC,IAAI,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,GACvC,MAAM,IAAI,CAsFZ;AAID,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { DebugFeatureRenderProps, ThirdPartyLib } from '
|
|
3
|
-
export declare const ThirdPartyLibsTab: React.FC<DebugFeatureRenderProps<ThirdPartyLib>>;
|
|
2
|
+
import type { DebugFeatureRenderProps, ThirdPartyLib } from '../../types';
|
|
3
|
+
export declare const ThirdPartyLibsTab: React.FC<DebugFeatureRenderProps<ThirdPartyLib[]>>;
|
|
4
4
|
//# sourceMappingURL=ThirdPartyLibsTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThirdPartyLibsTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/thirdPartyLibs/ThirdPartyLibsTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAuB,MAAM,aAAa,CAAC;AAE/F,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,aAAa,EAAE,CAAC,CAiChF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/thirdPartyLibs/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA+B/D,eAAO,MAAM,2BAA2B,QAAO,YAAY,CAAC,aAAa,EAAE,CAOzE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativeDebugLibs.d.ts","sourceRoot":"","sources":["../../../../../src/features/thirdPartyLibs/nativeDebugLibs.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,eAAe;oBACV,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;wBAOlB,MAAM,GAAG,IAAI;oBAOjB,OAAO;oBASP,IAAI;oBAMJ,IAAI;kCAOU,MAAM,GAAG,IAAI;uBAMxB,IAAI;uBAMJ,IAAI;CAKxB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { DebugFeatureRenderProps, TrackLogEntry } from '
|
|
3
|
-
export declare const TrackLogTab: React.FC<DebugFeatureRenderProps<TrackLogEntry>>;
|
|
2
|
+
import type { DebugFeatureRenderProps, TrackLogEntry } from '../../types';
|
|
3
|
+
export declare const TrackLogTab: React.FC<DebugFeatureRenderProps<TrackLogEntry[]>>;
|
|
4
4
|
//# sourceMappingURL=TrackLogTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrackLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/track/TrackLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE1E,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,aAAa,EAAE,CAAC,CAiEzE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DebugFeature, TrackLogEntry } from '
|
|
1
|
+
import type { DebugFeature, TrackLogEntry } from '../../types';
|
|
2
2
|
export interface TrackEventData {
|
|
3
3
|
eventName: string;
|
|
4
4
|
[key: string]: unknown;
|
|
@@ -8,7 +8,7 @@ export interface TrackFeatureConfig {
|
|
|
8
8
|
/** Maximum number of track events to keep (default: 200) */
|
|
9
9
|
maxLogs?: number;
|
|
10
10
|
}
|
|
11
|
-
export declare const createTrackFeature: (config?: TrackFeatureConfig) => DebugFeature<TrackLogEntry>;
|
|
11
|
+
export declare const createTrackFeature: (config?: TrackFeatureConfig) => DebugFeature<TrackLogEntry[]>;
|
|
12
12
|
/** Reset module-level state for testing */
|
|
13
13
|
export declare function _resetTrackForTesting(): void;
|
|
14
|
-
//# sourceMappingURL=
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/track/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAK/D,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAMD,eAAO,MAAM,WAAW,GAAI,WAAW,cAAc,KAAG,IAEvD,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,GAAI,SAAS,kBAAkB,KAAG,YAAY,CAAC,aAAa,EAAE,CAW1F,CAAC;AAEJ,2CAA2C;AAC3C,wBAAgB,qBAAqB,IAAI,IAAI,CAE5C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { DebugFeatureRenderProps, ZustandLogEntry } from '
|
|
3
|
-
export declare const ZustandLogTab: React.FC<DebugFeatureRenderProps<ZustandLogEntry>>;
|
|
2
|
+
import type { DebugFeatureRenderProps, ZustandLogEntry } from '../../types';
|
|
3
|
+
export declare const ZustandLogTab: React.FC<DebugFeatureRenderProps<ZustandLogEntry[]>>;
|
|
4
4
|
//# sourceMappingURL=ZustandLogTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ZustandLogTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/zustand/ZustandLogTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA4B5E,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAAC,eAAe,EAAE,CAAC,CAyF7E,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DebugFeature, ZustandLogEntry } from '
|
|
1
|
+
import type { DebugFeature, ZustandLogEntry } from '../../types';
|
|
2
2
|
export declare const addZustandLog: (action: string, prevState: unknown, nextState: unknown, actionCompleteTime?: number, storeName?: string) => void;
|
|
3
3
|
type ZustandSetState<T> = (partial: T | Partial<T> | ((state: T) => Partial<T> | T), replace?: boolean | undefined, action?: string | {
|
|
4
4
|
type: unknown;
|
|
@@ -24,8 +24,8 @@ export interface ZustandFeatureConfig {
|
|
|
24
24
|
/** Maximum number of zustand state changes to keep (default: 200) */
|
|
25
25
|
maxLogs?: number;
|
|
26
26
|
}
|
|
27
|
-
export declare const createZustandLogFeature: (config?: ZustandFeatureConfig) => DebugFeature<ZustandLogEntry>;
|
|
27
|
+
export declare const createZustandLogFeature: (config?: ZustandFeatureConfig) => DebugFeature<ZustandLogEntry[]>;
|
|
28
28
|
/** Reset module-level state for testing */
|
|
29
29
|
export declare function _resetZustandForTesting(): void;
|
|
30
30
|
export {};
|
|
31
|
-
//# sourceMappingURL=
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/zustand/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAQjE,eAAO,MAAM,aAAa,GACxB,QAAQ,MAAM,EACd,WAAW,OAAO,EAClB,WAAW,OAAO,EAClB,qBAAqB,MAAM,EAC3B,YAAY,MAAM,KACjB,IASF,CAAC;AAIF,KAAK,eAAe,CAAC,CAAC,IAAI,CACxB,OAAO,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,EACxD,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,EAC7B,MAAM,CAAC,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,KAC5C,IAAI,CAAC;AAEV,KAAK,eAAe,CAAC,CAAC,IAAI,MAAM,CAAC,CAAC;AAElC,UAAU,eAAe,CAAC,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC,CAAC;IAClB,QAAQ,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IAC7B,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,KAAK,IAAI,KAAK,MAAM,IAAI,CAAC;IACtE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,KAAK,aAAa,CAAC,CAAC,IAAI,CACtB,GAAG,EAAE,eAAe,CAAC,CAAC,CAAC,EACvB,GAAG,EAAE,eAAe,CAAC,CAAC,CAAC,EACvB,GAAG,EAAE,eAAe,CAAC,CAAC,CAAC,KACpB,CAAC,CAAC;AAEP;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAE,QAAQ,aAAa,CAAC,CAAC,CAAC,MAC9D,KAAK,eAAe,CAAC,CAAC,CAAC,EACvB,KAAK,eAAe,CAAC,CAAC,CAAC,EACvB,KAAK,eAAe,CAAC,CAAC,CAAC,MAqBtB,CAAC;AAIJ,MAAM,WAAW,oBAAoB;IACnC,qEAAqE;IACrE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,uBAAuB,GAAI,SAAS,oBAAoB,KAAG,YAAY,CAAC,eAAe,EAAE,CAKnG,CAAC;AAEJ,2CAA2C;AAC3C,wBAAgB,uBAAuB,IAAI,IAAI,CAE9C"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export { DebugToolkit } from './core/DebugToolkit';
|
|
2
2
|
export { DebugToolkitProvider, useDebugToolkit } from './core/DebugToolkitProvider';
|
|
3
|
-
export { DebugView } from './
|
|
4
|
-
export type { DebugViewProps } from './
|
|
5
|
-
export { initializeDebugToolkit } from './initialize';
|
|
6
|
-
export type { InitializeOptions, FeatureConfigs } from './initialize';
|
|
7
|
-
export { createNetworkFeature } from './features/
|
|
8
|
-
export type { NetworkFeatureConfig, AxiosInstanceLike } from './features/
|
|
9
|
-
export { createConsoleLogFeature } from './features/
|
|
10
|
-
export type { ConsoleFeatureConfig } from './features/
|
|
11
|
-
export { createZustandLogFeature, zustandLogMiddleware, addZustandLog } from './features/
|
|
12
|
-
export type { ZustandFeatureConfig } from './features/
|
|
13
|
-
export { createNavigationLogFeature, addNavigationLog } from './features/
|
|
14
|
-
export type { NavigationFeatureConfig } from './features/
|
|
15
|
-
export { createTrackFeature, addTrackLog } from './features/
|
|
16
|
-
export type { TrackFeatureConfig, TrackEventData } from './features/
|
|
17
|
-
export { createEnvironmentFeature } from './features/
|
|
18
|
-
export type { EnvironmentFeatureAPI } from './features/
|
|
19
|
-
export { createClipboardFeature } from './features/
|
|
20
|
-
export { useNavigationLogger } from './
|
|
3
|
+
export { DebugView } from './ui/DebugView';
|
|
4
|
+
export type { DebugViewProps } from './ui/DebugView';
|
|
5
|
+
export { initializeDebugToolkit } from './core/initialize';
|
|
6
|
+
export type { InitializeOptions, FeatureConfigs } from './core/initialize';
|
|
7
|
+
export { createNetworkFeature } from './features/network';
|
|
8
|
+
export type { NetworkFeatureConfig, AxiosInstanceLike } from './features/network';
|
|
9
|
+
export { createConsoleLogFeature } from './features/console';
|
|
10
|
+
export type { ConsoleFeatureConfig } from './features/console';
|
|
11
|
+
export { createZustandLogFeature, zustandLogMiddleware, addZustandLog } from './features/zustand';
|
|
12
|
+
export type { ZustandFeatureConfig } from './features/zustand';
|
|
13
|
+
export { createNavigationLogFeature, addNavigationLog } from './features/navigation';
|
|
14
|
+
export type { NavigationFeatureConfig } from './features/navigation';
|
|
15
|
+
export { createTrackFeature, addTrackLog } from './features/track';
|
|
16
|
+
export type { TrackFeatureConfig, TrackEventData } from './features/track';
|
|
17
|
+
export { createEnvironmentFeature } from './features/environment';
|
|
18
|
+
export type { EnvironmentFeatureAPI } from './features/environment';
|
|
19
|
+
export { createClipboardFeature } from './features/clipboard';
|
|
20
|
+
export { useNavigationLogger } from './features/navigation/useNavigationLogger';
|
|
21
21
|
export { safeStringify } from './utils/safeStringify';
|
|
22
22
|
export { copyToComputer, logToComputer, fmt } from './utils/copyToComputer';
|
|
23
23
|
export type { CopyResult, CopyOptions, CopyMethod } from './utils/copyToComputer';
|
|
24
24
|
export type { AnyDebugFeature, BuiltInFeatureName, DebugFeature, DebugFeatureRenderProps, NetworkLogEntry, ConsoleLogEntry, ZustandLogEntry, NavigationLogEntry, TrackLogEntry, EnvironmentConfig, EnvironmentState, } from './types';
|
|
25
|
-
export { initializeDebugToolkit as default } from './initialize';
|
|
25
|
+
export { initializeDebugToolkit as default } from './core/initialize';
|
|
26
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACpF,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAG3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC1D,YAAY,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAClG,YAAY,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrF,YAAY,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACnE,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,YAAY,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAG9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAGhF,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,EAAE,MAAM,wBAAwB,CAAC;AAC5E,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAGlF,YAAY,EACV,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,aAAa,EACb,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,SAAS,CAAC;AAGjB,OAAO,EAAE,sBAAsB,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface EnvironmentConfig {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
host: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface EnvironmentState {
|
|
8
|
+
environments: EnvironmentConfig[];
|
|
9
|
+
currentEnvironmentId: string | null;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=environment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment.d.ts","sourceRoot":"","sources":["../../../../src/types/environment.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,iBAAiB,EAAE,CAAC;IAClC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
export type DebugFeatureListener = () => void;
|
|
3
|
+
export type BuiltInFeatureName = 'network' | 'console' | 'zustand' | 'navigation' | 'track' | 'environment' | 'clipboard';
|
|
4
|
+
export interface DebugFeatureRenderProps<TSnapshot = unknown> {
|
|
5
|
+
snapshot: TSnapshot;
|
|
6
|
+
feature: DebugFeature<TSnapshot>;
|
|
7
|
+
}
|
|
8
|
+
export type AnyDebugFeature = DebugFeature<any>;
|
|
9
|
+
export interface DebugFeature<TSnapshot = unknown> {
|
|
10
|
+
name: string;
|
|
11
|
+
label: string;
|
|
12
|
+
setup: () => void;
|
|
13
|
+
getSnapshot: () => TSnapshot;
|
|
14
|
+
clear?: () => void;
|
|
15
|
+
cleanup: () => void;
|
|
16
|
+
subscribe?: (listener: DebugFeatureListener) => () => void;
|
|
17
|
+
renderContent?: ComponentType<DebugFeatureRenderProps<TSnapshot>>;
|
|
18
|
+
badge?: () => {
|
|
19
|
+
label: string;
|
|
20
|
+
color: string;
|
|
21
|
+
} | null;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=feature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../../src/types/feature.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,MAAM,MAAM,oBAAoB,GAAG,MAAM,IAAI,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,SAAS,GACT,SAAS,GACT,YAAY,GACZ,OAAO,GACP,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,WAAW,uBAAuB,CAAC,SAAS,GAAG,OAAO;IAC1D,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,CAAC;CAClC;AAGD,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC;AAEhD,MAAM,WAAW,YAAY,CAAC,SAAS,GAAG,OAAO;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,WAAW,EAAE,MAAM,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAAoB,KAAK,MAAM,IAAI,CAAC;IAC3D,aAAa,CAAC,EAAE,aAAa,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC;IAClE,KAAK,CAAC,EAAE,MAAM;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CACvD"}
|