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

Function collectionSearchQuery

ui/src/queries.js:44–51  ·  view source on GitHub ↗
(location, collectionId, options = {})

Source from the content-addressed store, hash-verified

42}
43
44export function collectionSearchQuery(location, collectionId, options = {}) {
45 const context = {
46 'filter:collection_id': collectionId,
47 'filter:schemata': 'Thing',
48 ...options,
49 };
50 return collectionContextQuery(context, location, collectionId, 'cs');
51}
52
53export function entitySetSchemaCountsQuery(entitySetId) {
54 const path = entitySetId ? `entitysets/${entitySetId}/entities` : undefined;

Callers 6

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90
SchemaLinkFunction · 0.90
mapStateToPropsFunction · 0.90

Calls 1

collectionContextQueryFunction · 0.85

Tested by

no test coverage detected