Skip to content

CanonicalColumn

Defined in: packages/contracts/src/fingerprint.ts:27

The registry fingerprint (ADR-0004): a stable, order-independent description of the shape-relevant registry metadata, plus a hash of it.

This is the single source of “has the shape changed” — consumed as the local-DB version key and as the basis of the registry-diff gate (ADR-0006). Function bodies (rowTransform, customPredicate) cannot be fingerprinted and are excluded — but their presence and the surrounding static filter structure (the projected columns) participate. For the invisible logic itself, a consumer-bumped rowFilter.revision is folded in: changing it is how a customPredicate authorization change is forced to shift the fingerprint (and so rebuild the cache + reset the subscription).

hasDefault: boolean

Defined in: packages/contracts/src/fingerprint.ts:31


name: string

Defined in: packages/contracts/src/fingerprint.ts:28


notNull: boolean

Defined in: packages/contracts/src/fingerprint.ts:30


primary: boolean

Defined in: packages/contracts/src/fingerprint.ts:32


type: string

Defined in: packages/contracts/src/fingerprint.ts:29