Skip to content

API > @blocksuite/store > StoreOptions

Interface: StoreOptions<Flags> ​

Type parameters ​

ParameterDefault
Flags extends Record< string, unknown >BlockSuiteFlags

Properties ​

awareness ​

optional awareness: Awareness< RawAwarenessState< Flags > >

Defined In ​

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


blobStorages ​

optional blobStorages: (id) => BlobStorage[]

Defined In ​

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


defaultFlags ​

optional defaultFlags: Partial< Flags >

Defined In ​

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


id ​

id: string

Defined In ​

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


idGenerator ​

optional idGenerator: IdGenerator | Generator

Defined In ​

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


providerCreators ​

optional providerCreators: DocProviderCreator[]

Defined In ​

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