package dev.ulfrx.recipe.ui.components.recipe

import org.jetbrains.compose.resources.StringResource
import recipe.composeapp.generated.resources.Res
import recipe.composeapp.generated.resources.meal_slot_breakfast
import recipe.composeapp.generated.resources.meal_slot_dinner
import recipe.composeapp.generated.resources.meal_slot_lunch
import recipe.composeapp.generated.resources.meal_slot_snack
import recipe.composeapp.generated.resources.meal_slot_supper

/**
 * Pora posiłku — shared by recipe detail (`allowedSlots`) and the meal-plan
 * editor (selected slot + filtered chip row). Ordering reflects the canonical
 * daily sequence used in the UI.
 */
enum class MealSlot(
    val labelRes: StringResource,
) {
    Breakfast(Res.string.meal_slot_breakfast),
    Lunch(Res.string.meal_slot_lunch),
    Dinner(Res.string.meal_slot_dinner),
    Supper(Res.string.meal_slot_supper),
    Snack(Res.string.meal_slot_snack),
}
