import indexPartLevels from "./indexPartLevels" ; param { Summary } return { Summary } function indexLevels ( summary ) { let parts = summary . getParts ( ) ; parts = parts . map ( indexPartLevels ) ; return summary . set ( "parts" , parts ) ; } export default indexLevels ;