mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-21 03:51:45 +08:00
9 lines
244 B
TypeScript
9 lines
244 B
TypeScript
export interface BlobSource {
|
|
name: string;
|
|
readonly: boolean;
|
|
get: (key: string) => Promise<Blob | null>;
|
|
set: (key: string, value: Blob) => Promise<string>;
|
|
delete: (key: string) => Promise<void>;
|
|
list: () => Promise<string[]>;
|
|
}
|