Skip to content

@sqlrooms/deck / createDeckMapBlockDocumentCommandType

Function: createDeckMapBlockDocumentCommandType() ​

createDeckMapBlockDocumentCommandType<TState>(options?): BlockDocumentStatefulBlockCommandType<TState>

Builds the shared command-type registration for a Deck map stateful block.

Type Parameters ​

Type Parameter
TState extends DeckMapsSliceState & DuckDbSliceState

Parameters ​

ParameterType
optionsDeckMapBlockDocumentRegistrationOptions<TState>

Returns ​

BlockDocumentStatefulBlockCommandType<TState>