fix(ui): fix results screen

This commit is contained in:
shafin-r
2025-07-22 17:59:15 +06:00
parent 5245ab878d
commit 341a46e788
8 changed files with 450 additions and 323 deletions

6
types/exam.d.ts vendored
View File

@ -1,8 +1,10 @@
export interface Question {
id: string;
text: string;
options?: string[];
type: "multiple-choice" | "text" | "boolean";
options?: Record<string, string>;
type: "multiple-choice" | "text" | "boolean" | undefined;
correctAnswer: string | undefined;
solution?: string | undefined;
}
export interface Exam {