-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.ts
46 lines (41 loc) · 791 Bytes
/
types.ts
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
type DescriptionItem =
| {
isList: false;
data: string;
}
| { isList: true; data: string[] };
type Experience = {
date: string;
title: string;
location: string;
description: DescriptionItem[];
};
type Education = {
date: string;
title: string;
grade: string;
location: string;
description: DescriptionItem[];
};
type Volunteering = {
title: string;
description: DescriptionItem[];
};
export type CVDataType = {
me: {
name: string;
job: string;
statement: string;
};
contact: {
phone?: string;
email?: string;
linkedin?: string;
github?: string;
portfolio?: string;
};
experience: Experience[];
skills: { type: string; list: string[] }[];
education: Education[];
volunteering?: Volunteering[];
};