use serde::{Deserialize, Serialize};
use std::collections::HashMap;
use utoipa::ToSchema;
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
pub struct StimulationUploadRequest {
pub stimulation_script: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
pub struct SimulationControlRequest {
pub config: HashMap<String, serde_json::Value>,
}
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
pub struct SimulationStatusResponse {
pub active: bool,
pub stimulation_running: bool,
}
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
pub struct SimulationStatsResponse {
pub total_stimulations: u64,
pub active_scripts: usize,
}
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
pub struct SimulationSuccessResponse {
pub message: String,
pub success: bool,
}