(location, profileId)
| 150 | } |
| 151 | |
| 152 | export function profileSimilarQuery(location, profileId) { |
| 153 | const path = profileId ? `profiles/${profileId}/similar` : undefined; |
| 154 | return Query.fromLocation(path, location, {}, 'similar').defaultFacet( |
| 155 | 'collection_id', |
| 156 | true |
| 157 | ); |
| 158 | } |
| 159 | |
| 160 | export function entitySuggestQuery( |
| 161 | location, |
no test coverage detected