Skip to main content

headless_lms_models/library/credit_registration/
mod.rs

1//! The credit registration state machine: `credit_registrations::transition` owns the write, this
2//! module owns the decision. A waiting row is only ever moved by the precondition recompute here or
3//! by a worker phase applying one of this module's outcomes to an answer from the study registry.
4
5pub mod account_linking;
6pub mod backoff;
7pub mod classification;
8pub mod config_validation;
9pub mod enrolment_selection;
10pub mod fast_track;
11pub mod grade_mapping;
12pub mod legacy_mirror;
13pub mod materialize;
14pub mod outcomes;
15pub mod payload;
16pub mod pending_reason;
17pub mod preconditions;
18pub mod student_facing_status;
19pub mod student_notifications;
20pub mod student_number_change;
21pub mod submission_context;
22
23// Only symbols reached from outside this module in more than one place are hoisted here; everything
24// else goes through its submodule's own path (`credit_registration::submodule::Item`).
25pub use pending_reason::{
26    CreditRegistrationPendingReason, PendingPreconditions, PendingReasonCounts,
27};
28pub use student_facing_status::StudentFacingCreditRegistrationStatus;