feat: Implement AI-driven lesson summaries, automate quiz generation, add gamification base, and introduce Studio organization management.

This commit is contained in:
2025-12-26 14:58:58 -03:00
parent 2378f616aa
commit e98a16d860
26 changed files with 791 additions and 82 deletions
+9
View File
@@ -33,6 +33,7 @@ pub struct Lesson {
pub title: String,
pub content_type: String,
pub content_url: Option<String>,
pub summary: Option<String>,
pub transcription: Option<serde_json::Value>,
pub metadata: Option<serde_json::Value>,
pub grading_category_id: Option<Uuid>,
@@ -128,6 +129,14 @@ pub struct UserResponse {
pub role: String,
}
#[derive(Debug, Serialize, Deserialize, sqlx::FromRow, Clone)]
pub struct Organization {
pub id: Uuid,
pub name: String,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}
#[derive(Debug, Serialize, Deserialize)]
pub struct AuthResponse {
pub user: UserResponse,