api相关优化
This commit is contained in:
1 parent
ba07d47496
commit
4e64c6ad6e
5 files changed
+411
-197
No files matched your search
Vendored
+5
@@ -501,6 +501,11 @@ export interface ElectronAPI {
|
||||
onToken: (callback: (token: string) => void) => () => void
|
||||
onDownloadProgress: (callback: (payload: { downloaded: number; total: number; speed: number }) => void) => () => void
|
||||
}
|
||||
http: {
|
||||
start: (port?: number) => Promise<{ success: boolean; port?: number; error?: string }>
|
||||
stop: () => Promise<{ success: boolean }>
|
||||
status: () => Promise<{ running: boolean; port: number; mediaExportPath: string }>
|
||||
}
|
||||
}
|
||||
|
||||
export interface ExportOptions {
|
||||
|
||||
Reference in new issue
Block a user