1#![forbid(unsafe_code)]
37
38mod explorer;
39mod flow;
40mod operator;
41mod partition;
42mod recovery;
43mod repository;
44mod request;
45mod retention;
46
47pub use explorer::{
48 Cursor, CursorError, CursorKey, DEFAULT_PAGE_SIZE, DefinitionDescriptor, ExplorerError,
49 ExplorerQuery, ExplorerRepository, JobExecutionProjection, JobInstanceProjection,
50 MAX_CURSOR_BYTES, MAX_PAGE_SIZE, MAX_RESPONSE_BYTES, MIN_UNRESOLVED_AGE, Page, PageRequest,
51 PageSize, ParameterDescriptor, QueryWindow, StateEnvelopeDescriptor, StepExecutionProjection,
52 StepPartitionProjection,
53};
54pub use explorer::{ExplorerRow, page, resume_window, start_window};
55pub use flow::{
56 FlowDecision, FlowDecisionId, FlowDecisionRequest, FlowDecisionSequence, FlowStepState,
57 FlowTransitionKind,
58};
59pub use operator::{
60 OperatorOutcomeClass, OperatorRecord, OperatorRecordDraft, OperatorRejection, OperatorRequest,
61 RecoveryDirective,
62};
63pub use partition::PartitionMutationError;
64pub use partition::{
65 MAX_PARTITION_CONTEXT_BYTES, MAX_PARTITION_KEY_BYTES, PartitionAggregate,
66 PartitionAggregationError, PartitionKey, PartitionPlanEntry, PartitionResult,
67 PartitionValueError, StepPartition, aggregate_step_partitions,
68};
69pub use recovery::{
70 DEFAULT_MAX_CLOCK_SKEW, DEFAULT_STALE_THRESHOLD, MAX_CLOCK_SKEW, MAX_STALE_THRESHOLD,
71 MIN_CLOCK_SKEW, MIN_STALE_THRESHOLD, MaxClockSkew, MonotonicClock, MonotonicInstant,
72 OwnerObservation, OwnerToken, RecoveryError, RecoveryEvidence, RecoveryMarkers,
73 RecoveryProposal, RecoveryRepository, RecoverySnapshot, RecoveryStepEvidence, StaleThreshold,
74 SystemMonotonicClock,
75};
76pub use repository::{
77 BoxFuture, Clock, ExecutionControl, IdGenerationError, IdGenerator, JobInstanceSelection,
78 JobRepository, RecoveryDecision, RecoveryDisposition, RecoveryField, RecoveryRequest,
79 RecoveryRequestError, RecoveryResult, RepositoryCapability, RepositoryDescriptor,
80 RepositoryError, RepositoryUnitOfWork, SequentialIdGenerator, SystemClock,
81};
82pub use repository::{aggregate_partition_parent, map_partition_aggregation, recovered_execution};
83pub use request::hex_digest;
84pub use request::{
85 ActorRef, AuthorizationClass, MAX_ACTOR_REF_BYTES, MAX_OPERATION_ID_BYTES,
86 MAX_REASON_CODE_BYTES, OperationId, OperatorAction, ReasonCode, RequestDigest, RequestField,
87 RequestFieldError,
88};
89pub(crate) use request::{CanonicalWriter, RequestArguments, request_digest};
90pub use retention::{
91 DEFAULT_PURGE_AGE, MAX_PURGE_BATCH, MIN_PURGE_AGE, PurgeBatchBound, PurgeCandidate,
92 PurgeCounts, PurgePlan, PurgePlanRequest, PurgeSurvey, RetentionAction, RetentionError,
93 RetentionHold, RetentionOutcome, RetentionRecord, RetentionRecordDraft, TerminalStatusSet,
94};