Skip to content

CanonicalColumn

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

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, customWhere) 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 customWhere 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:23


name: string

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


notNull: boolean

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


primary: boolean

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


type: string

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