import {
  STATUS_ACTIVE,
  STATUS_ARCHIVED,
  STATUS_DISCONNECTED,
  TYPE_INSTAGRAM,
  TYPE_MRSS,
  TYPE_MS_STREAM,
  TYPE_SHAREPOINT,
  TYPE_TEAMS,
  TYPE_TIKTOK,
  TYPE_ZOOM,
} from '../../constants';

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

export const STATUS_ACTIVE_TITLE = 'Active';
export const STATUS_ARCHIVED_TITLE = 'Archived';
export const STATUS_DISCONNECTED_TITLE = 'Disconnected';

export const STATUS_OPTIONS = [
  {
    label: STATUS_ACTIVE_TITLE,
    value: STATUS_ACTIVE,
  },
  {
    label: STATUS_DISCONNECTED_TITLE,
    value: STATUS_DISCONNECTED,
  },
  {
    label: STATUS_ARCHIVED_TITLE,
    value: STATUS_ARCHIVED,
  },
];

export const TYPE_MENU_OPTIONS = [
  {
    label: 'Microsoft Teams',
    value: TYPE_TEAMS,
  },
  {
    label: 'Zoom',
    value: TYPE_ZOOM,
  },
  {
    label: 'SharePoint',
    value: TYPE_SHAREPOINT,
  },
  {
    label: 'Instagram',
    value: TYPE_INSTAGRAM,
  },
  {
    label: 'TikTok',
    value: TYPE_TIKTOK,
  },
  {
    label: 'Microsoft Stream',
    value: TYPE_MS_STREAM,
  },
  {
    label: 'MRSS',
    value: TYPE_MRSS,
  },
];
