Variable: TrayMenuNamespace
Makaio Framework / services-core/tray-menu/namespace / TrayMenuNamespace
Variable: TrayMenuNamespace
Section titled “Variable: TrayMenuNamespace”
constTrayMenuNamespace:BusNamespace<"host:tray",SubjectRecordFromSchemaRecord<{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>; }; }>, {[key:string]:string|Record<string,unknown> | {enabled?:boolean;entryId:string;label:string;metadata?:Record<string,unknown>;packageName:string;priority?:number;section:"utilities"|"tools"|"views"; } | {entries:object[];groupId:string;packageName:string;priority?:number;section:"utilities"|"tools"|"views"; }; }, {changed:ZodObject<{ },$strip>;group.register: {request:ZodObject<{group:ZodObject<{entries:ZodArray<ZodObject<{enabled:ZodDefault<…>;entryId:ZodString;label:ZodString;metadata:ZodOptional<…>;priority:ZodDefault<…>; },$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<ZodString,ZodUnknown>>;packageName:ZodString;priority:ZodDefault<ZodNumber>;section:ZodEnum<{tools:"tools";utilities:"utilities";views:"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>; }; }>
Defined in: ../../../packages/services/core/src/tray-menu/namespace.ts:5
Registered namespace for tray menu registration, listing, and click events.