-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.ts
38 lines (31 loc) · 806 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
export type ChallengeType = 'Airshow' | 'Videographie';
export interface ParticipantTeam {
_id: string;
name: string;
university: string;
competition: ChallengeType;
members: string[];
logo?: string;
vdpVid?: string;
votes: number;
}
export interface AirshowTeam extends ParticipantTeam { }
export interface VideographieTeam extends ParticipantTeam { }
export interface IUser {
_id: string;
fullname: string;
email: string;
airshowVote: string | null;
vdpVote: string | null;
mobile?: string;
verified: boolean;
}
export type GAuthToken = string | null;
export interface IScheduleSection {
title: string;
location: string;
details: string[];
startTime: Date;
endTime: Date;
}
export type Schedule = IScheduleSection[];