Skip to content

Variable: TrayMenuSubjects

Makaio Framework


Makaio Framework / services-core/tray-menu/namespace / TrayMenuSubjects

const TrayMenuSubjects: BusSubjects<FlatSubjectDefinitions<"host:tray", { changed: ZodObject<{ }, $strip>; group.register: { request: ZodObject<{ group: ZodObject<{ entries: ZodArray<ZodObject<{ enabled: …; entryId: …; label: …; metadata: …; priority: …; }, $strip>>; groupId: ZodString; packageName: ZodString; priority: ZodDefault<ZodNumber>; section: ZodEnum<{ tools: "tools"; utilities: "utilities"; views: "views"; }>; }, $strip>; }, $strip>; response: ZodObject<{ groupId: ZodString; }, $strip>; }; group.unregister: { request: ZodObject<{ groupId: ZodString; packageName: ZodString; }, $strip>; response: ZodObject<{ removed: ZodBoolean; }, $strip>; }; item.clicked: ZodObject<{ entryId: ZodString; groupId: ZodOptional<ZodString>; metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; packageName: ZodString; }, $strip>; list: { request: ZodObject<{ }, $strip>; response: ZodObject<{ entries: ZodArray<ZodObject<{ enabled: ZodDefault<ZodBoolean>; entryId: ZodString; groupId: ZodOptional<ZodString>; label: ZodString; metadata: ZodOptional<ZodRecord<…, …>>; packageName: ZodString; priority: ZodDefault<ZodNumber>; section: ZodEnum<{ tools: …; utilities: …; views: …; }>; }, $strip>>; }, $strip>; }; register: { request: ZodObject<{ entry: ZodObject<{ enabled: ZodDefault<ZodBoolean>; entryId: ZodString; label: ZodString; metadata: ZodOptional<ZodRecord<ZodString, ZodUnknown>>; packageName: ZodString; priority: ZodDefault<ZodNumber>; section: ZodEnum<{ tools: "tools"; utilities: "utilities"; views: "views"; }>; }, $strip>; }, $strip>; response: ZodObject<{ entryId: ZodString; }, $strip>; }; unregister: { request: ZodObject<{ entryId: ZodString; packageName: ZodString; }, $strip>; response: ZodObject<{ removed: ZodBoolean; }, $strip>; }; }>, "host:tray"> = TrayMenuNamespace.subjects

Defined in: ../../../packages/services/core/src/tray-menu/namespace.ts:8

Typed subjects for the host tray namespace.