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

Function collectionDocumentsQuery

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

Source from the content-addressed store, hash-verified

25}
26
27export function collectionDocumentsQuery(location, collectionId) {
28 const context = {
29 'filter:collection_id': collectionId,
30 'filter:schemata': 'Document',
31 'empty:properties.parent': true,
32 };
33 return collectionContextQuery(context, location, collectionId, 'documents');
34}
35
36export function collectionEntitiesQuery(location, collectionId, schema) {
37 const context = {

Callers 1

mapStateToPropsFunction · 0.90

Calls 1

collectionContextQueryFunction · 0.85

Tested by

no test coverage detected