#![cfg_attr(not(feature = "graphql"), allow(dead_code))]
mod direct_projection;
mod effect_wire;
mod effects;
mod outcomes;
mod projection_obligations;
mod projection_proof;
mod projections;
mod typed_command;
#[cfg(test)]
mod tests;
pub use direct_projection::CompiledDirectProjectionTarget;
pub(crate) use direct_projection::{
compiled_direct_projection_target, CommandDirectProjectionTarget, CommandProjectedModel,
ResolvedDirectProjectionTarget,
};
pub use effect_wire::{
__command_input_defaults, __effect_key, __effect_key_assignment, __effect_key_field,
__effect_relationship, __input_default_ulid, __input_default_uuid_v7, CombineEffectNullability,
CompiledEffectKeyField, CompiledInputDefault, CompiledInputDefaults,
EffectInputDescendableKind, EffectInputFieldMarker, EffectInputObjectKind, EffectInputPath,
EffectInputPathKind, EffectInputTerminalKind, EffectModelFieldMarker, EffectNullable,
EffectPathNullability, EffectRelationshipMarker, EffectRequired, EffectWireBigInt,
EffectWireBoolean, EffectWireBytea, EffectWireChecked, EffectWireCompatible, EffectWireFloat,
EffectWireJson, EffectWireList, EffectWireLiteral, EffectWireObject, EffectWireString,
EffectWireTimestamp, EffectWireUnsupported, TypedEffectExpression, TypedEffectKey,
TypedEffectRelationship,
};
pub(crate) use effects::{
CommandEffect, CommandEffects, EffectExpression, EffectFieldValue, EffectKey,
EffectRelationship,
};
pub use outcomes::{
Atomic, CommandConsistency, CommandOutcome, Eventual, PrepareCommandError, PreparedCommand,
Succeeded,
};
#[cfg(test)]
pub(crate) use projection_obligations::InputDefaultGenerator;
pub(crate) use projection_obligations::{
validate_projection_confirmation_count, CommandInputDefault, CommandProjectionConfirmation,
};
pub(crate) use projections::CommandProjectionEvents;
pub use projections::{
__command_projection_event_descriptor, __command_projection_event_preview,
__command_projection_events, __command_projection_preview_constant,
__command_projection_state_known_values, __command_projection_state_preview, CommandEventSet,
CommandProjectionEventSet, CommandProjectionPreview, CommandProjectionPreviewSource,
CommandProjectionPureArg, CommandProjectionPureReduce,
};
#[cfg_attr(not(test), allow(unused_imports))]
pub(crate) use projection_obligations::{
ProjectionObligationResolutionError, ProjectorTopologyIdentity,
};
pub(crate) use projection_proof::{
validate_resolved_direct_plan, CommandCommitProofError, ProjectionCommitProof,
};
pub use typed_command::{command_transition, typed_command, TypedCommand};
pub(crate) use typed_command::{TypedCommandContract, TypedServiceCommandBinding};