Skip to content

diffCanonicalRegistries

diffCanonicalRegistries(previous, next, rowClasses?, streams?): RegistryDiff

Defined in: packages/contracts/src/registry-diff.ts:371

Classify the change from one canonical registry shape to another. rowClasses carries each side’s row classification (ADR-0052) and streams each side’s Event-stream contract hashes (ADR-0053) — both siblings of the canonical tables, never fields of them (see RegistryLock.rowClasses / RegistryLock.streams). An omitted side reads as entirely unclassified / streamless, which is how a lock predating either field diffs as adoption rather than as spurious risk.

RegistryChange.table names the SUBJECT of the change, which for an Event-stream change is the Event-stream name rather than a registry table key; each such detail says “event stream …” so the summary line stays unambiguous.

readonly CanonicalTable[]

readonly CanonicalTable[]

RegistryRowClasses

RegistryRowClasses

RegistryEventStreams

RegistryEventStreams

RegistryDiff