-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.ts
43 lines (38 loc) · 1.16 KB
/
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
interface MenuSession{
date: Date;
event: EventType;
detail: string;
time: string;
place:string;
wbgt:number;
}
interface Member{
name: string;
grade: string;
address: string;
belongs: string;
}
interface MailParams{
subject: string;
sender: Member;
to_address: string[];
}
interface BikeFormParam{
sendNDaysAfter: number; //send an email for N days after bike practice
deadlineNDayAfter: number; //deadline day is N days after today.
deadlineTime: string; //HH:MM
}
interface wbgt{
date: Date;
time: string;
wbgt: number;
}
type EventType = "イベント"| "ミーティング"| "バイク"| "ラン"| "スイム"|"休み"|"undefined";
type SendFlag = "send"|"presend"|"prevent"|"debug";
type SheetColName = "Date"|"Day"|"Event"|"Detail"|"Time"|"Place"|"SendFlag"|"Remarks"|"Comment"|
"Name"|"ParticipantStyle"|"BikeStatus"|"Car"|
"VarName"|"Grade"|"MailAddress"|"Belong"|
"Undefined";
type ParticipantStyle = "選手"|"マネージャー";
type Day = "Sun"|"Mon"|"Tue"|"Wed"|"Thu"|"Fri"|"Sat"|"Error";
type WeeklyMail = "Validate"|"Production"