-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtypes.ts
More file actions
54 lines (45 loc) · 1021 Bytes
/
Copy pathtypes.ts
File metadata and controls
54 lines (45 loc) · 1021 Bytes
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
49
50
51
52
53
54
export interface QuizQuestion {
question: string;
options: string[];
answer: string;
explanation: string;
}
export interface Badge {
name: string;
description: string;
}
export interface Flashcard {
front: string;
back: string;
}
export interface ProblemSolvingChallenge {
scenario: string;
task: string;
}
export interface Concept {
title: string;
summary: string;
story_scene: string;
image_prompt: string;
quiz: QuizQuestion[];
flashcards: Flashcard[];
badge: Badge;
narration: string;
problem_solving_challenge: ProblemSolvingChallenge;
}
export interface VisualTaskItem {
term: string;
image_prompt: string;
}
export interface ModuleData {
simple_summary: string;
visual_task: VisualTaskItem[];
concepts: Concept[];
}
export interface YouTubeVideo {
videoId: string;
title: string;
channelName: string;
}
export type QuizAnswers = Record<number, Record<number, { selected: string; isCorrect: boolean }>>;
export type SelectedMedia = File | YouTubeVideo;