import { ModifyContentAction } from '../../../dto/actions/modify-content-action.abstract';
export const DELETE_TABLE_ROW = 'DELETE_TABLE_ROW';
/**
 * Action class for deleting a specific table row.
 */
export class DeleteTableRowAction extends ModifyContentAction {
  /**
   * Constructs an InsertTableRowAction.
   *
   * @param {RTETableRowBlock[]} rowsToBeRemoved - The rows to be removed from the table.
   */
  constructor(rowsToBeRemoved) {
    super();
    this.isFlushable = true;
    this.type = DELETE_TABLE_ROW;
    this.rowsToBeRemoved = rowsToBeRemoved;
  }
}
