Repository navigation
Expand file tree
/
Copy pathtypes.ts
More file actions
74 lines (68 loc) · 1.53 KB
/
Copy pathtypes.ts
File metadata and controls
74 lines (68 loc) · 1.53 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
export type TechCategory =
| 'Languages'
| 'Frontend'
| 'UI Libraries'
| 'Backend'
| 'Mobile'
| 'Database'
| 'ORM & Query'
| 'Cloud'
| 'DevOps'
| 'Tools & IDEs'
| 'AI & ML'
| 'Design'
| 'Other';
export type SocialCategory =
| 'Social Media'
| 'Developer'
| 'Competitive Programming'
| 'Professional'
| 'Streaming'
| 'Contact'
| 'Portfolio'
| 'Support';
export type IconType = 'devicon' | 'simpleicon';
export type TechIconDisplay = 'logo' | 'logo-name';
export interface Technology {
id: string;
name: string;
category: TechCategory;
iconUrl: string;
type: IconType;
}
export interface Social {
id: string;
name: string;
category: SocialCategory;
iconUrl: string;
type: IconType;
baseUrl: string;
placeholder: string;
siSlug?: string;
}
export interface GeneratorState {
name: string;
description: string;
selectedTechs: string[];
techIconDisplay?: TechIconDisplay;
techBadgeBgColor?: string;
techBadgeLogoColor?: string;
selectedSocials: string[];
socialLinks: Record<string, string>;
githubUsername: string;
showCommitPulse: boolean;
commitPulseAccent: string;
showRepoSpotlight: boolean;
spotlightRepo: string;
showSnakeGraph: boolean;
showPacmanGraph: boolean;
graphPlacement: 'top' | 'middle' | 'bottom';
showArticles?: boolean;
articlesPlatform?: 'devto' | 'hashnode';
articlesUsername?: string;
showHeroImage?: boolean;
heroImageUrl?: string;
heroImageWidth?: string;
heroImageAlign?: 'left' | 'center' | 'right';
heroImageAlt?: string;
}