const cur = await eda.dmt_Project.getCurrentProjectInfo(); const boards = (await eda.dmt_Board.getAllBoardsInfo() || []).map(b => b.name); const schs = (await eda.dmt_Schematic.getAllSchematicsInfo() || []).map(s => [s.uuid, s.name]); const pcbs = (await eda.dmt_Pcb.getAllPcbsInfo() || []).map(p => [p.uuid, p.name]); const pages = (await eda.dmt_Schematic.getAllSchematicPagesInfo() || []) .map(p => [p.parentSchematicUuid, p.uuid, p.name]); return { project: [cur.uuid, cur.friendlyName], boards, schs, pcbs, pages };