app,server: Allow to edit recipe ingredients

This commit is contained in:
traxys 2023-06-25 17:25:42 +02:00
parent 47b547caf4
commit 6004520fb9
6 changed files with 307 additions and 35 deletions

View file

@ -113,3 +113,8 @@ pub struct RecipeInfo {
pub struct RecipeRenameRequest {
pub name: String,
}
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct RecipeIngredientEditRequest {
pub amount: f64,
}