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/workspace/store.ts:84
Properties
awarenessStore
readonly
awarenessStore:AwarenessStore
<BlockSuiteFlags
>
Source
packages/framework/store/src/workspace/store.ts:78
awarenessSync
readonly
awarenessSync:AwarenessEngine
Source
packages/framework/store/src/workspace/store.ts:82
doc
readonly
doc:BlockSuiteDoc
Source
packages/framework/store/src/workspace/store.ts:76
docSync
readonly
docSync:DocEngine
Source
packages/framework/store/src/workspace/store.ts:81
id
readonly
id:string
Source
packages/framework/store/src/workspace/store.ts:75
idGenerator
readonly
idGenerator:IdGenerator
Source
packages/framework/store/src/workspace/store.ts:79
spaces
readonly
spaces:Map
<string
,Space
<Record
<string
,any
>>>
Source
packages/framework/store/src/workspace/store.ts:77
Methods
addSpace()
addSpace(
space
):void
Parameters
• space: Space
<Record
<string
, any
>>
Returns
void
Source
packages/framework/store/src/workspace/store.ts:144
removeSpace()
removeSpace(
space
):void
Parameters
• space: Space
<Record
<string
, any
>>
Returns
void
Source
packages/framework/store/src/workspace/store.ts:148
Generated using TypeDoc and typedoc-plugin-markdown.