@studyportals/domain-client 4.4.0 → 4.6.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": "4.4.0",
3
+ "version": "4.6.0",
4
4
  "description": "Responsible for fetching data from the Domain API",
5
5
  "main": "index.js",
6
6
  "author": "StudyPortals B.V.",
@@ -1,11 +1,11 @@
1
1
  export interface IOrganisationCard {
2
- getNumberOfProgrammes(): number;
3
2
  getNumberOfProgrammesForBachelors(): number;
4
3
  getNumberOfProgrammesForDistanceLearning(): number;
5
4
  getNumberOfProgrammesForMasters(): number;
6
5
  getNumberOfProgrammesForPhd(): number;
7
6
  getNumberOfProgrammesForShortCourses(): number;
8
7
  getOrganisationGlobalPositionPercentage(): string | null;
8
+ getOrganisationGlobalMetaRankingPosition(): number | null;
9
9
  getOrganisationHasDeliveryMethodBlended(): boolean;
10
10
  getOrganisationHasDeliveryMethodOnCampus(): boolean;
11
11
  getOrganisationHasDeliveryMethodOnline(): boolean;
@@ -5,6 +5,36 @@ export interface IOrganisationSearchDocument {
5
5
  * @return string[]
6
6
  */
7
7
  getCountryIsoCodesOfVenues(): string[];
8
+ /**
9
+ * Returns the number of bachelors offered by the organisation
10
+ *
11
+ * @return number
12
+ */
13
+ getNumberOfProgrammesForBachelors(): number;
14
+ /**
15
+ * Returns the number of distance learning courses offered by the organisation
16
+ *
17
+ * @return number
18
+ */
19
+ getNumberOfProgrammesForDistanceLearning(): number;
20
+ /**
21
+ * Returns the number of masters offered by the organisation
22
+ *
23
+ * @return number
24
+ */
25
+ getNumberOfProgrammesForMasters(): number;
26
+ /**
27
+ * Returns the number of phds offered by the organisation
28
+ *
29
+ * @return number
30
+ */
31
+ getNumberOfProgrammesForPhd(): number;
32
+ /**
33
+ * Returns the number of short courses offered by the organisation
34
+ *
35
+ * @return number
36
+ */
37
+ getNumberOfProgrammesForShortCourses(): number;
8
38
  /**
9
39
  * Gets the ID of the organisation.
10
40
  *
@@ -41,12 +71,6 @@ export interface IOrganisationSearchDocument {
41
71
  * @return number[]
42
72
  */
43
73
  identifyAreasOfVenues(): number[];
44
- /**
45
- * Gets the IDs of all regions (continents) where the organisation has venues
46
- *
47
- * @return number[]
48
- */
49
- identifyRegionsOfVenues(): number[];
50
74
  /**
51
75
  * Gets the disciplines of Bachelors programmes taught at the organisation
52
76
  *
@@ -71,6 +95,12 @@ export interface IOrganisationSearchDocument {
71
95
  * @return number[]
72
96
  */
73
97
  identifyDisciplinesForShortCourses(): number[];
98
+ /**
99
+ * Gets the IDs of all regions (continents) where the organisation has venues
100
+ *
101
+ * @return number[]
102
+ */
103
+ identifyRegionsOfVenues(): number[];
74
104
  /**
75
105
  * Returns true when the organisation does not have a parent organisation
76
106
  *