export const TABLE_REDUX_FIELD_NAME = 'commonTable';
export const ROWS_PER_PAGE_DEFAULT = 15;
export const TABLE_SORT_BY = 'updatedAt';
export const SEARCH_TEXT_MAX_LENGTH = 100;

export const TABLE_HEADERS = [
  {
    id: 'id',
    label: 'Id',
    width: '100',
    sortable: true,
  },
  {
    id: 'name',
    label: 'Account Name',
    sortable: true,
  },
  {
    id: 'salesforceId',
    label: 'Salesforce Account Id',
    width: '200',
    sortable: true,
  },
  {
    id: 'type',
    label: 'Type',
    width: '100',
    sortable: true,
  },
  {
    id: 'sitesAmount',
    label: 'Hubs',
    width: '80',
  },
  {
    id: 'contentOwners',
    label: 'Content',
    width: '80',
  },
  {
    id: 'updatedBy',
    label: 'Updated By',
    sortable: true,
  },
  {
    id: 'updatedAt',
    label: 'Updated Date',
    width: '150',
    sortable: true,
  },
];

// Account
export const ACCOUNT_TYPE_ALL = null;
export const ACCOUNT_TYPE_PUBLISHER = 'PUBLISHER';
export const ACCOUNT_TYPE_BUSINESS = 'BUSINESS';
export const ACCOUNT_TYPE_DEMAND = 'DEMAND';
export const ACCOUNT_TYPE_SYNDICATION = 'SYNDICATION';
export const ACCOUNT_TYPE_VAST = 'VAST';

export const ACCOUNT_OPTIONS = [
  { label: 'Publisher', value: ACCOUNT_TYPE_PUBLISHER },
  { label: 'Business', value: ACCOUNT_TYPE_BUSINESS },
  { label: 'Demand', value: ACCOUNT_TYPE_DEMAND },
  { label: 'Syndication', value: ACCOUNT_TYPE_SYNDICATION },
  { label: 'VAST', value: ACCOUNT_TYPE_VAST },
];

export const FILTER_VIDEO_DUPLICATES_BY_OPTIONS = [
  { label: 'Title', value: 'Title' },
  { label: 'GUID', value: 'GUID' },
];
