@studyportals/domain-client 3.9.1-0 → 3.10.0-beta.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.
Files changed (44) hide show
  1. package/index.d.ts +6 -6
  2. package/package.json +1 -1
  3. package/src/domain-client.js.map +1 -1
  4. package/src/models/programme-card/i-programme-card.d.ts +44 -1
  5. package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +1 -13
  6. package/src/models/bestfit-programme/i-city.d.ts +0 -14
  7. package/src/models/bestfit-programme/i-city.js +0 -3
  8. package/src/models/bestfit-programme/i-city.js.map +0 -1
  9. package/src/models/bestfit-programme/i-english-requirements.d.ts +0 -37
  10. package/src/models/bestfit-programme/i-english-requirements.js +0 -3
  11. package/src/models/bestfit-programme/i-english-requirements.js.map +0 -1
  12. package/src/models/bestfit-programme/i-tuition-fee.d.ts +0 -50
  13. package/src/models/bestfit-programme/i-tuition-fee.js +0 -3
  14. package/src/models/bestfit-programme/i-tuition-fee.js.map +0 -1
  15. package/src/models/dotdigital-organisation/i-city.d.ts +0 -14
  16. package/src/models/dotdigital-organisation/i-city.js +0 -3
  17. package/src/models/dotdigital-organisation/i-city.js.map +0 -1
  18. package/src/models/dotdigital-organisation/i-country.d.ts +0 -14
  19. package/src/models/dotdigital-organisation/i-country.js +0 -3
  20. package/src/models/dotdigital-organisation/i-country.js.map +0 -1
  21. package/src/models/dotdigital-programme/i-country.d.ts +0 -14
  22. package/src/models/dotdigital-programme/i-country.js +0 -3
  23. package/src/models/dotdigital-programme/i-country.js.map +0 -1
  24. package/src/models/dotdigital-programme/i-english-requirements.d.ts +0 -37
  25. package/src/models/dotdigital-programme/i-english-requirements.js +0 -3
  26. package/src/models/dotdigital-programme/i-english-requirements.js.map +0 -1
  27. package/src/models/dotdigital-programme/i-internal-link.d.ts +0 -28
  28. package/src/models/dotdigital-programme/i-internal-link.js +0 -3
  29. package/src/models/dotdigital-programme/i-internal-link.js.map +0 -1
  30. package/src/models/dotdigital-programme/i-logo.d.ts +0 -14
  31. package/src/models/dotdigital-programme/i-logo.js +0 -3
  32. package/src/models/dotdigital-programme/i-logo.js.map +0 -1
  33. package/src/models/dotdigital-programme/i-tuition-fee.d.ts +0 -50
  34. package/src/models/dotdigital-programme/i-tuition-fee.js +0 -3
  35. package/src/models/dotdigital-programme/i-tuition-fee.js.map +0 -1
  36. package/src/models/programme-card/i-internal-link.d.ts +0 -28
  37. package/src/models/programme-card/i-internal-link.js +0 -3
  38. package/src/models/programme-card/i-internal-link.js.map +0 -1
  39. package/src/models/programme-card/i-logo.d.ts +0 -14
  40. package/src/models/programme-card/i-logo.js +0 -3
  41. package/src/models/programme-card/i-logo.js.map +0 -1
  42. package/src/models/programme-card/i-tuition-fee.d.ts +0 -50
  43. package/src/models/programme-card/i-tuition-fee.js +0 -3
  44. package/src/models/programme-card/i-tuition-fee.js.map +0 -1
package/index.d.ts CHANGED
@@ -3,15 +3,15 @@ import { ClientException } from "./src/exceptions/client-exception";
3
3
  import { InternalServerException } from "./src/exceptions/internal-server-exception";
4
4
  import { NotFoundException } from "./src/exceptions/not-found-exception";
5
5
  import { PropertyNotAvailableException } from "./src/exceptions/property-not-available-exception";
