This commit is contained in:
vextrixes committed 2026-11-01 02:56:42 +01:00
1 parent 1f79570c70
commit 5430902782
8 files changed
+19 -18

No files matched your search

+2 -1
View File
@@ -18,7 +18,8 @@ pub struct Atom {
pub theme: Option<String>,
pub assistants: Vec<Assistant>,
pub notice: Option<String>,
pub planned_clasification: Option<PlannedClassification>,
#[serde(rename = "PlannedClasification")]
pub planned_classification: Option<PlannedClassification>,
pub week_theme: Option<String>,
pub lesson_release: LessonRelease,
pub start: Option<i64>,
+2 -2
View File
@@ -1,13 +1,13 @@
use crate::{Endpoint, Timetable};
use std::marker::PhantomData;
pub const PERNAMENT_TIMETABLE_ENDPOINT: Endpoint<Timetable, ()> = Endpoint::Get {
pub const PERMAMENT_TIMETABLE_ENDPOINT: Endpoint<Timetable, ()> = Endpoint::Get {
url: "/api/3/timetable/permanent",
auth: true,
_types: PhantomData,
};
pub const PERNAMENT_TIMETABLE_CLASS_ENDPOINT: Endpoint<Timetable, ()> = Endpoint::Get {
pub const PERMAMENT_TIMETABLE_CLASS_ENDPOINT: Endpoint<Timetable, ()> = Endpoint::Get {
url: "/api/3/timetable/permanent/class/{classId}",
auth: true,
_types: PhantomData,