1pub mod command;
11pub mod config;
12pub mod context;
13pub mod errors;
14pub mod flow_run_events;
15pub mod solana;
16pub mod utils;
17
18pub type BoxError = Box<dyn std::error::Error + Send + Sync>;
19
20pub type UserId = uuid::Uuid;
21
22pub use config::{
23 CmdInputDescription, CmdOutputDescription, CommandType, ContextConfig, FlowConfig, FlowId,
24 FlowRunId, Gate, HttpClientConfig, Name, NodeConfig, NodeId, SolanaClientConfig, SolanaNet,
25 ValueSet, ValueType,
26};
27pub use context::User;
28pub use inventory::submit;
29pub use value::{self, Error as ValueError, Value};
30
31#[macro_export]
38macro_rules! node_definition {
39 ($file:expr $(,)?) => {
40 include_str!(concat!(
41 env!("CARGO_MANIFEST_DIR"),
42 "/node-definitions/",
43 $file
44 ))
45 };
46}