Skip to content

@sqlrooms/mosaic / createMosaicDashboardCommands

Function: createMosaicDashboardCommands()

createMosaicDashboardCommands<TRoomState>(): RoomCommand<TRoomState>[]

Create reusable Mosaic dashboard commands for selected table and panel mutations.

These commands delegate to the dashboard slice so UI code, agents, and future automation share the same persistence behavior.

Type Parameters

Type ParameterDefault type
TRoomState extends DashboardCommandStateDashboardCommandState

Returns

RoomCommand<TRoomState>[]