Skip to content

attachSyncRegistryStorage

attachSyncRegistryStorage<TRegistry>(registry, storage): TRegistry

Defined in: packages/contracts/src/registry.ts:1398

Stamp the registry’s storage declaration (ADR-0049 decision 1, ADR-0047) onto the registry value as a non-enumerable symbol — the storage twin of attachSyncRegistrySchema. Carries the data-contract storage through defineSyncRegistry so client code reads it back via getSyncRegistryStorage. A null/undefined declaration attaches nothing (the bare-registry-map overload), leaving the reader to resolve the ADR-0047 defaults at the mint seam.

TRegistry extends SyncTableRegistry

TRegistry

SyncStorageDeclaration | undefined

TRegistry