ScopeInput
ScopeInput<
TColumns> = (columns) => readonlyAnyColumn[]
Defined in: packages/contracts/src/registry.ts:339
The scope declaration for a SHARED-tier shape (ADR-0055), authored from the built, typed columns — the columns whose values key the shape family, in the order they parameterize it.
Returning real column objects rather than names is what makes the family rename-safe: a renamed column moves the scope with it, where a string would have gone on naming a column that no longer exists and silently produced a predicate over nothing.
Type Parameters
Section titled “Type Parameters”TColumns
Section titled “TColumns”TColumns extends Record<string, ColumnBuilderBase>
Parameters
Section titled “Parameters”columns
Section titled “columns”PgBuildExtraConfigColumns<TColumns>
Returns
Section titled “Returns”readonly AnyColumn[]