feat: Add all and remove test

This commit is contained in:
2026-02-07 17:56:28 +01:00
parent a3cfcd52c5
commit c59b55c66b
4 changed files with 15 additions and 99 deletions

View File

@@ -71,17 +71,19 @@ pub struct ChangeEntry {
pub text: String,
#[serde(rename = "backgroundColor")]
pub background_color: Option<String>,
#[serde(rename = "foregroundColor")]
pub foreground_color: Option<String>,
#[serde(rename = "willBeSpecified")]
pub will_be_specified: Option<bool>,
}
#[derive(Deserialize)]
#[derive(Deserialize, Debug, uniffi::Record)]
pub struct ApiResponse {
pub status: Status,
pub schedule: HashMap<String, DailyData>,
}
#[derive(Deserialize, Clone)]
#[derive(Deserialize, Clone, Debug, uniffi::Record)]
pub struct DailyData {
pub info: DayInfo,
pub changes: HashMap<String, Vec<Option<ChangeEntry>>>,