buildOverlayResolutionBarrier
buildOverlayResolutionBarrier<
TTable>(entry,options):string
Defined in: packages/contracts/src/convergence-model.ts:27
The Convergence barrier predicate (ADR-0010): an acked create/update is resolved only once the
synced echo’s Server version has reached the write’s acked version. Emitted identically by the
reconcile trigger (schema.ts), reconcileTable (mutation.ts), and the per-table sync-state
view (decision 4) — one rule, three consumers, no drift (ADR-0004).
syncedAlias is the synced-side reference (a table alias, or NEW inside the trigger);
journalAlias qualifies the journal’s server_updated_at_us (omit it where the journal is the
unaliased target of the DELETE).
Type Parameters
Section titled “Type Parameters”TTable
Section titled “TTable”TTable extends AnyPgTable
Parameters
Section titled “Parameters”SyncTableEntry<TTable>
options
Section titled “options”journalAlias?
Section titled “journalAlias?”string
syncedAlias
Section titled “syncedAlias”string
Returns
Section titled “Returns”string