package dev.ulfrx.recipe.ui.screens.mealplaneditor

import dev.ulfrx.recipe.ui.components.recipe.MealSlot
import kotlinx.datetime.LocalDate

data class AddedIngredientUi(
    val ingredientId: String,
    val name: String,
    val amount: Double,
    val unit: String,
)

data class AddableIngredientUi(
    val ingredientId: String,
    val name: String,
    val defaultAmount: Double,
    val defaultUnit: String,
)

data class PlannedMealUi(
    val id: String,
    val recipeId: String,
    val date: LocalDate,
    val slot: MealSlot,
    val servings: Int,
    val substitutions: Map<String, String>,
    val excludedIngredients: Set<String>,
    val addedIngredients: List<AddedIngredientUi>,
)
