Skip to content

Commit

Permalink
feat(types): support facetQuery in MultipleQueriesQuery (#1267)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Apr 23, 2021
1 parent cd39284 commit 84355a9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/client-search/src/types/MultipleQueriesQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,14 @@ export type MultipleQueriesQuery = SharedMultipleQueriesQuery &
* The facet name.
*/
readonly facet: string;
/**
* The search options.
*/
readonly params?: SharedMultipleQueriesQuery['params'] & {
/**
* The search query used to search the facet attribute. Follows the same rules for an index query: a single character, a partial word, a word, or a phrase.
*/
readonly facetQuery?: string;
};
}
);

0 comments on commit 84355a9

Please sign in to comment.