|
|
@@ -100,6 +100,7 @@ interface BackendReportResponse {
|
|
|
rounds: BackendRound[]
|
|
|
overall: BackendOverall | null
|
|
|
summary: string | null
|
|
|
+ totalDurationSeconds: number | null
|
|
|
}
|
|
|
|
|
|
interface BackendOverall {
|
|
|
@@ -189,7 +190,7 @@ function adaptReport(raw: BackendReportResponse): DialogueReport {
|
|
|
highestRound: highest?.round ?? 0,
|
|
|
grammarErrors: 0,
|
|
|
excellentExpressions: 0,
|
|
|
- totalDuration: 0,
|
|
|
+ totalDuration: raw.totalDurationSeconds ?? 0,
|
|
|
},
|
|
|
sentenceEvaluations,
|
|
|
},
|