This repository was archived by the owner on Jul 11, 2023. It is now read-only.
File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1250,7 +1250,7 @@ declare namespace algoliasearchHelper {
1250
1250
/**
1251
1251
* Ordered facet lists
1252
1252
*/
1253
- order : string [ ] ;
1253
+ order ? : string [ ] ;
1254
1254
} ;
1255
1255
/**
1256
1256
* the ordering of facet values, within an individual list
@@ -1260,14 +1260,14 @@ declare namespace algoliasearchHelper {
1260
1260
/**
1261
1261
* Ordered facet values
1262
1262
*/
1263
- order : string [ ] ;
1263
+ order ? : string [ ] ;
1264
1264
/**
1265
1265
* How to display the remaining items.
1266
1266
* - facet count (descending)
1267
1267
* - alphabetical (ascending)
1268
1268
* - hidden (show only pinned values)
1269
1269
*/
1270
- sortRemainingBy : 'count' | 'alpha' | 'hidden' ;
1270
+ sortRemainingBy ? : 'count' | 'alpha' | 'hidden' ;
1271
1271
} ;
1272
1272
} ;
1273
1273
} ;
@@ -1352,7 +1352,10 @@ declare namespace algoliasearchHelper {
1352
1352
*/
1353
1353
getFacetValues (
1354
1354
attribute : string ,
1355
- opts : any
1355
+ opts : {
1356
+ sortBy : string [ ] ,
1357
+ facetOrdering : boolean ;
1358
+ }
1356
1359
) : SearchResults . FacetValue [ ] | SearchResults . HierarchicalFacet | undefined ;
1357
1360
1358
1361
/**
You can’t perform that action at this time.
0 commit comments