All checks were successful
Build and Release / build-and-release (push) Successful in 2m9s
Bump version across all workspace crates for next release including agent, dashboard, and shared components.
18 lines
412 B
Rust
18 lines
412 B
Rust
use cm_dashboard_shared::AgentData;
|
|
|
|
pub mod backup;
|
|
pub mod cpu;
|
|
pub mod memory;
|
|
pub mod services;
|
|
pub mod system;
|
|
|
|
pub use backup::BackupWidget;
|
|
pub use services::ServicesWidget;
|
|
pub use system::SystemWidget;
|
|
|
|
/// Widget trait for UI components that display structured data
|
|
pub trait Widget {
|
|
/// Update widget with structured agent data
|
|
fn update_from_agent_data(&mut self, agent_data: &AgentData);
|
|
}
|