@livetiles/reach-components-react 0.4.0-preview.180 → 0.4.0-preview.181

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.d.ts +13 -0
  2. package/index.esm2.js +297 -294
  3. package/index.umd.js +297 -294
  4. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -418,6 +418,19 @@ interface BaseItem {
418
418
  id?: string;
419
419
  statistics?: ItemStatistics;
420
420
  poll?: Poll;
421
+ searchHighlights?: SearchHighlightSummary;
422
+ }
423
+ interface SearchHighlightSummary {
424
+ title: SearchHighlight[];
425
+ content: SearchHighlight[];
426
+ }
427
+ interface SearchHighlight {
428
+ language: string;
429
+ texts: {
430
+ value: string;
431
+ type: 'text' | 'hit';
432
+ }[];
433
+ score: number;
421
434
  }
422
435
  interface Poll {
423
436
  questions: PollQuestion[];