@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.
27 lines (24 loc) • 667 B
text/typescript
export interface ElectronAppState {
arch?: string; // e.g., 'x64', 'arm64'
isLinux?: boolean;
isMac?: boolean;
isWindows?: boolean;
platform?: 'darwin' | 'win32' | 'linux'; // , etc.
userPath?: UserPathData;
}
/**
* Defines the structure for user-specific paths obtained from Electron.
*/
export interface UserPathData {
desktop: string;
documents: string;
downloads?: string;
// App data directory
home: string;
// Optional as not all OS might have it easily accessible or standard
music?: string;
pictures?: string;
userData: string;
videos?: string; // User's home directory
}
export type ThemeMode = 'auto' | 'dark' | 'light';