File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export type RankingInfo = {
10
10
/**
11
11
* Whether a filter matched the query.
12
12
*/
13
- filters : number ;
13
+ filters ? : number ;
14
14
15
15
/**
16
16
* Position of the first matched word in the best matching attribute of the record.
@@ -44,7 +44,7 @@ export type RankingInfo = {
44
44
/**
45
45
* Whether the record was promoted by a rule.
46
46
*/
47
- promoted : boolean ;
47
+ promoted ? : boolean ;
48
48
49
49
/**
50
50
* 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 = {
59
59
/**
60
60
* Number of matched words.
61
61
*/
62
- words : number ;
62
+ words ? : number ;
63
63
64
64
/**
65
65
* Whether the record is re-ranked.
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export type RankingInfo = {
10
10
/**
11
11
* Whether a filter matched the query.
12
12
*/
13
- filters : number ;
13
+ filters ? : number ;
14
14
15
15
/**
16
16
* Position of the first matched word in the best matching attribute of the record.
@@ -44,7 +44,7 @@ export type RankingInfo = {
44
44
/**
45
45
* Whether the record was promoted by a rule.
46
46
*/
47
- promoted : boolean ;
47
+ promoted ? : boolean ;
48
48
49
49
/**
50
50
* 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 = {
59
59
/**
60
60
* Number of matched words.
61
61
*/
62
- words : number ;
62
+ words ? : number ;
63
63
64
64
/**
65
65
* Whether the record is re-ranked.
You can’t perform that action at this time.
0 commit comments