-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.model.ts
63 lines (57 loc) · 1.06 KB
/
profile.model.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import { IconString, TagGroup } from './firebase.model';
export type Social = {
id: string;
title: string;
icon: IconString;
link: string;
};
export type Publication = {
id: string;
title: string;
journal: string;
date: string;
link: string;
};
export type Education = {
id: string;
level: string;
university: string;
image: string;
duration: string;
location: string;
topic: string;
};
export type Footer = {
pageSource: string;
github: string;
googlePlay: string;
storybook: string;
medium: string;
linkedin: string;
};
export type Language = {
id: string;
title: string;
level: string;
};
export type ProfileResponse = {
id: string;
firstName: string;
lastName: string;
nickName?: string;
phone: string;
nameTitle: string;
title: string;
location?: string;
yearOfBirth?: number;
email?: string;
url?: string;
description?: string;
image?: string;
social?: Social[];
publications?: Publication[];
education?: Education[];
footer?: Footer;
skills?: TagGroup[];
languages?: Language[];
};