Skip to content

Variable: HostSubjects

Makaio Framework


Makaio Framework / contracts / HostSubjects

const HostSubjects: BusSubjects<FlatSubjectDefinitions<"host", { 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>; }>, "host"> = HostNamespace.subjects

Defined in: ../../../packages/contracts/src/host/namespace.ts:8

Typed subject tree for the host namespace.