Skip to content

Commit

Permalink
fix: add more descriptive docs for parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
marialungu committed Dec 19, 2022
1 parent d57ad8f commit 41fe144
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/recommend/src/types/TrendingFacetsQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type TrendingFacetsQuery = {
readonly maxRecommendations?: number;

/**
* Used for trending model
* The facet attribute to get recommendations for.
*/
readonly facetName: string;
};
4 changes: 2 additions & 2 deletions packages/recommend/src/types/TrendingItemsQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ export type TrendingItemsQuery = {
readonly fallbackParameters?: RecommendSearchOptions;

/**
* Used for trending model
* The facet attribute to get recommendations for.
*/
readonly facetName?: string;

/**
* Used for trending model
* The value of the target facet.
*/
readonly facetValue?: string;
};

0 comments on commit 41fe144

Please sign in to comment.