chore: apply cargo fmt across workspace and update docs
- Run cargo fmt on all Rust crates for consistent formatting - Update CLAUDE.md with WASM plugin commands and dev.ps1 instructions - Update wiki: add WASM plugin architecture, rewrite dev environment docs - Minor frontend cleanup (unused imports)
This commit is contained in:
@@ -7,9 +7,7 @@ use erp_core::error::AppResult;
|
||||
use erp_core::events::EventBus;
|
||||
use erp_core::module::ErpModule;
|
||||
|
||||
use crate::handler::{
|
||||
definition_handler, instance_handler, task_handler,
|
||||
};
|
||||
use crate::handler::{definition_handler, instance_handler, task_handler};
|
||||
|
||||
/// Workflow module implementing the `ErpModule` trait.
|
||||
///
|
||||
@@ -37,8 +35,7 @@ impl WorkflowModule {
|
||||
)
|
||||
.route(
|
||||
"/workflow/definitions/{id}",
|
||||
get(definition_handler::get_definition)
|
||||
.put(definition_handler::update_definition),
|
||||
get(definition_handler::get_definition).put(definition_handler::update_definition),
|
||||
)
|
||||
.route(
|
||||
"/workflow/definitions/{id}/publish",
|
||||
@@ -47,8 +44,7 @@ impl WorkflowModule {
|
||||
// Instance routes
|
||||
.route(
|
||||
"/workflow/instances",
|
||||
post(instance_handler::start_instance)
|
||||
.get(instance_handler::list_instances),
|
||||
post(instance_handler::start_instance).get(instance_handler::list_instances),
|
||||
)
|
||||
.route(
|
||||
"/workflow/instances/{id}",
|
||||
|
||||
Reference in New Issue
Block a user