mod cli;
mod flow;
mod functions;
mod helpers;
mod ops;
mod statics;
use std::collections::HashSet;
use serde::Serialize;
use serde_json::Value;
pub use thepipelinetool_task::task_ref_inner::TaskRefInner;
pub struct TaskRef<T: Serialize>(TaskRefInner<T>);
pub fn _lazy_task_ref(id: usize) -> TaskRef<Vec<Value>> {
TaskRef(TaskRefInner {
task_ids: HashSet::from([id]),
key: None,
_marker: std::marker::PhantomData,
})
}
pub mod prelude {
pub use crate::cli::parse_cli;
pub use crate::{functions::*, TaskRef, TaskRefInner};
pub use thepipelinetool_operators::*;
pub use serde::{Deserialize, Serialize};
pub use serde_json::{json, Value};
pub use thepipelinetool_proc_macro::dag;
pub use thepipelinetool_task::branch::Branch;
pub use thepipelinetool_task::task_options::TaskOptions;
}
pub mod dev {
pub use crate::cli::*;
pub use crate::helpers::*;
pub use crate::prelude::*;
pub use crate::statics::*;
pub use thepipelinetool_task::ordered_queued_task::OrderedQueuedTask;
pub use thepipelinetool_task::queued_task::QueuedTask;
pub use thepipelinetool_task::task_result::TaskResult;
pub use thepipelinetool_task::task_status::TaskStatus;
pub use thepipelinetool_task::Task;
pub use thepipelinetool_utils::*;
}