-
Notifications
You must be signed in to change notification settings - Fork 1
/
types.ts
44 lines (41 loc) · 940 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
type Activity = {
contributionType: ContributionType;
linkedGSFProject: string;
subtype?: string;
dateFrom: Date;
dateTo?: Date;
title: string;
subtitle?: string;
description?: string;
url: string;
relatedEvent?: string;
metadata?: {
title: string;
image: string;
domain: string;
};
};
type Champion = {
firstName: string;
lastName: string;
role: string;
organization: string;
languages: string[];
pronoun: string;
city: string;
country: string;
bio: string;
image: string;
url: string | undefined;
type: string;
social: {
twitter?: string;
linkedin?: string;
website?: string;
github?: string;
};
notes?: string;
activities: Activity[];
};
type ContributionType = "speaking" | "writing" | "organizing" | "mentoring" | "hosting" | "gsf contribution" | "gsf project leadership" | "oss contribution";
export type { Champion, Activity, ContributionType };