import { BaseField } from '../../BaseField';
export class RawDataField extends BaseField {
  constructor(id, title, description, dataType = 'json') {
    super(id, 'rawData');
    this.dataType = 'json';
    this.id = id;
    this.title = title;
    this.description = description;
    this.dataType = dataType;
  }
  showPreview() {
    this.preview = true;
    return this;
  }
  getDisplayValue(value) {
    return value;
  }
  setDataType(dataType) {
    this.dataType = dataType;
    return this;
  }
}
RawDataField.type = 'rawData';
