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

Function selectProfileReferences

ui/src/selectors.js:344–349  ·  view source on GitHub ↗
(state, profileId)

Source from the content-addressed store, hash-verified

342}
343
344export function selectProfileReferences(state, profileId) {
345 const profile = selectProfile(state, profileId);
346 const query = profileReferencesQuery(profileId);
347 const references = selectProfileExpandResult(state, query);
348 return buildReferences(references, profile?.entity?.schema);
349}
350
351export function selectProfileReference(state, profileId, qname) {
352 const references = selectProfileReferences(state, profileId);

Callers 2

mapStateToPropsFunction · 0.90
selectProfileReferenceFunction · 0.85

Calls 4

profileReferencesQueryFunction · 0.90
selectProfileFunction · 0.85
buildReferencesFunction · 0.85

Tested by

no test coverage detected