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

Function profileExpandQuery

ui/src/queries.js:200–204  ·  view source on GitHub ↗
(profileId, properties, limit = Query.LARGE)

Source from the content-addressed store, hash-verified

198}
199
200export function profileExpandQuery(profileId, properties, limit = Query.LARGE) {
201 const context = { 'filter:property': properties };
202 const path = profileId ? `profiles/${profileId}/expand` : undefined;
203 return new Query(path, {}, context, 'expand').limit(limit);
204}
205
206export function profileReferencesQuery(profileId) {
207 return profileExpandQuery(profileId, [], 0);

Callers 1

profileReferencesQueryFunction · 0.85

Calls 1

limitMethod · 0.80

Tested by

no test coverage detected