import { ShiftColor } from 'src/types/shifts';

type ColorOption = {
  label: string;
  value: ShiftColor;
};

export const COLOR_OPTIONS: ColorOption[] = [
  { label: 'shift_colors.blue', value: ShiftColor.BLUE },
  { label: 'shift_colors.light_blue', value: ShiftColor.LIGHT_BLUE },
  { label: 'shift_colors.yellow', value: ShiftColor.YELLOW },
  { label: 'shift_colors.green', value: ShiftColor.GREEN },
  { label: 'shift_colors.lilac', value: ShiftColor.LILAC },
  { label: 'shift_colors.red', value: ShiftColor.RED },
];

export const NOTES_MAX_LENGTH = 250;

export const TABLE_HEADERS_IDS = {
  tableHeader: 'shifts-table-header',
  tableBody: 'shifts-table-body',
  collaboratorHeader: 'header-collaborator',
  dateHeader: (date: string) => `header-date-${date}`,
  selectionHeader: 'header-selection',
};
