(rowHashes: {
[rowId: Id]: Hash;
})
| 72 | getValueInValuesHash; |
| 73 | |
| 74 | export const getTableHash: typeof getTableHashDecl = (rowHashes: { |
| 75 | [rowId: Id]: Hash; |
| 76 | }): Hash => |
| 77 | // alias to getValuesHash in v7 |
| 78 | arrayReduce( |
| 79 | objEntries(rowHashes), |
| 80 | (valuesHash, [rowId, rowHash]) => |
| 81 | addOrRemoveHash(valuesHash, getValueInValuesHash(rowId, rowHash)), |
| 82 | 0, // legacy v5; rowHlc in v7? |
| 83 | ); |
| 84 | |
| 85 | export const getTableInTablesHash: typeof getTableHashInTablesDecl = |
| 86 | getValueInValuesHash; |
nothing calls this directly
no test coverage detected
searching dependent graphs…