Skip to content

ShapeSpecInput

ShapeSpecInput = Omit<ShapeSpec, "tableName" | "shapeKey" | "physicalTable"> & object

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

Input variant of ShapeSpec where tableName and shapeKey are optional. When omitted, both default to the top-level tableName of the defineSyncTable call. physicalTable is deliberately absent — it is a resolved/internal field, never a consumer input (see ShapeSpec.physicalTable); a read projection over an existing table is authored with defineReadProjection, which derives it from the owner.

optional shapeKey?: string

optional tableName?: string