Skip to content

ShapeSpecInput

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

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

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

optional shapeKey?: string

optional tableName?: string