teableio/teable

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

Summary

Maintainability
A
0 mins
Test Coverage
import { OpName } from '../common';
import type { ICreateOpBuilder } from '../interface';
import type { ITableOp } from './set-table-property';

export class AddTableBuilder implements ICreateOpBuilder {
  name: OpName.AddTable = OpName.AddTable;

  build(table: ITableOp): ITableOp {
    return table;
  }
}