BlockSuite API Documentation / @blocksuite/store / Store
Class: Store
Constructors
new Store(__namedParameters)
new Store(
__namedParameters
):Store
Parameters
• __namedParameters: StoreOptions
<BlockSuiteFlags
>= undefined
Returns
Source
packages/framework/store/src/store/store.ts:83
Properties
awarenessStore
readonly
awarenessStore:AwarenessStore
<BlockSuiteFlags
>
Source
packages/framework/store/src/store/store.ts:77
awarenessSync
readonly
awarenessSync:AwarenessEngine
Source
packages/framework/store/src/store/store.ts:81
doc
readonly
doc:BlockSuiteDoc
Source
packages/framework/store/src/store/store.ts:75
docSync
readonly
docSync:DocEngine
Source
packages/framework/store/src/store/store.ts:80
id
readonly
id:string
Source
packages/framework/store/src/store/store.ts:74
idGenerator
readonly
idGenerator:IdGenerator
Source
packages/framework/store/src/store/store.ts:78
spaces
readonly
spaces:Map
<string
,Space
<Record
<string
,any
>>>
Source
packages/framework/store/src/store/store.ts:76
Methods
addSpace()
addSpace(
space
):void
Parameters
• space: Space
<Record
<string
, any
>>
Returns
void
Source
packages/framework/store/src/store/store.ts:143
removeSpace()
removeSpace(
space
):void
Parameters
• space: Space
<Record
<string
, any
>>
Returns
void
Source
packages/framework/store/src/store/store.ts:147