Skip to main content

max / ripgrow

1.4 KB · 37 lines History Blame Raw
1 //! ripgrow-core: data model, schema, and progression logic for ripgrow.
2 //!
3 //! One SQLite file per profile. No `profile_id` column anywhere — a profile
4 //! is a file, hand-off is copy-the-file, deletion is `rm`.
5
6 pub mod db;
7 pub mod diagnostic;
8 pub mod effort;
9 pub mod error;
10 pub mod estimator;
11 pub mod generation;
12 pub mod heuristics;
13 pub mod profiles;
14 pub mod progression;
15 pub mod seed;
16 pub mod templates;
17 pub mod values;
18
19 pub use db::Db;
20 pub use diagnostic::{DiagnosticSet, DiagnosticStep, next_step as next_diagnostic_step};
21 pub use effort::distance::{DistanceKind, DistancePayload, DistancePrescription, DistanceSet};
22 pub use effort::reps::{RepsKind, RepsPayload, RepsPrescription, RepsSet};
23 pub use effort::timed::{TimedKind, TimedPayload, TimedPrescription, TimedSet};
24 pub use effort::{
25 AnyPayload, AnyPrescription, AnySet, EffortKind, Kind, PrescriptionResult as AnyPrescriptionResult,
26 append_any, compute_prescription_any, distance, reps, timed,
27 };
28 pub use error::Error;
29 pub use estimator::estimate_e1rm;
30 pub use generation::{PickedSlot, Readiness};
31 pub use heuristics::rir_from_rpe;
32 pub use profiles::{Profile, create_profile_in, list_profiles, profiles_dir, slugify};
33 pub use progression::{Prescription, PrescriptionResult, SessionOutcome, State};
34 pub use seed::seed_starter_content;
35 pub use templates::{Exercise, ResistanceType, Tag};
36 pub use values::{Distance, Duration, Estimate, Increment, Load, LoadUnit, Reps, Rpe};
37