Updated the MatchSentences exercise to work better now

This commit is contained in:
Tiago Ribeiro
2024-03-26 00:42:39 +00:00
parent 7d0d930140
commit 1086e78936
16 changed files with 251 additions and 135 deletions

View File

@@ -233,17 +233,21 @@ export interface MatchSentencesExercise {
id: string;
prompt: string;
userSolutions: {question: string; option: string}[];
sentences: {
id: string;
sentence: string;
solution: string;
color: string;
}[];
sentences: MatchSentenceExerciseSentence[];
allowRepetition: boolean;
options: {
id: string;
sentence: string;
}[];
options: MatchSentenceExerciseOption[];
}
export interface MatchSentenceExerciseSentence {
id: string;
sentence: string;
solution: string;
color: string;
}
export interface MatchSentenceExerciseOption {
id: string;
sentence: string;
}
export interface MultipleChoiceExercise {