Haroen Viaene
2018-05-18 14:02:25 +02:00
parent 0e3cd2e17c
commit 4ef613d9f9
2 changed files with 12 additions and 3 deletions

View File

@@ -94,7 +94,8 @@ let _algoliaIndexSettings: IndexSettings = {
allowCompressionOfIntegerArray: false,
altCorrections: [{}],
minProximity: 0,
placeholders: '',
placeholders: { '': [''] },
camelCaseAttributes: [''],
};
let _algoliaQueryParameters: QueryParameters = {

View File

@@ -1759,10 +1759,18 @@ declare namespace algoliasearch {
minProximity?: number;
/**
* This is an advanced use-case to define a token substitutable by a list of words without having the original token searchable
* default: ''
* default: {}
* https://github.com/algolia/algoliasearch-client-js#placeholders
*/
placeholders?: any;
placeholders?: {
[name: string]: string[],
};
/**
* List of attributes on which to do a decomposition of camel case words.
*
https://www.algolia.com/doc/api-reference/api-parameters/camelCaseAttributes/
*/
camelCaseAttributes?: string[];
}
interface Response {