use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ExternalReporting {
pub github: Option<GitHubConfig>,
pub dashboard: Option<DashboardConfig>,
pub notifications: Option<NotificationConfig>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct GitHubConfig {
pub repository: String,
pub token_env_var: String,
pub create_issues_on_regression: bool,
pub comment_on_prs: bool,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct DashboardConfig {
pub endpoint: String,
pub api_key_env_var: String,
pub project_id: String,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct NotificationConfig {
pub webhook_url: String,
pub notification_threshold: f64, }