@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) • 658 B
text/typescript
import { ProgressInfo, UpdateInfo } from '../types';
export interface AutoUpdateDispatchEvents {
checkUpdate: () => void;
downloadUpdate: () => void;
installLater: () => void;
installNow: () => void;
installUpdate: () => void;
}
export interface AutoUpdateBroadcastEvents {
manualUpdateAvailable: (info: UpdateInfo) => void;
manualUpdateCheckStart: () => void;
manualUpdateNotAvailable: (info: UpdateInfo) => void;
updateDownloadProgress: (progress: ProgressInfo) => void;
updateDownloadStart: () => void;
updateDownloaded: (info: UpdateInfo) => void;
updateError: (message: string) => void;
updateWillInstallLater: () => void;
}