@algolia/client-search 4.12.1 → 4.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -393,13 +393,13 @@ export declare type DeleteByFiltersOptions = {
393
393
  /**
394
394
  * Filter on numeric attributes.
395
395
  */
396
- readonly numericFilters?: string | readonly string[] | ReadonlyArray<readonly string[]>;
396
+ readonly numericFilters?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
397
397
  /**
398
398
  * Filter hits by tags. tagFilters is a different way of filtering, which relies on the _tags
399
399
  * attribute. It uses a simpler syntax than filters. You can use it when you want to do
400
400
  * simple filtering based on tags.
401
401
  */
402
- readonly tagFilters?: string | readonly string[] | ReadonlyArray<readonly string[]>;
402
+ readonly tagFilters?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
403
403
  /**
404
404
  * Search for entries around a central geolocation, enabling a geo search within a circular area.
405
405
  */
@@ -1099,6 +1099,7 @@ export declare type RankingInfo = {
1099
1099
  readonly rankingScore: number;
1100
1100
  readonly score: number;
1101
1101
  };
1102
+ readonly promotedByReRanking?: boolean;
1102
1103
  };
1103
1104
 
1104
1105
  export declare const removeUserID: (base: SearchClient) => (userID: string, requestOptions?: RequestOptions | undefined) => Readonly<Promise<RemoveUserIDResponse>>;
@@ -1407,13 +1408,13 @@ export declare type SearchOptions = {
1407
1408
  /**
1408
1409
  * Filter on numeric attributes.
1409
1410
  */
1410
- readonly numericFilters?: string | readonly string[] | ReadonlyArray<readonly string[]>;
1411
+ readonly numericFilters?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
1411
1412
  /**
1412
1413
  * Filter hits by tags. tagFilters is a different way of filtering, which relies on the _tags
1413
1414
  * attribute. It uses a simpler syntax than filters. You can use it when you want to do
1414
1415
  * simple filtering based on tags.
1415
1416
  */
1416
- readonly tagFilters?: string | readonly string[] | ReadonlyArray<readonly string[]>;
1417
+ readonly tagFilters?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
1417
1418
  /**
1418
1419
  * Determines how to calculate the total score for filtering.
1419
1420
  */
@@ -1682,7 +1683,7 @@ export declare type SearchOptions = {
1682
1683
  /**
1683
1684
  * When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
1684
1685
  */
1685
- readonly reRankingApplyFilter?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
1686
+ readonly reRankingApplyFilter?: string | readonly string[] | ReadonlyArray<readonly string[] | string> | null;
1686
1687
  };
1687
1688
 
1688
1689
  export declare type SearchResponse<TObject = {}> = {
@@ -2307,7 +2308,7 @@ export declare type Settings = {
2307
2308
  /**
2308
2309
  * When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
2309
2310
  */
2310
- readonly reRankingApplyFilter?: string | readonly string[] | ReadonlyArray<readonly string[] | string>;
2311
+ readonly reRankingApplyFilter?: string | readonly string[] | ReadonlyArray<readonly string[] | string> | null;
2311
2312
  };
2312
2313
 
2313
2314
  declare type SharedMultipleQueriesQuery = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/client-search",
3
- "version": "4.12.1",
3
+ "version": "4.12.2",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,8 +16,8 @@
16
16
  "dist"
17
17
  ],
18
18
  "dependencies": {
19
- "@algolia/client-common": "4.12.1",
20
- "@algolia/requester-common": "4.12.1",
21
- "@algolia/transporter": "4.12.1"
19
+ "@algolia/client-common": "4.12.2",
20
+ "@algolia/requester-common": "4.12.2",
21
+ "@algolia/transporter": "4.12.2"
22
22
  }
23
23
  }