UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

21 lines (18 loc) 496 B
/** * 快捷键操作类型枚举 */ export const ShortcutActionEnum = { openSettings: 'openSettings', /** * 显示/隐藏主窗口 */ showApp: 'showApp', } as const; export type ShortcutActionType = (typeof ShortcutActionEnum)[keyof typeof ShortcutActionEnum]; /** * 默认快捷键配置 */ export const DEFAULT_SHORTCUTS_CONFIG: Record<ShortcutActionType, string> = { [ShortcutActionEnum.showApp]: 'Control+E', [ShortcutActionEnum.openSettings]: 'CommandOrControl+,', };