app,server: Allow to edit recipe name
This commit is contained in:
parent
1a0ffb2d89
commit
47b547caf4
4 changed files with 203 additions and 19 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue