mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 09:47:50 +03:00
chore(schedule): add lesson type 'differentiated exam'
This commit is contained in:
@@ -103,6 +103,9 @@ pub enum LessonType {
|
|||||||
|
|
||||||
/// Практическое занятие.
|
/// Практическое занятие.
|
||||||
Practice,
|
Practice,
|
||||||
|
|
||||||
|
/// Дифференцированный зачёт.
|
||||||
|
DifferentiatedExam,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone, Hash, Debug, Serialize, Deserialize, ToSchema)]
|
#[derive(Clone, Hash, Debug, Serialize, Deserialize, ToSchema)]
|
||||||
|
|||||||
@@ -187,6 +187,7 @@ fn guess_lesson_type(text: &str) -> Option<LessonType> {
|
|||||||
("курсовой проект", LessonType::CourseProject),
|
("курсовой проект", LessonType::CourseProject),
|
||||||
("защита курсового проекта", LessonType::CourseProjectDefense),
|
("защита курсового проекта", LessonType::CourseProjectDefense),
|
||||||
("практическое занятие", LessonType::Practice),
|
("практическое занятие", LessonType::Practice),
|
||||||
|
("дифференцированный зачет", LessonType::DifferentiatedExam),
|
||||||
])
|
])
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user