package dev.ulfrx.recipe.ui.screens.pantry

import androidx.lifecycle.ViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow

/**
 * UI state for [PantryScreen]. Phase 2.1 ships only the empty state. Phase 8
 * (Pantry) extends this with inventory rows + actions.
 */
data class PantryState(
    val isEmpty: Boolean = true,
)

class PantryViewModel : ViewModel() {
    private val _state = MutableStateFlow(PantryState())
    val state: StateFlow<PantryState> = _state.asStateFlow()
}
