Kaizen
Browse modulesLifecyclelifecycle/serverInterfaces

Interface: BindingPortConfig

Defined in: server/lifecycle/binding-port.ts:14

Properties

idColumn?

optional idColumn?: string;

Defined in: server/lifecycle/binding-port.ts:22

Primary-key column (camelCase). Defaults to "id".


stateColumn

stateColumn: string;

Defined in: server/lifecycle/binding-port.ts:24

The status/state column the engine drives (camelCase). Required.


table

table: string;

Defined in: server/lifecycle/binding-port.ts:20

Prisma model accessor name (camelCase, e.g. "order"). Required: the standalone factory has no access to the engine's entityType, so there is no fallback to derive it from.


versionColumn?

optional versionColumn?: string;

Defined in: server/lifecycle/binding-port.ts:31

Optional optimistic-concurrency counter column (camelCase). When set, the port CAS-checks AND bumps it on every transition, which makes self- transitions safe — so capabilities.serializesSelfTransitions is set iff this is configured.

On this page