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

Function collectionContextQuery

ui/src/queries.js:22–25  ·  view source on GitHub ↗
(context, location, collectionId, name)

Source from the content-addressed store, hash-verified

20}
21
22function collectionContextQuery(context, location, collectionId, name) {
23 const path = collectionId ? 'entities' : undefined;
24 return Query.fromLocation(path, location, context, name);
25}
26
27export function collectionDocumentsQuery(location, collectionId) {
28 const context = {

Callers 3

collectionDocumentsQueryFunction · 0.85
collectionEntitiesQueryFunction · 0.85
collectionSearchQueryFunction · 0.85

Calls 1

fromLocationMethod · 0.80

Tested by

no test coverage detected