Skip to content

BlockSuite API Documentation / @blocksuite/store / YBlock

Type Alias: YBlock

YBlock: Y.Map<unknown> & object

Type declaration

get()

Call Signature

Parameters
prop

"sys:id"

Returns

string

Call Signature

Parameters
prop

"sys:flavour"

Returns

string

Call Signature

Parameters
prop

"sys:children"

Returns

YArray<string>

Call Signature

Type Parameters

T = unknown

Parameters
prop

string

Returns

T

Defined in

packages/framework/store/src/store/doc/block/types.ts:5