Add to IndexSettings, change the format to single quotes and spaces

This commit is contained in:
Shireesha Bongarala
2019-02-18 19:34:08 +05:30
parent afeecd2abd
commit 44dca6f2db
3 changed files with 5 additions and 2 deletions
@@ -97,6 +97,7 @@ let _algoliaIndexSettings: IndexSettings = {
minProximity: 0,
placeholders: { '': [''] },
camelCaseAttributes: [''],
sortFacetValuesBy: 'count',
};
let _algoliaQueryParameters: QueryParameters = {
+3 -1
View File
@@ -1455,7 +1455,7 @@ declare namespace algoliasearch {
/**
* https://www.algolia.com/doc/api-reference/api-parameters/sortFacetValuesBy/
*/
sortFacetValuesBy?: "count"|"alpha";
sortFacetValuesBy?: 'count' | 'alpha';
}
namespace SearchForFacetValues {
@@ -1781,6 +1781,8 @@ declare namespace algoliasearch {
https://www.algolia.com/doc/api-reference/api-parameters/camelCaseAttributes/
*/
camelCaseAttributes?: string[];
sortFacetValuesBy?: 'count' | 'alpha';
}
interface Response {
+1 -1
View File
@@ -535,7 +535,7 @@ declare namespace algoliasearch {
/**
* https://www.algolia.com/doc/api-reference/api-parameters/sortFacetValuesBy/
*/
sortFacetValuesBy?: "count"|"alpha";
sortFacetValuesBy?: 'count' | 'alpha';
}
namespace SearchForFacetValues {