package dev.ulfrx.recipe.ui.screens.recipedetail

internal const val MIN_RECIPE_SERVINGS = 1
internal const val MAX_RECIPE_SERVINGS = 12

sealed interface RecipeDetailState {
    data object Hidden : RecipeDetailState

    data class Ready(
        val recipe: RecipeDetailUi,
        val servings: Int = MIN_RECIPE_SERVINGS,
        val substitutions: Map<String, String> = emptyMap(),
    ) : RecipeDetailState
}
