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

Function entitiesQuery

ui/src/queries.js:13–20  ·  view source on GitHub ↗
(location)

Source from the content-addressed store, hash-verified

11}
12
13export function entitiesQuery(location) {
14 // We normally only want Things, not Intervals (relations between things).
15 const context = {
16 highlight: true,
17 'filter:schemata': 'Thing',
18 };
19 return Query.fromLocation('entities', location, context, '');
20}
21
22function collectionContextQuery(context, location, collectionId, name) {
23 const path = collectionId ? 'entities' : undefined;

Callers 2

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90

Calls 1

fromLocationMethod · 0.80

Tested by

no test coverage detected