1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//! Flow definition types for YAML deserialization.
//!
//! This module provides strongly-typed structures for parsing YAML flow definitions:
//!
//! - [`FlowDefinition`] - The top-level flow document
//! - [`NodeDefinition`] - Individual node configuration
//! - [`EdgeDefinition`] - Connection between nodes
//! - [`TriggerDefinition`] - Trigger configuration
//!
//! # Example YAML
//!
//! ```yaml
//! name: order_processing
//! version: "1.0"
//! description: Process incoming orders
//!
//! triggers:
//! - id: webhook_in
//! type: webhook
//! params:
//! port: 8080
//! path: /orders
//!
//! nodes:
//! fraud_check:
//! type: std::switch
//! config:
//! condition:
//! type: greater_than
//! field: risk_score
//! value: 0.8
//!
//! high_risk:
//! type: std::log
//! config:
//! message: "High risk order detected"
//!
//! edges:
//! - from: webhook_in
//! to: fraud_check
//! - from: fraud_check.true
//! to: high_risk
//!
//! settings:
//! max_concurrent_executions: 100
//! execution_timeout_ms: 60000
//! ```
pub use FlowDefinition;
pub use EdgeDefinition;
pub use NodeDefinition;
pub use FlowSettings;
pub use TriggerDefinition;
pub use ;