(location)
| 11 | } |
| 12 | |
| 13 | export 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 | |
| 22 | function collectionContextQuery(context, location, collectionId, name) { |
| 23 | const path = collectionId ? 'entities' : undefined; |
no test coverage detected