use sqlx::PgPool;
use cache::RedisPool;
use std::sync::Arc;

/// Shared state for all 9 profession micro-services.
/// Passed as the Axum router state — replaces the bare `PgPool`.
#[derive(Clone)]
pub struct ProfessionState {
    pub pool:    PgPool,
    pub redis:   RedisPool,
    pub storage: Arc<storage::StorageClient>,
}
