// Search
export const SEARCH_TEXT_MAX_LENGTH = 100;

export const STATUSES_ALL = null;
export const STATUSES_ACTIVE = 1;
export const STATUSES_INACTIVE = 0;
export const STATUSES_OPTIONS = [
  { label: 'Active', value: STATUSES_ACTIVE },
  { label: 'Inactive', value: STATUSES_INACTIVE },
];

export const TYPE_STUDIO = 1;
export const TYPE_PUBLISHER = 2;
export const TYPE_BROADCASTER = 3;
export const TYPE_BUSINESS = 4;
export const TYPE_SYNDICATOR = 5;
export const TYPE_LIVEEVENT = 99;
export const TYPES_OPTIONS = [
  { label: 'Publisher', value: TYPE_PUBLISHER },
  { label: 'Business', value: TYPE_BUSINESS },
  { label: 'Syndicator', value: TYPE_SYNDICATOR },
  { label: 'Broadcaster', value: TYPE_BROADCASTER },
  { label: 'Studio', value: TYPE_STUDIO },
  { label: 'Live Event', value: TYPE_LIVEEVENT },
];

export const CALL_TO_ACTIONS_OPTIONS = [
  { label: 'No', value: 0 },
  { label: 'Yes', value: 1 },
];

export const PLAY_FROM_CO_OPTIONS = [
  { label: 'No', value: 0 },
  { label: 'Yes', value: 1 },
];

export const IS_PUBLIC_NO = 0;
export const IS_PUBLIC_YES = 1;
export const IS_PUBLIC_OPTIONS = [
  { label: 'No', value: IS_PUBLIC_NO },
  { label: 'Yes', value: IS_PUBLIC_YES },
];

export const ROWS_PER_PAGE_DEFAULT = 15;

export const TABLE_SORT_BY = 'id';

export const TABLE_REDUX_FIELD_NAME = 'commonTable';
