Skip to content

BlockSuite API Documentation / @blocksuite/store / StoreOptions

Interface: StoreOptions<Flags> ​

Contents ​

Type parameters ​

• Flags extends Record<string, unknown> = BlockSuiteFlags

Properties ​

awareness? ​

awareness?: Awareness<RawAwarenessState<Flags>>

Source ​

packages/store/src/workspace/store.ts:49


blobStorages? ​

blobStorages?: (id) => BlobStorage[]

Source ​

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


defaultFlags? ​

defaultFlags?: Partial<Flags>

Source ​

packages/store/src/workspace/store.ts:51


id ​

id: string

Source ​

packages/store/src/workspace/store.ts:47


idGenerator? ​

idGenerator?: IdGenerator | Generator

Source ​

packages/store/src/workspace/store.ts:50


providerCreators? ​

providerCreators?: DocProviderCreator[]

Source ​

packages/store/src/workspace/store.ts:48


Generated using typedoc-plugin-markdown and TypeDoc