@hakam-aldeen-kh/blix 0.3.2 → 0.3.3
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 +90 -0
- package/dist/{DevToolsPanel-GBMCZRMW.js → DevToolsPanel-TXMT43YN.js} +3858 -1452
- package/dist/capture/index.d.ts +13 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/capture/index.d.ts
CHANGED
|
@@ -466,6 +466,19 @@ interface MonitorPrefs {
|
|
|
466
466
|
captureInitiator: boolean;
|
|
467
467
|
/** Last pinned request; restored only if the id still resolves. */
|
|
468
468
|
selectedId: string | null;
|
|
469
|
+
/**
|
|
470
|
+
* Panel theme — `"auto"` (follow the host app's light/dark choice) or a
|
|
471
|
+
* theme id from `ui/themes/themes.ts`.
|
|
472
|
+
*
|
|
473
|
+
* Typed as a plain string like the two settings below it, so this module
|
|
474
|
+
* stays free of any dependency on the UI layer — the panel normalizes it on
|
|
475
|
+
* read, and an id that no longer exists falls back to `"auto"`.
|
|
476
|
+
*/
|
|
477
|
+
theme: string;
|
|
478
|
+
/** How payloads are rendered in the detail pane — tree | table | json |
|
|
479
|
+
* yaml | text. A plain string for the same reason as `theme`: this module
|
|
480
|
+
* stays free of any dependency on the UI layer. */
|
|
481
|
+
dataFormat: string;
|
|
469
482
|
/** Active top-level section — `"network"` (HTTP) or `"realtime"` (sockets). */
|
|
470
483
|
section: string;
|
|
471
484
|
/** Row height preset: compact | normal | comfy. */
|
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ function Blix({ store, apiClient, dbName }) {
|
|
|
21
21
|
const panelRef = useRef(null);
|
|
22
22
|
if (typeof window !== "undefined" && process.env.NODE_ENV === "development") {
|
|
23
23
|
if (!panelRef.current) {
|
|
24
|
-
panelRef.current = lazy(() => import("./DevToolsPanel-
|
|
24
|
+
panelRef.current = lazy(() => import("./DevToolsPanel-TXMT43YN.js"));
|
|
25
25
|
}
|
|
26
26
|
const Panel = panelRef.current;
|
|
27
27
|
if (dbName) configureDbName(dbName);
|