import { ModifyContentAction, ModifyContentActionType } from './modify-content-action.abstract';
/**
 * Replace the nest list with new list array
 *
 * @example listItemBlock.apply(new ReplaceNestListAction(newListBlockArray))
 */
export class ReplaceNestListAction extends ModifyContentAction {
  constructor(newList) {
    super();
    this.type = ModifyContentActionType.REPLACE_NEST_LIST;
    this.newList = newList;
  }
}
