Ingredients can now be manually ordered
This commit is contained in:
parent
afd42ba1d0
commit
ca2227037f
11 changed files with 205 additions and 32 deletions
|
|
@ -178,6 +178,11 @@ pub struct SetIngredientUnit {
|
|||
pub unit: String,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct SetIngredientOrders {
|
||||
pub ingredient_ids: Vec<i64>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Clone)]
|
||||
pub struct Tags {
|
||||
pub recipe_id: i64,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue