type FetterCharacterCardExcelConfigData = { "AvatarId" : number ; "FetterLevel" : number ; "RewardId" : number ; } ; const fetterCharacterCardExcelConfigDataSrc = require ( '../../GenshinData/ExcelBinOutput/FetterCharacterCardExcelConfigData.json' ) as FetterCharacterCardExcelConfigData [ ] ; const fetterCharacterCardExcelConfigData = Object . fromEntries ( fetterCharacterCardExcelConfigDataSrc . map ( data => [ data . AvatarId , data ] ) ) as { [ AvatarId ] : FetterCharacterCardExcelConfigData ; } ; export default fetterCharacterCardExcelConfigData ;