1 2 3 4 5 6 7 8 9 10 11 12 13
use crate::{dto::error::Error, workflow::config::ConfigWorkflow}; /// /// ConfigApi /// pub struct ConfigApi; impl ConfigApi { pub fn export_toml() -> Result<String, Error> { ConfigWorkflow::export_toml().map_err(Error::from) } }