Skip to content

Variable: WindowStateSchema

Makaio Framework


Makaio Framework / contracts / WindowStateSchema

const WindowStateSchema: ZodObject<{ focused: ZodBoolean; label: ZodOptional<ZodString>; params: ZodOptional<ZodRecord<ZodString, ZodString>>; registrationId: ZodString; visible: ZodBoolean; windowId: ZodNumber; }, $strip>

Defined in: ../../../packages/contracts/src/host/schemas.ts:33

Desktop host window state snapshot.

registrationId is the qualified window ID from the package registry ({packageName}:{windowId}) and replaces the former static WindowType enum field. The numeric windowId remains the host-assigned instance ID.