-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
71 lines (62 loc) · 1.28 KB
/
Copy pathtypes.ts
File metadata and controls
71 lines (62 loc) · 1.28 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/**
* @license
* SPDX-License-Identifier: Apache-2.0
*/
export type PageId = 'home' | 'learn' | 'playground' | 'projects' | 'challenges' | 'about' | 'contact';
export interface NavItem {
id: PageId;
label: string;
}
export interface FeatureItem {
id: string;
title: string;
description: string;
iconName: string;
}
export interface LanguageItem {
id: string;
name: string;
iconName: string;
description: string;
level: string;
popularity: string;
}
export interface RoadmapStep {
id: string;
title: string;
duration: string;
topics: string[];
description: string;
}
export interface ProjectItem {
id: string;
title: string;
difficulty: 'Beginner' | 'Intermediate' | 'Advanced';
estimatedTime: string;
description: string;
iconName: string;
}
export interface AnimationDemoItem {
id: string;
title: string;
description: string;
difficulty: string;
}
export interface ChallengeItem {
id: string;
title: string;
difficulty: 'Easy' | 'Medium' | 'Hard';
category: string;
description: string;
instructions: string;
starterCode: string;
solutionTemplate: string; // Used to mock compile / run assertions
testCases: {
input: string;
expected: string;
}[];
}
export interface FAQItem {
question: string;
answer: string;
}