Phase 4 complete
This commit is contained in:
parent
0cc099c00c
commit
66f15b49b2
9 changed files with 710 additions and 37 deletions
20
types.ts
20
types.ts
|
|
@ -31,6 +31,26 @@ export interface Quiz {
|
|||
questions: Question[];
|
||||
}
|
||||
|
||||
export type QuizSource = 'manual' | 'ai_generated';
|
||||
|
||||
export interface SavedQuiz extends Quiz {
|
||||
id: string;
|
||||
source: QuizSource;
|
||||
aiTopic?: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface QuizListItem {
|
||||
id: string;
|
||||
title: string;
|
||||
source: QuizSource;
|
||||
aiTopic?: string;
|
||||
questionCount: number;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface Player {
|
||||
id: string;
|
||||
name: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue