app,server: Allow to edit steps

This commit is contained in:
traxys 2023-06-25 22:02:58 +02:00
parent 0c7e52bd8b
commit 1ea5c8aafa
4 changed files with 141 additions and 5 deletions

View file

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