feat(wfe-core): add ServiceDefinition types and ServiceProvider trait

This commit is contained in:
2026-04-06 17:59:38 +01:00
parent 22d3f569df
commit affcf1bca8
5 changed files with 323 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
pub mod condition;
pub mod error_behavior;
pub mod event;
pub mod service;
pub mod execution_error;
pub mod execution_pointer;
pub mod execution_result;
@@ -26,6 +27,7 @@ pub use scheduled_command::{CommandName, ScheduledCommand};
pub use schema::{SchemaType, WorkflowSchema};
pub use status::{PointerStatus, WorkflowStatus};
pub use workflow_definition::{StepOutcome, WorkflowDefinition, WorkflowStep};
pub use service::{ReadinessCheck, ReadinessProbe, ServiceDefinition, ServiceEndpoint, ServicePort};
pub use workflow_instance::WorkflowInstance;
/// Serde helper for `Option<Duration>` as milliseconds.