import { ITableCell } from './table-cell';
import { IObjectStatus } from '../object-status';
import { IIcon } from '../../../common/interfaces/icon';
import {IAction} from '../actions/action';
import { IBaseFleioObjectModel } from '@fleio-api/base-model/base-fleio-object.model';
import { IDetailsLink } from '@objects-view/interfaces/details-link';

export interface ITableRow {
  object?: IBaseFleioObjectModel;
  expandable?: boolean;
  cells: {[column: string]: ITableCell};
  status?: IObjectStatus;
  border?: string;
  icon?: IIcon;
  actions?: IAction[];
  url?: string | IDetailsLink;
  boldText?: boolean;
  detailComponentData?: Record<string, unknown>;
  showsRows?: string;
  separateTop?: boolean;
  hideBoxShadow?: boolean;
  rowType?: string;
}
