This commit is contained in:
Haroen Viaene
2017-12-05 09:56:30 +01:00
committed by GitHub
parent b304933d7a
commit e6a26c7670
+12 -12
View File
@@ -808,7 +808,7 @@ declare namespace algoliasearch {
searchForFacetValues({
facetName,
facetQuery,
...qp
...qp,
}: {
facetName: string;
facetQuery: string;
@@ -824,7 +824,7 @@ declare namespace algoliasearch {
{
facetName,
facetQuery,
...qp
...qp,
}: {
facetName: string;
facetQuery: string;
@@ -1081,13 +1081,13 @@ Interface describing options available for gettings the logs
* https://github.com/algolia/algoliasearch-client-js#custom-batch---batch
*/
action:
| "addObject"
| "updateObject"
| "partialUpdateObject"
| "partialUpdateObjectNoCreate"
| "deleteObject"
| "delete"
| "clear";
| 'addObject'
| 'updateObject'
| 'partialUpdateObject'
| 'partialUpdateObjectNoCreate'
| 'deleteObject'
| 'delete'
| 'clear';
/**
* Name of the index where the bact will be performed
* https://github.com/algolia/algoliasearch-client-js#custom-batch---batch
@@ -1245,7 +1245,7 @@ Interface describing options available for gettings the logs
* Type of synonym
* https://github.com/algolia/algoliasearch-client-js#save-synonym---savesynonym
*/
type: "synonym" | "oneWaySynonym";
type: 'synonym' | 'oneWaySynonym';
/**
* Values used for the synonym
* https://github.com/algolia/algoliasearch-client-js#save-synonym---savesynonym
@@ -1273,7 +1273,7 @@ Interface describing options available for gettings the logs
/**
* Whether the pattern must match the beginning or the end of the query string, or both, or none.
*/
anchoring: "is" | "startsWith" | "endsWith" | "contains";
anchoring: 'is' | 'startsWith' | 'endsWith' | 'contains';
/**
* Rule context (format: [A-Za-z0-9_-]+).
* When specified, the rule is contextual and applies only when the same context is specified
@@ -1772,7 +1772,7 @@ Interface describing options available for gettings the logs
* You can specify aroundRadius=all if you want to compute the geo distance without filtering in a geo area
* https://github.com/algolia/algoliasearch-client-js#aroundradius
*/
aroundRadius?: number | "all";
aroundRadius?: number | 'all';
/**
* Control the precision of a geo search
* default: null