BlockSuite API Documentation / @blocksuite/store / Store
Class: Store
Constructors
new Store()
new Store(
__namedParameters
):Store
Parameters
• __namedParameters: StoreOptions
<BlockSuiteFlags
>= undefined
Returns
Source
packages/framework/store/src/store/store.ts:100
Properties
awarenessStore
readonly
awarenessStore:AwarenessStore
<BlockSuiteFlags
>
Source
packages/framework/store/src/store/store.ts:90
awarenessSync
readonly
awarenessSync:AwarenessEngine
Source
packages/framework/store/src/store/store.ts:96
blobSync
readonly
blobSync:BlobEngine
Source
packages/framework/store/src/store/store.ts:98
doc
readonly
doc:BlockSuiteDoc
Source
packages/framework/store/src/store/store.ts:86
docSync
readonly
docSync:DocEngine
Source
packages/framework/store/src/store/store.ts:94
id
readonly
id:string
Source
packages/framework/store/src/store/store.ts:84
idGenerator
readonly
idGenerator:IdGenerator
Source
packages/framework/store/src/store/store.ts:92
spaces
readonly
spaces:Map
<string
,Space
<Record
<string
,any
>>>
Source
packages/framework/store/src/store/store.ts:88
Methods
addSpace()
addSpace(
space
):void
Parameters
• space: Space
<Record
<string
, any
>>
Returns
void
Source
packages/framework/store/src/store/store.ts:168
removeSpace()
removeSpace(
space
):void
Parameters
• space: Space
<Record
<string
, any
>>
Returns
void
Source
packages/framework/store/src/store/store.ts:172