app,server: Allow to add ingredients to existing recipes

This commit is contained in:
traxys 2023-06-25 18:48:49 +02:00
parent 6004520fb9
commit 27f9295aa3
5 changed files with 319 additions and 69 deletions

View file

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