6
- import { IInternalLink } from "./src/models/programme-card/i-internal-link";
7
- import { ILogo } from "./src/models/programme-card/i-logo";
6
+ import { IInternalLink } from "./src/models/common/i-internal-link";
7
+ import { ILogo } from "./src/models/common/i-logo";
8
8
  import { ICover } from "./src/models/programme-card/i-cover";
9
9
  import { ILink } from "./src/models/programme-card/i-link";
10
10
  import { IOptionalLink } from "./src/models/programme-card/i-optional-link";
11
11
  import { ILocation } from "./src/models/programme-card/i-location";
12
12
  import { IClickTrackingData } from "./src/models/programme-card/i-click-tracking-data";
13
13
  import { ITracking } from "./src/models/programme-card/i-tracking";
14
- import { ITuitionFee } from "./src/models/programme-card/i-tuition-fee";
14
+ import { ITuitionFee } from "./src/models/common/i-tuition-fee";
15
15
  import { IDuration } from "./src/models/programme-card/i-duration";
16
16
  import { IDeadline } from "./src/models/programme-card/i-deadline";
17
17
  import { IStartDate } from "./src/models/programme-card/i-start-date";
@@ -26,13 +26,13 @@ import { IGeoTargetingConfiguration } from "./src/models/search-projection/i-geo
26
26
  import { IGeoTargetingValues } from "./src/models/search-projection/i-geo-targeting-values";
27
27
  import { ISearchProjection } from "./src/models/search-projection/i-search-projection";
28
28
  import { SearchProjectionClient } from "./src/models/search-projection/search-projection-client";
29
- import { IEnglishRequirements } from "./src/models/bestfit-programme/i-english-requirements";
30
- import { ICity } from "./src/models/bestfit-programme/i-city";
29
+ import { IEnglishRequirements } from "./src/models/common/i-english-requirements";
30
+ import { ICity } from "./src/models/common/i-city";
31
31
  import { ILivingCost } from "./src/models/bestfit-programme/i-living-cost";
32
32
  import { IGPARequirement } from "./src/models/bestfit-programme/i-g-p-a-requirement";
33
33
  import { IBestFitProgramme } from "./src/models/bestfit-programme/i-best-fit-programme";
34
34
  import { BestfitProgrammeClient } from "./src/models/bestfit-programme/bestfit-programme-client";
35
- import { ICountry } from "./src/models/dotdigital-programme/i-country";
35
+ import { ICountry } from "./src/models/common/i-country";
36
36
  import { IDotDigitalProgramme } from "./src/models/dotdigital-programme/i-dot-digital-programme";
37
37
  import { DotdigitalProgrammeClient } from "./src/models/dotdigital-programme/dotdigital-programme-client";
38
38
  import { ISearchCountryFaq } from "./src/models/search-country-faq/i-search-country-faq";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/domain-client",
