mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
add IndexSettings.queryLanguages to @types/algoliasearch
This commit is contained in:
@@ -98,6 +98,7 @@ let _algoliaIndexSettings: IndexSettings = {
|
||||
placeholders: { '': [''] },
|
||||
camelCaseAttributes: [''],
|
||||
sortFacetValuesBy: 'count',
|
||||
queryLanguages: ['fr', 'es'],
|
||||
};
|
||||
|
||||
let _algoliaQueryParameters: QueryParameters = {
|
||||
|
||||
Vendored
+12
-3
@@ -6,6 +6,7 @@
|
||||
// Samuel Vaillant <https://github.com/samouss>
|
||||
// Kai Eichinger <https://github.com/keichinger>
|
||||
// Nery Ortez <https://github.com/neryortez>
|
||||
// Antoine Rousseau <https://github.com/antoinerousseau>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
@@ -1778,12 +1779,20 @@ declare namespace algoliasearch {
|
||||
};
|
||||
/**
|
||||
* List of attributes on which to do a decomposition of camel case words.
|
||||
*
|
||||
https://www.algolia.com/doc/api-reference/api-parameters/camelCaseAttributes/
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/camelCaseAttributes/
|
||||
*/
|
||||
camelCaseAttributes?: string[];
|
||||
|
||||
/**
|
||||
* Controls how facet values are sorted.
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/sortFacetValuesBy/
|
||||
*/
|
||||
sortFacetValuesBy?: 'count' | 'alpha';
|
||||
/**
|
||||
* Sets the languages to be used by language-specific settings and functionalities
|
||||
* such as ignorePlurals, removeStopWords, and CJK word-detection.
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/queryLanguages/
|
||||
*/
|
||||
queryLanguages?: string[];
|
||||
}
|
||||
|
||||
interface Response<T=any> {
|
||||
|
||||
Reference in New Issue
Block a user