Move the 14 result structs and enums (WhoResult, ExpertResult, Expert, ScoreComponents, ExpertMrDetail, WorkloadResult, WorkloadIssue, WorkloadMr, WorkloadDiscussion, ReviewsResult, ReviewCategory, ActiveResult, ActiveDiscussion, OverlapResult, OverlapUser) from cli::commands::who into a new core::who_types module. The TUI Who screen needs these types to render results, but importing from the CLI layer would create a circular dependency (TUI -> CLI -> core). By placing them in core, both the CLI and TUI can depend on them cleanly. The CLI module re-exports all types via `pub use crate::core::who_types::*` so existing consumers are unaffected.
29 lines
525 B
Rust
29 lines
525 B
Rust
pub mod backoff;
|
|
pub mod config;
|
|
pub mod db;
|
|
pub mod dependent_queue;
|
|
pub mod error;
|
|
pub mod events_db;
|
|
pub mod file_history;
|
|
pub mod lock;
|
|
pub mod logging;
|
|
pub mod metrics;
|
|
pub mod note_parser;
|
|
pub mod path_resolver;
|
|
pub mod paths;
|
|
pub mod payloads;
|
|
pub mod project;
|
|
pub mod references;
|
|
pub mod shutdown;
|
|
pub mod sync_run;
|
|
pub mod time;
|
|
pub mod timeline;
|
|
pub mod timeline_collect;
|
|
pub mod timeline_expand;
|
|
pub mod timeline_seed;
|
|
pub mod trace;
|
|
pub mod who_types;
|
|
|
|
pub use config::Config;
|
|
pub use error::{LoreError, Result};
|