Skip to content

ServerProjectionSpec

Defined in: packages/contracts/src/config.ts:322

Server-side projection applied in the proxy response path. This is server authority, not client shape — it never alters the local PGlite schema or the Electric shape URL — so it lives apart from ClientProjectionSpec (ADR-0004).

optional rowTransform?: RowTransform

Defined in: packages/contracts/src/config.ts:329

Optional per-row rewrite applied in the proxy response path. Runs before column omission, so it may read a column (e.g. a control flag) that clientProjection.omitColumns then removes from the client-visible row. See RowTransform.