Skip to content

API > @blocksuite/store > createSimpleServerStorage

Function: createSimpleServerStorage ​

createSimpleServerStorage(id): BlobStorage

API: /api/workspace/:id/blob/:key GET: get blob PUT: set blob DELETE: delete blob

Parameters ​

ParameterType
idstring

Returns ​

BlobStorage

Defined In ​

packages/store/src/persistence/blob/mock-server-storage.ts:9