API > @blocksuite/store > BlobManager
Interface: BlobManager ​
Properties ​
decreaseRef ​
decreaseRef:
function
Parameters ​
Parameter | Type |
---|---|
blobId | string |
Returns ​
void
Defined In ​
packages/store/src/persistence/blob/types.ts:16
delete ​
delete:
function
Parameters ​
Parameter | Type |
---|---|
key | string |
Returns ​
Promise
< void
>
Defined In ​
packages/store/src/persistence/blob/types.ts:11
gc ​
gc:
function
Returns ​
Promise
< void
>
Defined In ​
packages/store/src/persistence/blob/types.ts:14
get ​
get:
function
Parameters ​
Parameter | Type |
---|---|
key | string |
Returns ​
Promise
< null
| Blob
>
Defined In ​
packages/store/src/persistence/blob/types.ts:9
increaseRef ​
increaseRef:
function
Parameters ​
Parameter | Type |
---|---|
blobId | string |
Returns ​
void
Defined In ​
packages/store/src/persistence/blob/types.ts:15
list ​
list:
function
Returns ​
Promise
< string
[] >
Defined In ​
packages/store/src/persistence/blob/types.ts:12
set ​
set:
function
Parameters ​
Parameter | Type |
---|---|
value | Blob |
key ? | string |
Returns ​
Promise
< string
>
Defined In ​
packages/store/src/persistence/blob/types.ts:10