Skip to content

BlockSuite API Documentation / @blocksuite/store / StoreOptions

Interface: StoreOptions<Flags>

Type parameters

Flags extends Record<string, unknown> = BlockSuiteFlags

Properties

awarenessSources?

optional awarenessSources: AwarenessSource[]

Source

packages/framework/store/src/store/store.ts:63


blobStorages?

optional blobStorages: (id) => BlobStorage[]

Source

packages/framework/store/src/store/store.ts:57


defaultFlags?

optional defaultFlags: Partial<Flags>

Source

packages/framework/store/src/store/store.ts:56


docSources?

optional docSources: object

main

main: DocSource

shadow?

optional shadow: DocSource[]

Source

packages/framework/store/src/store/store.ts:59


id?

optional id: string

Source

packages/framework/store/src/store/store.ts:54


idGenerator?

optional idGenerator: IdGenerator | Generator

Source

packages/framework/store/src/store/store.ts:55


logger?

optional logger: Logger

Source

packages/framework/store/src/store/store.ts:58