@buoy-gg/storage 7.0.39 → 7.0.41

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.
Files changed (96) hide show
  1. package/README.md +4 -0
  2. package/lib/commonjs/index.js +8 -1
  3. package/lib/commonjs/preset.js +9 -4
  4. package/lib/commonjs/storage/components/GameUIStorageBrowser.js +3 -2
  5. package/lib/commonjs/storage/components/MMKVInstanceSelector.js +3 -2
  6. package/lib/commonjs/storage/components/StorageActionButtons.js +6 -5
  7. package/lib/commonjs/storage/components/StorageEventCard.js +2 -1
  8. package/lib/commonjs/storage/components/StorageEventFilterView.js +7 -6
  9. package/lib/commonjs/storage/components/StorageKeyStats.js +5 -4
  10. package/lib/commonjs/storage/components/StorageTypeFilterBar.js +4 -3
  11. package/lib/commonjs/storage/hooks/useSecureStoreKeys.js +55 -12
  12. package/lib/commonjs/storage/sync/storageSyncAdapter.js +15 -1
  13. package/lib/commonjs/storage/utils/AsyncStorageListener.web.js +89 -0
  14. package/lib/commonjs/storage/utils/browserStorageLifecycle.js +10 -0
  15. package/lib/commonjs/storage/utils/browserStorageLifecycle.web.js +70 -0
  16. package/lib/commonjs/storage/utils/mmkvAvailability.web.js +21 -0
  17. package/lib/commonjs/storage/utils/storageLabels.js +13 -0
  18. package/lib/commonjs/storage/utils/storageLabels.web.js +13 -0
  19. package/lib/module/index.js +3 -1
  20. package/lib/module/preset.js +11 -5
  21. package/lib/module/storage/components/GameUIStorageBrowser.js +3 -2
  22. package/lib/module/storage/components/MMKVInstanceSelector.js +4 -3
  23. package/lib/module/storage/components/StorageActionButtons.js +6 -5
  24. package/lib/module/storage/components/StorageEventCard.js +2 -1
  25. package/lib/module/storage/components/StorageEventFilterView.js +7 -6
  26. package/lib/module/storage/components/StorageKeyStats.js +5 -4
  27. package/lib/module/storage/components/StorageTypeFilterBar.js +4 -3
  28. package/lib/module/storage/hooks/useSecureStoreKeys.js +55 -12
  29. package/lib/module/storage/sync/storageSyncAdapter.js +12 -0
  30. package/lib/module/storage/utils/AsyncStorageListener.web.js +76 -0
  31. package/lib/module/storage/utils/browserStorageLifecycle.js +6 -0
  32. package/lib/module/storage/utils/browserStorageLifecycle.web.js +66 -0
  33. package/lib/module/storage/utils/mmkvAvailability.web.js +15 -0
  34. package/lib/module/storage/utils/storageLabels.js +9 -0
  35. package/lib/module/storage/utils/storageLabels.web.js +9 -0
  36. package/lib/typescript/index.d.ts +1 -0
  37. package/lib/typescript/index.d.ts.map +1 -1
  38. package/lib/typescript/preset.d.ts.map +1 -1
  39. package/lib/typescript/storage/components/GameUIStorageBrowser.d.ts.map +1 -1
  40. package/lib/typescript/storage/components/MMKVInstanceSelector.d.ts +0 -8
  41. package/lib/typescript/storage/components/MMKVInstanceSelector.d.ts.map +1 -1
  42. package/lib/typescript/storage/components/StorageActionButtons.d.ts.map +1 -1
  43. package/lib/typescript/storage/components/StorageEventCard.d.ts +0 -7
  44. package/lib/typescript/storage/components/StorageEventCard.d.ts.map +1 -1
  45. package/lib/typescript/storage/components/StorageEventFilterView.d.ts.map +1 -1
  46. package/lib/typescript/storage/components/StorageKeyRow.d.ts +2 -6
  47. package/lib/typescript/storage/components/StorageKeyRow.d.ts.map +1 -1
  48. package/lib/typescript/storage/components/StorageKeyStats.d.ts.map +1 -1
  49. package/lib/typescript/storage/components/StorageTypeFilterBar.d.ts +0 -15
  50. package/lib/typescript/storage/components/StorageTypeFilterBar.d.ts.map +1 -1
  51. package/lib/typescript/storage/hooks/useSecureStoreKeys.d.ts +2 -2
  52. package/lib/typescript/storage/hooks/useSecureStoreKeys.d.ts.map +1 -1
  53. package/lib/typescript/storage/sync/storageSyncAdapter.d.ts +7 -13
  54. package/lib/typescript/storage/sync/storageSyncAdapter.d.ts.map +1 -1
  55. package/lib/typescript/storage/utils/AsyncStorageListener.web.d.ts +24 -0
  56. package/lib/typescript/storage/utils/AsyncStorageListener.web.d.ts.map +1 -0
  57. package/lib/typescript/storage/utils/browserStorageLifecycle.d.ts +3 -0
  58. package/lib/typescript/storage/utils/browserStorageLifecycle.d.ts.map +1 -0
  59. package/lib/typescript/storage/utils/browserStorageLifecycle.web.d.ts +2 -0
  60. package/lib/typescript/storage/utils/browserStorageLifecycle.web.d.ts.map +1 -0
  61. package/lib/typescript/storage/utils/mmkvAvailability.web.d.ts +4 -0
  62. package/lib/typescript/storage/utils/mmkvAvailability.web.d.ts.map +1 -0
  63. package/lib/typescript/storage/utils/storageLabels.d.ts +8 -0
  64. package/lib/typescript/storage/utils/storageLabels.d.ts.map +1 -0
  65. package/lib/typescript/storage/utils/storageLabels.web.d.ts +8 -0
  66. package/lib/typescript/storage/utils/storageLabels.web.d.ts.map +1 -0
  67. package/lib/web/index.mjs +5 -0
  68. package/package.json +40 -14
  69. package/lib/commonjs/storage/components/DiffViewer/DiffOptionsPanel.js +0 -356
  70. package/lib/commonjs/storage/components/DiffViewer/components/DiffSummary.js +0 -122
  71. package/lib/commonjs/storage/components/StorageKeyEditorScreen.js +0 -414
  72. package/lib/commonjs/storage/components/StorageScalarKeyEditor.js +0 -61
  73. package/lib/commonjs/storage/components/StorageValueEditModal.js +0 -24
  74. package/lib/commonjs/storage/hooks/useKeyEditor.js +0 -31
  75. package/lib/commonjs/storage/hooks/useTreeDraft.js +0 -25
  76. package/lib/module/storage/components/DiffViewer/DiffOptionsPanel.js +0 -352
  77. package/lib/module/storage/components/DiffViewer/components/DiffSummary.js +0 -118
  78. package/lib/module/storage/components/StorageKeyEditorScreen.js +0 -410
  79. package/lib/module/storage/components/StorageScalarKeyEditor.js +0 -57
  80. package/lib/module/storage/components/StorageValueEditModal.js +0 -20
  81. package/lib/module/storage/hooks/useKeyEditor.js +0 -27
  82. package/lib/module/storage/hooks/useTreeDraft.js +0 -21
  83. package/lib/typescript/storage/components/DiffViewer/DiffOptionsPanel.d.ts +0 -18
  84. package/lib/typescript/storage/components/DiffViewer/DiffOptionsPanel.d.ts.map +0 -1
  85. package/lib/typescript/storage/components/DiffViewer/components/DiffSummary.d.ts +0 -12
  86. package/lib/typescript/storage/components/DiffViewer/components/DiffSummary.d.ts.map +0 -1
  87. package/lib/typescript/storage/components/StorageKeyEditorScreen.d.ts +0 -42
  88. package/lib/typescript/storage/components/StorageKeyEditorScreen.d.ts.map +0 -1
  89. package/lib/typescript/storage/components/StorageScalarKeyEditor.d.ts +0 -24
  90. package/lib/typescript/storage/components/StorageScalarKeyEditor.d.ts.map +0 -1
  91. package/lib/typescript/storage/components/StorageValueEditModal.d.ts +0 -14
  92. package/lib/typescript/storage/components/StorageValueEditModal.d.ts.map +0 -1
  93. package/lib/typescript/storage/hooks/useKeyEditor.d.ts +0 -27
  94. package/lib/typescript/storage/hooks/useKeyEditor.d.ts.map +0 -1
  95. package/lib/typescript/storage/hooks/useTreeDraft.d.ts +0 -16
  96. package/lib/typescript/storage/hooks/useTreeDraft.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;qBAKX;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;6BAGJ,kBAAkB,EAAE;;;CAGjD,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,iBAAiB;IAG1B,iDAAiD;0BAC3B,kBAAkB,EAAE;IAC1C,qCAAqC;kCACP,OAAO;;;;;;qBAtCtB;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE;;;6BAGJ,kBAAkB,EAAE;;;CAwClD,CAAC"}
