Skip to content

Commit 3bc0055

Browse files
committed
feat(luminork): wire up bulk component endpoints in router
Add routes for all four bulk component operations: - POST /create_many - Bulk component creation - PUT /update_many - Bulk component updates - DELETE /delete_many - Bulk component soft-deletion - POST /erase_many - Bulk component hard-deletion Completes the routing layer for bulk component operations, making all endpoints accessible via the API.
1 parent c82a314 commit 3bc0055

File tree

1 file changed

+4
-0
lines changed
  • lib/luminork-server/src/service/v1/components

1 file changed

+4
-0
lines changed

lib/luminork-server/src/service/v1/components/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,10 @@ pub fn routes() -> Router<AppState> {
647647
Router::new()
648648
.route("/", post(create_component::create_component))
649649
.route("/", get(list_components::list_components))
650+
.route("/create_many", post(create_many_components::create_many_components))
651+
.route("/update_many", put(update_many_components::update_many_components))
652+
.route("/delete_many", delete(delete_many_components::delete_many_components))
653+
.route("/erase_many", post(erase_many_components::erase_many_components))
650654
.route("/find", get(find_component::find_component))
651655
.route("/search", post(search_components::search_components))
652656
.route(

0 commit comments

Comments
 (0)