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

Function collectionMappingsQuery

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

Source from the content-addressed store, hash-verified

107}
108
109export function collectionMappingsQuery(location, collectionId) {
110 const path = collectionId
111 ? `collections/${collectionId}/mappings`
112 : undefined;
113 return Query.fromLocation(path, location, {}, 'mappings');
114}
115
116export function collectionXrefFacetsQuery(location, collectionId) {
117 const path = collectionId ? `collections/${collectionId}/xref` : undefined;

Callers 1

mapStateToPropsFunction · 0.90

Calls 1

fromLocationMethod · 0.80

Tested by

no test coverage detected