react-native-debug-toolkit 2.0.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 +82 -120
- package/README.zh-CN.md +171 -0
- package/lib/commonjs/core/DebugToolkit.js +117 -115
- package/lib/commonjs/core/DebugToolkit.js.map +1 -1
- package/lib/commonjs/core/DebugToolkitProvider.js +38 -30
- package/lib/commonjs/core/DebugToolkitProvider.js.map +1 -1
- package/lib/commonjs/core/initialize.js +84 -0
- package/lib/commonjs/core/initialize.js.map +1 -0
- package/lib/commonjs/{components → features/clipboard}/ClipboardTab.js +16 -17
- package/lib/commonjs/features/clipboard/ClipboardTab.js.map +1 -0
- package/lib/commonjs/features/{ClipboardFeature.js → clipboard/index.js} +9 -5
- package/lib/commonjs/features/clipboard/index.js.map +1 -0
- package/lib/commonjs/features/console/ConsoleLogTab.js +162 -0
- package/lib/commonjs/features/console/ConsoleLogTab.js.map +1 -0
- package/lib/commonjs/features/console/index.js +118 -0
- package/lib/commonjs/features/console/index.js.map +1 -0
- package/lib/commonjs/{components → features/environment}/EnvironmentTab.js +24 -25
- package/lib/commonjs/features/environment/EnvironmentTab.js.map +1 -0
- package/lib/commonjs/features/{EnvironmentFeature.js → environment/index.js} +22 -25
- package/lib/commonjs/features/environment/index.js.map +1 -0
- package/lib/commonjs/{components → features/navigation}/NavigationLogTab.js +11 -10
- package/lib/commonjs/features/navigation/NavigationLogTab.js.map +1 -0
- package/lib/commonjs/features/navigation/index.js +39 -0
- 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/features/network/NetworkLogTab.js +405 -0
- package/lib/commonjs/features/network/NetworkLogTab.js.map +1 -0
- package/lib/commonjs/features/network/index.js +96 -0
- 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 +10 -9
- 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/features/track/TrackLogTab.js +230 -0
- package/lib/commonjs/features/track/TrackLogTab.js.map +1 -0
- package/lib/commonjs/features/track/index.js +39 -0
- package/lib/commonjs/features/track/index.js.map +1 -0
- package/lib/commonjs/features/zustand/ZustandLogTab.js +311 -0
- package/lib/commonjs/features/zustand/ZustandLogTab.js.map +1 -0
- package/lib/commonjs/features/zustand/index.js +59 -0
- package/lib/commonjs/features/zustand/index.js.map +1 -0
- package/lib/commonjs/index.js +27 -40
- 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/ui/DebugView.js +66 -0
- package/lib/commonjs/ui/DebugView.js.map +1 -0
- package/lib/commonjs/ui/floating/FloatIcon.js +240 -0
- package/lib/commonjs/ui/floating/FloatIcon.js.map +1 -0
- package/lib/commonjs/ui/panel/DebugPanel.js +230 -0
- package/lib/commonjs/ui/panel/DebugPanel.js.map +1 -0
- package/lib/commonjs/ui/panel/FeatureTabBar.js +182 -0
- package/lib/commonjs/ui/panel/FeatureTabBar.js.map +1 -0
- package/lib/commonjs/ui/panel/FloatPanelView.js +238 -0
- package/lib/commonjs/ui/panel/FloatPanelView.js.map +1 -0
- package/lib/commonjs/{components → ui}/shared/CollapsibleSection.js +4 -4
- package/lib/commonjs/ui/shared/CollapsibleSection.js.map +1 -0
- package/lib/commonjs/{components → ui}/shared/CopyButton.js +3 -3
- package/lib/commonjs/ui/shared/CopyButton.js.map +1 -0
- package/lib/commonjs/ui/shared/JsonView.js.map +1 -0
- package/lib/commonjs/ui/shared/LogListScreen.js +174 -0
- package/lib/commonjs/ui/shared/LogListScreen.js.map +1 -0
- package/lib/commonjs/ui/shared/useSlideDetailAnimation.js.map +1 -0
- package/lib/commonjs/ui/theme/colors.js +43 -0
- package/lib/commonjs/ui/theme/colors.js.map +1 -0
- package/lib/commonjs/ui/theme/layout.js +8 -0
- package/lib/commonjs/ui/theme/layout.js.map +1 -0
- package/lib/commonjs/utils/createChannelFeature.js +62 -0
- package/lib/commonjs/utils/createChannelFeature.js.map +1 -0
- 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/commonjs/utils/urlRewriterRegistry.js +14 -0
- package/lib/commonjs/utils/urlRewriterRegistry.js.map +1 -0
- package/lib/module/core/DebugToolkit.js +117 -114
- package/lib/module/core/DebugToolkit.js.map +1 -1
- package/lib/module/core/DebugToolkitProvider.js +39 -31
- package/lib/module/core/DebugToolkitProvider.js.map +1 -1
- package/lib/module/core/initialize.js +80 -0
- package/lib/module/core/initialize.js.map +1 -0
- package/lib/module/{components → features/clipboard}/ClipboardTab.js +9 -9
- package/lib/module/features/clipboard/ClipboardTab.js.map +1 -0
- package/lib/module/features/clipboard/index.js +16 -0
- package/lib/module/features/clipboard/index.js.map +1 -0
- package/lib/module/features/console/ConsoleLogTab.js +157 -0
- package/lib/module/features/console/ConsoleLogTab.js.map +1 -0
- package/lib/module/features/console/index.js +112 -0
- package/lib/module/features/console/index.js.map +1 -0
- package/lib/module/{components → features/environment}/EnvironmentTab.js +5 -5
- package/lib/module/features/environment/EnvironmentTab.js.map +1 -0
- package/lib/module/features/{EnvironmentFeature.js → environment/index.js} +22 -25
- 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/navigation/index.js +32 -0
- 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/features/network/NetworkLogTab.js +400 -0
- package/lib/module/features/network/NetworkLogTab.js.map +1 -0
- package/lib/module/features/network/index.js +90 -0
- 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/features/track/TrackLogTab.js +225 -0
- package/lib/module/features/track/TrackLogTab.js.map +1 -0
- package/lib/module/features/track/index.js +32 -0
- package/lib/module/features/track/index.js.map +1 -0
- package/lib/module/features/zustand/ZustandLogTab.js +306 -0
- package/lib/module/features/zustand/ZustandLogTab.js.map +1 -0
- package/lib/module/features/zustand/index.js +53 -0
- package/lib/module/features/zustand/index.js.map +1 -0
- package/lib/module/index.js +11 -12
- 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/ui/DebugView.js +61 -0
- package/lib/module/ui/DebugView.js.map +1 -0
- package/lib/module/ui/floating/FloatIcon.js +235 -0
- package/lib/module/ui/floating/FloatIcon.js.map +1 -0
- package/lib/module/ui/panel/DebugPanel.js +225 -0
- package/lib/module/ui/panel/DebugPanel.js.map +1 -0
- package/lib/module/ui/panel/FeatureTabBar.js +177 -0
- package/lib/module/ui/panel/FeatureTabBar.js.map +1 -0
- package/lib/module/ui/panel/FloatPanelView.js +233 -0
- 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/ui/shared/LogListScreen.js +169 -0
- package/lib/module/ui/shared/LogListScreen.js.map +1 -0
- package/lib/module/ui/shared/useSlideDetailAnimation.js.map +1 -0
- package/lib/module/ui/theme/colors.js +38 -0
- package/lib/module/ui/theme/colors.js.map +1 -0
- package/lib/module/ui/theme/layout.js +4 -0
- package/lib/module/ui/theme/layout.js.map +1 -0
- package/lib/module/utils/createChannelFeature.js +58 -0
- package/lib/module/utils/createChannelFeature.js.map +1 -0
- 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/module/utils/urlRewriterRegistry.js +10 -0
- package/lib/module/utils/urlRewriterRegistry.js.map +1 -0
- package/lib/typescript/src/core/DebugToolkit.d.ts +17 -20
- package/lib/typescript/src/core/DebugToolkit.d.ts.map +1 -1
- package/lib/typescript/src/core/DebugToolkitProvider.d.ts +4 -7
- package/lib/typescript/src/core/DebugToolkitProvider.d.ts.map +1 -1
- package/lib/typescript/src/core/initialize.d.ts +32 -0
- 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/clipboard/index.d.ts +7 -0
- 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/console/index.d.ts +9 -0
- 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} +5 -3
- package/lib/typescript/src/features/navigation/index.d.ts.map +1 -0
- package/lib/typescript/src/{hooks → features/navigation}/useNavigationLogger.d.ts +1 -8
- 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} +5 -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} +5 -3
- package/lib/typescript/src/features/zustand/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +20 -20
- 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 -111
- 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/ui/DebugView.d.ts +19 -0
- package/lib/typescript/src/ui/DebugView.d.ts.map +1 -0
- package/lib/typescript/src/ui/floating/FloatIcon.d.ts +12 -0
- package/lib/typescript/src/ui/floating/FloatIcon.d.ts.map +1 -0
- package/lib/typescript/src/ui/panel/DebugPanel.d.ts +9 -0
- package/lib/typescript/src/ui/panel/DebugPanel.d.ts.map +1 -0
- package/lib/typescript/src/ui/panel/FeatureTabBar.d.ts +13 -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 +21 -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 +21 -0
- package/lib/typescript/src/ui/theme/colors.d.ts.map +1 -0
- package/lib/typescript/src/ui/theme/layout.d.ts +2 -0
- package/lib/typescript/src/ui/theme/layout.d.ts.map +1 -0
- package/lib/typescript/src/utils/createChannelFeature.d.ts +27 -0
- package/lib/typescript/src/utils/createChannelFeature.d.ts.map +1 -0
- 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/lib/typescript/src/utils/urlRewriterRegistry.d.ts +7 -0
- package/lib/typescript/src/utils/urlRewriterRegistry.d.ts.map +1 -0
- package/package.json +5 -1
- package/src/core/DebugToolkit.tsx +144 -142
- package/src/core/DebugToolkitProvider.tsx +44 -43
- package/src/core/initialize.ts +122 -0
- package/src/{components → features/clipboard}/ClipboardTab.tsx +10 -10
- package/src/features/clipboard/index.ts +15 -0
- package/src/features/console/ConsoleLogTab.tsx +95 -0
- package/src/features/console/index.ts +119 -0
- package/src/{components → features/environment}/EnvironmentTab.tsx +7 -7
- package/src/features/{EnvironmentFeature.ts → environment/index.ts} +27 -25
- package/src/{components → features/navigation}/NavigationLogTab.tsx +6 -5
- package/src/features/navigation/index.ts +44 -0
- package/src/{hooks → features/navigation}/useNavigationLogger.ts +3 -8
- package/src/features/network/NetworkLogTab.tsx +271 -0
- package/src/features/network/index.ts +113 -0
- package/src/features/network/networkInterceptor.ts +311 -0
- package/src/{components → features/thirdPartyLibs}/ThirdPartyLibsTab.tsx +6 -5
- package/src/features/{ThirdPartyLibsFeature.ts → thirdPartyLibs/index.ts} +5 -5
- package/src/features/track/TrackLogTab.tsx +110 -0
- package/src/features/track/index.ts +41 -0
- package/src/features/zustand/ZustandLogTab.tsx +203 -0
- package/src/features/{ZustandLogFeature.ts → zustand/index.ts} +19 -45
- package/src/index.ts +20 -24
- package/src/types/environment.ts +11 -0
- package/src/types/feature.ts +32 -0
- package/src/types/index.ts +29 -138
- package/src/types/logs.ts +54 -0
- package/src/types/navigation.ts +5 -0
- package/src/types/thirdPartyLibs.ts +13 -0
- package/src/ui/DebugView.tsx +80 -0
- package/src/ui/floating/FloatIcon.tsx +202 -0
- package/src/ui/panel/DebugPanel.tsx +215 -0
- package/src/ui/panel/FeatureTabBar.tsx +204 -0
- package/src/ui/panel/FloatPanelView.tsx +227 -0
- package/src/{components → ui}/shared/CollapsibleSection.tsx +1 -1
- package/src/{components → ui}/shared/CopyButton.tsx +1 -1
- package/src/ui/shared/LogListScreen.tsx +164 -0
- package/src/ui/theme/colors.ts +33 -0
- package/src/ui/theme/layout.ts +1 -0
- package/src/utils/createChannelFeature.ts +80 -0
- package/src/utils/createObservableStore.ts +6 -0
- package/src/utils/createPersistedObservableStore.ts +76 -0
- package/src/utils/debugPreferences.ts +48 -0
- package/src/utils/urlRewriterRegistry.ts +10 -0
- package/lib/commonjs/components/ClipboardTab.js.map +0 -1
- package/lib/commonjs/components/ConsoleLogTab.js +0 -295
- package/lib/commonjs/components/ConsoleLogTab.js.map +0 -1
- package/lib/commonjs/components/EnvironmentTab.js.map +0 -1
- package/lib/commonjs/components/FloatPanelView.js +0 -797
- package/lib/commonjs/components/FloatPanelView.js.map +0 -1
- package/lib/commonjs/components/NavigationLogTab.js.map +0 -1
- package/lib/commonjs/components/NetworkLogTab.js +0 -575
- package/lib/commonjs/components/NetworkLogTab.js.map +0 -1
- package/lib/commonjs/components/ThirdPartyLibsTab.js.map +0 -1
- package/lib/commonjs/components/TrackLogTab.js +0 -372
- package/lib/commonjs/components/TrackLogTab.js.map +0 -1
- package/lib/commonjs/components/ZustandLogTab.js +0 -451
- 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/features/ClipboardFeature.js.map +0 -1
- package/lib/commonjs/features/ConsoleLogFeature.js +0 -98
- package/lib/commonjs/features/ConsoleLogFeature.js.map +0 -1
- package/lib/commonjs/features/EnvironmentFeature.js.map +0 -1
- package/lib/commonjs/features/NavigationLogFeature.js +0 -60
- package/lib/commonjs/features/NavigationLogFeature.js.map +0 -1
- package/lib/commonjs/features/NetworkFeature.js +0 -328
- package/lib/commonjs/features/NetworkFeature.js.map +0 -1
- package/lib/commonjs/features/ThirdPartyLibsFeature.js.map +0 -1
- package/lib/commonjs/features/TrackFeature.js +0 -55
- package/lib/commonjs/features/TrackFeature.js.map +0 -1
- package/lib/commonjs/features/ZustandLogFeature.js +0 -76
- 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 +0 -161
- package/lib/commonjs/initialize.js.map +0 -1
- package/lib/commonjs/native/NativeDebugLibs.js.map +0 -1
- package/lib/commonjs/utils/constants.js +0 -135
- package/lib/commonjs/utils/constants.js.map +0 -1
- package/lib/module/components/ClipboardTab.js.map +0 -1
- package/lib/module/components/ConsoleLogTab.js +0 -290
- package/lib/module/components/ConsoleLogTab.js.map +0 -1
- package/lib/module/components/EnvironmentTab.js.map +0 -1
- package/lib/module/components/FloatPanelView.js +0 -791
- package/lib/module/components/FloatPanelView.js.map +0 -1
- package/lib/module/components/NavigationLogTab.js.map +0 -1
- package/lib/module/components/NetworkLogTab.js +0 -570
- package/lib/module/components/NetworkLogTab.js.map +0 -1
- package/lib/module/components/ThirdPartyLibsTab.js.map +0 -1
- package/lib/module/components/TrackLogTab.js +0 -367
- package/lib/module/components/TrackLogTab.js.map +0 -1
- package/lib/module/components/ZustandLogTab.js +0 -446
- 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/features/ClipboardFeature.js +0 -12
- package/lib/module/features/ClipboardFeature.js.map +0 -1
- package/lib/module/features/ConsoleLogFeature.js +0 -93
- package/lib/module/features/ConsoleLogFeature.js.map +0 -1
- package/lib/module/features/EnvironmentFeature.js.map +0 -1
- package/lib/module/features/NavigationLogFeature.js +0 -54
- package/lib/module/features/NavigationLogFeature.js.map +0 -1
- package/lib/module/features/NetworkFeature.js +0 -322
- package/lib/module/features/NetworkFeature.js.map +0 -1
- package/lib/module/features/ThirdPartyLibsFeature.js.map +0 -1
- package/lib/module/features/TrackFeature.js +0 -49
- package/lib/module/features/TrackFeature.js.map +0 -1
- package/lib/module/features/ZustandLogFeature.js +0 -69
- 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 +0 -156
- package/lib/module/initialize.js.map +0 -1
- package/lib/module/native/NativeDebugLibs.js.map +0 -1
- package/lib/module/utils/constants.js +0 -130
- package/lib/module/utils/constants.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/EnvironmentTab.d.ts.map +0 -1
- package/lib/typescript/src/components/FloatPanelView.d.ts +0 -64
- 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/features/ClipboardFeature.d.ts +0 -3
- package/lib/typescript/src/features/ClipboardFeature.d.ts.map +0 -1
- package/lib/typescript/src/features/ConsoleLogFeature.d.ts +0 -7
- 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 -28
- 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 +0 -51
- package/lib/typescript/src/initialize.d.ts.map +0 -1
- package/lib/typescript/src/native/NativeDebugLibs.d.ts.map +0 -1
- package/lib/typescript/src/utils/constants.d.ts +0 -96
- package/lib/typescript/src/utils/constants.d.ts.map +0 -1
- package/src/components/ConsoleLogTab.tsx +0 -209
- package/src/components/FloatPanelView.tsx +0 -714
- package/src/components/NetworkLogTab.tsx +0 -411
- package/src/components/TrackLogTab.tsx +0 -245
- package/src/components/ZustandLogTab.tsx +0 -305
- package/src/features/ClipboardFeature.ts +0 -11
- package/src/features/ConsoleLogFeature.ts +0 -118
- package/src/features/NavigationLogFeature.ts +0 -74
- package/src/features/NetworkFeature.ts +0 -488
- package/src/features/TrackFeature.ts +0 -69
- package/src/initialize.ts +0 -214
- package/src/utils/constants.ts +0 -91
- /package/lib/commonjs/{components → ui}/shared/JsonView.js +0 -0
- /package/lib/commonjs/{hooks → ui/shared}/useSlideDetailAnimation.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/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/{hooks → ui/shared}/useSlideDetailAnimation.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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createObservableStore","data","listeners","Set","notify","forEach","listener","getData","push","item","maxEntries","length","slice","clear","subscribe","add","delete"],"sourceRoot":"../../../src","sources":["utils/createObservableStore.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["createObservableStore","data","listeners","Set","notify","forEach","listener","getData","push","item","maxEntries","length","slice","pushBatch","items","clear","subscribe","add","delete"],"sourceRoot":"../../../src","sources":["utils/createObservableStore.ts"],"mappings":";;AAUA,OAAO,SAASA,qBAAqBA,CAAA,EAA0B;EAC7D,IAAIC,IAAS,GAAG,EAAE;EAClB,MAAMC,SAAS,GAAG,IAAIC,GAAG,CAAgB,CAAC;EAE1C,MAAMC,MAAM,GAAGA,CAAA,KAAM;IACnBF,SAAS,CAACG,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,CAAC,CAAC,CAAC;EAC7C,CAAC;EAED,OAAO;IACLC,OAAO,EAAEA,CAAA,KAAMN,IAAI;IACnBO,IAAI,EAAEA,CAACC,IAAI,EAAEC,UAAU,KAAK;MAC1B,IAAIA,UAAU,IAAIT,IAAI,CAACU,MAAM,IAAID,UAAU,EAAE;QAC3CT,IAAI,GAAG,CAAC,GAAGA,IAAI,CAACW,KAAK,CAACX,IAAI,CAACU,MAAM,GAAGD,UAAU,GAAG,CAAC,CAAC,EAAED,IAAI,CAAC;MAC5D,CAAC,MAAM;QACLR,IAAI,GAAG,CAAC,GAAGA,IAAI,EAAEQ,IAAI,CAAC;MACxB;MACAL,MAAM,CAAC,CAAC;IACV,CAAC;IACDS,SAAS,EAAGC,KAAK,IAAK;MACpB,IAAIA,KAAK,CAACH,MAAM,KAAK,CAAC,EAAE;MACxBV,IAAI,GAAG,CAAC,GAAGA,IAAI,EAAE,GAAGa,KAAK,CAAC;MAC1BV,MAAM,CAAC,CAAC;IACV,CAAC;IACDW,KAAK,EAAEA,CAAA,KAAM;MACX,IAAId,IAAI,CAACU,MAAM,KAAK,CAAC,EAAE;QACrB;MACF;MACAV,IAAI,GAAG,EAAE;MACTG,MAAM,CAAC,CAAC;IACV,CAAC;IACDY,SAAS,EAAGV,QAAQ,IAAK;MACvBJ,SAAS,CAACe,GAAG,CAACX,QAAQ,CAAC;MACvB,OAAO,MAAM;QACXJ,SAAS,CAACgB,MAAM,CAACZ,QAAQ,CAAC;MAC5B,CAAC;IACH;EACF,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { createObservableStore } from './createObservableStore';
|
|
4
|
+
import { getPreference, setPreference } from './debugPreferences';
|
|
5
|
+
export function createPersistedObservableStore(options) {
|
|
6
|
+
const {
|
|
7
|
+
storageKey,
|
|
8
|
+
maxPersist,
|
|
9
|
+
debounceMs = 2000,
|
|
10
|
+
serialize
|
|
11
|
+
} = options;
|
|
12
|
+
const store = createObservableStore();
|
|
13
|
+
let writeTimer = null;
|
|
14
|
+
let idCounter = 0;
|
|
15
|
+
|
|
16
|
+
// Restore from storage (single notify via pushBatch)
|
|
17
|
+
getPreference(storageKey).then(raw => {
|
|
18
|
+
if (!raw) return;
|
|
19
|
+
try {
|
|
20
|
+
const entries = JSON.parse(raw);
|
|
21
|
+
if (!Array.isArray(entries)) return;
|
|
22
|
+
const restored = entries.slice(-maxPersist);
|
|
23
|
+
store.pushBatch(restored);
|
|
24
|
+
// Fix ID counter to avoid collision with restored entries
|
|
25
|
+
let max = 0;
|
|
26
|
+
for (const e of restored) {
|
|
27
|
+
const n = parseInt(e.id ?? '', 10);
|
|
28
|
+
if (!isNaN(n) && n >= max) max = n + 1;
|
|
29
|
+
}
|
|
30
|
+
idCounter = max;
|
|
31
|
+
} catch {
|
|
32
|
+
// ignore corrupt data
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
function scheduleWrite() {
|
|
36
|
+
if (writeTimer !== null) clearTimeout(writeTimer);
|
|
37
|
+
writeTimer = setTimeout(() => {
|
|
38
|
+
writeTimer = null;
|
|
39
|
+
const data = store.getData().slice(-maxPersist);
|
|
40
|
+
const toStore = serialize ? data.map(serialize) : data;
|
|
41
|
+
try {
|
|
42
|
+
setPreference(storageKey, JSON.stringify(toStore));
|
|
43
|
+
} catch {
|
|
44
|
+
// stringify failed (circular refs, etc) — skip write
|
|
45
|
+
}
|
|
46
|
+
}, debounceMs);
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
getData: store.getData,
|
|
50
|
+
push: (item, maxEntries) => {
|
|
51
|
+
store.push(item, maxEntries);
|
|
52
|
+
scheduleWrite();
|
|
53
|
+
},
|
|
54
|
+
pushBatch: store.pushBatch,
|
|
55
|
+
clear: () => {
|
|
56
|
+
store.clear();
|
|
57
|
+
if (writeTimer !== null) {
|
|
58
|
+
clearTimeout(writeTimer);
|
|
59
|
+
writeTimer = null;
|
|
60
|
+
}
|
|
61
|
+
setPreference(storageKey, '[]');
|
|
62
|
+
},
|
|
63
|
+
subscribe: store.subscribe,
|
|
64
|
+
nextId: () => String(idCounter++)
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=createPersistedObservableStore.js.map
|
|
@@ -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":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["current","urlRewriter","get","set","rewriter"],"sourceRoot":"../../../src","sources":["utils/urlRewriterRegistry.ts"],"mappings":";;AAEA,IAAIA,OAA2B,GAAG,IAAI;AAEtC,OAAO,MAAMC,WAAW,GAAG;EACzBC,GAAG,EAAEA,CAAA,KAA0BF,OAAO;EACtCG,GAAG,EAAGC,QAA4B,IAAW;IAC3CJ,OAAO,GAAGI,QAAQ;EACpB;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,27 +1,24 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(enabled?: boolean): DebugToolkit;
|
|
10
|
-
get features(): DebugFeature[];
|
|
11
|
-
get enabled(): boolean;
|
|
12
|
-
get panelVisible(): boolean;
|
|
13
|
-
registerRenderCallback(cb: () => void): void;
|
|
14
|
-
unregisterRenderCallback(): void;
|
|
1
|
+
import type { AnyDebugFeature } from '../types';
|
|
2
|
+
type Listener = () => void;
|
|
3
|
+
export declare const DebugToolkit: {
|
|
4
|
+
subscribe(listener: Listener): () => void;
|
|
5
|
+
readonly features: AnyDebugFeature[];
|
|
6
|
+
readonly enabled: boolean;
|
|
7
|
+
readonly launcherVisible: boolean;
|
|
15
8
|
setEnabled(enabled: boolean): void;
|
|
16
|
-
|
|
17
|
-
addFeature(feature:
|
|
9
|
+
replaceFeatures(features: AnyDebugFeature[]): void;
|
|
10
|
+
addFeature(feature: AnyDebugFeature): void;
|
|
18
11
|
removeFeature(name: string): void;
|
|
19
|
-
replaceFeatures(features: DebugFeature[]): void;
|
|
20
12
|
reset(): void;
|
|
21
13
|
hasFeatures(): boolean;
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
readonly panelOpen: boolean;
|
|
15
|
+
openPanel(): void;
|
|
16
|
+
closePanel(): void;
|
|
17
|
+
togglePanel(): void;
|
|
18
|
+
showLauncher(): void;
|
|
19
|
+
hideLauncher(): void;
|
|
24
20
|
clearAll(): void;
|
|
25
21
|
destroy(): void;
|
|
26
|
-
}
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
27
24
|
//# sourceMappingURL=DebugToolkit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugToolkit.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
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"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AnyDebugFeature } from '../types';
|
|
3
3
|
interface ToolkitContextValue {
|
|
4
|
-
features:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
addFeature: (feature: DebugFeature) => void;
|
|
8
|
-
removeFeature: (name: string) => void;
|
|
4
|
+
features: AnyDebugFeature[];
|
|
5
|
+
showLauncher: () => void;
|
|
6
|
+
hideLauncher: () => void;
|
|
9
7
|
clearAll: () => void;
|
|
10
|
-
destroy: () => void;
|
|
11
8
|
}
|
|
12
9
|
interface DebugToolkitProviderProps {
|
|
13
10
|
children: ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugToolkitProvider.d.ts","sourceRoot":"","sources":["../../../../src/core/DebugToolkitProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
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"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
/** Feature-specific configuration map */
|
|
9
|
+
export interface FeatureConfigs {
|
|
10
|
+
network?: boolean | NetworkFeatureConfig;
|
|
11
|
+
console?: boolean | ConsoleFeatureConfig;
|
|
12
|
+
zustand?: boolean | ZustandFeatureConfig;
|
|
13
|
+
navigation?: boolean | NavigationFeatureConfig;
|
|
14
|
+
track?: boolean | TrackFeatureConfig;
|
|
15
|
+
environment?: Parameters<typeof createEnvironmentFeature>[0];
|
|
16
|
+
clipboard?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface InitializeOptions {
|
|
19
|
+
features?: FeatureConfigs;
|
|
20
|
+
enabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Initialize the debug toolkit.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* initializeDebugToolkit({
|
|
27
|
+
* features: { network: true, console: true },
|
|
28
|
+
* enabled: true,
|
|
29
|
+
* });
|
|
30
|
+
*/
|
|
31
|
+
export declare function initializeDebugToolkit(options?: InitializeOptions): typeof DebugToolkit;
|
|
32
|
+
//# sourceMappingURL=initialize.d.ts.map
|
|
@@ -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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { DebugFeature } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Clipboard feature — all logic lives in ClipboardTab.
|
|
4
|
+
* Data flow is user-driven (TextInput), not event-based.
|
|
5
|
+
*/
|
|
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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ConsoleLogEntry, DebugFeature } from '../../types';
|
|
2
|
+
export interface ConsoleFeatureConfig {
|
|
3
|
+
/** Maximum number of console logs to keep (default: 200) */
|
|
4
|
+
maxLogs?: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const createConsoleLogFeature: (config?: ConsoleFeatureConfig) => DebugFeature<ConsoleLogEntry[]>;
|
|
7
|
+
/** Reset module-level state for testing */
|
|
8
|
+
export declare function _resetConsoleForTesting(): void;
|
|
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,8 +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>;
|
|
8
|
-
|
|
7
|
+
export declare const createNavigationLogFeature: (config?: NavigationFeatureConfig) => DebugFeature<NavigationLogEntry[]>;
|
|
8
|
+
/** Reset module-level state for testing */
|
|
9
|
+
export declare function _resetNavigationForTesting(): void;
|
|
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"}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
getCurrentRoute?: () => {
|
|
3
|
-
name?: string;
|
|
4
|
-
} | undefined;
|
|
5
|
-
getRootState?: () => unknown;
|
|
6
|
-
addListener: (event: string, callback: () => void) => () => void;
|
|
7
|
-
}
|
|
1
|
+
import type { NavigationContainerRef } from '../../types';
|
|
8
2
|
/**
|
|
9
3
|
* Hook to automatically log React Navigation events.
|
|
10
4
|
*
|
|
@@ -16,5 +10,4 @@ interface NavigationContainerRef {
|
|
|
16
10
|
* ```
|
|
17
11
|
*/
|
|
18
12
|
export declare function useNavigationLogger(navigationRef: React.RefObject<NavigationContainerRef | null>): void;
|
|
19
|
-
export {};
|
|
20
13
|
//# sourceMappingURL=useNavigationLogger.d.ts.map
|
|
@@ -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,5 +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>;
|
|
12
|
-
|
|
11
|
+
export declare const createTrackFeature: (config?: TrackFeatureConfig) => DebugFeature<TrackLogEntry[]>;
|
|
12
|
+
/** Reset module-level state for testing */
|
|
13
|
+
export declare function _resetTrackForTesting(): void;
|
|
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,6 +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
|
+
/** Reset module-level state for testing */
|
|
29
|
+
export declare function _resetZustandForTesting(): void;
|
|
28
30
|
export {};
|
|
29
|
-
//# 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"}
|