1
+ {"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../src/preset.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,OAAO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AChB,cAAc,EACd,eAAe,EACf,cAAc,EACd,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,oBAAoB,EACpB,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,kBAAkB,EAClB,SAAgB,EAChB,SAAS,EACT,aAAa,GACd,EAAE,yBAAyB,+BA2nC3B"}
1
+ {"version":3,"file":"GameUIStorageBrowser.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/GameUIStorageBrowser.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,gBAAgB,EACjB,MAAM,OAAO,CAAC;AAmBf,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAmB,MAAM,UAAU,CAAC;AAK/E,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACvB,MAAM,sBAAsB,CAAC;AA4C9B;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,QAAmC,CAAC;AAEpE,UAAU,yBAAyB;IACjC,mBAAmB,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC3C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,eAAe,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC9B,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAC,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACzC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxC,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,GAAG,CAAC,OAAO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@@
1
- /**
2
- * MMKVInstanceSelector Component
3
- *
4
- * Dropdown selector for choosing between multiple MMKV instances.
5
- * Shows instance ID, key count, and metadata badges (encrypted, read-only).
6
- *
7
- * Used in GameUIStorageBrowser when storage type filter is set to "mmkv".
8
- */
9
1
  interface MMKVInstanceSelectorProps {
10
2
  selectedInstanceId: string | null;
11
3
  onSelectInstance: (instanceId: string) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"MMKVInstanceSelector.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/MMKVInstanceSelector.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAeH,UAAU,yBAAyB;IACjC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,kBAAkB,EAClB,gBAAgB,EAChB,iBAAwB,GACzB,EAAE,yBAAyB,+BA2H3B"}
1
+ {"version":3,"file":"MMKVInstanceSelector.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/MMKVInstanceSelector.tsx"],"names":[],"mappings":"AAuBA,UAAU,yBAAyB;IACjC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,gBAAgB,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,kBAAkB,EAClB,gBAAgB,EAChB,iBAAwB,GACzB,EAAE,yBAAyB,+BA2H3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"StorageActionButtons.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageActionButtons.tsx"],"names":[],"mappings":"AAOA,UAAU,yBAAyB;IACjC,iCAAiC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,GAAG,CAAA;KAAE,CAAC,CAAC;IACrD,iBAAiB,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACxD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,uCAAuC;IACvC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wCAAwC;IACxC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,aAAkB,EAClB,iBAAyB,EACzB,eAAe,EACf,YAAoB,EACpB,kBAAkB,EAClB,aAAiB,GAClB,EAAE,yBAAyB,+BA0O3B"}
1
+ {"version":3,"file":"StorageActionButtons.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageActionButtons.tsx"],"names":[],"mappings":"AAQA,UAAU,yBAAyB;IACjC,iCAAiC;IACjC,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,GAAG,CAAA;KAAE,CAAC,CAAC;IACrD,iBAAiB,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACxD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,uCAAuC;IACvC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wCAAwC;IACxC,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,aAAkB,EAClB,iBAAyB,EACzB,eAAe,EACf,YAAoB,EACpB,kBAAkB,EAClB,aAAiB,GAClB,EAAE,yBAAyB,+BA0O3B"}
@@ -1,10 +1,3 @@
1
- /**
2
- * StorageEventCard
3
- *
4
- * Shared card component for displaying storage events.
5
- * Used by both Storage DevTools and Events DevTools for consistent UI.
6
- * Uses CompactRow for consistent layout with Redux/React Query cards.
7
- */
8
1
  /** Value type for storage events */
