app,server: Allow to add ingredients to existing recipes
This commit is contained in:
parent
6004520fb9
commit
27f9295aa3
5 changed files with 319 additions and 69 deletions
|
|
@ -118,3 +118,8 @@ pub struct RecipeRenameRequest {
|
|||
pub struct RecipeIngredientEditRequest {
|
||||
pub amount: f64,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Debug)]
|
||||
pub struct AddRecipeIngredientRequest {
|
||||
pub amount: f64,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue