teableio/teable

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

Summary

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

export class AddFieldBuilder implements ICreateOpBuilder {
  name: OpName.AddField = OpName.AddField;

  build(field: IFieldVo): IFieldVo {
    return field;
  }
}