@sqlrooms/app-runtime / createHtmlAppRevisionCommands
Function: createHtmlAppRevisionCommands()
createHtmlAppRevisionCommands<
TRoomState>(options):RoomCommand<TRoomState>[]
Create room commands for writing, renaming, restoring, undoing, and redoing HTML app revisions.
Type Parameters
| Type Parameter |
|---|
TRoomState extends BaseRoomStoreState |
Parameters
| Parameter | Type |
|---|---|
options | CreateHtmlAppRevisionCommandsOptions<TRoomState> |
Returns
RoomCommand<TRoomState>[]