Skip to content

Commit c783398

Browse files
committed
feature: markdown,latex,linkedin,github export
1 parent 13703fc commit c783398

File tree

17 files changed

+1441
-98
lines changed

17 files changed

+1441
-98
lines changed

dist/data/types.d.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface ResumeData {
3636
education: Education[];
3737
}
3838
export type SectionKey = keyof ResumeData;
39-
export type OutputFormat = 'colored' | 'plain' | 'json' | 'html' | 'pdf';
39+
export type OutputFormat = 'colored' | 'plain' | 'json' | 'html' | 'pdf' | 'markdown' | 'latex' | 'linkedin' | 'twitter';
4040
export interface FormatOptions {
4141
format: OutputFormat;
4242
sections?: SectionKey[];
@@ -84,4 +84,18 @@ export interface ResumeStats {
8484
totalCompanies: number;
8585
educationCount: number;
8686
}
87+
export interface TemplateConfig {
88+
name: string;
89+
format: OutputFormat;
90+
sections: SectionKey[];
91+
style?: 'academic' | 'professional' | 'creative' | 'minimal';
92+
industry?: string;
93+
}
94+
export interface ExportOptions {
95+
format: OutputFormat;
96+
template?: TemplateConfig;
97+
customSections?: SectionKey[];
98+
includeContact?: boolean;
99+
maxLength?: number;
100+
}
87101
//# sourceMappingURL=types.d.ts.map

dist/data/types.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/data/types.ts

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export interface ResumeData {
4242

4343
export type SectionKey = keyof ResumeData;
4444

45-
export type OutputFormat = 'colored' | 'plain' | 'json' | 'html' | 'pdf';
45+
export type OutputFormat = 'colored' | 'plain' | 'json' | 'html' | 'pdf' | 'markdown' | 'latex' | 'linkedin' | 'twitter';
4646

4747
export interface FormatOptions {
4848
format: OutputFormat;
@@ -97,4 +97,20 @@ export interface ResumeStats {
9797
techStackSize: number;
9898
totalCompanies: number;
9999
educationCount: number;
100+
}
101+
102+
export interface TemplateConfig {
103+
name: string;
104+
format: OutputFormat;
105+
sections: SectionKey[];
106+
style?: 'academic' | 'professional' | 'creative' | 'minimal';
107+
industry?: string;
108+
}
109+
110+
export interface ExportOptions {
111+
format: OutputFormat;
112+
template?: TemplateConfig;
113+
customSections?: SectionKey[];
114+
includeContact?: boolean;
115+
maxLength?: number;
100116
}

dist/modules/cli.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modules/cli.js

Lines changed: 87 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)