9
2
  export type StorageValueType = "string" | "number" | "boolean" | "null" | "undefined" | "object" | "array";
10
3
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"StorageEventCard.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventCard.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH,oCAAoC;AACpC,MAAM,MAAM,gBAAgB,GACxB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,WAAW,GACX,QAAQ,GACR,OAAO,CAAC;AAEZ;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAU7D;AAED,MAAM,WAAW,oBAAoB;IACnC,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kCAAkC;IAClC,kBAAkB,EAAE,IAAI,CAAC;IACzB,uCAAuC;IACvC,YAAY,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC,CAAC;IACpC,+EAA+E;IAC/E,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;AAED,UAAU,qBAAqB;IAC7B,4BAA4B;IAC5B,IAAI,EAAE,oBAAoB,CAAC;IAC3B,sCAAsC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAsDD,eAAO,MAAM,gBAAgB,6DAgC3B,CAAC"}
1
+ {"version":3,"file":"StorageEventCard.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventCard.tsx"],"names":[],"mappings":"AAkBA,oCAAoC;AACpC,MAAM,MAAM,gBAAgB,GACxB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,WAAW,GACX,QAAQ,GACR,OAAO,CAAC;AAEZ;;GAEG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,gBAAgB,CAU7D;AAED,MAAM,WAAW,oBAAoB;IACnC,uBAAuB;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kCAAkC;IAClC,kBAAkB,EAAE,IAAI,CAAC;IACzB,uCAAuC;IACvC,YAAY,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC,CAAC;IACpC,+EAA+E;IAC/E,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;AAED,UAAU,qBAAqB;IAC7B,4BAA4B;IAC5B,IAAI,EAAE,oBAAoB,CAAC;IAC3B,sCAAsC;IACtC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAsDD,eAAO,MAAM,gBAAgB,6DAgC3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StorageEventFilterView.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventFilterView.tsx"],"names":[],"mappings":"AAYA,UAAU,2BAA2B;IACnC,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,mBAAmB,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;IACtD,mBAAmB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,KAAK,IAAI,CAAC;CAClE;AAED,wBAAgB,sBAAsB,CAAC,EACrC,eAAe,EACf,eAAe,EACf,YAAY,EACZ,aAAkB,EAClB,mBAAmB,EACnB,mBAAmB,GACpB,EAAE,2BAA2B,+BA4H7B"}
1
+ {"version":3,"file":"StorageEventFilterView.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageEventFilterView.tsx"],"names":[],"mappings":"AAaA,UAAU,2BAA2B;IACnC,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB,mBAAmB,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC,CAAC;IACtD,mBAAmB,EAAE,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,KAAK,IAAI,CAAC;CAClE;AAED,wBAAgB,sBAAsB,CAAC,EACrC,eAAe,EACf,eAAe,EACf,YAAY,EACZ,aAAkB,EAClB,mBAAmB,EACnB,mBAAmB,GACpB,EAAE,2BAA2B,+BA4H7B"}
@@ -20,12 +20,8 @@ interface StorageKeyRowProps {
20
20
  /** Toggle this key's pinned state */
21
21
  onTogglePin?: (key: string) => void;
22
22
  /**
23
- * Open the full-screen editor for this key. Omit to keep the row read-only —
24
- * the Edit affordance only appears when a host supplies this.
25
- *
26
- * The card deliberately doesn't edit anything itself: a tree, six structural
27
- * actions and a keyboard don't fit in an expanded row, and cramming them in
28
- * is what this replaced. See `StorageKeyEditorScreen`.
23
+ * Open `StorageKeyDetailScreen` to edit this key. The Edit affordance appears
24
+ * only when the host supplies this callback; the row does not edit values.
29
25
  */
30
26
  onEditKey?: (storageKey: StorageKeyInfo) => void;
31
27
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"StorageKeyRow.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageKeyRow.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AA6B1C,UAAU,kBAAkB;IAC1B,UAAU,EAAE,cAAc,CAAC;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IAC/C,uCAAuC;IACvC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAC5E,6CAA6C;IAC7C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qCAAqC;IACrC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD;;;;OAIG;IACH,WAAW,CAAC,EAAE,C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EAAE,MAAM,KAAK,IAAI,CAAC;IACpC;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IACjD;;;;OAIG;IACH,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IACnD;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,KAAK,IAAI,CAAC;IACnD,4EAA4E;IAC5E,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAED;2DAC2D;AAC3D,eAAO,MAAM,eAAe,GAAI,QAAQ,cAAc,CAAC,QAAQ,CAAC;;;;CAyC/D,CAAC;AAaF,eAAO,MAAM,aAAa,0DAuTxB,CAAC;AAEH,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,GAAI,aAAa,cAAc,CAAC,aAAa,CAAC,WAW7E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StorageKeyStats.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageKeyStats.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG3C,UAAU,oBAAoB;IAC5B,KAAK,EAAE,eAAe,CAAC;CACxB;AAyED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,+BA+KrE"}
1
+ {"version":3,"file":"StorageKeyStats.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageKeyStats.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAG3C,UAAU,oBAAoB;IAC5B,KAAK,EAAE,eAAe,CAAC;CACxB;AAyED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,KAAK,EAAE,EAAE,oBAAoB,+BA+KrE"}
@@ -1,18 +1,3 @@
1
- /**
2
- * "Which backend?" — the pill row shared by the Keys and Events tabs.
3
- *
4
- * Both tabs answer questions about the same three backends, so asking the
5
- * question two different ways (or, as it was, only on one tab) is a gap rather
6
- * than a simplification: you filter the key list to Keychain, switch to Events
7
- * to see what wrote to it, and you're looking at everything again.
8
- *
9
- * The selection is owned by the modal and passed to both, so switching tabs
10
- * keeps the filter you set.
11
- *
12
- * Each pill carries the count it WOULD show, computed before the type filter is
13
- * applied — a count that collapsed to zero the moment you picked another type
14
- * would tell you nothing about where to look next.
15
- */
16
1
  export type StorageTypeFilter = "all" | "async" | "mmkv" | "secure";
