ui: Constants refactor (#26908)

* refactor: Constants

* refactor: Constants/Enums cleanup

* refactor: Constant objects instead of multiple single value constants

* refactor: Cleanup constants
This commit is contained in:
Aleksander Grygier
2026-08-13 06:53:56 +02:00
committed by GitHub
parent 8e7f22b67e
commit e21152dc96
209 changed files with 1101 additions and 1137 deletions
@@ -47,6 +47,16 @@ export enum AttachmentAction {
MCP_RESOURCES_CLICK = 'onMcpResourcesClick'
}
/**
* Human-readable labels used when embedding attachments in outgoing messages.
*/
export enum AttachmentLabel {
FILE = 'File',
PDF_FILE = 'PDF File',
MCP_PROMPT = 'MCP Prompt',
MCP_RESOURCE = 'MCP Resource'
}
/**
* Visibility conditions for attachment menu items.
*/