(location, collectionId, options = {})
| 42 | } |
| 43 | |
| 44 | export 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 | |
| 53 | export function entitySetSchemaCountsQuery(entitySetId) { |
| 54 | const path = entitySetId ? `entitysets/${entitySetId}/entities` : undefined; |
no test coverage detected