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:64


blobSources?

optional blobSources: object

main

main: BlobSource

shadows?

optional shadows: BlobSource[]

Source

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


defaultFlags?

optional defaultFlags: Partial<Flags>

Source

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


disableBacklinkIndex?

optional disableBacklinkIndex: boolean

Source

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


disableSearchIndex?

optional disableSearchIndex: boolean

Source

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


docSources?

optional docSources: object

main

main: DocSource

shadows?

optional shadows: DocSource[]

Source

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


id?

optional id: string

Source

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


idGenerator?

optional idGenerator: IdGenerator | Generator

Source

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


logger?

optional logger: Logger

Source

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