BlockSuite API Documentation / @blocksuite/store / YBlock
Type Alias: YBlock
YBlock =
Y.Map
<unknown
> &object
Defined in: packages/framework/store/src/model/block/types.ts:6
Type declaration
get()
Call Signature
Parameters
prop
"sys:id"
| "sys:flavour"
Returns
string
Call Signature
Parameters
prop
"sys:children"
Returns
YArray
<string
>
Call Signature
Type Parameters
T
T
= unknown
Parameters
prop
string
Returns
T