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) 615 B
import { ElectronAppState, ThemeMode } from '../types'; export interface SystemDispatchEvents { checkSystemAccessibility: () => boolean | undefined; closeWindow: () => void; getDesktopAppState: () => ElectronAppState; maximizeWindow: () => void; minimizeWindow: () => void; openExternalLink: (url: string) => void; /** * 更新应用语言设置 * @param locale 语言设置 */ updateLocale: (locale: string) => { success: boolean }; updateThemeMode: (themeMode: ThemeMode) => void; } export interface SystemBroadcastEvents { themeChanged: (data: { themeMode: ThemeMode }) => void; }