Skip to content

ChartRequest

Defined in: packages/protocol/src/lib/request.ts:129

Request from client to engine.

Message identity (id), session binding (sessionId), and timestamp live on the surrounding ChartRequestMessage envelope — this payload only carries the chart state and the reasons for the update.

readonly context: object

Defined in: packages/protocol/src/lib/request.ts:131

readonly chartDimensions: ChartDimensions

readonly layoutMode: LayoutMode

readonly updateReasons: readonly UpdateReason[]

Reasons that triggered this update (can be batched)


readonly instances: readonly VesselInstanceSnapshot[]

Defined in: packages/protocol/src/lib/request.ts:138

All Vessel instances with their current variant state


readonly layout: GridLayout | TilingLayout

Defined in: packages/protocol/src/lib/request.ts:142

Current layout (mode-specific)


readonly type: "chart_request"

Defined in: packages/protocol/src/lib/request.ts:130


readonly vessels: readonly object[]

Defined in: packages/protocol/src/lib/request.ts:140

All registered Vessel definitions