3
- "version": "3.9.1-0",
3
+ "version": "3.10.0-beta.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 +1 @@
1
- {"version":3,"file":"domain-client.js","sourceRoot":"","sources":["../../src/domain-client.ts"],"names":[],"mappings":";;;AAAA,iCAA0B;AAE1B,8EAAyE;AACzE,sFAAiF;AACjF,0EAAqE;AAKrE,MAAa,YAAY;IAExB,YACiB,OAAe,E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;QACnE,IAAI,KAAK,GAAG,GAAG,YAAY,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,UAAU,IAAI,CAAC,IAAI,EAAE,CAAC;QAC9E,KAAK,MAAM,EAAE,IAAI,GAAG,EAAE;YACrB,KAAK,IAAI,OAAO,EAAE,EAAE,CAAC;SACrB;QACD,OAAO,KAAK,CAAC;IACd,CAAC;IAEO,qBAAqB;QAC5B,OAAO,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,CAAC;IACnD,CAAC;CACD;AA5DD,oCA4DC"}
@@ -40,7 +40,14 @@ export interface IProgrammeCard {
40
40
  * @return ILocation
41
41
  */
42
42
  getLocation(): ILocation;
43
- canShowLocation(): boolean;
43
+ /**
44
+ * Get the location text the programme is located in
45
+ *
46
+ * Uses the country based on the programmes venues and isFullyOnline state
47
+ *
48
+ * @return string | null
49
+ */
50
+ getLocationText(): string | null;
44
51
  /**
45
52
  * Get the Logo of the programme if available.
46
53
  *
@@ -118,6 +125,42 @@ export interface IProgrammeCard {
118
125
  * @return ILink
119
126
  */
120
127
  getUniversityLink(): ILink;
128
+ /**
129
+ * If a program is both on campus and online
130
+ *
131
+ * @return boolean
132
+ */
133
+ isBlended(): boolean;
134
+ /**
135
+ * If a program is given in fulltime
136
+ *
137
+ * @return boolean
138
+ */
139
+ isFullTime(): boolean;
140
+ /**
141
+ * If a program can only be taught online or not
142
+ *
143
+ * @return boolean
144
+ */
145
+ isFullyOnline(): boolean;
146
+ /**
147
+ * If a program is taught on campus
148
+ *
149
+ * @return boolean
150
+ */
151
+ isOnCampus(): boolean;
152
+ /**
153
+ * If a program can be taught online
154
+ *
155
+ * @return boolean
156
+ */
157
+ isOnline(): boolean;
158
+ /**
159
+ * If a program is given in parttime
160
+ *
161
+ * @return boolean
162
+ */
163
+ isPartTime(): boolean;
121
164
  /**
122
165
  * Public status of the programme.
123
166
  *
@@ -10,17 +10,5 @@ export interface ISitemapOrganisationInfo {
10
10
  /**
11
11
  * @return boolean
12
12
  */
13
- shouldBeInSitemapForBachelors(): boolean;
14
- /**
15
- * @return boolean
16
- */
17
- shouldBeInSitemapForMasters(): boolean;
18
- /**
19
- * @return boolean
20
- */
21
- shouldBeInSitemapForPhd(): boolean;
22
- /**
23
- * @return boolean
24
- */
25
- shouldBeInSitemapForShortCourses(): boolean;
13
+ shouldBeInSitemap(): boolean;
26
14
  }
