diff --git a/src/events.rs b/src/events.rs index 47e184b..ee112b4 100644 --- a/src/events.rs +++ b/src/events.rs @@ -19,7 +19,7 @@ pub struct Event { pub classes: Vec, //class_sets: unknown pub teachers: Vec, - //teacher_sets: unknown + // teacher_sets: Vec? pub rooms: Vec, //room_sets: unknown pub students: Vec, diff --git a/src/lesson.rs b/src/lesson.rs index 35552d0..f6c111e 100644 --- a/src/lesson.rs +++ b/src/lesson.rs @@ -40,6 +40,7 @@ pub struct LessonStudentAbsence { pub student: LessonStudentInfo, // "Absences": [], unknown pub student_released: bool, + pub school_event_ids: Option> } #[derive(Debug, Clone, Serialize, Deserialize)] @@ -59,7 +60,7 @@ pub struct AbsentTypeOption { pub absent_kind_enabled: bool, pub absent_kind_required: bool, pub absent_note_enabled: bool, - // AbsentKinds: [], unknown + pub absent_kinds: Vec pub next_absent_type: String, } diff --git a/src/what_if.rs b/src/what_if.rs index 76d74bf..75a7f15 100644 --- a/src/what_if.rs +++ b/src/what_if.rs @@ -42,7 +42,7 @@ pub struct WhatIfResultMark { pub is_new: bool, pub is_points: bool, pub calculated_mark_text: String, - //ClassRankText: Option unknown, + pub class_rank_text: String, pub id: String, pub points_text: String, pub max_points: u16, diff --git a/tracker.md b/tracker.md index bc298e2..cb5a825 100644 --- a/tracker.md +++ b/tracker.md @@ -43,7 +43,7 @@ - [ ] class_sets (event.rs) fix unknown type - [ ] teacher_sets (event.rs) fix unknown type - [ ] room_sets (event.rs) fix unknown type -- [ ] ClassRankText (what_if.rs) fix unknown type +- [x] ClassRankText (what_if.rs) fix unknown type - [ ] ClassBookRecordId (lesson.rs) fix unknown type - [ ] Absences (lesson.rs) fix unknown type -- [ ] AbsentKinds (lesson.rs) fix unknown type \ No newline at end of file +- [x] AbsentKinds (lesson.rs) fix unknown type \ No newline at end of file