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

Function selectCollectionXrefResult

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

Source from the content-addressed store, hash-verified

441}
442
443export function selectCollectionXrefResult(state, query) {
444 const result = selectResult(state, query, undefined);
445 result.results.forEach((xref) => {
446 xref.match = selectEntity(state, xref.matchId);
447 xref.entity = selectEntity(state, xref.entityId);
448 });
449 return result;
450}
451
452export function selectSimilarResult(state, query) {
453 const result = selectResult(state, query, undefined);

Callers 3

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90

Calls 2

selectResultFunction · 0.85
selectEntityFunction · 0.85

Tested by

no test coverage detected