app,server: Allow to edit recipe name

This commit is contained in:
traxys 2023-06-25 16:11:26 +02:00
parent 1a0ffb2d89
commit 47b547caf4
4 changed files with 203 additions and 19 deletions

View file

@ -108,3 +108,8 @@ pub struct RecipeInfo {
pub steps: Vec<String>,
pub ingredients: Vec<(i64, IngredientInfo, f64)>,
}
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct RecipeRenameRequest {
pub name: String,
}