SyncStorageDeclaration
Defined in: packages/contracts/src/config.ts:151
The registry’s storage contract (ADR-0049 decision 1, ADR-0047). Storage is PART OF THE DATA CONTRACT: whether losing the last not-yet-flushed action is acceptable, and whether OPFS may be used at all, is decided by what the data IS — so it is declared once on the registry, not at any minting/open site.
- durability defaults to
"relaxed"and binds every toolkit-minted open of every store the registry mints (its own boot AND the provision/spare path). No open-site option exists to contradict it; a capability fallback keeps the declared mode. A no-op onmemoryclones. - backend defaults to
"opfs"and scopes the BROWSER store only; Node/fileandmemoryclones are unaffected."idbfs"opts the store out of the capability/election machinery.
Properties
Section titled “Properties”backend?
Section titled “backend?”
optionalbackend?:StorageBackend
Defined in: packages/contracts/src/config.ts:152
durability?
Section titled “durability?”
optionaldurability?:StorageDurability
Defined in: packages/contracts/src/config.ts:153