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

Function profileSimilarQuery

ui/src/queries.js:152–158  ·  view source on GitHub ↗
(location, profileId)

Source from the content-addressed store, hash-verified

150}
151
152export function profileSimilarQuery(location, profileId) {
153 const path = profileId ? `profiles/${profileId}/similar` : undefined;
154 return Query.fromLocation(path, location, {}, 'similar').defaultFacet(
155 'collection_id',
156 true
157 );
158}
159
160export function entitySuggestQuery(
161 location,

Callers 3

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90

Calls 2

defaultFacetMethod · 0.80
fromLocationMethod · 0.80

Tested by

no test coverage detected