import { BaseField } from '@dvn/core/doldurma/src/BaseField';
import { UIAction } from '@dvn/core/models/actions';
export interface ListViewTableConfig {
  actions?: UIAction<any>[];
  actionsWidth?: number;
  columns?: {
    [fieldId: string]: {
      weight?: number;
      width?: number;
    };
  };
  fields: TableColumnConfig[];
  hideHeader?: boolean;
  separation?: 0 | 1 | 2 | 3;
  elevation?: 0 | 1 | 2 | 3;
}
export interface TableColumnConfig {
  fieldId: string;
  fieldDisplay?: BaseField;
  componentTag?: string;
  isEditable?: boolean;
  [key: string]: any;
}
