feat: Add all and remove test
This commit is contained in:
@@ -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>>>,
|
||||
|
||||
Reference in New Issue
Block a user