feat: Implement peer review management, student, and session pages for courses.

This commit is contained in:
2026-02-25 14:06:28 -03:00
parent c76125c96a
commit 44b2160590
10 changed files with 925 additions and 10 deletions
+11
View File
@@ -707,6 +707,17 @@ pub struct SubmitPeerReviewPayload {
pub feedback: String,
}
#[derive(Debug, Serialize, Deserialize, sqlx::FromRow, Clone)]
pub struct SubmissionWithReviews {
pub id: Uuid,
pub user_id: Uuid,
pub full_name: String,
pub email: String,
pub submitted_at: DateTime<Utc>,
pub review_count: i64,
pub average_score: Option<f64>,
}
// Content Libraries
#[derive(Debug, Serialize, Deserialize, sqlx::FromRow, Clone)]
pub struct LibraryBlock {