Variable: TrayMenuSchemas
Makaio Framework / services-core/tray-menu/schemas / TrayMenuSchemas
Variable: TrayMenuSchemas
Section titled “Variable: TrayMenuSchemas”
constTrayMenuSchemas:object
Defined in: ../../../packages/services/core/src/tray-menu/schemas.ts:67
Tray menu domain schemas.
Type Declaration
Section titled “Type Declaration”changed
Section titled “changed”changed:
ZodObject<{ },$strip>
group.register
Section titled “group.register”group.register:
object
group.register.request
Section titled “group.register.request”request:
ZodObject<{group:ZodObject<{entries:ZodArray<ZodObject<{enabled:ZodDefault<ZodBoolean>;entryId:ZodString;label:ZodString;metadata:ZodOptional<ZodRecord<…, …>>;priority:ZodDefault<ZodNumber>; },$strip>>;groupId:ZodString;packageName:ZodString;priority:ZodDefault<ZodNumber>;section:ZodEnum<{tools:"tools";utilities:"utilities";views:"views"; }>; },$strip>; },$strip>
group.register.response
Section titled “group.register.response”response:
ZodObject<{groupId:ZodString; },$strip>
group.unregister
Section titled “group.unregister”group.unregister:
object
group.unregister.request
Section titled “group.unregister.request”request:
ZodObject<{groupId:ZodString;packageName:ZodString; },$strip>
group.unregister.response
Section titled “group.unregister.response”response:
ZodObject<{removed:ZodBoolean; },$strip>
item.clicked
Section titled “item.clicked”item.clicked:
ZodObject<{entryId:ZodString;groupId:ZodOptional<ZodString>;metadata:ZodOptional<ZodRecord<ZodString,ZodUnknown>>;packageName:ZodString; },$strip> =TrayMenuItemClickedSchema
list:
object
list.request
Section titled “list.request”request:
ZodObject<{ },$strip>
list.response
Section titled “list.response”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
Section titled “register”register:
object
register.request
Section titled “register.request”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>
register.response
Section titled “register.response”response:
ZodObject<{entryId:ZodString; },$strip>
unregister
Section titled “unregister”unregister:
object
unregister.request
Section titled “unregister.request”request:
ZodObject<{entryId:ZodString;packageName:ZodString; },$strip>
unregister.response
Section titled “unregister.response”response:
ZodObject<{removed:ZodBoolean; },$strip>