17
2
  export type StorageTypeCounts = Record<StorageTypeFilter, number>;
18
3
  interface StorageTypeFilterBarProps {
@@ -1 +1 @@
1
- {"version":3,"file":"StorageTypeFilterBar.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageTypeFilterBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEpE,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;AAElE,UAAU,yBAAyB;IACjC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5C,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAmBD,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,QAAQ,EACR,MAAM,GACP,EAAE,yBAAyB,+BAsD3B;AAED,0EAA0E;AAC1E,wBAAgB,kBAAkB,CAChC,KAAK,EAAE;IAAE,WAAW,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;CAAE,EAAE,GACpD,iBAAiB,CAInB"}
1
+ {"version":3,"file":"StorageTypeFilterBar.d.ts","sourceRoot":"","sources":["../../../../src/storage/components/StorageTypeFilterBar.tsx"],"names":[],"mappings":"AAoBA,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEpE,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;AAElE,UAAU,yBAAyB;IACjC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,QAAQ,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5C,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAmBD,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,QAAQ,EACR,MAAM,GACP,EAAE,yBAAyB,+BAsD3B;AAED,0EAA0E;AAC1E,wBAAgB,kBAAkB,CAChC,KAAK,EAAE;IAAE,WAAW,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;CAAE,EAAE,GACpD,iBAAiB,CAInB"}
@@ -1,4 +1,4 @@
1
- import { StorageKeyInfo } from "../types";
1
+ import { RequiredStorageKey, StorageKeyInfo } from "../types";
2
2
  interface UseSecureStoreKeysOptions {
3
3
  /** Re-read interval in ms. `0` disables polling. */
4
4
  pollMs?: number;
@@ -20,6 +20,6 @@ interface UseSecureStoreKeysResult {
20
20
  * Values are re-read on a poll and whenever the registry changes, so the
21
21
  * browser tracks writes the app makes while the tool is open.
22
22
  */
23
- export declare function useSecureStoreKeys(options?: UseSecureStoreKeysOptions): UseSecureStoreKeysResult;
23
+ export declare function useSecureStoreKeys(requiredStorageKeys?: RequiredStorageKey[], options?: UseSecureStoreKeysOptions): UseSecureStoreKeysResult;
24
24
  export {};
25
25
  //# sourceMappingURL=useSecureStoreKeys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSecureStoreKeys.d.ts","sourceRoot":"","sources":["../../../../src/storage/hooks/useSecureStoreKeys.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAsB1C,UAAU,yBAAyB;IACjC,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,wBAAwB;IAChC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAOD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,GAAE,yBAA8B,GACtC,wBAAwB,CA8H1B"}
1
+ {"version":3,"file":"useSecureStoreKeys.d.ts","sourceRoot":"","sources":["../../../../src/storage/hooks/useSecureStoreKeys.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAuB9D,UAAU,yBAAyB;IACjC,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,wBAAwB;IAChC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAOD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,mBAAmB,GAAE,kBAAkB,EAAO,EAC9C,OAAO,GAAE,yBAA8B,GACtC,wBAAwB,CA+K1B"}
@@ -1,4 +1,5 @@
1
1
  import { type StorageEvent } from "../stores/storageEventStore";
2
+ import type { RequiredStorageKey } from "../types";
2
3
  /**
3
4
  * Sentinel used in WIRE-FORM snapshots in place of oversized values.
4
5
  * Storage events, MMKV browse dumps, and SecureStore dumps all reuse this
@@ -47,26 +48,19 @@ export interface SecureSnapshotEntry {
47
48
  value: unknown;
48
49
  }
49
50
  /**
50
- * Sync adapter for the storage tool, consumed by @buoy-gg/external-sync's
51
- * `useExternalSync` (structurally matches its ToolSyncAdapter interface so
52
- * this package doesn't need a dependency on it).
53
- *
54
- * Subscribing starts the underlying capture lifecycle (including the initial
55
- * key scan), so storage events are only recorded while a dashboard is
56
- * watching.
57
- *
58
- * The `async.*` actions mirror the AsyncStorage API so the desktop dashboard
59
- * can proxy its browse/edit mode against the device's real storage.
60
- *
61
- * v2: oversized / unserializable event values are replaced with
62
- * VALUE_ON_DEVICE. Dashboards fetch them via `getEventDetail`.
51
+ * Called by `createStorageTool` so remote dashboards validate against the
52
+ * same required keys as the on-device tool. The desktop panel used to have no
53
+ * way to learn them and showed every key as unchecked.
63
54
  */
55
+ export declare function setToolRequiredStorageKeys(keys: RequiredStorageKey[]): void;
64
56
  export declare const storageSyncAdapter: {
65
57
  version: number;
66
58
  getSnapshot: () => StorageEvent[];
67
59
  subscribe: (onChange: () => void) => () => void;
68
60
  actions: {
69
61
  clearEvents: () => void;
62
+ /** The app's required storage keys, as given to `createStorageTool`. */
63
+ getRequiredKeys: () => RequiredStorageKey[];
70
64
  /**
71
65
  * On-demand detail: one event's real value/prevValue/pairs.
72
66
  * The per-snapshot stream stays payload-light; this is the explicit,
@@ -1 +1 @@
1
- {"version":3,"file":"storageSyncAdapter.d.ts","sourceRoot":"","sources":["../../../../src/storage/sync/storageSyncAdapter.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,6BAA6B,CAAC;AAYrC;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;EAG1B,CAAC;AAEH,sEAAsE;AACtE,eAAO,MAAM,2BAA2B,QAAY,CAAC;AAErD;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,QAAqB,CAAC;AA4JzD,kDAAkD;AAClD,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,sEAAsE;IACtE,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qDAAqD;AACrD,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ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orageEventListener } from './AsyncStorageListener';
3
+ export declare function startListening(): Promise<void>;
4
+ export declare function stopListening(): void;
5
+ export declare function addListener(listener: AsyncStorageEventListener): () => void;
6
+ export declare function removeAllListeners(): void;
7
+ export declare function isListening(): boolean;
8
+ export declare function getListenerCount(): number;
9
+ export declare function pauseCapture(): void;
10
+ export declare function resumeCapture(): void;
11
+ export declare function isPaused(): boolean;
12
+ declare const asyncStorageListener: {
13
+ startListening: typeof startListening;
14
+ stopListening: typeof stopListening;
15
+ addListener: typeof addListener;
16
+ removeAllListeners: typeof removeAllListeners;
17
+ pause: typeof pauseCapture;
18
+ resume: typeof resumeCapture;
19
+ readonly isActive: boolean;
20
+ readonly listenerCount: number;
21
+ readonly paused: boolean;
22
+ };
23
+ export default asyncStorageListener;
24
+ //# sourceMappingURL=AsyncStorageListener.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AsyncStorageListener.web.d.ts","sourceRoot":"","sources":["../../../../src/storage/utils/AsyncStorageListener.web.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAqB,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC3F,YAAY,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAQ3F,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CASpD;AACD,wBAAgB,aAAa,SAAkC;AAC/D,wBAAgB,WAAW,CAAC,QAAQ,EAAE,yBAAyB,cAA4E;AAC3I,wBAAgB,kBAAkB,SAAyB;AAC3D,wBAAgB,WAAW,YAAqB;AAChD,wBAAgB,gBAAgB,WAA6B;AAC7D,wBAAgB,YAAY,SAAqB;AACjD,wBAAgB,aAAa,SAAsB;AACnD,wBAAgB,QAAQ,YAAqB;AAC7C,QAAA,MAAM,oBAAoB;;;;;;;;;;CAIzB,CAAC;AACF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,3 @@
1
+ /** Native backends are registered by the host application. */
2
+ export declare function startBrowserStorageCapture(): () => void;
3
+ //# sourceMappingURL=browserStorageLifecycle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browserStorageLifecycle.d.ts","sourceRoot":"","sources":["../../../../src/storage/utils/browserStorageLifecycle.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,wBAAgB,0BAA0B,IAAI,MAAM,IAAI,CAAqB"}
@@ -0,0 +1,2 @@
1
+ export declare function startBrowserStorageCapture(): () => void;
2
+ //# sourceMappingURL=browserStorageLifecycle.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browserStorageLifecycle.web.d.ts","sourceRoot":"","sources":["../../../../src/storage/utils/browserStorageLifecycle.web.ts"],"names":[],"mappings":"AAuBA,wBAAgB,0BAA0B,IAAI,MAAM,IAAI,CAMvD"}
@@ -0,0 +1,4 @@
1
+ export declare function isMMKVAvailable(): boolean;
2
+ export declare function getMMKVClass(): null;
3
+ export declare function getMMKVUnavailableMessage(): string;
4
+ //# sourceMappingURL=mmkvAvailability.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mmkvAvailability.web.d.ts","sourceRoot":"","sources":["../../../../src/storage/utils/mmkvAvailability.web.ts"],"names":[],"mappings":"AAAA,wBAAgB,eAAe,IAAI,OAAO,CAAqG;AAC/I,wBAAgB,YAAY,IAAI,IAAI,CAAiB;AACrD,wBAAgB,yBAAyB,IAAI,MAAM,CAAsE"}
@@ -0,0 +1,8 @@
1
+ export declare const storageLabels: {
2
+ async: string;
3
+ asyncFull: string;
4
+ mmkv: string;
5
+ secure: string;
6
+ hasSecure: boolean;
7
+ };
8
+ //# sourceMappingURL=storageLabels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageLabels.d.ts","sourceRoot":"","sources":["../../../../src/storage/utils/storageLabels.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;CAAiG,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const storageLabels: {
2
+ async: string;
3
+ asyncFull: string;
4
+ mmkv: string;
5
+ secure: string;
6
+ hasSecure: boolean;
7
+ };
8
+ //# sourceMappingURL=storageLabels.web.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storageLabels.web.d.ts","sourceRoot":"","sources":["../../../../src/storage/utils/storageLabels.web.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;CAAqG,CAAC"}