Add CV template preview and PDF export pipeline

This commit is contained in:
2026-03-29 00:43:54 +01:00
parent 2392b135c2
commit 839a2ed80d
15 changed files with 2288 additions and 97 deletions
+51
View File
@@ -28,6 +28,57 @@ export interface WorkflowSignal {
hasInterviewPrepNotes: boolean;
}
export interface TailoredCvExperienceItem {
title?: string | null;
company?: string | null;
location?: string | null;
start?: string | null;
end?: string | null;
isCurrent?: boolean;
bullets: string[];
}
export interface TailoredCvEducationItem {
qualification?: string | null;
institution?: string | null;
location?: string | null;
start?: string | null;
end?: string | null;
details: string[];
}
export interface TailoredCvCustomSection {
title?: string | null;
items: string[];
}
export interface TailoredCvRenderOptions {
showPhoto: boolean;
pageMode: string;
accentColor: string;
sectionOrder: string[];
bulletDensity: string;
}
export interface TailoredCvDraft {
id?: number | null;
canonicalProfileVersion?: number | null;
templateId: string;
headline?: string | null;
summary: string[];
selectedSkills: string[];
experience: TailoredCvExperienceItem[];
education: TailoredCvEducationItem[];
customSections: TailoredCvCustomSection[];
renderOptions: TailoredCvRenderOptions;
generationContextHash?: string | null;
lastGeneratedAtUtc?: string | null;
lastEditedAtUtc?: string | null;
status: string;
renderedText: string;
isLegacyFallback: boolean;
}
export interface JobApplication {
id: number;
jobTitle: string;