Skip to main content

headless_lms_models/credit_registrations/
mod.rs

1//! The credit registration ledger.
2//!
3//! [`transition`](transition::transition), and its batched twin [`transition_batch`], are the only writers of `state`,
4//! stamping `state_entered_at`, the lifecycle timestamps and the audit event in one transaction.
5//! Which transition to make is the caller's decision; whether it is one the machine has is decided
6//! here, from [`CreditRegistrationState::allowed_targets`].
7
8mod admin_view;
9mod attention;
10mod claims;
11mod competing_credits;
12mod metrics;
13mod registration;
14mod row_writes;
15mod state;
16mod student_view;
17mod teacher_view;
18pub mod testing;
19#[cfg(test)]
20mod tests;
21mod transition;
22
23pub use admin_view::*;
24pub use attention::*;
25pub use claims::*;
26pub use competing_credits::*;
27pub use metrics::*;
28pub use registration::*;
29pub use row_writes::*;
30pub use state::*;
31pub use student_view::*;
32pub use teacher_view::*;
33pub use transition::*;