Steps can now be ordered (via drag and drop)

This commit is contained in:
Greg Burri 2025-01-15 01:37:49 +01:00
parent e355800f98
commit b86cded45d
8 changed files with 316 additions and 112 deletions

View file

@ -137,7 +137,7 @@ async fn main() {
)
.route(
"/recipe/set_groups_order",
put(services::ron::set_group_orders),
put(services::ron::set_groups_order),
)
.route("/recipe/add_step", post(services::ron::add_step))
.route("/recipe/remove_step", delete(services::ron::rm_step))
@ -145,6 +145,10 @@ async fn main() {
"/recipe/set_step_action",
put(services::ron::set_step_action),
)
.route(
"/recipe/set_steps_order",
put(services::ron::set_steps_order),
)
.route(
"/recipe/add_ingredient",
post(services::ron::add_ingredient),