-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
48 lines (41 loc) · 1.14 KB
/
types.ts
File metadata and controls
48 lines (41 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
export type StudyTab = 'summary' | 'flashcards' | 'quiz' | 'mnemonics' | 'reader';
export interface Flashcard {
question: string;
answer: string;
}
export interface QuizQuestion {
question: string;
options: string[];
correctAnswer: string;
explanation: string;
}
export interface PageInsight {
triggerText: string;
insight: string;
type: 'concept' | 'detail' | 'guidance';
}
export interface RoteItem {
name: string;
details: string;
category: string;
}
export interface StudyData {
summaryMemorize: {
criticalPathways: { title: string; steps: string[]; significance: string }[];
lists: { title: string; items: string[] }[];
definitions: RoteItem[];
biochemicalMarkers: RoteItem[];
numericalConstants: { label: string; value: string }[];
detailedNotes: { topic: string; content: string }[]; // NEW: For high density content
};
summaryConceptual: string;
flashcards: Flashcard[];
quiz: QuizQuestion[];
mnemonics: { concept: string; mnemonic: string }[];
pageInsights: PageInsight[];
autoHighlights: string[];
}
export interface Message {
role: 'user' | 'assistant' | 'proactive';
text: string;
}