more stuff to improve robustness
This commit is contained in:
4
frontend/src/vite-env.d.ts
vendored
4
frontend/src/vite-env.d.ts
vendored
@ -33,6 +33,10 @@ interface DesktopAPI {
|
||||
hasLicenseFeature: (feature: string) => Promise<boolean>;
|
||||
listModels: () => Promise<ModelInfo[]>;
|
||||
deleteModel: (path: string) => Promise<void>;
|
||||
logError: (message: string, stack: string, componentStack: string) => Promise<void>;
|
||||
writeAutosave: (data: string) => Promise<void>;
|
||||
readAutosave: () => Promise<string | null>;
|
||||
deleteAutosave: () => Promise<void>;
|
||||
}
|
||||
|
||||
interface Window {
|
||||
|
||||
Reference in New Issue
Block a user