use std::sync::Arc;

use application::context::AppContext;

use crate::ports::RssFeedRenderer;

#[derive(Clone)]
pub struct AppState {
    pub app_ctx: AppContext,
    pub rss_renderer: Arc<dyn RssFeedRenderer>,
    #[cfg(feature = "federation")]
    pub ap_service: Arc<dyn activitypub::ActivityPubPort>,
    #[cfg(feature = "federation")]
    pub social_query: Arc<dyn domain::ports::SocialQueryPort>,
}
