Skip to main content

Module api

Module api 

Source

Structs§

AppState

Functions§

apply_transform
If the template is valid JSON with {{...}} placeholders, returns transformed JSON. Otherwise returns the original payload unchanged.
evaluate_filter
evaluate_filter_pub
Public wrapper for evaluate_filter (used by queue.rs for choice steps).
event_matches
resolve_path_pub
Public wrapper for resolve_path (used by queue.rs for map step).
serve
start_workflow
Start a workflow by creating a workflow_run and the first step’s job.
validate_event_schema
Validate event payload against a JSON Schema (subset). Supports: type, required, properties (with nested type checks). Returns Ok(()) if valid or schema is empty, Err with details if invalid.