resolveStorageDeclaration
resolveStorageDeclaration(
staticDeclaration,wireDeclaration):ResolvedStorageDeclaration
Defined in: packages/contracts/src/config.ts:204
Resolve a store’s storage declaration from its two sources (ADR-0050): the registry-attached STATIC
declaration (authoritative) and the tab’s WIRE declaration (honoured only where the registry is silent).
Per field: an unset field is “no opinion” and can never conflict; both explicit and disagreeing is a
StorageDeclarationRefusedError; unresolved fields take the capability defaults
(backend: "opfs", durability: "relaxed").
Parameters
Section titled “Parameters”staticDeclaration
Section titled “staticDeclaration”SyncStorageDeclaration | undefined
wireDeclaration
Section titled “wireDeclaration”SyncStorageDeclaration | undefined