dashboard_card.rs
11 lignes · 547 octets
//! Dashboard card DTO injected by companion crates (e.g. //! `rustwarden-fediverse-ui`) to extend the admin dashboard without //! coupling `rustwarden-ui` to optional features. //! //! The canonical type lives in `rustwarden-core` (cf. //! [`rustwarden_core::dashboard::DashboardCardDTO`]) so the //! `RustwardenBuilder` can carry it without depending on //! `rustwarden-ui`. This module re-exports it under the historical //! `crate::dto::DashboardCardDTO` path for backward compatibility. pub use rustwarden_core::dashboard::DashboardCardDTO;
GitRust