pub mod api;
pub mod core;
pub mod db;
pub use api::{
ApiResponse, CompleteTaskRequest, CreateWorkflowRequest, DefaultWorkflowApi, WorkflowApi,
};
pub use core::engine::DefaultWorkflowEngine;
pub use core::workflows::leave_request::LeaveRequestWorkflow;
pub use core::{
TaskState, TaskStatus, WorkflowDefinition, WorkflowEngine, WorkflowResult, WorkflowState,
WorkflowStatus,
};
pub use db::{migrate_mysql, migrate_postgres, migrate_sqlite};
pub use db::{MemoryDatabase, MySqlDatabase, PostgresDatabase, SqliteDatabase, WorkflowDatabase};
#[cfg(feature = "axum")]
pub use api::axum::create_router as create_axum_router;
#[cfg(feature = "actix")]
pub use api::actix::workflow_scope as create_actix_scope;
pub const VERSION: &str = env!("CARGO_PKG_VERSION");