pub mod audit;
pub mod seat_repository;
pub mod event_command_repository;
pub mod scheduler_repository;
pub mod sale_seam_repository;
pub mod booth_command_repository;
pub mod lead_command_repository;
pub use seat_repository::{RegisterCommand, RegistrationRow, SaleLink, SeatCounts, SeatRepository};
pub(crate) async fn relay_ambient_scope(
conn: &mut sqlx::PgConnection,
) -> Result<(), sqlx::Error> {
if let Some(scope) = backbone_orm::org_scope::current_org_scope() {
backbone_orm::org_scope::bind_org_scope_on(conn, &scope).await?;
}
Ok(())
}
pub use event_command_repository::{
CreateEventInput, EventCommandRepository, EventRow, PatchEventInput,
};
pub use scheduler_repository::{DueReceipt, SchedulerRepository, SchedulerRow};
pub use sale_seam_repository::{SaleSeamRepository, SeamOutcome};
pub use booth_command_repository::{BoothBookingRow, BoothCommandRepository, BoothRow};
pub use lead_command_repository::{
EligibleRegistration, LeadCommandRepository, LeadPredicateRow, LeadRequestRow, LeadRuleRow,
PredicateInput,
};