feat: fix frontend and activate imports
This commit is contained in:
@@ -1408,7 +1408,6 @@ pub struct CreateQuestionBankPayload {
|
||||
pub tags: Option<Vec<String>>,
|
||||
pub media_url: Option<String>,
|
||||
pub media_type: Option<String>,
|
||||
pub generate_audio: Option<bool>,
|
||||
pub skill_assessed: Option<String>, // reading, listening, speaking, writing
|
||||
}
|
||||
|
||||
@@ -1433,13 +1432,6 @@ pub struct ImportQuestionFromMySQLPayload {
|
||||
pub import_all: Option<bool>, // Import all questions from MySQL
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct GenerateAudioPayload {
|
||||
pub text: String,
|
||||
pub voice: Option<String>, // Bark voice preset
|
||||
pub speed: Option<f32>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct QuestionBankFilters {
|
||||
pub question_type: Option<QuestionBankType>,
|
||||
|
||||
Reference in New Issue
Block a user