Skip to content

CanonicalRowFilter

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

The static, fingerprint-able structure of a row filter. A changed projection shifts the fingerprint, so the local store rebuilds and the diff gate flags it. customPredicate’s body is invisible — only its presence (hasCustomPredicate) is recorded — so a customPredicate logic change is surfaced only by bumping revision.

columns: string[] | null

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


hasCustomPredicate: boolean

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


revision: string | null

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

The consumer-supplied version tag for the non-fingerprintable filter logic (the customPredicate body). Changing it shifts the fingerprint, which is the only way a customPredicate logic change forces a cache + subscription reset.