( location, entitySetId, limit = Query.MAX_LIMIT )
| 74 | } |
| 75 | |
| 76 | export function entitySetItemsQuery( |
| 77 | location, |
| 78 | entitySetId, |
| 79 | limit = Query.MAX_LIMIT |
| 80 | ) { |
| 81 | const path = entitySetId ? `entitysets/${entitySetId}/items` : undefined; |
| 82 | return Query.fromLocation(path, location, {}, 'items').limit(limit); |
| 83 | } |
| 84 | |
| 85 | export function investigationsQuery(location) { |
| 86 | const context = { 'filter:category': 'casefile' }; |
no test coverage detected