Skip to content

Commit 9403f73

Browse files
committed
feature: search, stats,favorites,themes
1 parent 04cc696 commit 9403f73

24 files changed

+1773
-14
lines changed

dist/data/types.d.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,32 @@ export interface ExportChoice {
5656
value: OutputFormat;
5757
extension: string;
5858
}
59+
export interface UserConfig {
60+
theme: 'dark' | 'light' | 'colorful' | 'professional';
61+
favorites: string[];
62+
searchHistory?: string[];
63+
lastUsed?: Date;
64+
}
65+
export interface ThemeColors {
66+
primary: string;
67+
secondary: string;
68+
accent: string;
69+
success: string;
70+
error: string;
71+
warning: string;
72+
}
73+
export interface SearchResult {
74+
section: string;
75+
content: string;
76+
context: string;
77+
type: 'exact' | 'partial' | 'fuzzy';
78+
score: number;
79+
}
80+
export interface ResumeStats {
81+
yearsOfExperience: number;
82+
projectCount: number;
83+
techStackSize: number;
84+
totalCompanies: number;
85+
educationCount: number;
86+
}
5987
//# 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: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,36 @@ export interface ExportChoice {
6565
name: string;
6666
value: OutputFormat;
6767
extension: string;
68+
}
69+
70+
export interface UserConfig {
71+
theme: 'dark' | 'light' | 'colorful' | 'professional';
72+
favorites: string[];
73+
searchHistory?: string[];
74+
lastUsed?: Date;
75+
}
76+
77+
export interface ThemeColors {
78+
primary: string;
79+
secondary: string;
80+
accent: string;
81+
success: string;
82+
error: string;
83+
warning: string;
84+
}
85+
86+
export interface SearchResult {
87+
section: string;
88+
content: string;
89+
context: string;
90+
type: 'exact' | 'partial' | 'fuzzy';
91+
score: number;
92+
}
93+
94+
export interface ResumeStats {
95+
yearsOfExperience: number;
96+
projectCount: number;
97+
techStackSize: number;
98+
totalCompanies: number;
99+
educationCount: number;
68100
}

dist/modules/config.d.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import { UserConfig, SectionKey, ThemeColors } from '../data/types.js';
2+
/**
3+
* Load user configuration
4+
*/
5+
export declare function loadConfig(): UserConfig;
6+
/**
7+
* Save user configuration
8+
*/
9+
export declare function saveConfig(config: UserConfig): void;
10+
/**
11+
* Update specific config property
12+
*/
13+
export declare function updateConfig(updates: Partial<UserConfig>): UserConfig;
14+
/**
15+
* Add to favorites
16+
*/
17+
export declare function addToFavorites(section: SectionKey): UserConfig;
18+
/**
19+
* Remove from favorites
20+
*/
21+
export declare function removeFromFavorites(section: SectionKey): UserConfig;
22+
/**
23+
* Add to search history
24+
*/
25+
export declare function addToSearchHistory(query: string): UserConfig;
26+
/**
27+
* Get theme colors based on configuration
28+
*/
29+
export declare function getThemeColors(config: UserConfig): ThemeColors;
30+
//# sourceMappingURL=config.d.ts.map

dist/modules/config.d.ts.map

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

dist/modules/config.js

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

dist/modules/config.js.map

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

dist/modules/interactive.d.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ import { ResumeData } from '../data/types.js';
33
* Main interactive mode function
44
*/
55
export declare function runInteractiveMode(resumeData: ResumeData): Promise<void>;
6-
/**
7-
* Navigate through resume sections
8-
*/
9-
export declare function navigateSections(resumeData: ResumeData): Promise<void>;
106
/**
117
* Generate QR codes for contact information
128
*/

dist/modules/interactive.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.

0 commit comments

Comments
 (0)