feat: add default head img

This commit is contained in:
MingLiang Wang
2023-01-08 18:42:35 +08:00
parent 512c0a791e
commit 375b5197da
5 changed files with 96 additions and 6 deletions
+17 -2
View File
@@ -65,11 +65,11 @@ export class BaseProvider {
}
async getBlob(id: string): Promise<string | null> {
return this._blobs.get(id);
return await this._blobs.get(id);
}
async setBlob(blob: Blob): Promise<string> {
return this._blobs.set(blob);
return await this._blobs.set(blob);
}
/**
@@ -131,6 +131,21 @@ export class BaseProvider {
return;
}
/**
* change workspace meta by workspace id , work for cached list in different provider
* @param id
* @param meta
* @returns
*/
public async updateWorkspaceMeta(
id: string,
meta: Partial<WorkspaceMeta>
): Promise<void> {
id;
meta;
return;
}
public async createWorkspace(
meta: WorkspaceMeta
): Promise<Workspace | undefined> {