Created the InteractiveSpeaking exercise
This commit is contained in:
@@ -68,7 +68,8 @@ export type Exercise =
|
||||
| MultipleChoiceExercise
|
||||
| WriteBlanksExercise
|
||||
| WritingExercise
|
||||
| SpeakingExercise;
|
||||
| SpeakingExercise
|
||||
| InteractiveSpeakingExercise;
|
||||
|
||||
export interface Evaluation {
|
||||
comment: string;
|
||||
@@ -108,13 +109,13 @@ export interface SpeakingExercise {
|
||||
|
||||
export interface InteractiveSpeakingExercise {
|
||||
id: string;
|
||||
type: "speaking";
|
||||
type: "interactiveSpeaking";
|
||||
title: string;
|
||||
text: string;
|
||||
prompts: {text: string; video_url: string}[];
|
||||
userSolutions: {
|
||||
id: string;
|
||||
solution: string;
|
||||
solution: {question: string; answer: string}[];
|
||||
evaluation?: Evaluation;
|
||||
}[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user