feat: 升级至 v0.3.16 — 工单修复 51 项 + 审查修复 30 项(安全加固/适配器/工具系统/数据层/前端)
This commit is contained in:
Vendored
+8
@@ -175,6 +175,7 @@ interface MetonaAppAPI {
|
||||
showItemInFolder: (path: string) => Promise<{ success: boolean; error?: string }>;
|
||||
selectFolder: (defaultPath?: string) => Promise<{ canceled: boolean; path: string }>;
|
||||
restart: () => Promise<{ success: boolean }>;
|
||||
reportError: (payload: unknown) => void;
|
||||
}
|
||||
|
||||
// ===== Workspace API =====
|
||||
@@ -222,6 +223,13 @@ interface MetonaWorkspaceAPI {
|
||||
inheritFiles: (params: { targetPath: string; sourcePath: string; files: string[] }) =>
|
||||
Promise<MetonaWorkspaceInheritResult>;
|
||||
getInfo: () => Promise<MetonaWorkspaceInfo>;
|
||||
// #51 修复: 校验源数据库完整性(PRAGMA integrity_check)
|
||||
checkDatabaseIntegrity: (sourcePath: string) => Promise<{
|
||||
success: boolean;
|
||||
ok?: boolean;
|
||||
detail?: string;
|
||||
error?: string;
|
||||
}>;
|
||||
}
|
||||
|
||||
// ===== Toast API =====
|
||||
|
||||
Reference in New Issue
Block a user