Skip to content

getSyncRegistryRowClasses

getSyncRegistryRowClasses<TRegistry>(registry): readonly string[] | undefined

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

Read the row-class vocabulary (ADR-0052) a registry was built with, or undefined when none was declared (a bare registry map, or a definition with no rowClasses) — the classification twin of getSyncRegistryStorage. assertRegistryInvariant consults it to reject an invariant whose appliesTo names a class this registry does not define (a typo that would otherwise bind nothing).

TRegistry extends SyncTableRegistry

TRegistry

readonly string[] | undefined