@studyportals/domain-client 3.16.1-beta.0 → 3.16.1-beta.1

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.16.1-beta.0",
3
+ "version": "3.16.1-beta.1",
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 { IRanking } from "./i-ranking";
1
+ import { IRanking } from "../../..";
2
2
  export interface IRankingCard {
3
3
  /**
4
4
  * Get the organisation city.
@@ -42,6 +42,12 @@ export interface IRankingCard {
42
42
  * @return number | null
43
43
  */
44
44
  getPosition(): number | null;
45
+ /**
46
+ * Get the year the organisation was ranked.
47
+ *
48
+ * @return string | null
49
+ */
50
+ getRankingYear(): string | null;
45
51
  /**
46
52
  * Get this organisation's ranked position for each available ranking.
47
53
  *
@@ -1,4 +1,4 @@
1
- import { IRankingCard } from "./i-ranking-card";
1
+ import { IRankingCard } from "../../..";
2
2
  import { ModelClient } from "../../model-client";
3
3
  export declare class PublicRankingCardClient extends ModelClient<IRankingCard> {
4
4
  protected getModelName(): string;