Skip to content

Commit

Permalink
fix(specs): recommend is optional (generated)
Browse files Browse the repository at this point in the history
  • Loading branch information
algolia-bot committed Oct 14, 2024
1 parent 4007b15 commit 7b502ad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/algoliasearch/lite/model/recommendHit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ export type RecommendHit = Record<string, any> & {
/**
* Recommendation score.
*/
_score: number;
_score?: number;
};
2 changes: 1 addition & 1 deletion packages/algoliasearch/lite/model/trendingFacetHit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type TrendingFacetHit = {
/**
* Recommendation score.
*/
_score: number;
_score?: number;

/**
* Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
Expand Down
2 changes: 1 addition & 1 deletion packages/recommend/model/recommendHit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ export type RecommendHit = Record<string, any> & {
/**
* Recommendation score.
*/
_score: number;
_score?: number;
};
2 changes: 1 addition & 1 deletion packages/recommend/model/trendingFacetHit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type TrendingFacetHit = {
/**
* Recommendation score.
*/
_score: number;
_score?: number;

/**
* Facet attribute. To be used in combination with `facetValue`. If specified, only recommendations matching the facet filter will be returned.
Expand Down

0 comments on commit 7b502ad

Please sign in to comment.