()
| 158 | : null; |
| 159 | |
| 160 | const loadTables = async (): Promise<Tables> => |
| 161 | objNew( |
| 162 | arrayFilter( |
| 163 | await promiseAll( |
| 164 | mapMap( |
| 165 | tablesLoadConfig, |
| 166 | async ([tableId, rowIdColumnName, condition], tableName) => [ |
| 167 | tableId, |
| 168 | await loadTable(tableName, rowIdColumnName, condition), |
| 169 | ], |
| 170 | ), |
| 171 | ), |
| 172 | (pair) => !objIsEmpty(pair[1]), |
| 173 | ), |
| 174 | ); |
| 175 | |
| 176 | const loadValues = async (): Promise<Values | null> => |
| 177 | valuesLoad |
no test coverage detected
searching dependent graphs…