(indexes: Indexes)
| 33 | }; |
| 34 | |
| 35 | export const getIndexesObject = (indexes: Indexes): IdObj2<Ids> => { |
| 36 | const indexesObject: IdObj2<Ids> = {}; |
| 37 | indexes.forEachIndex((indexId) => { |
| 38 | indexesObject[indexId] = {}; |
| 39 | indexes |
| 40 | .getSliceIds(indexId) |
| 41 | .forEach( |
| 42 | (sliceId) => |
| 43 | (indexesObject[indexId][sliceId] = indexes.getSliceRowIds( |
| 44 | indexId, |
| 45 | sliceId, |
| 46 | )), |
| 47 | ); |
| 48 | }); |
| 49 | return indexesObject; |
| 50 | }; |
| 51 | |
| 52 | export const getRelationshipsObject = ( |
| 53 | relationships: Relationships, |
no test coverage detected
searching dependent graphs…