Interface: WindowManifest
Makaio Framework / contracts/extension / WindowManifest
Interface: WindowManifest
Section titled “Interface: 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.
Properties
Section titled “Properties”height?
Section titled “height?”
readonlyoptionalheight?:number
Defined in: ../../../packages/contracts/src/extension/manifest.ts:51
Preferred initial height in logical pixels.
readonlyid: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.
params?
Section titled “params?”
readonlyoptionalparams?: readonlyWindowParamSpec[]
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.
singleton?
Section titled “singleton?”
readonlyoptionalsingleton?: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.
readonlystyle:WindowStyle
Defined in: ../../../packages/contracts/src/extension/manifest.ts:47
Visual presentation style that governs how the shell positions and sizes the window.
width?
Section titled “width?”
readonlyoptionalwidth?:number
Defined in: ../../../packages/contracts/src/extension/manifest.ts:49
Preferred initial width in logical pixels.