Skip to content

@sqlrooms/documents / BlockDocumentStatefulBlockCommandType

Type Alias: BlockDocumentStatefulBlockCommandType<TRoomState> ​

BlockDocumentStatefulBlockCommandType<TRoomState> = object

Type Parameters ​

Type Parameter
TRoomState

Properties ​

blockType ​

blockType: string


label? ​

optional label?: string


description? ​

optional description?: string


defaultTitle? ​

optional defaultTitle?: string


defaultHeight? ​

optional defaultHeight?: number


ensureState? ​

optional ensureState?: (context) => void

Parameters ​

ParameterType
contextBlockDocumentStatefulBlockCommandContext<TRoomState>

Returns ​

void