mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Restrict alternativesAsExact to specific values
This commit is contained in:
@@ -137,7 +137,7 @@ let _algoliaQueryParameters: QueryParameters = {
|
||||
removeStopWords: [''],
|
||||
disableExactOnAttributes: [''],
|
||||
exactOnSingleWordQuery: 'attribute',
|
||||
alternativesAsExact: [],
|
||||
alternativesAsExact: ["ignorePlurals"],
|
||||
distinct: 0,
|
||||
getRankingInfo: false,
|
||||
numericAttributesToIndex: [''],
|
||||
|
||||
Vendored
+1
-1
@@ -1373,7 +1373,7 @@ declare namespace algoliasearch {
|
||||
* 'multiWordsSynonym': multiple-words synonym
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/alternativesAsExact/
|
||||
*/
|
||||
alternativesAsExact?: string[];
|
||||
alternativesAsExact?: Array<"ignorePlurals"|"singleWordSynonym"|"multiWordsSynonym">;
|
||||
/**
|
||||
* If set to 1, enables the distinct feature, disabled by default, if the attributeForDistinct index setting is set.
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/distinct/
|
||||
|
||||
Vendored
+1
-1
@@ -452,7 +452,7 @@ declare namespace algoliasearch {
|
||||
* 'multiWordsSynonym': multiple-words synonym
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/alternativesAsExact/
|
||||
*/
|
||||
alternativesAsExact?: string[];
|
||||
alternativesAsExact?: Array<"ignorePlurals"|"singleWordSynonym"|"multiWordsSynonym">;
|
||||
/**
|
||||
* If set to 1, enables the distinct feature, disabled by default, if the attributeForDistinct index setting is set.
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/distinct/
|
||||
|
||||
Reference in New Issue
Block a user