use std::collections::HashMap;

#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
pub struct ReleaseInfo {
    pub name: String,
    pub description: String,
    pub executable_path: String,
    pub platform: String,
    pub version: String,
    pub release_date: chrono::DateTime<chrono::Utc>,
    pub size_bytes: u64,

    pub channel: String,
    pub game_name_id: String,

    // to support none breaking changes and custom fields
    #[serde(default)]
    pub key_value_map: HashMap<String, String>,
}
