@studyportals/domain-client 3.19.1-beta.0 → 3.21.0

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/domain-client",
3
- "version": "3.19.1-beta.0",
3
+ "version": "3.21.0",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "main": "bin/index.js",
6
6
  "author": "StudyPortals B.V.",
@@ -1,4 +1,4 @@
1
- import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITuitionFee } from "../../..";
1
+ import { ICountry, IEnglishRequirements, IInternalLink, ILogo, ITiming, ITuitionFee } from "../../..";
2
2
  export interface IDotDigitalProgramme {
3
3
  /**
4
4
  * Campaign type of the campaign the programme is attached to
@@ -67,6 +67,12 @@ export interface IDotDigitalProgramme {
67
67
  */
68
68
  getReviewRating(): number;
69
69
  canShowReviewRating(): boolean;
70
+ /**
71
+ * Get all start dates
72
+ *
73
+ * @return ITiming[]
74
+ */
75
+ getTimings(): ITiming[];
70
76
  /**
71
77
  * Title of the programme.
72
78
  *
@@ -42,12 +42,6 @@ export interface IRankingCard {
42
42
  * @return number | null
43
43
  */
44
44
  getPosition(): number | null;
45
- /**
46
- * Defines the percentage categories in the Studyportals ranking.
47
- *
48
- * @return string | null
49
- */
50
- getGlobalPositionPercentageCategories(): string | null;
51
45
  /**
52
46
  * Get the year the organisation was ranked.
53
47
  *
@@ -4,6 +4,7 @@ export interface IScholarshipCard {
4
4
  getDescriptionOfDeadline(): string;
5
5
  getDescriptionOfDestinationCountryRestrictions(): string;
6
6
  getDescriptionOfProviderLocation(): string | null;
7
+ getIsNotSpecifiedDeadline(): boolean;
7
8
  getProviderId(): string | null;
8
9
  getProviderIsUniversity(): boolean;
9
10
  getProviderLogoSquareCdn(): string | null;