Listening Convo Edit and a bunch of ts errors

This commit is contained in:
Carlos-Mesquita
2024-11-06 19:43:06 +00:00
parent b5ac908d09
commit 5165b6ae6d
13 changed files with 555 additions and 218 deletions

View File

@@ -62,8 +62,8 @@ export interface ListeningExam extends ExamBase {
module: "listening";
}
export type Dialog = { "name": string; "gender": string; "text": string; };
export type Script = Dialog[] | string;
export type Message = { name: string; gender: string; text: string; voice?: string; };
export type Script = Message[] | string;
export interface ListeningPart extends Section {
audio?: {