-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.gs
More file actions
160 lines (145 loc) · 3.21 KB
/
Copy pathmetadata.gs
File metadata and controls
160 lines (145 loc) · 3.21 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
var staffChecklistId = "1pIXC9_202q1gl6InGSDpfrXaddvjG4Or0El1eYwW7CM";
var signinFormId = "1mxt8N1dVohK5alXzmTxQKnzOTioz_dwyxbc2MSgDwBU";
var iHelpedSomeoneId = "120F1E_ckvxBWKPNHS9Ia9mXSdRuefnEasR7zKqT1dSk";
var meritBadgeIconListId= "10Whhc_Ps_G7z5IqOHXezTQNdDPON6fNiC0i-VrgHKXc";
var meritBadgeIconList = SpreadsheetApp
.openById(meritBadgeIconListId);
var staffChecklist = SpreadsheetApp
.openById(staffChecklistId);
var signIn = SpreadsheetApp
.openById(signinFormId);
var iHelpedSomeone = SpreadsheetApp
.openById(iHelpedSomeoneId);
// lists of things:
var openHours = {
"Monday" : {
open : "12:00",
openHour : 12,
close : "17:00",
closeHour : 17,
index: 1
},
"Tuesday" : {
open : "17:00",
openHour : 17,
close : "20:00",
closeHour : 20,
index: 2
},
"Wednesday" : {
open : "17:00",
openHour : 17,
close : "20:00",
closeHour : 20,
index: 3
},
"Thursday" : {
open : "17:00",
openHour : 17,
close : "20:00",
closeHour : 20,
index: 4
},
"Friday" : {
open : "12:00",
openHour : 12,
close : "17:00",
closeHour : 17,
index: 5
},
"Saturday" : {
open : "12:00",
openHour : 12,
close : "17:00",
closeHour : 17,
index: 6
}
};
var MeritBadges = [
'Laser Cutter',
'3D Printing',
'Hand Tools',
'HandiBot',
'Power Tools',
'Print Shop',
'Sewing Machine',
'Embroidery Machine',
'Vinyl Cutter',
'FormLabs',
'Soldering',
'Arduino',
'Button Maker',
'Raspberry Pi'
];
var equipmentList = {
"FDM 3D Printer" : {
runsAfterHourse : true,
requiresFullTimeAuthorizedUser : false,
meritBadge : "3D Printing",
items : {
"MakerBot 1" : {},
"MakerBot 2" : {},
"Ultimaker 2+" : {},
"Taz 6 FlexyDually" : {},
"MonoPrice Selecct" : {}
}
},
"SLA 3D Printer" : {
runsAfterHourse : true,
requiresFullTimeAuthorizedUser : false,
meritBadge : "FormLabs",
items : {
"Form2 Resin Printer" : {}
}
},
"Vinyl Cutter" : {
runsAfterHourse : false,
requiresFullTimeAuthorizedUser : false,
meritBadge : "Vinyl Cutter",
items : {
"Silhouette 1" : {},
"Silhouette 2" : {},
}
},
"Laser Cutter" : {
requiresFullTimeAuthorizedUser : true,
runsAfterHourse : false,
meritBadge : "Laser Cutter",
requiresFullSupervision : true,
items : {
"VLS 4.60 Laser Cutter" : {}
}
},
"Sewing Machine" : {
requiresFullTimeAuthorizedUser : false,
runsAfterHourse : false,
meritBadge : "Sewing Machine",
items : {
"Janome HD 3000" : {},
}
},
"Embroidery Machine" : {
requiresFullTimeAuthorizedUser : false,
runsAfterHourse : false,
meritBadge : "Embroidery Machine",
items : {
"Brother PE-770 Embroidery Machine" : {}
}
},
"Button Maker" : {
requiresFullTimeAuthorizedUser : false,
runsAfterHourse : false,
meritBadge : "Button Maker",
items : {
"1 inch Button Maker" : {},
"1.5 inch Button Maker" : {},
"2.25 inch Button Maker" : {},
}
}
}
function getEquipmentList(){
return equipmentList;
}
function getOpenHours(){
return openHours;
}