MCPcopy Create free account
hub / github.com/alephdata/aleph / selectSimilarResult

Function selectSimilarResult

ui/src/selectors.js:452–458  ·  view source on GitHub ↗
(state, query)

Source from the content-addressed store, hash-verified

450}
451
452export function selectSimilarResult(state, query) {
453 const result = selectResult(state, query, undefined);
454 result.results.forEach((obj) => {
455 obj.entity = selectEntity(state, obj.entityId);
456 });
457 return result;
458}
459
460export function selectQueryLog(state) {
461 return selectObject(state, state, 'queryLogs');

Callers 6

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90

Calls 2

selectResultFunction · 0.85
selectEntityFunction · 0.85

Tested by

no test coverage detected