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

Function collectionEntitySetsQuery

ui/src/queries.js:103–107  ·  view source on GitHub ↗
(location, collectionId)

Source from the content-addressed store, hash-verified

101}
102
103export function collectionEntitySetsQuery(location, collectionId) {
104 const context = { 'filter:collection_id': collectionId };
105 const path = collectionId ? `entitysets` : undefined;
106 return Query.fromLocation(path, location, context, 'entitySets');
107}
108
109export function collectionMappingsQuery(location, collectionId) {
110 const path = collectionId

Callers 2

mapStateToPropsFunction · 0.90
mapStateToPropsFunction · 0.90

Calls 1

fromLocationMethod · 0.80

Tested by

no test coverage detected