@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.
19 lines (16 loc) • 441 B
text/typescript
/**
* 快捷键操作类型枚举
*/
export const ShortcutActionEnum = {
/**
* 显示/隐藏主窗口
*/
toggleMainWindow: 'toggleMainWindow',
} as const;
export type ShortcutActionType = (typeof ShortcutActionEnum)[keyof typeof ShortcutActionEnum];
/**
* 默认快捷键配置
*/
export const DEFAULT_SHORTCUTS_CONFIG: Record<ShortcutActionType, string> = {
[ ]: 'CommandOrControl+E',
};