use crate::domain::{ModuleArgs, Value}; use indexmap::IndexMap; use std::collections::HashMap; pub trait ConfigPort { fn get(&mut self) -> &mut Config; } pub struct Config { pub actions: IndexMap, pub options: HashMap, } pub type Chain = Vec; pub struct Step { pub module: String, pub args: ModuleArgs, pub then_dest: Option, pub else_dest: Option, }