@@ -10,6 +10,7 @@ import {
1010 IntoTheDeepEnums ,
1111 FtcDrivetrain ,
1212 ReefscapeEnums ,
13+ RebuiltEnums ,
1314 DecodeEnums ,
1415} from "./Enums" ;
1516import { PitReportData , QuantData , Pitreport , Report , League } from "./Types" ;
@@ -218,7 +219,12 @@ export function keyToType(
218219 ReefscapeEnums . Climbing ,
219220 ReefscapeEnums . DriveThroughDeepCage ,
220221 ReefscapeEnums . EndgameClimbStatus ,
221- DecodeEnums . AutoCapabilities ,
222+ RebuiltEnums . AutoAbilities ,
223+ RebuiltEnums . ClimbingAbilities ,
224+ RebuiltEnums . DriveOverBump ,
225+ RebuiltEnums . DriveUnderTrench ,
226+ RebuiltEnums . LevelClimbed ,
227+ DecodeEnums . AutoStatus ,
222228 DecodeEnums . EndgameParkStatus ,
223229 ] ;
224230
@@ -234,8 +240,14 @@ export function keyToType(
234240 if ( key == "DriveThroughDeepCage" ) return ReefscapeEnums . DriveThroughDeepCage ;
235241 if ( key == "EndgameClimbStatus" ) return ReefscapeEnums . EndgameClimbStatus ;
236242
243+ if ( key == "AutoAbilities" ) return RebuiltEnums . AutoAbilities ;
244+ if ( key == "ClimbingAbilities" ) return RebuiltEnums . ClimbingAbilities ;
245+ if ( key == "DriveOverBump" ) return RebuiltEnums . DriveOverBump ;
246+ if ( key == "DiveUnderTrench" ) return RebuiltEnums . DriveUnderTrench ;
247+ if ( key == "LevelClimbed" ) return RebuiltEnums . LevelClimbed ;
248+
237249 if ( key == "EndgameParkStatusDecode" ) return DecodeEnums . EndgameParkStatus ;
238- if ( key == "AutoAbilities " ) return DecodeEnums . AutoCapabilities ;
250+ if ( key == "AutoStatus " ) return DecodeEnums . AutoStatus ;
239251
240252 for ( const e of enums ) {
241253 if ( Object . values ( e ) . includes ( exampleData [ key ] ) ) return e ;
0 commit comments