import type { DayOfWeek } from '@repo/api-contract';

export const DAY_OPTIONS: Array<{ value: DayOfWeek; label: string }> = [
  { value: 'MONDAY', label: 'Lunes' },
  { value: 'TUESDAY', label: 'Martes' },
  { value: 'WEDNESDAY', label: 'Miércoles' },
  { value: 'THURSDAY', label: 'Jueves' },
  { value: 'FRIDAY', label: 'Viernes' },
  { value: 'SATURDAY', label: 'Sábado' },
  { value: 'SUNDAY', label: 'Domingo' },
];

export const DAY_ORDER: DayOfWeek[] = DAY_OPTIONS.map((option) => option.value);

export const DAY_LABEL_BY_VALUE = new Map(
  DAY_OPTIONS.map((option) => [option.value, option.label])
);
