Skip to content

Commit 11bbeea

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit c251dc87. [skip ci]
algolia/api-clients-automation@c251dc8 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 573f054 commit 11bbeea

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/algoliasearch/lite/model/rankingInfo.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type RankingInfo = {
1010
/**
1111
* Whether a filter matched the query.
1212
*/
13-
filters: number;
13+
filters?: number;
1414

1515
/**
1616
* Position of the first matched word in the best matching attribute of the record.
@@ -44,7 +44,7 @@ export type RankingInfo = {
4444
/**
4545
* Whether the record was promoted by a rule.
4646
*/
47-
promoted: boolean;
47+
promoted?: boolean;
4848

4949
/**
5050
* Number of words between multiple matches in the query plus 1. For single word queries, `proximityDistance` is 0.
@@ -59,7 +59,7 @@ export type RankingInfo = {
5959
/**
6060
* Number of matched words.
6161
*/
62-
words: number;
62+
words?: number;
6363

6464
/**
6565
* Whether the record is re-ranked.

packages/client-search/model/rankingInfo.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export type RankingInfo = {
1010
/**
1111
* Whether a filter matched the query.
1212
*/
13-
filters: number;
13+
filters?: number;
1414

1515
/**
1616
* Position of the first matched word in the best matching attribute of the record.
@@ -44,7 +44,7 @@ export type RankingInfo = {
4444
/**
4545
* Whether the record was promoted by a rule.
4646
*/
47-
promoted: boolean;
47+
promoted?: boolean;
4848

4949
/**
5050
* Number of words between multiple matches in the query plus 1. For single word queries, `proximityDistance` is 0.
@@ -59,7 +59,7 @@ export type RankingInfo = {
5959
/**
6060
* Number of matched words.
6161
*/
62-
words: number;
62+
words?: number;
6363

6464
/**
6565
* Whether the record is re-ranked.

0 commit comments

Comments
 (0)