type ReliquarySetExcelConfigData = { "SetId" : number ; "SetIcon" : string ; "SetNeedNum" : number [ ] ; "EquipAffixId" : number ; "ContainsList" : number [ ] ; } ; const reliquarySetExcelConfigDataSrc = require ( '../../GenshinData/ExcelBinOutput/ReliquarySetExcelConfigData.json' ) as ReliquarySetExcelConfigData [ ] ; const reliquarySetExcelConfigData = Object . fromEntries ( reliquarySetExcelConfigDataSrc . map ( data => [ data . SetId , data ] ) ) as Record < number , ReliquarySetExcelConfigData > ; export default reliquarySetExcelConfigData ;