feat: 增加一个查找语音文件

This commit is contained in:
Wxw-Gu committed 2026-08-28 15:04:37 +08:00
1 parent a007e110ac
commit 698251796f
4 files changed
+60

No files matched your search

+2
View File
@@ -178,6 +178,8 @@ const api = {
copyImage: (base64String) => ipcRenderer.invoke('copy-image', base64String),
getVoiceData: (sessionId: string, localId: number, createTime: number, svrId?: string | number) =>
ipcRenderer.invoke('db:getVoiceData', sessionId, localId, createTime, svrId),
showVoiceSourceContextMenu: (reference: VoiceMessageReference) =>
ipcRenderer.invoke('voice:showSourceContextMenu', reference),
getVoiceModelStatus: (): Promise<VoiceModelStatus> => ipcRenderer.invoke('voice:getModelStatus'),
downloadVoiceModel: (): Promise<VoiceModelDownloadResult> =>
ipcRenderer.invoke('voice:downloadModel'),