@studyportals/search-api-interface 4.1.0-beta.3 → 4.1.0-beta.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/search-api-interface",
3
- "version": "4.1.0-beta.3",
3
+ "version": "4.1.0-beta.5",
4
4
  "description": "Typescript library containing resources that facilitate integration with SearchApi",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,10 +1,12 @@
1
1
  import { FacetResponseType } from "../facets/FacetResponseType";
2
2
  import { HitsTotalRelation } from "../HitsTotalRelation";
3
+ import { InsightValues } from "../insights/InsightValues";
3
4
  import { ISuggestionResult } from "../suggestions/ISuggestionResult";
4
5
  export interface IProgrammeSearchResponse<T> {
5
6
  readonly programmes: readonly T[];
6
7
  readonly hitsTotal: number;
7
8
  readonly hitsTotalRelation: HitsTotalRelation;
8
9
  readonly facets?: readonly FacetResponseType[];
10
+ readonly insights?: InsightValues;
9
11
  readonly suggestions?: readonly ISuggestionResult[];
10
12
  }