Skip to content

BlockSuite API Documentation / @blocksuite/store / createSimpleServerStorage

Function: createSimpleServerStorage() ​

createSimpleServerStorage(id): BlobStorage

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

Parameters ​

• id: string

Returns ​

BlobStorage

Source ​

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


Generated using typedoc-plugin-markdown and TypeDoc