BlockSuite API Documentation / @blocksuite/store / StoreOptions
Interface: StoreOptions<Flags>
Type parameters
• Flags extends Record<string, unknown> = BlockSuiteFlags
Properties
awarenessSources?
optionalawarenessSources:AwarenessSource[]
Source
packages/framework/store/src/store/store.ts:63
blobStorages?
optionalblobStorages: (id) =>BlobStorage[]
Source
packages/framework/store/src/store/store.ts:57
defaultFlags?
optionaldefaultFlags:Partial<Flags>
Source
packages/framework/store/src/store/store.ts:56
docSources?
optionaldocSources:Object
docSources.main
main:
DocSource
docSources.shadow?
optionalshadow:DocSource[]
Source
packages/framework/store/src/store/store.ts:59
id?
optionalid:string
Source
packages/framework/store/src/store/store.ts:54
idGenerator?
optionalidGenerator:IdGenerator|Generator
Source
packages/framework/store/src/store/store.ts:55
logger?
optionallogger:Logger
Source
packages/framework/store/src/store/store.ts:58