feat(server): blob data migration (#5461)

This commit is contained in:
liuyi
2024-01-03 10:56:57 +00:00
parent 0d34805375
commit 760d900f99
11 changed files with 109 additions and 39 deletions

View File

@@ -37,8 +37,11 @@ export class WorkspaceBlobStorage {
return blobs;
}
async delete(workspaceId: string, key: string) {
return this.provider.delete(`${workspaceId}/${key}`);
/**
* we won't really delete the blobs until the doc blobs manager is implemented sounded
*/
async delete(_workspaceId: string, _key: string) {
// return this.provider.delete(`${workspaceId}/${key}`);
}
async totalSize(workspaceId: string) {