We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccead52 commit d20b253Copy full SHA for d20b253
packages/recommend/src/types/RecommendedForYouQuery.ts
@@ -1,3 +1,19 @@
1
import { RecommendationsQuery } from './RecommendationsQuery';
2
+import { RecommendSearchOptions } from './RecommendSearchOptions';
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
+};
0 commit comments