generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
48 lines (43 loc) · 990 Bytes
/
types.ts
File metadata and controls
48 lines (43 loc) · 990 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
export interface StudentProfile {
name: string;
major: string;
degreeLevel: string;
gpa: string;
researchInterests: string;
targetDegree: 'Masters' | 'PhD';
targetLocations: string;
experience: string;
}
export interface SupervisorMatch {
id: string; // Unique ID for list management
name: string;
university: string;
department: string;
researchArea: string;
matchReason: string;
matchScore: number; // 0-100
websiteUrl: string;
recentPaper?: string;
}
export interface ProgramMatch {
id: string; // Unique ID
university: string;
programName: string;
degree: string;
focus: string;
matchReason: string;
matchScore: number; // 0-100
websiteUrl: string;
}
export interface SearchResult {
supervisors: SupervisorMatch[];
programs: ProgramMatch[];
generalAdvice: string;
groundingLinks: { title: string; uri: string }[];
}
export enum AppState {
FORM = 'FORM',
LOADING = 'LOADING',
RESULTS = 'RESULTS',
ERROR = 'ERROR'
}