DevelopmentNodeEnvironment_MicrosoftVSCodeDependency_22NodeVersion_Bundle_Clean_Debug_ElectronProfile_EsbuildCompiler_Mountain/IPC/WindServiceHandlers/Storage.rs
1//! # Persistent Storage handlers
2//!
3//! Wind invokes these via the WindServiceHandlers dispatcher; each
4//! delegates to `Environment::Require<dyn StorageProvider>`. Two
5//! scopes: workspace (`false`) for `StorageGet`/`StorageSet`,
6//! global (`true`) for the rest - VS Code's storage service
7//! distinguishes the two; we follow.
8//!
9//! Layout (one export per file, file name = identity):
10//! - `StorageGet::StorageGet` - single key read (workspace).
11//! - `StorageSet::StorageSet` - single key write (workspace).
12//! - `StorageDelete::StorageDelete` - single key delete (global).
13//! - `StorageKeys::StorageKeys` - list every key (global).
14//! - `StorageGetItems::StorageGetItems` - bulk read as `[key,value]` tuples;
15//! called by VS Code's `NativeWorkbenchStorageService` at boot.
16//! - `StorageUpdateItems::StorageUpdateItems` - bulk insert + delete; matches
17//! `IndexedDBStorageDatabase`'s wire shape.
18
19pub mod StorageDelete;
20
21pub mod StorageGet;
22
23pub mod StorageGetItems;
24
25pub mod StorageKeys;
26
27pub mod StorageSet;
28
29pub mod StorageUpdateItems;