Skip to content

BlockSuite API Documentation / @blocksuite/store / DocCollectionOptions

Type Alias: DocCollectionOptions

DocCollectionOptions: object

Type declaration

awarenessSources?

optional awarenessSources: AwarenessSource[]

blobSources?

optional blobSources: object

blobSources.main

blobSources.main: BlobSource

blobSources.shadows?

optional blobSources.shadows: BlobSource[]

defaultFlags?

optional defaultFlags: Partial<BlockSuiteFlags>

docSources?

optional docSources: object

docSources.main

docSources.main: DocSource

docSources.shadows?

optional docSources.shadows: DocSource[]

id?

optional id: string

idGenerator?

optional idGenerator: IdGeneratorType | IdGenerator

logger?

optional logger: Logger

schema

schema: Schema

Defined in

packages/framework/store/src/store/collection.ts:35