refactor(electron): sqlite db data workflow (remove symlink & fs watcher) (#2491)

This commit is contained in:
Peng Xiao
2023-05-29 12:53:15 +08:00
committed by Himself65
parent 921f4c97d1
commit 8e6bb78bea
58 changed files with 1078 additions and 896 deletions

View File

@@ -22,7 +22,7 @@ export const createSQLiteStorage = (workspaceId: string): BlobStorage => {
return apis.db.deleteBlob(workspaceId, key);
},
list: async () => {
return apis.db.getPersistedBlobs(workspaceId);
return apis.db.getBlobKeys(workspaceId);
},
},
};