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