File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export interface AddDocumentParams {
4646 primaryKey ?: string
4747}
4848
49- export type FacetFilter = Array < string | string [ ] >
49+ export type Filter = Array < string | string [ ] >
5050
5151export interface SearchParams < T > {
5252 offset ?: number
@@ -55,7 +55,7 @@ export interface SearchParams<T> {
5555 attributesToCrop ?: Array < Extract < keyof T , string > | '*' >
5656 cropLength ?: number
5757 attributesToHighlight ?: Array < Extract < keyof T , string > | '*' >
58- filter ?: FacetFilter | FacetFilter [ ] | string
58+ filter ?: Filter | Filter [ ] | string
5959 facetsDistribution ?: string [ ]
6060 matches ?: boolean
6161}
@@ -69,7 +69,7 @@ export interface SearchRequest {
6969 attributesToCrop ?: string [ ]
7070 attributesToHighlight ?: string [ ]
7171 facetsDistribution ?: string [ ]
72- filter ?: FacetFilter | FacetFilter [ ] | string
72+ filter ?: Filter | Filter [ ] | string
7373 matches ?: boolean
7474}
7575
You can’t perform that action at this time.
0 commit comments