import type { ActivityCategory, ActivityEquipment, Difficulty, MeasurementType } from "../../types";

export const categoryLabels: Record<ActivityCategory, string> = {
  chest: "Грудь",
  back: "Спина",
  legs: "Ноги",
  shoulders: "Плечи",
  biceps: "Бицепс",
  triceps: "Трицепс",
  core: "Пресс",
  cardio: "Кардио",
  full_body: "Все тело",
  other: "Другое",
};

export const equipmentLabels: Record<ActivityEquipment, string> = {
  barbell: "Штанга",
  dumbbell: "Гантели",
  machine: "Тренажер",
  cable: "Блок",
  bodyweight: "Свой вес",
  kettlebell: "Гиря",
  cardio_machine: "Кардио",
  other: "Другое",
};

export const measurementLabels: Record<MeasurementType, string> = {
  weight_reps: "Вес × повторы",
  reps_only: "Повторы",
  duration: "Время",
  distance_duration: "Дистанция + время",
  duration_calories: "Время + ккал",
};

export const difficultyLabels: Record<Difficulty, string> = {
  beginner: "Новичок",
  intermediate: "Средний",
  advanced: "Сложно",
};

export const categoryOptions = Object.keys(categoryLabels) as ActivityCategory[];
export const equipmentOptions = Object.keys(equipmentLabels) as ActivityEquipment[];
export const measurementOptions = Object.keys(measurementLabels) as MeasurementType[];
export const difficultyOptions = Object.keys(difficultyLabels) as Difficulty[];
