generated from muhtadeetaron/nextjs-template
fix(ui): fix results screen
This commit is contained in:
6
types/exam.d.ts
vendored
6
types/exam.d.ts
vendored
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user