tbarequest 0.0.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -6
- package/dist/index.d.ts +1 -2
- package/dist/index.js +27 -4
- package/dist/types/endpoints/districts.d.ts +137 -149
- package/dist/types/endpoints/districts.js +23 -23
- package/dist/types/endpoints/events.d.ts +1449 -13300
- package/dist/types/endpoints/events.js +97 -82
- package/dist/types/endpoints/index.d.ts +10 -11
- package/dist/types/endpoints/index.js +11 -11
- package/dist/types/endpoints/insights.d.ts +23 -28
- package/dist/types/endpoints/insights.js +5 -5
- package/dist/types/endpoints/matches.d.ts +1093 -12936
- package/dist/types/endpoints/matches.js +11 -3
- package/dist/types/endpoints/regionalAdvancements.d.ts +26 -31
- package/dist/types/endpoints/regionalAdvancements.js +5 -5
- package/dist/types/endpoints/status.d.ts +14 -29
- package/dist/types/endpoints/status.js +7 -7
- package/dist/types/endpoints/teams.d.ts +2642 -26376
- package/dist/types/endpoints/teams.js +88 -65
- package/dist/types/index.d.ts +7 -3
- package/dist/types/schemas/districts.d.ts +22 -23
- package/dist/types/schemas/districts.js +23 -23
- package/dist/types/schemas/events.d.ts +176 -223
- package/dist/types/schemas/events.js +93 -93
- package/dist/types/schemas/insights.d.ts +19 -24
- package/dist/types/schemas/insights.js +20 -20
- package/dist/types/schemas/matches.d.ts +2622 -14850
- package/dist/types/schemas/matches.js +493 -526
- package/dist/types/schemas/regionalAdvancements.d.ts +20 -27
- package/dist/types/schemas/regionalAdvancements.js +21 -21
- package/dist/types/schemas/status.d.ts +3 -4
- package/dist/types/schemas/status.js +4 -4
- package/dist/types/schemas/teams.d.ts +46 -45
- package/dist/types/schemas/teams.js +35 -35
- package/package.json +3 -3
|
@@ -1,573 +1,540 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type } from "arktype";
|
|
2
|
+
const reef = type({
|
|
3
|
+
botRow: {
|
|
4
|
+
nodeA: "boolean",
|
|
5
|
+
nodeB: "boolean",
|
|
6
|
+
nodeC: "boolean",
|
|
7
|
+
nodeD: "boolean",
|
|
8
|
+
nodeE: "boolean",
|
|
9
|
+
nodeF: "boolean",
|
|
10
|
+
nodeG: "boolean",
|
|
11
|
+
nodeH: "boolean",
|
|
12
|
+
nodeI: "boolean",
|
|
13
|
+
nodeJ: "boolean",
|
|
14
|
+
nodeK: "boolean",
|
|
15
|
+
nodeL: "boolean",
|
|
16
|
+
},
|
|
17
|
+
midRow: {
|
|
18
|
+
nodeA: "boolean",
|
|
19
|
+
nodeB: "boolean",
|
|
20
|
+
nodeC: "boolean",
|
|
21
|
+
nodeD: "boolean",
|
|
22
|
+
nodeE: "boolean",
|
|
23
|
+
nodeF: "boolean",
|
|
24
|
+
nodeG: "boolean",
|
|
25
|
+
nodeH: "boolean",
|
|
26
|
+
nodeI: "boolean",
|
|
27
|
+
nodeJ: "boolean",
|
|
28
|
+
nodeK: "boolean",
|
|
29
|
+
nodeL: "boolean",
|
|
30
|
+
},
|
|
31
|
+
topRow: {
|
|
32
|
+
nodeA: "boolean",
|
|
33
|
+
nodeB: "boolean",
|
|
34
|
+
nodeC: "boolean",
|
|
35
|
+
nodeD: "boolean",
|
|
36
|
+
nodeE: "boolean",
|
|
37
|
+
nodeF: "boolean",
|
|
38
|
+
nodeG: "boolean",
|
|
39
|
+
nodeH: "boolean",
|
|
40
|
+
nodeI: "boolean",
|
|
41
|
+
nodeJ: "boolean",
|
|
42
|
+
nodeK: "boolean",
|
|
43
|
+
nodeL: "boolean",
|
|
44
|
+
},
|
|
45
|
+
trough: "number",
|
|
46
|
+
tba_botRowCount: "number",
|
|
47
|
+
tba_midRowCount: "number",
|
|
48
|
+
tba_topRowCount: "number",
|
|
49
|
+
});
|
|
2
50
|
export const matchScoreBreakdownYearsAlliances = {
|
|
3
|
-
"2015":
|
|
4
|
-
adjust_points:
|
|
5
|
-
auto_points:
|
|
6
|
-
container_count_level1:
|
|
7
|
-
container_count_level2:
|
|
8
|
-
container_count_level3:
|
|
9
|
-
container_count_level4:
|
|
10
|
-
container_count_level5:
|
|
11
|
-
container_count_level6:
|
|
12
|
-
container_points:
|
|
13
|
-
container_set:
|
|
14
|
-
foul_count:
|
|
15
|
-
foul_points:
|
|
16
|
-
litter_count_container:
|
|
17
|
-
litter_count_landfill:
|
|
18
|
-
litter_count_unprocessed:
|
|
19
|
-
litter_points:
|
|
20
|
-
robot_set:
|
|
21
|
-
teleop_points:
|
|
22
|
-
total_points:
|
|
23
|
-
tote_count_far:
|
|
24
|
-
tote_count_near:
|
|
25
|
-
tote_points:
|
|
26
|
-
tote_set:
|
|
27
|
-
tote_stack:
|
|
51
|
+
"2015": type({
|
|
52
|
+
adjust_points: "number",
|
|
53
|
+
auto_points: "number",
|
|
54
|
+
container_count_level1: "number",
|
|
55
|
+
container_count_level2: "number",
|
|
56
|
+
container_count_level3: "number",
|
|
57
|
+
container_count_level4: "number",
|
|
58
|
+
container_count_level5: "number",
|
|
59
|
+
container_count_level6: "number",
|
|
60
|
+
container_points: "number",
|
|
61
|
+
container_set: "boolean",
|
|
62
|
+
foul_count: "number",
|
|
63
|
+
foul_points: "number",
|
|
64
|
+
litter_count_container: "number",
|
|
65
|
+
litter_count_landfill: "number",
|
|
66
|
+
litter_count_unprocessed: "number",
|
|
67
|
+
litter_points: "number",
|
|
68
|
+
robot_set: "boolean",
|
|
69
|
+
teleop_points: "number",
|
|
70
|
+
total_points: "number",
|
|
71
|
+
tote_count_far: "number",
|
|
72
|
+
tote_count_near: "number",
|
|
73
|
+
tote_points: "number",
|
|
74
|
+
tote_set: "boolean",
|
|
75
|
+
tote_stack: "boolean",
|
|
28
76
|
}).partial(),
|
|
29
|
-
"2016":
|
|
30
|
-
adjustPoints:
|
|
31
|
-
autoBoulderPoints:
|
|
32
|
-
autoBouldersHigh:
|
|
33
|
-
autoBouldersLow:
|
|
34
|
-
autoCrossingPoints:
|
|
35
|
-
autoPoints:
|
|
36
|
-
autoReachPoints:
|
|
37
|
-
breachPoints:
|
|
38
|
-
capturePoints:
|
|
39
|
-
foulCount:
|
|
40
|
-
foulPoints:
|
|
41
|
-
position1crossings:
|
|
42
|
-
position2:
|
|
43
|
-
position2crossings:
|
|
44
|
-
position3:
|
|
45
|
-
position3crossings:
|
|
46
|
-
position4:
|
|
47
|
-
position4crossings:
|
|
48
|
-
position5:
|
|
49
|
-
position5crossings:
|
|
50
|
-
robot1Auto:
|
|
51
|
-
robot2Auto:
|
|
52
|
-
robot3Auto:
|
|
53
|
-
tba_rpEarned:
|
|
54
|
-
techFoulCount:
|
|
55
|
-
teleopBoulderPoints:
|
|
56
|
-
teleopBouldersHigh:
|
|
57
|
-
teleopBouldersLow:
|
|
58
|
-
teleopChallengePoints:
|
|
59
|
-
teleopCrossingPoints:
|
|
60
|
-
teleopDefensesBreached:
|
|
61
|
-
teleopPoints:
|
|
62
|
-
teleopScalePoints:
|
|
63
|
-
teleopTowerCaptured:
|
|
64
|
-
totalPoints:
|
|
65
|
-
towerEndStrength:
|
|
66
|
-
towerFaceA:
|
|
67
|
-
towerFaceB:
|
|
68
|
-
towerFaceC:
|
|
77
|
+
"2016": type({
|
|
78
|
+
adjustPoints: "number",
|
|
79
|
+
autoBoulderPoints: "number",
|
|
80
|
+
autoBouldersHigh: "number",
|
|
81
|
+
autoBouldersLow: "number",
|
|
82
|
+
autoCrossingPoints: "number",
|
|
83
|
+
autoPoints: "number",
|
|
84
|
+
autoReachPoints: "number",
|
|
85
|
+
breachPoints: "number",
|
|
86
|
+
capturePoints: "number",
|
|
87
|
+
foulCount: "number",
|
|
88
|
+
foulPoints: "number",
|
|
89
|
+
position1crossings: "number",
|
|
90
|
+
position2: "string",
|
|
91
|
+
position2crossings: "number",
|
|
92
|
+
position3: "string",
|
|
93
|
+
position3crossings: "number",
|
|
94
|
+
position4: "string",
|
|
95
|
+
position4crossings: "number",
|
|
96
|
+
position5: "string",
|
|
97
|
+
position5crossings: "number",
|
|
98
|
+
robot1Auto: "'Crossed' | 'Reached' | 'None'",
|
|
99
|
+
robot2Auto: "string",
|
|
100
|
+
robot3Auto: "string",
|
|
101
|
+
tba_rpEarned: "number",
|
|
102
|
+
techFoulCount: "number",
|
|
103
|
+
teleopBoulderPoints: "number",
|
|
104
|
+
teleopBouldersHigh: "number",
|
|
105
|
+
teleopBouldersLow: "number",
|
|
106
|
+
teleopChallengePoints: "number",
|
|
107
|
+
teleopCrossingPoints: "number",
|
|
108
|
+
teleopDefensesBreached: "boolean",
|
|
109
|
+
teleopPoints: "number",
|
|
110
|
+
teleopScalePoints: "number",
|
|
111
|
+
teleopTowerCaptured: "boolean",
|
|
112
|
+
totalPoints: "number",
|
|
113
|
+
towerEndStrength: "number",
|
|
114
|
+
towerFaceA: "string",
|
|
115
|
+
towerFaceB: "string",
|
|
116
|
+
towerFaceC: "string",
|
|
69
117
|
}).partial(),
|
|
70
|
-
"2017":
|
|
71
|
-
adjustPoints:
|
|
72
|
-
autoFuelHigh:
|
|
73
|
-
autoFuelLow:
|
|
74
|
-
autoFuelPoints:
|
|
75
|
-
autoMobilityPoints:
|
|
76
|
-
autoPoints:
|
|
77
|
-
autoRotorPoints:
|
|
78
|
-
foulCount:
|
|
79
|
-
foulPoints:
|
|
80
|
-
kPaBonusPoints:
|
|
81
|
-
kPaRankingPointAchieved:
|
|
82
|
-
robot1Auto:
|
|
83
|
-
robot2Auto:
|
|
84
|
-
robot3Auto:
|
|
85
|
-
rotor1Auto:
|
|
86
|
-
rotor1Engaged:
|
|
87
|
-
rotor2Auto:
|
|
88
|
-
rotor2Engaged:
|
|
89
|
-
rotor3Engaged:
|
|
90
|
-
rotor4Engaged:
|
|
91
|
-
rotorBonusPoints:
|
|
92
|
-
rotorRankingPointAchieved:
|
|
93
|
-
tba_rpEarned:
|
|
94
|
-
techFoulCount:
|
|
95
|
-
teleopFuelHigh:
|
|
96
|
-
teleopFuelLow:
|
|
97
|
-
teleopFuelPoints:
|
|
98
|
-
teleopPoints:
|
|
99
|
-
teleopRotorPoints:
|
|
100
|
-
teleopTakeoffPoints:
|
|
101
|
-
totalPoints:
|
|
102
|
-
touchpadFar:
|
|
103
|
-
touchpadMiddle:
|
|
104
|
-
touchpadNear:
|
|
118
|
+
"2017": type({
|
|
119
|
+
adjustPoints: "number",
|
|
120
|
+
autoFuelHigh: "number",
|
|
121
|
+
autoFuelLow: "number",
|
|
122
|
+
autoFuelPoints: "number",
|
|
123
|
+
autoMobilityPoints: "number",
|
|
124
|
+
autoPoints: "number",
|
|
125
|
+
autoRotorPoints: "number",
|
|
126
|
+
foulCount: "number",
|
|
127
|
+
foulPoints: "number",
|
|
128
|
+
kPaBonusPoints: "number",
|
|
129
|
+
kPaRankingPointAchieved: "boolean",
|
|
130
|
+
robot1Auto: "'Unknown' | 'Mobility' | 'None'",
|
|
131
|
+
robot2Auto: "'Unknown' | 'Mobility' | 'None'",
|
|
132
|
+
robot3Auto: "'Unknown' | 'Mobility' | 'None'",
|
|
133
|
+
rotor1Auto: "boolean",
|
|
134
|
+
rotor1Engaged: "boolean",
|
|
135
|
+
rotor2Auto: "boolean",
|
|
136
|
+
rotor2Engaged: "boolean",
|
|
137
|
+
rotor3Engaged: "boolean",
|
|
138
|
+
rotor4Engaged: "boolean",
|
|
139
|
+
rotorBonusPoints: "number",
|
|
140
|
+
rotorRankingPointAchieved: "boolean",
|
|
141
|
+
tba_rpEarned: "number",
|
|
142
|
+
techFoulCount: "number",
|
|
143
|
+
teleopFuelHigh: "number",
|
|
144
|
+
teleopFuelLow: "number",
|
|
145
|
+
teleopFuelPoints: "number",
|
|
146
|
+
teleopPoints: "number",
|
|
147
|
+
teleopRotorPoints: "number",
|
|
148
|
+
teleopTakeoffPoints: "number",
|
|
149
|
+
totalPoints: "number",
|
|
150
|
+
touchpadFar: "string",
|
|
151
|
+
touchpadMiddle: "string",
|
|
152
|
+
touchpadNear: "string",
|
|
105
153
|
}).partial(),
|
|
106
|
-
"2018":
|
|
107
|
-
adjustPoints:
|
|
108
|
-
autoOwnershipPoints:
|
|
109
|
-
autoPoints:
|
|
110
|
-
autoQuestRankingPoint:
|
|
111
|
-
autoRobot1:
|
|
112
|
-
autoRobot2:
|
|
113
|
-
autoRobot3:
|
|
114
|
-
autoRunPoints:
|
|
115
|
-
autoScaleOwnershipSec:
|
|
116
|
-
autoSwitchAtZero:
|
|
117
|
-
autoSwitchOwnershipSec:
|
|
118
|
-
endgamePoints:
|
|
119
|
-
endgameRobot1:
|
|
120
|
-
endgameRobot2:
|
|
121
|
-
endgameRobot3:
|
|
122
|
-
faceTheBossRankingPoint:
|
|
123
|
-
foulCount:
|
|
124
|
-
foulPoints:
|
|
125
|
-
rp:
|
|
126
|
-
tba_gameData:
|
|
127
|
-
techFoulCount:
|
|
128
|
-
teleopOwnershipPoints:
|
|
129
|
-
teleopPoints:
|
|
130
|
-
teleopScaleBoostSec:
|
|
131
|
-
teleopScaleForceSec:
|
|
132
|
-
teleopScaleOwnershipSec:
|
|
133
|
-
teleopSwitchBoostSec:
|
|
134
|
-
teleopSwitchForceSec:
|
|
135
|
-
teleopSwitchOwnershipSec:
|
|
136
|
-
totalPoints:
|
|
137
|
-
vaultBoostPlayed:
|
|
138
|
-
vaultBoostTotal:
|
|
139
|
-
vaultForcePlayed:
|
|
140
|
-
vaultForceTotal:
|
|
141
|
-
vaultLevitatePlayed:
|
|
142
|
-
vaultLevitateTotal:
|
|
143
|
-
vaultPoints:
|
|
154
|
+
"2018": type({
|
|
155
|
+
adjustPoints: "number",
|
|
156
|
+
autoOwnershipPoints: "number",
|
|
157
|
+
autoPoints: "number",
|
|
158
|
+
autoQuestRankingPoint: "boolean",
|
|
159
|
+
autoRobot1: "string",
|
|
160
|
+
autoRobot2: "string",
|
|
161
|
+
autoRobot3: "string",
|
|
162
|
+
autoRunPoints: "number",
|
|
163
|
+
autoScaleOwnershipSec: "number",
|
|
164
|
+
autoSwitchAtZero: "boolean",
|
|
165
|
+
autoSwitchOwnershipSec: "number",
|
|
166
|
+
endgamePoints: "number",
|
|
167
|
+
endgameRobot1: "string",
|
|
168
|
+
endgameRobot2: "string",
|
|
169
|
+
endgameRobot3: "string",
|
|
170
|
+
faceTheBossRankingPoint: "boolean",
|
|
171
|
+
foulCount: "number",
|
|
172
|
+
foulPoints: "number",
|
|
173
|
+
rp: "number",
|
|
174
|
+
tba_gameData: "string",
|
|
175
|
+
techFoulCount: "number",
|
|
176
|
+
teleopOwnershipPoints: "number",
|
|
177
|
+
teleopPoints: "number",
|
|
178
|
+
teleopScaleBoostSec: "number",
|
|
179
|
+
teleopScaleForceSec: "number",
|
|
180
|
+
teleopScaleOwnershipSec: "number",
|
|
181
|
+
teleopSwitchBoostSec: "number",
|
|
182
|
+
teleopSwitchForceSec: "number",
|
|
183
|
+
teleopSwitchOwnershipSec: "number",
|
|
184
|
+
totalPoints: "number",
|
|
185
|
+
vaultBoostPlayed: "number",
|
|
186
|
+
vaultBoostTotal: "number",
|
|
187
|
+
vaultForcePlayed: "number",
|
|
188
|
+
vaultForceTotal: "number",
|
|
189
|
+
vaultLevitatePlayed: "number",
|
|
190
|
+
vaultLevitateTotal: "number",
|
|
191
|
+
vaultPoints: "number",
|
|
144
192
|
}).partial(),
|
|
145
|
-
"2019":
|
|
146
|
-
adjustPoints:
|
|
147
|
-
autoPoints:
|
|
148
|
-
bay1:
|
|
149
|
-
bay2:
|
|
150
|
-
bay3:
|
|
151
|
-
bay4:
|
|
152
|
-
bay5:
|
|
153
|
-
bay6:
|
|
154
|
-
bay7:
|
|
155
|
-
bay8:
|
|
156
|
-
cargoPoints:
|
|
157
|
-
completeRocketRankingPoint:
|
|
158
|
-
completedRocketFar:
|
|
159
|
-
completedRocketNear:
|
|
160
|
-
endgameRobot1:
|
|
161
|
-
endgameRobot2:
|
|
162
|
-
endgameRobot3:
|
|
163
|
-
foulCount:
|
|
164
|
-
foulPoints:
|
|
165
|
-
habClimbPoints:
|
|
166
|
-
habDockingRankingPoint:
|
|
167
|
-
habLineRobot1:
|
|
168
|
-
habLineRobot2:
|
|
169
|
-
habLineRobot3:
|
|
170
|
-
hatchPanelPoints:
|
|
171
|
-
lowLeftRocketFar:
|
|
172
|
-
lowLeftRocketNear:
|
|
173
|
-
lowRightRocketFar:
|
|
174
|
-
lowRightRocketNear:
|
|
175
|
-
midLeftRocketFar:
|
|
176
|
-
midLeftRocketNear:
|
|
177
|
-
midRightRocketFar:
|
|
178
|
-
midRightRocketNear:
|
|
179
|
-
preMatchBay1:
|
|
180
|
-
preMatchBay2:
|
|
181
|
-
preMatchBay3:
|
|
182
|
-
preMatchBay6:
|
|
183
|
-
preMatchBay7:
|
|
184
|
-
preMatchBay8:
|
|
185
|
-
preMatchLevelRobot1:
|
|
186
|
-
preMatchLevelRobot2:
|
|
187
|
-
preMatchLevelRobot3:
|
|
188
|
-
rp:
|
|
189
|
-
sandStormBonusPoints:
|
|
190
|
-
techFoulCount:
|
|
191
|
-
teleopPoints:
|
|
192
|
-
topLeftRocketFar:
|
|
193
|
-
topLeftRocketNear:
|
|
194
|
-
topRightRocketFar:
|
|
195
|
-
topRightRocketNear:
|
|
196
|
-
totalPoints:
|
|
193
|
+
"2019": type({
|
|
194
|
+
adjustPoints: "number",
|
|
195
|
+
autoPoints: "number",
|
|
196
|
+
bay1: "string",
|
|
197
|
+
bay2: "string",
|
|
198
|
+
bay3: "string",
|
|
199
|
+
bay4: "string",
|
|
200
|
+
bay5: "string",
|
|
201
|
+
bay6: "string",
|
|
202
|
+
bay7: "string",
|
|
203
|
+
bay8: "string",
|
|
204
|
+
cargoPoints: "number",
|
|
205
|
+
completeRocketRankingPoint: "boolean",
|
|
206
|
+
completedRocketFar: "boolean",
|
|
207
|
+
completedRocketNear: "boolean",
|
|
208
|
+
endgameRobot1: "string",
|
|
209
|
+
endgameRobot2: "string",
|
|
210
|
+
endgameRobot3: "string",
|
|
211
|
+
foulCount: "number",
|
|
212
|
+
foulPoints: "number",
|
|
213
|
+
habClimbPoints: "number",
|
|
214
|
+
habDockingRankingPoint: "boolean",
|
|
215
|
+
habLineRobot1: "string",
|
|
216
|
+
habLineRobot2: "string",
|
|
217
|
+
habLineRobot3: "string",
|
|
218
|
+
hatchPanelPoints: "number",
|
|
219
|
+
lowLeftRocketFar: "string",
|
|
220
|
+
lowLeftRocketNear: "string",
|
|
221
|
+
lowRightRocketFar: "string",
|
|
222
|
+
lowRightRocketNear: "string",
|
|
223
|
+
midLeftRocketFar: "string",
|
|
224
|
+
midLeftRocketNear: "string",
|
|
225
|
+
midRightRocketFar: "string",
|
|
226
|
+
midRightRocketNear: "string",
|
|
227
|
+
preMatchBay1: "string",
|
|
228
|
+
preMatchBay2: "string",
|
|
229
|
+
preMatchBay3: "string",
|
|
230
|
+
preMatchBay6: "string",
|
|
231
|
+
preMatchBay7: "string",
|
|
232
|
+
preMatchBay8: "string",
|
|
233
|
+
preMatchLevelRobot1: "string",
|
|
234
|
+
preMatchLevelRobot2: "string",
|
|
235
|
+
preMatchLevelRobot3: "string",
|
|
236
|
+
rp: "number",
|
|
237
|
+
sandStormBonusPoints: "number",
|
|
238
|
+
techFoulCount: "number",
|
|
239
|
+
teleopPoints: "number",
|
|
240
|
+
topLeftRocketFar: "string",
|
|
241
|
+
topLeftRocketNear: "string",
|
|
242
|
+
topRightRocketFar: "string",
|
|
243
|
+
topRightRocketNear: "string",
|
|
244
|
+
totalPoints: "number",
|
|
197
245
|
}).partial(),
|
|
198
|
-
"2020":
|
|
199
|
-
adjustPoints:
|
|
200
|
-
autoCellPoints:
|
|
201
|
-
autoCellsBottom:
|
|
202
|
-
autoCellsInner:
|
|
203
|
-
autoCellsOuter:
|
|
204
|
-
autoInitLinePoints:
|
|
205
|
-
autoPoints:
|
|
206
|
-
controlPanelPoints:
|
|
207
|
-
endgamePoints:
|
|
208
|
-
endgameRobot1:
|
|
209
|
-
endgameRobot2:
|
|
210
|
-
endgameRobot3:
|
|
211
|
-
endgameRungIsLevel:
|
|
212
|
-
foulCount:
|
|
213
|
-
foulPoints:
|
|
214
|
-
initLineRobot1:
|
|
215
|
-
initLineRobot2:
|
|
216
|
-
initLineRobot3:
|
|
217
|
-
rp:
|
|
218
|
-
shieldEnergizedRankingPoint:
|
|
219
|
-
shieldOperationalRankingPoint:
|
|
220
|
-
stage1Activated:
|
|
221
|
-
stage2Activated:
|
|
222
|
-
stage3Activated:
|
|
223
|
-
stage3TargetColor:
|
|
224
|
-
tba_numRobotsHanging:
|
|
225
|
-
tba_shieldEnergizedRankingPointFromFoul:
|
|
226
|
-
techFoulCount:
|
|
227
|
-
teleopCellPoints:
|
|
228
|
-
teleopCellsBottom:
|
|
229
|
-
teleopCellsInner:
|
|
230
|
-
teleopCellsOuter:
|
|
231
|
-
teleopPoints:
|
|
232
|
-
totalPoints:
|
|
246
|
+
"2020": type({
|
|
247
|
+
adjustPoints: "number",
|
|
248
|
+
autoCellPoints: "number",
|
|
249
|
+
autoCellsBottom: "number",
|
|
250
|
+
autoCellsInner: "number",
|
|
251
|
+
autoCellsOuter: "number",
|
|
252
|
+
autoInitLinePoints: "number",
|
|
253
|
+
autoPoints: "number",
|
|
254
|
+
controlPanelPoints: "number",
|
|
255
|
+
endgamePoints: "number",
|
|
256
|
+
endgameRobot1: "string",
|
|
257
|
+
endgameRobot2: "string",
|
|
258
|
+
endgameRobot3: "string",
|
|
259
|
+
endgameRungIsLevel: "string",
|
|
260
|
+
foulCount: "number",
|
|
261
|
+
foulPoints: "number",
|
|
262
|
+
initLineRobot1: "string",
|
|
263
|
+
initLineRobot2: "string",
|
|
264
|
+
initLineRobot3: "string",
|
|
265
|
+
rp: "number",
|
|
266
|
+
shieldEnergizedRankingPoint: "boolean",
|
|
267
|
+
shieldOperationalRankingPoint: "boolean",
|
|
268
|
+
stage1Activated: "boolean",
|
|
269
|
+
stage2Activated: "boolean",
|
|
270
|
+
stage3Activated: "boolean",
|
|
271
|
+
stage3TargetColor: "string",
|
|
272
|
+
tba_numRobotsHanging: "number",
|
|
273
|
+
tba_shieldEnergizedRankingPointFromFoul: "boolean",
|
|
274
|
+
techFoulCount: "number",
|
|
275
|
+
teleopCellPoints: "number",
|
|
276
|
+
teleopCellsBottom: "number",
|
|
277
|
+
teleopCellsInner: "number",
|
|
278
|
+
teleopCellsOuter: "number",
|
|
279
|
+
teleopPoints: "number",
|
|
280
|
+
totalPoints: "number",
|
|
233
281
|
}).partial(),
|
|
234
|
-
"2022":
|
|
235
|
-
adjustPoints:
|
|
236
|
-
autoCargoLowerBlue:
|
|
237
|
-
autoCargoLowerFar:
|
|
238
|
-
autoCargoLowerNear:
|
|
239
|
-
autoCargoLowerRed:
|
|
240
|
-
autoCargoPoints:
|
|
241
|
-
autoCargoTotal:
|
|
242
|
-
autoCargoUpperBlue:
|
|
243
|
-
autoCargoUpperFar:
|
|
244
|
-
autoCargoUpperNear:
|
|
245
|
-
autoCargoUpperRed:
|
|
246
|
-
autoPoints:
|
|
247
|
-
autoTaxiPoints:
|
|
248
|
-
cargoBonusRankingPoint:
|
|
249
|
-
endgamePoints:
|
|
250
|
-
endgameRobot1:
|
|
251
|
-
endgameRobot2:
|
|
252
|
-
endgameRobot3:
|
|
253
|
-
foulCount:
|
|
254
|
-
foulPoints:
|
|
255
|
-
hangarBonusRankingPoint:
|
|
256
|
-
matchCargoTotal:
|
|
257
|
-
quintetAchieved:
|
|
258
|
-
rp:
|
|
259
|
-
taxiRobot1:
|
|
260
|
-
taxiRobot2:
|
|
261
|
-
taxiRobot3:
|
|
262
|
-
techFoulCount:
|
|
263
|
-
teleopCargoLowerBlue:
|
|
264
|
-
teleopCargoLowerFar:
|
|
265
|
-
teleopCargoLowerNear:
|
|
266
|
-
teleopCargoLowerRed:
|
|
267
|
-
teleopCargoPoints:
|
|
268
|
-
teleopCargoTotal:
|
|
269
|
-
teleopCargoUpperBlue:
|
|
270
|
-
teleopCargoUpperFar:
|
|
271
|
-
teleopCargoUpperNear:
|
|
272
|
-
teleopCargoUpperRed:
|
|
273
|
-
teleopPoints:
|
|
274
|
-
totalPoints:
|
|
282
|
+
"2022": type({
|
|
283
|
+
adjustPoints: "number",
|
|
284
|
+
autoCargoLowerBlue: "number",
|
|
285
|
+
autoCargoLowerFar: "number",
|
|
286
|
+
autoCargoLowerNear: "number",
|
|
287
|
+
autoCargoLowerRed: "number",
|
|
288
|
+
autoCargoPoints: "number",
|
|
289
|
+
autoCargoTotal: "number",
|
|
290
|
+
autoCargoUpperBlue: "number",
|
|
291
|
+
autoCargoUpperFar: "number",
|
|
292
|
+
autoCargoUpperNear: "number",
|
|
293
|
+
autoCargoUpperRed: "number",
|
|
294
|
+
autoPoints: "number",
|
|
295
|
+
autoTaxiPoints: "number",
|
|
296
|
+
cargoBonusRankingPoint: "boolean",
|
|
297
|
+
endgamePoints: "number",
|
|
298
|
+
endgameRobot1: "'Transversal' | 'High' | 'Mid' | 'Low' | 'None'",
|
|
299
|
+
endgameRobot2: "'Transversal' | 'High' | 'Mid' | 'Low' | 'None'",
|
|
300
|
+
endgameRobot3: "'Transversal' | 'High' | 'Mid' | 'Low' | 'None'",
|
|
301
|
+
foulCount: "number",
|
|
302
|
+
foulPoints: "number",
|
|
303
|
+
hangarBonusRankingPoint: "boolean",
|
|
304
|
+
matchCargoTotal: "number",
|
|
305
|
+
quintetAchieved: "boolean",
|
|
306
|
+
rp: "number",
|
|
307
|
+
taxiRobot1: "'Yes' | 'No'",
|
|
308
|
+
taxiRobot2: "'Yes' | 'No'",
|
|
309
|
+
taxiRobot3: "'Yes' | 'No'",
|
|
310
|
+
techFoulCount: "number",
|
|
311
|
+
teleopCargoLowerBlue: "number",
|
|
312
|
+
teleopCargoLowerFar: "number",
|
|
313
|
+
teleopCargoLowerNear: "number",
|
|
314
|
+
teleopCargoLowerRed: "number",
|
|
315
|
+
teleopCargoPoints: "number",
|
|
316
|
+
teleopCargoTotal: "number",
|
|
317
|
+
teleopCargoUpperBlue: "number",
|
|
318
|
+
teleopCargoUpperFar: "number",
|
|
319
|
+
teleopCargoUpperNear: "number",
|
|
320
|
+
teleopCargoUpperRed: "number",
|
|
321
|
+
teleopPoints: "number",
|
|
322
|
+
totalPoints: "number",
|
|
275
323
|
}).partial(),
|
|
276
|
-
"2023":
|
|
277
|
-
activationBonusAchieved:
|
|
278
|
-
adjustPoints:
|
|
279
|
-
autoBridgeState:
|
|
280
|
-
autoChargeStationPoints:
|
|
281
|
-
autoChargeStationRobot1:
|
|
282
|
-
autoChargeStationRobot2:
|
|
283
|
-
autoChargeStationRobot3:
|
|
284
|
-
autoCommunity:
|
|
285
|
-
B:
|
|
286
|
-
M:
|
|
287
|
-
T:
|
|
288
|
-
}
|
|
289
|
-
autoDocked:
|
|
290
|
-
autoGamePieceCount:
|
|
291
|
-
autoGamePiecePoints:
|
|
292
|
-
autoMobilityPoints:
|
|
293
|
-
autoPoints:
|
|
294
|
-
coopGamePieceCount:
|
|
295
|
-
coopertitionCriteriaMet:
|
|
296
|
-
endGameBridgeState:
|
|
297
|
-
endGameChargeStationPoints:
|
|
298
|
-
endGameChargeStationRobot1:
|
|
299
|
-
endGameChargeStationRobot2:
|
|
300
|
-
endGameChargeStationRobot3:
|
|
301
|
-
endGameParkPoints:
|
|
302
|
-
foulCount:
|
|
303
|
-
foulPoints:
|
|
304
|
-
linkPoints:
|
|
305
|
-
links:
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
324
|
+
"2023": type({
|
|
325
|
+
activationBonusAchieved: "boolean",
|
|
326
|
+
adjustPoints: "number",
|
|
327
|
+
autoBridgeState: "'NotLevel' | 'Level'",
|
|
328
|
+
autoChargeStationPoints: "number",
|
|
329
|
+
autoChargeStationRobot1: "'None' | 'Docked'",
|
|
330
|
+
autoChargeStationRobot2: "'None' | 'Docked'",
|
|
331
|
+
autoChargeStationRobot3: "'None' | 'Docked'",
|
|
332
|
+
autoCommunity: {
|
|
333
|
+
B: "('None' | 'Cube' | 'Cone')[]",
|
|
334
|
+
M: "('None' | 'Cube' | 'Cone')[]",
|
|
335
|
+
T: "('None' | 'Cube' | 'Cone')[]",
|
|
336
|
+
},
|
|
337
|
+
autoDocked: "boolean",
|
|
338
|
+
autoGamePieceCount: "number",
|
|
339
|
+
autoGamePiecePoints: "number",
|
|
340
|
+
autoMobilityPoints: "number",
|
|
341
|
+
autoPoints: "number",
|
|
342
|
+
coopGamePieceCount: "number",
|
|
343
|
+
coopertitionCriteriaMet: "boolean",
|
|
344
|
+
endGameBridgeState: "'NotLevel' | 'Level'",
|
|
345
|
+
endGameChargeStationPoints: "number",
|
|
346
|
+
endGameChargeStationRobot1: "'None' | 'Docked' | 'Parked'",
|
|
347
|
+
endGameChargeStationRobot2: "'None' | 'Docked' | 'Parked'",
|
|
348
|
+
endGameChargeStationRobot3: "'None' | 'Docked' | 'Parked'",
|
|
349
|
+
endGameParkPoints: "number",
|
|
350
|
+
foulCount: "number",
|
|
351
|
+
foulPoints: "number",
|
|
352
|
+
linkPoints: "number",
|
|
353
|
+
links: type({
|
|
354
|
+
nodes: "number[]",
|
|
355
|
+
row: "'Bottom' | 'Mid' | 'Top'",
|
|
356
|
+
}).array(),
|
|
357
|
+
mobilityRobot1: "'Yes' | 'No'",
|
|
358
|
+
mobilityRobot2: "'Yes' | 'No'",
|
|
359
|
+
mobilityRobot3: "'Yes' | 'No'",
|
|
360
|
+
rp: "number",
|
|
361
|
+
sustainabilityBonusAchieved: "boolean",
|
|
362
|
+
techFoulCount: "number",
|
|
363
|
+
teleopCommunity: {
|
|
364
|
+
B: "('None' | 'Cube' | 'Cone')[]",
|
|
365
|
+
M: "('None' | 'Cube' | 'Cone')[]",
|
|
366
|
+
T: "('None' | 'Cube' | 'Cone')[]",
|
|
367
|
+
},
|
|
368
|
+
teleopGamePieceCount: "number",
|
|
369
|
+
teleopGamePiecePoints: "number",
|
|
370
|
+
teleopPoints: "number",
|
|
371
|
+
totalChargeStationPoints: "number",
|
|
372
|
+
totalPoints: "number",
|
|
322
373
|
}).partial(),
|
|
323
|
-
"2024":
|
|
324
|
-
adjustPoints:
|
|
325
|
-
autoAmpNoteCount:
|
|
326
|
-
autoAmpNotePoints:
|
|
327
|
-
autoLeavePoints:
|
|
328
|
-
autoLineRobot1:
|
|
329
|
-
autoLineRobot2:
|
|
330
|
-
autoLineRobot3:
|
|
331
|
-
autoPoints:
|
|
332
|
-
autoSpeakerNoteCount:
|
|
333
|
-
autoSpeakerNotePoints:
|
|
334
|
-
autoTotalNotePoints:
|
|
335
|
-
coopNotePlayed:
|
|
336
|
-
coopertitionBonusAchieved:
|
|
337
|
-
coopertitionCriteriaMet:
|
|
338
|
-
endGameHarmonyPoints:
|
|
339
|
-
endGameNoteInTrapPoints:
|
|
340
|
-
endGameOnStagePoints:
|
|
341
|
-
endGameParkPoints:
|
|
342
|
-
endGameRobot1:
|
|
343
|
-
endGameRobot2:
|
|
344
|
-
endGameRobot3:
|
|
345
|
-
endGameSpotLightBonusPoints:
|
|
346
|
-
endGameTotalStagePoints:
|
|
347
|
-
ensembleBonusAchieved:
|
|
348
|
-
ensembleBonusOnStageRobotsThreshold:
|
|
349
|
-
ensembleBonusStagePointsThreshold:
|
|
350
|
-
foulCount:
|
|
351
|
-
foulPoints:
|
|
352
|
-
g206Penalty:
|
|
353
|
-
g408Penalty:
|
|
354
|
-
g424Penalty:
|
|
355
|
-
melodyBonusAchieved:
|
|
356
|
-
melodyBonusThreshold:
|
|
357
|
-
melodyBonusThresholdCoop:
|
|
358
|
-
melodyBonusThresholdNonCoop:
|
|
359
|
-
micCenterStage:
|
|
360
|
-
micStageLeft:
|
|
361
|
-
micStageRight:
|
|
362
|
-
rp:
|
|
363
|
-
techFoulCount:
|
|
364
|
-
teleopAmpNoteCount:
|
|
365
|
-
teleopAmpNotePoints:
|
|
366
|
-
teleopPoints:
|
|
367
|
-
teleopSpeakerNoteAmplifiedCount:
|
|
368
|
-
teleopSpeakerNoteAmplifiedPoints:
|
|
369
|
-
teleopSpeakerNoteCount:
|
|
370
|
-
teleopSpeakerNotePoints:
|
|
371
|
-
teleopTotalNotePoints:
|
|
372
|
-
totalPoints:
|
|
373
|
-
trapCenterStage:
|
|
374
|
-
trapStageLeft:
|
|
375
|
-
trapStageRight:
|
|
374
|
+
"2024": type({
|
|
375
|
+
adjustPoints: "number",
|
|
376
|
+
autoAmpNoteCount: "number",
|
|
377
|
+
autoAmpNotePoints: "number",
|
|
378
|
+
autoLeavePoints: "number",
|
|
379
|
+
autoLineRobot1: "string",
|
|
380
|
+
autoLineRobot2: "string",
|
|
381
|
+
autoLineRobot3: "string",
|
|
382
|
+
autoPoints: "number",
|
|
383
|
+
autoSpeakerNoteCount: "number",
|
|
384
|
+
autoSpeakerNotePoints: "number",
|
|
385
|
+
autoTotalNotePoints: "number",
|
|
386
|
+
coopNotePlayed: "boolean",
|
|
387
|
+
coopertitionBonusAchieved: "boolean",
|
|
388
|
+
coopertitionCriteriaMet: "boolean",
|
|
389
|
+
endGameHarmonyPoints: "number",
|
|
390
|
+
endGameNoteInTrapPoints: "number",
|
|
391
|
+
endGameOnStagePoints: "number",
|
|
392
|
+
endGameParkPoints: "number",
|
|
393
|
+
endGameRobot1: "string",
|
|
394
|
+
endGameRobot2: "string",
|
|
395
|
+
endGameRobot3: "string",
|
|
396
|
+
endGameSpotLightBonusPoints: "number",
|
|
397
|
+
endGameTotalStagePoints: "number",
|
|
398
|
+
ensembleBonusAchieved: "boolean",
|
|
399
|
+
ensembleBonusOnStageRobotsThreshold: "number",
|
|
400
|
+
ensembleBonusStagePointsThreshold: "number",
|
|
401
|
+
foulCount: "number",
|
|
402
|
+
foulPoints: "number",
|
|
403
|
+
g206Penalty: "boolean",
|
|
404
|
+
g408Penalty: "boolean",
|
|
405
|
+
g424Penalty: "boolean",
|
|
406
|
+
melodyBonusAchieved: "boolean",
|
|
407
|
+
melodyBonusThreshold: "number",
|
|
408
|
+
melodyBonusThresholdCoop: "number",
|
|
409
|
+
melodyBonusThresholdNonCoop: "number",
|
|
410
|
+
micCenterStage: "boolean",
|
|
411
|
+
micStageLeft: "boolean",
|
|
412
|
+
micStageRight: "boolean",
|
|
413
|
+
rp: "number",
|
|
414
|
+
techFoulCount: "number",
|
|
415
|
+
teleopAmpNoteCount: "number",
|
|
416
|
+
teleopAmpNotePoints: "number",
|
|
417
|
+
teleopPoints: "number",
|
|
418
|
+
teleopSpeakerNoteAmplifiedCount: "number",
|
|
419
|
+
teleopSpeakerNoteAmplifiedPoints: "number",
|
|
420
|
+
teleopSpeakerNoteCount: "number",
|
|
421
|
+
teleopSpeakerNotePoints: "number",
|
|
422
|
+
teleopTotalNotePoints: "number",
|
|
423
|
+
totalPoints: "number",
|
|
424
|
+
trapCenterStage: "boolean",
|
|
425
|
+
trapStageLeft: "boolean",
|
|
426
|
+
trapStageRight: "boolean",
|
|
376
427
|
}).partial(),
|
|
377
|
-
"2025":
|
|
378
|
-
adjustPoints:
|
|
379
|
-
algaePoints:
|
|
380
|
-
autoBonusAchieved:
|
|
381
|
-
autoCoralCount:
|
|
382
|
-
autoCoralPoints:
|
|
383
|
-
autoLineRobot1:
|
|
384
|
-
autoLineRobot2:
|
|
385
|
-
autoLineRobot3:
|
|
386
|
-
autoMobilityPoints:
|
|
387
|
-
autoPoints:
|
|
388
|
-
autoReef:
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
nodeH: z.boolean(),
|
|
412
|
-
nodeI: z.boolean(),
|
|
413
|
-
nodeJ: z.boolean(),
|
|
414
|
-
nodeK: z.boolean(),
|
|
415
|
-
nodeL: z.boolean(),
|
|
416
|
-
}),
|
|
417
|
-
tba_botRowCount: z.number(),
|
|
418
|
-
tba_midRowCount: z.number(),
|
|
419
|
-
tba_topRowCount: z.number(),
|
|
420
|
-
topRow: z.object({
|
|
421
|
-
nodeA: z.boolean(),
|
|
422
|
-
nodeB: z.boolean(),
|
|
423
|
-
nodeC: z.boolean(),
|
|
424
|
-
nodeD: z.boolean(),
|
|
425
|
-
nodeE: z.boolean(),
|
|
426
|
-
nodeF: z.boolean(),
|
|
427
|
-
nodeG: z.boolean(),
|
|
428
|
-
nodeH: z.boolean(),
|
|
429
|
-
nodeI: z.boolean(),
|
|
430
|
-
nodeJ: z.boolean(),
|
|
431
|
-
nodeK: z.boolean(),
|
|
432
|
-
nodeL: z.boolean(),
|
|
433
|
-
}),
|
|
434
|
-
trough: z.number(),
|
|
435
|
-
}),
|
|
436
|
-
bargeBonusAchieved: z.boolean(),
|
|
437
|
-
coopertitionCriteriaMet: z.boolean(),
|
|
438
|
-
coralBonusAchieved: z.boolean(),
|
|
439
|
-
endGameBargePoints: z.number(),
|
|
440
|
-
endGameRobot1: z.enum(["None", "Parked", "ShallowCage", "DeepCage"]),
|
|
441
|
-
endGameRobot2: z.enum(["None", "Parked", "ShallowCage", "DeepCage"]),
|
|
442
|
-
endGameRobot3: z.enum(["None", "Parked", "ShallowCage", "DeepCage"]),
|
|
443
|
-
foulCount: z.number(),
|
|
444
|
-
foulPoints: z.number(),
|
|
445
|
-
g206Penalty: z.boolean(),
|
|
446
|
-
g410Penalty: z.boolean(),
|
|
447
|
-
g418Penalty: z.boolean(),
|
|
448
|
-
g428Penalty: z.boolean(),
|
|
449
|
-
netAlgaeCount: z.number(),
|
|
450
|
-
rp: z.number(),
|
|
451
|
-
techFoulCount: z.number(),
|
|
452
|
-
teleopCoralCount: z.number(),
|
|
453
|
-
teleopCoralPoints: z.number(),
|
|
454
|
-
teleopPoints: z.number(),
|
|
455
|
-
teleopReef: z.object({
|
|
456
|
-
botRow: z.object({
|
|
457
|
-
nodeA: z.boolean(),
|
|
458
|
-
nodeB: z.boolean(),
|
|
459
|
-
nodeC: z.boolean(),
|
|
460
|
-
nodeD: z.boolean(),
|
|
461
|
-
nodeE: z.boolean(),
|
|
462
|
-
nodeF: z.boolean(),
|
|
463
|
-
nodeG: z.boolean(),
|
|
464
|
-
nodeH: z.boolean(),
|
|
465
|
-
nodeI: z.boolean(),
|
|
466
|
-
nodeJ: z.boolean(),
|
|
467
|
-
nodeK: z.boolean(),
|
|
468
|
-
nodeL: z.boolean(),
|
|
469
|
-
}),
|
|
470
|
-
midRow: z.object({
|
|
471
|
-
nodeA: z.boolean(),
|
|
472
|
-
nodeB: z.boolean(),
|
|
473
|
-
nodeC: z.boolean(),
|
|
474
|
-
nodeD: z.boolean(),
|
|
475
|
-
nodeE: z.boolean(),
|
|
476
|
-
nodeF: z.boolean(),
|
|
477
|
-
nodeG: z.boolean(),
|
|
478
|
-
nodeH: z.boolean(),
|
|
479
|
-
nodeI: z.boolean(),
|
|
480
|
-
nodeJ: z.boolean(),
|
|
481
|
-
nodeK: z.boolean(),
|
|
482
|
-
nodeL: z.boolean(),
|
|
483
|
-
}),
|
|
484
|
-
tba_botRowCount: z.number(),
|
|
485
|
-
tba_midRowCount: z.number(),
|
|
486
|
-
tba_topRowCount: z.number(),
|
|
487
|
-
topRow: z.object({
|
|
488
|
-
nodeA: z.boolean(),
|
|
489
|
-
nodeB: z.boolean(),
|
|
490
|
-
nodeC: z.boolean(),
|
|
491
|
-
nodeD: z.boolean(),
|
|
492
|
-
nodeE: z.boolean(),
|
|
493
|
-
nodeF: z.boolean(),
|
|
494
|
-
nodeG: z.boolean(),
|
|
495
|
-
nodeH: z.boolean(),
|
|
496
|
-
nodeI: z.boolean(),
|
|
497
|
-
nodeJ: z.boolean(),
|
|
498
|
-
nodeK: z.boolean(),
|
|
499
|
-
nodeL: z.boolean(),
|
|
500
|
-
}),
|
|
501
|
-
trough: z.number(),
|
|
502
|
-
}),
|
|
503
|
-
totalPoints: z.number(),
|
|
504
|
-
wallAlgaeCount: z.number(),
|
|
428
|
+
"2025": type({
|
|
429
|
+
adjustPoints: "number",
|
|
430
|
+
algaePoints: "number",
|
|
431
|
+
autoBonusAchieved: "boolean",
|
|
432
|
+
autoCoralCount: "number",
|
|
433
|
+
autoCoralPoints: "number",
|
|
434
|
+
autoLineRobot1: "'Yes' | 'No'",
|
|
435
|
+
autoLineRobot2: "'Yes' | 'No'",
|
|
436
|
+
autoLineRobot3: "'Yes' | 'No'",
|
|
437
|
+
autoMobilityPoints: "number",
|
|
438
|
+
autoPoints: "number",
|
|
439
|
+
autoReef: reef,
|
|
440
|
+
bargeBonusAchieved: "boolean",
|
|
441
|
+
coopertitionCriteriaMet: "boolean",
|
|
442
|
+
coralBonusAchieved: "boolean",
|
|
443
|
+
endGameBargePoints: "number",
|
|
444
|
+
endGameRobot1: "'None' | 'Parked' | 'ShallowCage' | 'DeepCage'",
|
|
445
|
+
endGameRobot2: "'None' | 'Parked' | 'ShallowCage' | 'DeepCage'",
|
|
446
|
+
endGameRobot3: "'None' | 'Parked' | 'ShallowCage' | 'DeepCage'",
|
|
447
|
+
foulCount: "number",
|
|
448
|
+
foulPoints: "number",
|
|
449
|
+
g206Penalty: "boolean",
|
|
450
|
+
g410Penalty: "boolean",
|
|
451
|
+
g418Penalty: "boolean",
|
|
452
|
+
g428Penalty: "boolean",
|
|
453
|
+
netAlgaeCount: "number",
|
|
454
|
+
rp: "number",
|
|
455
|
+
techFoulCount: "number",
|
|
456
|
+
teleopCoralCount: "number",
|
|
457
|
+
teleopCoralPoints: "number",
|
|
458
|
+
teleopPoints: "number",
|
|
459
|
+
teleopReef: reef,
|
|
460
|
+
totalPoints: "number",
|
|
461
|
+
wallAlgaeCount: "number",
|
|
505
462
|
}).partial(),
|
|
506
463
|
};
|
|
507
464
|
export const matchScoreBreakdownYearsMatches = {
|
|
508
|
-
"2015":
|
|
465
|
+
"2015": type({
|
|
509
466
|
red: matchScoreBreakdownYearsAlliances["2015"],
|
|
510
467
|
blue: matchScoreBreakdownYearsAlliances["2015"],
|
|
511
|
-
coopertition:
|
|
512
|
-
coopertition_points:
|
|
468
|
+
coopertition: "'None' | 'Unknown' | 'Stack'",
|
|
469
|
+
coopertition_points: "number",
|
|
470
|
+
yearOfCompetition: "2015",
|
|
513
471
|
}),
|
|
514
|
-
"2016":
|
|
472
|
+
"2016": type({
|
|
515
473
|
red: matchScoreBreakdownYearsAlliances["2016"],
|
|
516
474
|
blue: matchScoreBreakdownYearsAlliances["2016"],
|
|
475
|
+
yearOfCompetition: "2016",
|
|
517
476
|
}),
|
|
518
|
-
"2017":
|
|
477
|
+
"2017": type({
|
|
519
478
|
red: matchScoreBreakdownYearsAlliances["2017"],
|
|
520
479
|
blue: matchScoreBreakdownYearsAlliances["2017"],
|
|
480
|
+
yearOfCompetition: "2017",
|
|
521
481
|
}),
|
|
522
|
-
"2018":
|
|
482
|
+
"2018": type({
|
|
523
483
|
red: matchScoreBreakdownYearsAlliances["2018"],
|
|
524
484
|
blue: matchScoreBreakdownYearsAlliances["2018"],
|
|
485
|
+
yearOfCompetition: "2018",
|
|
525
486
|
}),
|
|
526
|
-
"2019":
|
|
487
|
+
"2019": type({
|
|
527
488
|
red: matchScoreBreakdownYearsAlliances["2019"],
|
|
528
489
|
blue: matchScoreBreakdownYearsAlliances["2019"],
|
|
490
|
+
yearOfCompetition: "2019",
|
|
529
491
|
}),
|
|
530
|
-
"2020":
|
|
492
|
+
"2020": type({
|
|
531
493
|
red: matchScoreBreakdownYearsAlliances["2020"],
|
|
532
494
|
blue: matchScoreBreakdownYearsAlliances["2020"],
|
|
495
|
+
yearOfCompetition: "2020",
|
|
533
496
|
}),
|
|
534
|
-
"2022":
|
|
497
|
+
"2022": type({
|
|
535
498
|
red: matchScoreBreakdownYearsAlliances["2022"],
|
|
536
499
|
blue: matchScoreBreakdownYearsAlliances["2022"],
|
|
500
|
+
yearOfCompetition: "2022",
|
|
537
501
|
}),
|
|
538
|
-
"2023":
|
|
502
|
+
"2023": type({
|
|
539
503
|
red: matchScoreBreakdownYearsAlliances["2023"],
|
|
540
504
|
blue: matchScoreBreakdownYearsAlliances["2023"],
|
|
505
|
+
yearOfCompetition: "2023",
|
|
541
506
|
}),
|
|
542
|
-
"2024":
|
|
507
|
+
"2024": type({
|
|
543
508
|
red: matchScoreBreakdownYearsAlliances["2024"],
|
|
544
509
|
blue: matchScoreBreakdownYearsAlliances["2024"],
|
|
510
|
+
yearOfCompetition: "2024",
|
|
545
511
|
}),
|
|
546
|
-
"2025":
|
|
512
|
+
"2025": type({
|
|
547
513
|
red: matchScoreBreakdownYearsAlliances["2025"],
|
|
548
514
|
blue: matchScoreBreakdownYearsAlliances["2025"],
|
|
515
|
+
yearOfCompetition: "2025",
|
|
549
516
|
}),
|
|
550
517
|
};
|
|
551
|
-
const
|
|
552
|
-
export const Match_alliance =
|
|
553
|
-
score:
|
|
554
|
-
team_keys:
|
|
555
|
-
surrogate_team_keys:
|
|
556
|
-
dq_team_keys:
|
|
518
|
+
const msb = matchScoreBreakdownYearsMatches;
|
|
519
|
+
export const Match_alliance = type({
|
|
520
|
+
score: "number | null",
|
|
521
|
+
team_keys: "string[]",
|
|
522
|
+
surrogate_team_keys: "string[]",
|
|
523
|
+
dq_team_keys: "string[]",
|
|
557
524
|
});
|
|
558
|
-
export const Match_Simple =
|
|
559
|
-
key:
|
|
560
|
-
comp_level:
|
|
561
|
-
set_number:
|
|
562
|
-
match_number:
|
|
563
|
-
alliances:
|
|
564
|
-
winning_alliance:
|
|
565
|
-
event_key:
|
|
566
|
-
time:
|
|
567
|
-
actual_time:
|
|
568
|
-
predicted_time:
|
|
525
|
+
export const Match_Simple = type({
|
|
526
|
+
key: "string",
|
|
527
|
+
comp_level: "'qm' | 'ef' | 'qf' | 'sf' |'f'",
|
|
528
|
+
set_number: "number",
|
|
529
|
+
match_number: "number",
|
|
530
|
+
alliances: type({ red: Match_alliance, blue: Match_alliance }),
|
|
531
|
+
winning_alliance: "'red' | 'blue' | ''",
|
|
532
|
+
event_key: "string",
|
|
533
|
+
time: "number | null",
|
|
534
|
+
actual_time: "number | null",
|
|
535
|
+
predicted_time: "number | null",
|
|
569
536
|
});
|
|
570
|
-
export const Match = Match_Simple.
|
|
571
|
-
|
|
572
|
-
|
|
537
|
+
export const Match = Match_Simple.and({
|
|
538
|
+
videos: type({ type: "string", key: "string" }).array(),
|
|
539
|
+
score_breakdown: msb["2015"].or(msb["2016"]).or(msb["2017"]).or(msb["2018"]).or(msb["2019"]).or(msb["2020"]).or(msb["2022"]).or(msb["2023"]).or(msb["2024"]).or(msb["2025"]),
|
|
573
540
|
});
|