-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathapp-types.ts
More file actions
103 lines (94 loc) · 1.94 KB
/
app-types.ts
File metadata and controls
103 lines (94 loc) · 1.94 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
export interface Paper {
title: string;
year: number;
start_page?: number | null;
end_page?: number | null;
volume?: number | null;
issue?: number | null;
editors?: string | null;
publisher?: string | null;
location?: string | null;
pdf: string;
abstract: string;
thumbnail: string;
figure: string;
caption: string;
web_name: string;
visible: boolean;
mod_date: string;
note?: string | null;
pub_date: string;
venue: string;
authors: SmallPerson[];
tags: string[];
materials: {
name: string;
link: string;
}[];
doi: string | null;
}
export interface SmallPerson {
first_name: string;
last_name: string;
display_name?: string;
url?: string;
}
export interface Course {
name: string;
level: 'Undergraduate' | 'Graduate';
link: string;
}
export interface Person {
first_name: string;
last_name: string;
display_name: string | null;
email: string;
url?: string;
// status: '' | '0F' | '4A' | '3C' | '99' | '2S';
status: 'faculty' | 'alumni' | 'collaborator' | 'other' | 'member';
visible: boolean;
image: string | null;
nickname: string | null;
position: string | null;
interests: string | null;
org: string | null;
}
export interface News {
text: string;
date: string;
visible: boolean;
}
export interface Spotlight {
title: string;
paper: string;
image: string;
visible: boolean;
}
export type FeaturedVenue = {
desc: string;
venue_nickname: string;
year: number;
visible: boolean;
};
export type Venue = {
fullName: string;
nickname: string;
// venueType: 'C' | 'J' | 'B' | 'W';
venueType: 'conference' | 'journal' | 'book' | 'workshop';
};
export type BlogPost = {
meta: BlogPostMeta;
post: string;
first_image?: string | null;
};
export type BlogPostMeta = {
date: string;
display_date: string;
title: string;
web_name: string;
recent?: boolean;
headliner?: string;
banner?: string;
paper?: string;
[key: string]: any;
}