@@ -1,14 +0,0 @@
1
- export interface ICity {
2
- /**
3
- * Get city id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get city name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-city.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-city.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-city.ts"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
1
- export interface IEnglishRequirements {
2
- /**
3
- * Required score for Duolingo
4
- *
5
- * @return number
6
- */
7
- getDuolingo(): number;
8
- canShowDuolingo(): boolean;
9
- /**
10
- * Required score for IELTS tests
11
- *
12
- * @return number
13
- */
14
- getIELTS(): number;
15
- canShowIELTS(): boolean;
16
- /**
17
- * Required score for PTE
18
- *
19
- * @return number
20
- */
21
- getPTE(): number;
22
- canShowPTE(): boolean;
23
- /**
24
- * Required score for TOEFL internet
25
- *
26
- * @return number
27
- */
28
- getTOEFLInternet(): number;
29
- canShowTOEFLInternet(): boolean;
30
- /**
31
- * Required score for TOEFL paper
32
- *
33
- * @return number
34
- */
35
- getTOEFLPaper(): number;
36
- canShowTOEFLPaper(): boolean;
37
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-english-requirements.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-english-requirements.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-english-requirements.ts"],"names":[],"mappings":""}
@@ -1,50 +0,0 @@
1
- export interface ITuitionFee {
2
- /**
3
- * Get the tuition amount per unit in the provided currency.
4
- *
5
- * Note: all transformable units will be converted to yearly amounts. This
6
- * includes per semester and full programme tuition fees.
7
- *
8
- * @return number
9
- */
10
- getAmount(): number;
11
- /**
12
- * Get the applicable currency.
13
- *
14
- * @return string
15
- */
16
- getCurrency(): string;
17
- /**
18
- * Get the original tuition amount before any transformation step.
19
- *
20
- * @return number
21
- */
22
- getOriginalAmount(): number;
23
- /**
24
- * Get the original tuition unit before any transformation step.
25
- *
26
- * @return string
27
- */
28
- getOriginalUnit(): string;
29
- /**
30
- * Get targeted audience (national, international, eea, etc).
31
- *
32
- * @return string
33
- */
34
- getTarget(): string;
35
- /**
36
- * Get the unit the tuition fee applies for.
37
- *
38
- * Note: all transformable units will be converted to 'year'. This means
39
- * this value will be either 'year', 'module' or 'credit'.
40
- *
41
- * @return string
42
- */
43
- getUnit(): string;
44
- /**
45
- * True if the study is free for this target audience.
46
- *
47
- * @return boolean
48
- */
49
- isFree(): boolean;
50
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-tuition-fee.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/bestfit-programme/i-tuition-fee.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ICity {
2
- /**
3
- * Get city id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get city name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-city.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-city.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/i-city.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ICountry {
2
- /**
3
- * Get country id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get country name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-country.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-country.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-organisation/i-country.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ICountry {
2
- /**
3
- * Get country id
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get country name
10
- *
11
- * @return string
12
- */
13
- getName(): string;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-country.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-country.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-country.ts"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
1
- export interface IEnglishRequirements {
2
- /**
3
- * Required score for Duolingo
4
- *
5
- * @return number
6
- */
7
- getDuolingo(): number;
8
- canShowDuolingo(): boolean;
9
- /**
10
- * Required score for IELTS tests
11
- *
12
- * @return number
13
- */
14
- getIELTS(): number;
15
- canShowIELTS(): boolean;
16
- /**
17
- * Required score for PTE
18
- *
19
- * @return number
20
- */
21
- getPTE(): number;
22
- canShowPTE(): boolean;
23
- /**
24
- * Required score for TOEFL internet
25
- *
26
- * @return number
27
- */
28
- getTOEFLInternet(): number;
29
- canShowTOEFLInternet(): boolean;
30
- /**
31
- * Required score for TOEFL paper
32
- *
33
- * @return number
34
- */
35
- getTOEFLPaper(): number;
36
- canShowTOEFLPaper(): boolean;
37
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-english-requirements.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-english-requirements.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-english-requirements.ts"],"names":[],"mappings":""}
@@ -1,28 +0,0 @@
1
- export interface IInternalLink {
2
- /**
3
- * Get an optional text describing the link (typically <a>-tags contents).
4
- *
5
- * @return string
6
- * @throws PropertyNotAvailableException
7
- */
8
- getDescription(): string;
9
- canShowDescription(): boolean;
10
- /**
11
- * Returns on which portal a this link should link towards.
12
- *
13
- * @return string
14
- */
15
- getPortalType(): string;
16
- /**
17
- * Get the url to refer to.
18
- *
19
- * Note that the url provided is always a relative URL. A base URL is needed
20
- * to make it a full valid path.
21
- * The only exception is when an external link is provided (meaning, outside
22
- * of StudyPortals-maintained domains). In this case a full url will be
23
- * provided.
24
- *
25
- * @return string
26
- */
27
- getUrl(): string;
28
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-internal-link.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-internal-link.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-internal-link.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ILogo {
2
- /**
3
- * Get the file ID of the logo.
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get the imgix URL of the logo.
10
- *
11
- * @return string
12
- */
13
- getSource(): string;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-logo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-logo.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-logo.ts"],"names":[],"mappings":""}
@@ -1,50 +0,0 @@
1
- export interface ITuitionFee {
2
- /**
3
- * Get the tuition amount per unit in the provided currency.
4
- *
5
- * Note: all transformable units will be converted to yearly amounts. This
6
- * includes per semester and full programme tuition fees.
7
- *
8
- * @return number
9
- */
10
- getAmount(): number;
11
- /**
12
- * Get the applicable currency.
13
- *
14
- * @return string
15
- */
16
- getCurrency(): string;
17
- /**
18
- * Get the original tuition amount before any transformation step.
19
- *
20
- * @return number
21
- */
22
- getOriginalAmount(): number;
23
- /**
24
- * Get the original tuition unit before any transformation step.
25
- *
26
- * @return string
27
- */
28
- getOriginalUnit(): string;
29
- /**
30
- * Get targeted audience (national, international, eea, etc).
31
- *
32
- * @return string
33
- */
34
- getTarget(): string;
35
- /**
36
- * Get the unit the tuition fee applies for.
37
- *
38
- * Note: all transformable units will be converted to 'year'. This means
39
- * this value will be either 'year', 'module' or 'credit'.
40
- *
41
- * @return string
42
- */
43
- getUnit(): string;
44
- /**
45
- * True if the study is free for this target audience.
46
- *
47
- * @return boolean
48
- */
49
- isFree(): boolean;
50
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-tuition-fee.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/dotdigital-programme/i-tuition-fee.ts"],"names":[],"mappings":""}
@@ -1,28 +0,0 @@
1
- export interface IInternalLink {
2
- /**
3
- * Get an optional text describing the link (typically <a>-tags contents).
4
- *
5
- * @return string
6
- * @throws PropertyNotAvailableException
7
- */
8
- getDescription(): string;
9
- canShowDescription(): boolean;
10
- /**
11
- * Returns on which portal a this link should link towards.
12
- *
13
- * @return string
14
- */
15
- getPortalType(): string;
16
- /**
17
- * Get the url to refer to.
18
- *
19
- * Note that the url provided is always a relative URL. A base URL is needed
20
- * to make it a full valid path.
21
- * The only exception is when an external link is provided (meaning, outside
22
- * of StudyPortals-maintained domains). In this case a full url will be
23
- * provided.
24
- *
25
- * @return string
26
- */
27
- getUrl(): string;
28
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-internal-link.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-internal-link.js","sourceRoot":"","sources":["../../../../src/models/programme-card/i-internal-link.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export interface ILogo {
2
- /**
3
- * Get the file ID of the logo.
4
- *
5
- * @return number
6
- */
7
- getId(): number;
8
- /**
9
- * Get the imgix URL of the logo.
10
- *
11
- * @return string
12
- */
13
- getSource(): string;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-logo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-logo.js","sourceRoot":"","sources":["../../../../src/models/programme-card/i-logo.ts"],"names":[],"mappings":""}
@@ -1,50 +0,0 @@
1
- export interface ITuitionFee {
2
- /**
3
- * Get the tuition amount per unit in the provided currency.
4
- *
5
- * Note: all transformable units will be converted to yearly amounts. This
6
- * includes per semester and full programme tuition fees.
7
- *
8
- * @return number
9
- */
10
- getAmount(): number;
11
- /**
12
- * Get the applicable currency.
13
- *
14
- * @return string
15
- */
16
- getCurrency(): string;
17
- /**
18
- * Get the original tuition amount before any transformation step.
19
- *
20
- * @return number
21
- */
22
- getOriginalAmount(): number;
23
- /**
24
- * Get the original tuition unit before any transformation step.
25
- *
26
- * @return string
27
- */
28
- getOriginalUnit(): string;
29
- /**
30
- * Get targeted audience (national, international, eea, etc).
31
- *
32
- * @return string
33
- */
34
- getTarget(): string;
35
- /**
36
- * Get the unit the tuition fee applies for.
37
- *
38
- * Note: all transformable units will be converted to 'year'. This means
39
- * this value will be either 'year', 'module' or 'credit'.
40
- *
41
- * @return string
42
- */
43
- getUnit(): string;
44
- /**
45
- * True if the study is free for this target audience.
46
- *
47
- * @return boolean
48
- */
49
- isFree(): boolean;
50
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=i-tuition-fee.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i-tuition-fee.js","sourceRoot":"","sources":["../../../../src/models/programme-card/i-tuition-fee.ts"],"names":[],"mappings":""}