#![forbid(unsafe_code)]
mod explorer;
mod flow;
mod operator;
mod partition;
mod recovery;
mod repository;
mod request;
mod retention;
pub use explorer::{
Cursor, CursorError, CursorKey, DEFAULT_PAGE_SIZE, DefinitionDescriptor, ExplorerError,
ExplorerQuery, ExplorerRepository, JobExecutionProjection, JobInstanceProjection,
MAX_CURSOR_BYTES, MAX_PAGE_SIZE, MAX_RESPONSE_BYTES, MIN_UNRESOLVED_AGE, Page, PageRequest,
PageSize, ParameterDescriptor, QueryWindow, StateEnvelopeDescriptor, StepExecutionProjection,
StepPartitionProjection,
};
pub use explorer::{ExplorerRow, page, resume_window, start_window};
pub use flow::{
FlowDecision, FlowDecisionId, FlowDecisionRequest, FlowDecisionSequence, FlowStepState,
FlowTransitionKind,
};
pub use operator::{
OperatorOutcomeClass, OperatorRecord, OperatorRecordDraft, OperatorRejection, OperatorRequest,
RecoveryDirective,
};
pub use partition::PartitionMutationError;
pub use partition::{
MAX_PARTITION_CONTEXT_BYTES, MAX_PARTITION_KEY_BYTES, PartitionAggregate,
PartitionAggregationError, PartitionKey, PartitionPlanEntry, PartitionResult,
PartitionValueError, StepPartition, aggregate_step_partitions,
};
pub use recovery::{
DEFAULT_MAX_CLOCK_SKEW, DEFAULT_STALE_THRESHOLD, MAX_CLOCK_SKEW, MAX_STALE_THRESHOLD,
MIN_CLOCK_SKEW, MIN_STALE_THRESHOLD, MaxClockSkew, MonotonicClock, MonotonicInstant,
OwnerObservation, OwnerToken, RecoveryError, RecoveryEvidence, RecoveryMarkers,
RecoveryProposal, RecoveryRepository, RecoverySnapshot, RecoveryStepEvidence, StaleThreshold,
SystemMonotonicClock,
};
pub use repository::{
BoxFuture, Clock, ExecutionControl, IdGenerationError, IdGenerator, JobInstanceSelection,
JobRepository, RecoveryDecision, RecoveryDisposition, RecoveryField, RecoveryRequest,
RecoveryRequestError, RecoveryResult, RepositoryCapability, RepositoryDescriptor,
RepositoryError, RepositoryUnitOfWork, SequentialIdGenerator, SystemClock,
};
pub use repository::{aggregate_partition_parent, map_partition_aggregation, recovered_execution};
pub use request::hex_digest;
pub use request::{
ActorRef, AuthorizationClass, MAX_ACTOR_REF_BYTES, MAX_OPERATION_ID_BYTES,
MAX_REASON_CODE_BYTES, OperationId, OperatorAction, ReasonCode, RequestDigest, RequestField,
RequestFieldError,
};
pub(crate) use request::{CanonicalWriter, RequestArguments, request_digest};
pub use retention::{
DEFAULT_PURGE_AGE, MAX_PURGE_BATCH, MIN_PURGE_AGE, PurgeBatchBound, PurgeCandidate,
PurgeCounts, PurgePlan, PurgePlanRequest, PurgeSurvey, RetentionAction, RetentionError,
RetentionHold, RetentionOutcome, RetentionRecord, RetentionRecordDraft, TerminalStatusSet,
};