forked from tokeron/Tbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helper objects.gs
85 lines (81 loc) · 1.48 KB
/
helper objects.gs
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
/**
* Object that saves the fields in the users spreadsheet
*/
const fieldUsers = {
id: 1,
name: 2,
lastSeen: 3,
reg1: 4,
reg2: 5,
reg3: 6,
reg4: 7,
reg5: 8,
authorized: 10
}
/**
* Object that saves the fields in the general part in the json from cheese&fork
*/
const fieldNamesGeneral = {
faculty: "פקולטה",
courseName: "שם מקצוע",
courseNumber: "מספר מקצוע",
nakaz: "נקודות",
lecture: "הרצאה",
tutorial: "תרגיל",
lab: "מעבדה",
seminar: "סמינר\/פרויקט",
kdam: "מקצועות קדם",
silabus: "סילבוס",
lead: "אחראים",
examA: "מועד א",
examB: "מועד ב"
}
/**
* Object that saves the fields in schedule part in the json from cheese&fork
*/
const fieldNamesSchedule = {
group: "קבוצה",
num: "מס.",
type: "סוג",
lead: "מרצה\/מתרגל",
day: "יום",
time: "שעה",
place: "בניין",
room: "חדר"
}
/**
* object that saves the fields in the cources spreadsheets
*/
const fieldCourses = {
faculty: 1,
courseName: 2,
courseNumber: 3,
silabus : 4,
kdam: 5,
lead: 6,
examA: 7,
examB: 8,
nakaz: 9,
lecture: 10,
tutorial: 11,
lab: 12,
seminar: 13,
zoom: 14,
telegram: 15,
teams: 16,
whatsApp: 17,
spreadsheet: 18
}
/**
* object that saves the fields in the HaifaEvents spreadsheet
*/
//Mor_
const HaifaEventsfields = {
event : 1,
date : 2,
hour : 3,
location : 4,
category : 5,
link : 6,
image : 7
}