File size: 892 Bytes
2dd2cc8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/**
 * @license
 * SPDX-License-Identifier: Apache-2.0
*/

export interface InitialInput {
  fullName: string;
  jobTitle: string;
  careerGoal: string;
  jobDescription?: string;
  uploadedResumeContent?: string;
  yearsOfExperience: string;
  keySkills: string;
  previousRoles: string;
  education: string;
}

export type ResumeSectionType = "Professional Summary" | "Skills Section" | "Experience" | "Education";

export interface ResumeSection {
  id: ResumeSectionType;
  title: string;
  content: string;
}

export type ResumeDocument = ResumeSection[];

export interface ScoreResponse {
    score: number;
    suggestions: string[];
}

export interface ActiveEditor {
  sectionId: ResumeSectionType;
  content: string;
}

// Kept for legacy compatibility if needed elsewhere, but new types are preferred
export interface GeneratedResumeContent {
  title: string;
  content: string;
}