Skip to content

Interface: WindowManifest

Makaio Framework


Makaio Framework / contracts/extension / WindowManifest

Defined in: ../../../packages/contracts/src/extension/manifest.ts:39

Describes a window surface an extension can open.

The shell uses this declaration to pre-register the window and manage its lifecycle without requiring the extension to be initialized first.

readonly optional height?: number

Defined in: ../../../packages/contracts/src/extension/manifest.ts:51

Preferred initial height in logical pixels.


readonly id: string

Defined in: ../../../packages/contracts/src/extension/manifest.ts:45

Identifier unique within the declaring extension. Referenced by TrayManifest.opensWindow to associate tray actions with specific windows.


readonly optional params?: readonly WindowParamSpec[]

Defined in: ../../../packages/contracts/src/extension/manifest.ts:62

Named route parameters this window accepts. The shell uses these to map URL path segments to query params and to generalize window deduplication without hardcoding host IDs.


readonly optional singleton?: boolean

Defined in: ../../../packages/contracts/src/extension/manifest.ts:56

When true, the shell ensures at most one instance of this window is open at a time, focusing the existing window instead of opening a new one.


readonly style: WindowStyle

Defined in: ../../../packages/contracts/src/extension/manifest.ts:47

Visual presentation style that governs how the shell positions and sizes the window.


readonly optional width?: number

Defined in: ../../../packages/contracts/src/extension/manifest.ts:49

Preferred initial width in logical pixels.