teableio/teable

View on GitHub
packages/core/src/op-builder/view/add-view.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { IViewVo } from '../../models';
import { OpName } from '../common';
import type { ICreateOpBuilder } from '../interface';

export class AddViewBuilder implements ICreateOpBuilder {
  name: OpName.AddView = OpName.AddView;

  build(view: IViewVo): IViewVo {
    return view;
  }
}