Skip to content

@maxhealth.tech/prefab / mcp / PrefabUpdateWire

Type Alias: PrefabUpdateWire

ts
type PrefabUpdateWire = object;

Defined in: mcp/display.ts:226

The $prefab state-delta payload, sent as structuredContent.

A type alias rather than an interface for the same reason as PrefabWireFormat: interfaces get no implicit index signature, so an interface here cannot be assigned to the SDK's structuredContent?: { [x: string]: unknown }. Guarded by test/mcp-types.test.ts.

Properties

$prefab

ts
$prefab: object;

Defined in: mcp/display.ts:227

version

ts
version: string;

update

ts
update: StateUpdate;

Defined in: mcp/display.ts:228

Released under the MIT License.