File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
packages/recommend/src/types Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
1
import { RecommendationsQuery } from './RecommendationsQuery' ;
2
+ import { RecommendSearchOptions } from './RecommendSearchOptions' ;
2
3
3
- export type RecommendedForYouQuery = Omit < RecommendationsQuery , 'model' | 'objectID' > ;
4
+ export type RecommendedForYouQuery = Omit <
5
+ RecommendationsQuery ,
6
+ 'model' | 'objectID' | 'queryParameters'
7
+ > & {
8
+ /**
9
+ * List of [search parameters](https://www.algolia.com/doc/api-reference/search-api-parameters/) to send.
10
+ */
11
+ readonly queryParameters : Omit < RecommendSearchOptions , 'userToken' > & {
12
+ /**
13
+ * A user identifier.
14
+ * Format: alpha numeric string [a-zA-Z0-9_-]
15
+ * Length: between 1 and 64 characters.
16
+ */
17
+ readonly userToken : string ;
18
+ } ;
19
+ } ;
You can’t perform that action at this time.
0 commit comments