Updated part of the speaking accordingly

This commit is contained in:
Tiago Ribeiro
2024-06-13 18:17:07 +01:00
parent 11c6f70576
commit 0eddded560
6 changed files with 82 additions and 30 deletions

View File

@@ -111,7 +111,7 @@ export type Exercise =
export interface Evaluation {
comment: string;
overall: number;
task_response: {[key: string]: number};
task_response: {[key: string]: number | {grade: number; comment: string}};
misspelled_pairs?: {correction: string | null; misspelled: string}[];
}
@@ -163,6 +163,7 @@ export interface SpeakingExercise {
title: string;
text: string;
prompts: string[];
suffix?: string;
video_url: string;
userSolutions: {
id: string;