Finalized the Speaking module exercise
This commit is contained in:
@@ -69,12 +69,11 @@ export type Exercise =
|
||||
| WritingExercise
|
||||
| SpeakingExercise;
|
||||
|
||||
export interface WritingEvaluation {
|
||||
export interface Evaluation {
|
||||
comment: string;
|
||||
overall: number;
|
||||
task_response: {[key: string]: number};
|
||||
}
|
||||
|
||||
export interface WritingExercise {
|
||||
id: string;
|
||||
type: "writing";
|
||||
@@ -85,11 +84,10 @@ export interface WritingExercise {
|
||||
url: string;
|
||||
description: string;
|
||||
}; //* The url for an image to work as an attachment to show the user
|
||||
evaluation?: WritingEvaluation;
|
||||
userSolutions: {
|
||||
id: string;
|
||||
solution: string;
|
||||
evaluation?: WritingEvaluation;
|
||||
evaluation?: Evaluation;
|
||||
}[];
|
||||
}
|
||||
|
||||
@@ -102,6 +100,7 @@ export interface SpeakingExercise {
|
||||
userSolutions: {
|
||||
id: string;
|
||||
solution: string;
|
||||
evaluation?: Evaluation;
|
||||
}[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user