Variable: HostNamespace
Makaio Framework / contracts / HostNamespace
Variable: HostNamespace
Section titled “Variable: HostNamespace”
constHostNamespace:BusNamespace<"host",SubjectRecordFromSchemaRecord<{app.focus: {request:ZodObject<{ },$strip>;response:ZodObject<{focused:ZodBoolean;windowId:ZodNullable<ZodNumber>; },$strip>; };tray.activate: {request:ZodObject<{ },$strip>;response:ZodObject<{handled:ZodBoolean; },$strip>; };window.closed:ZodObject<{params:ZodOptional<ZodRecord<ZodString,ZodString>>;registrationId:ZodString;windowId:ZodNumber; },$strip>;window.create: {request:ZodObject<{params:ZodOptional<ZodRecord<ZodString,ZodString>>;registrationId:ZodString; },$strip>;response:ZodObject<{windowId:ZodNumber; },$strip>; };window.focus: {request:ZodObject<{windowId:ZodOptional<ZodNumber>; },$strip>;response:ZodObject<{success:ZodBoolean; },$strip>; };window.labelChanged:ZodObject<{label:ZodString;windowId:ZodNumber; },$strip>;window.list: {request:ZodObject<{ },$strip>;response:ZodObject<{windows:ZodArray<ZodObject<{focused:ZodBoolean;label:ZodOptional<ZodString>;params:ZodOptional<ZodRecord<…, …>>;registrationId:ZodString;visible:ZodBoolean;windowId:ZodNumber; },$strip>>; },$strip>; };window.openDashboard: {request:ZodObject<{ },$strip>;response:ZodObject<{windowId:ZodNullable<ZodNumber>; },$strip>; };window.opened:ZodObject<{focused:ZodBoolean;label:ZodOptional<ZodString>;params:ZodOptional<ZodRecord<ZodString,ZodString>>;registrationId:ZodString;visible:ZodBoolean;windowId:ZodNumber; },$strip>; }>, {[key:string]:string|number|boolean|Record<string,string>; }, {app.focus: {request:ZodObject<{ },$strip>;response:ZodObject<{focused:ZodBoolean;windowId:ZodNullable<ZodNumber>; },$strip>; };tray.activate: {request:ZodObject<{ },$strip>;response:ZodObject<{handled:ZodBoolean; },$strip>; };window.closed:ZodObject<{params:ZodOptional<ZodRecord<ZodString,ZodString>>;registrationId:ZodString;windowId:ZodNumber; },$strip>;window.create: {request:ZodObject<{params:ZodOptional<ZodRecord<ZodString,ZodString>>;registrationId:ZodString; },$strip>;response:ZodObject<{windowId:ZodNumber; },$strip>; };window.focus: {request:ZodObject<{windowId:ZodOptional<ZodNumber>; },$strip>;response:ZodObject<{success:ZodBoolean; },$strip>; };window.labelChanged:ZodObject<{label:ZodString;windowId:ZodNumber; },$strip>;window.list: {request:ZodObject<{ },$strip>;response:ZodObject<{windows:ZodArray<ZodObject<{focused:ZodBoolean;label:ZodOptional<ZodString>;params:ZodOptional<ZodRecord<ZodString,ZodString>>;registrationId:ZodString;visible:ZodBoolean;windowId:ZodNumber; },$strip>>; },$strip>; };window.openDashboard: {request:ZodObject<{ },$strip>;response:ZodObject<{windowId:ZodNullable<ZodNumber>; },$strip>; };window.opened:ZodObject<{focused:ZodBoolean;label:ZodOptional<ZodString>;params:ZodOptional<ZodRecord<ZodString,ZodString>>;registrationId:ZodString;visible:ZodBoolean;windowId:ZodNumber; },$strip>; }>
Defined in: ../../../packages/contracts/src/host/namespace.ts:5
Registered MakaioBus namespace for cross-cutting host shell RPCs.