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