@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
| Parameter | Type |
|---|---|
options | DeckMapBlockDocumentRegistrationOptions<TState> |
Returns
BlockDocumentStatefulBlockCommandType<TState>