Skip to content

Commit

Permalink
Depreacted excerptsHighlights misspelled property and add correctly s…
Browse files Browse the repository at this point in the history
  • Loading branch information
fbeaudoincoveo committed Feb 19, 2025
1 parent ed12109 commit fc74992
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/headless/src/api/commerce/common/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ export interface BaseProduct {
/**
* The length and offset of each word to highlight in the product excerpt string.
*/
excerptHighlights?: HighlightKeyword[];
/**
* @deprecated Use `excerptHighlights` instead.
*
* The length and offset of each word to highlight in the product excerpt string.
*/
excerptsHighlights?: HighlightKeyword[];
}

Expand Down

0 comments on commit fc74992

Please sign in to comment.