app,server: Allow to edit steps
This commit is contained in:
parent
0c7e52bd8b
commit
1ea5c8aafa
4 changed files with 141 additions and 5 deletions
|
|
@ -123,3 +123,8 @@ pub struct RecipeIngredientEditRequest {
|
|||
pub struct AddRecipeIngredientRequest {
|
||||
pub amount: f64,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone, Debug)]
|
||||
pub struct RecipeEditStepsRequest {
|
||||
pub steps: String
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue