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

Function selectEntitySetItem

ui/src/selectors.js:263–267  ·  view source on GitHub ↗
(state, itemId)

Source from the content-addressed store, hash-verified

261}
262
263export function selectEntitySetItem(state, itemId) {
264 const item = selectObject(state, state.entitySetItems, itemId);
265 item.entity = selectEntity(state, item.entityId || item.entity?.id);
266 return item;
267}
268
269export function selectMappingsResult(state, query) {
270 return selectResult(state, query, selectEntityMapping);

Callers

nothing calls this directly

Calls 2

selectObjectFunction · 0.85
selectEntityFunction · 0.85

Tested by

no test coverage detected