use super::*;
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct Category {
pub icon: String,
pub name: String,
pub project_type: project::ProjectType,
pub header: String,
}
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct Loader {
pub icon: String,
pub name: String,
pub supported_project_types: Vec<project::ProjectType>,
}
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct GameVersion {
pub version: String,
pub version_type: GameVersionType,
pub date: UtcTime,
pub major: bool,
}
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct License {
pub title: String,
pub body: String,
}
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct DonationPlatform {
pub short: String,
pub name: String,
}
#[derive(Deserialize, Serialize, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
#[serde(rename_all = "lowercase")]
pub enum GameVersionType {
Release,
Snapshot,
Beta,
Alpha,
}