ColumnSchema: {
    allowNull?: boolean;
    columnType: ColumnType;
    defaultValue?: unknown;
    enumValues?: string[];
    filterOperators?: Set<Operator>;
    isPrimaryKey?: boolean;
    isReadOnly?: boolean;
    isSortable?: boolean;
    type: "Column";
    validation?: ColumnSchemaValidation;
}

Type declaration

  • Optional allowNull?: boolean
  • columnType: ColumnType
  • Optional defaultValue?: unknown
  • Optional enumValues?: string[]
  • Optional filterOperators?: Set<Operator>
  • Optional isPrimaryKey?: boolean
  • Optional isReadOnly?: boolean
  • Optional isSortable?: boolean
  • type: "Column"
  • Optional validation?: ColumnSchemaValidation