Ingredients can now be manually ordered

This commit is contained in:
Greg Burri 2025-01-16 00:17:08 +01:00
parent afd42ba1d0
commit ca2227037f
11 changed files with 205 additions and 32 deletions

View file

@ -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,