feat: Implement AI-driven lesson summaries, automate quiz generation, add gamification base, and introduce Studio organization management.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user