@studyportals/domain-client
Advanced tools
Comparing version 3.3.0-beta.0 to 3.3.0-beta.1
@@ -16,2 +16,6 @@ import { BadRequestException } from "./src/exceptions/bad-request-exception"; | ||
import { IDuration } from "./src/models/programme-card/i-duration"; | ||
import { IDeadline } from "./src/models/programme-card/i-deadline"; | ||
import { IStartDate } from "./src/models/programme-card/i-start-date"; | ||
import { ITiming } from "./src/models/programme-card/i-timing"; | ||
import { ITrackedLink } from "./src/models/programme-card/i-tracked-link"; | ||
import { IProgrammeCard } from "./src/models/programme-card/i-programme-card"; | ||
@@ -28,2 +32,2 @@ import { ProgrammeCardClient } from "./src/models/programme-card/programme-card-client"; | ||
import { SearchCountryFaqClient } from "./src/models/search-country-faq/search-country-faq-client"; | ||
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, IInternalLink, ILogo, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, ITuitionFee, IDuration, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ISearchCountryFaq, SearchCountryFaqClient }; | ||
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, IInternalLink, ILogo, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, ITuitionFee, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ISearchCountryFaq, SearchCountryFaqClient }; |
{ | ||
"name": "@studyportals/domain-client", | ||
"version": "3.3.0-beta.0", | ||
"version": "3.3.0-beta.1", | ||
"description": "Responsible for fetching data from the Domain API", | ||
@@ -17,6 +17,6 @@ "main": "bin/index.js", | ||
"prepare-dist": "npm run test && rm -fR bin && npx tsc && cp package.json bin/package.json && rm -fR bin/tests", | ||
"publish-beta": "npm run prepare-dist && npm version prerelease --preid=beta && npm publish bin --tag beta", | ||
"publish-major": "npm run prepare-dist && npm version major && npm publish bin", | ||
"publish-minor": "npm run prepare-dist && npm version minor && npm publish bin", | ||
"publish-patch": "npm run prepare-dist && npm version patch && npm publish bin", | ||
"publish-beta": "npm version prerelease --preid=beta && npm run prepare-dist && npm publish bin --tag beta", | ||
"publish-major": "npm version major && npm run prepare-dist && npm publish bin", | ||
"publish-minor": " npm version minor && npm run prepare-dist &&npm publish bin", | ||
"publish-patch": " npm version patch && npm run prepare-dist && npm publish bin", | ||
"publish-current": "npm run prepare-dist && npm publish bin" | ||
@@ -23,0 +23,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
import { ICover, IDuration, IInternalLink, ILink, ILocation, ILogo, ITracking, ITuitionFee } from "../../.."; | ||
import { ICover, IDuration, IInternalLink, ILink, ILocation, ILogo, ITiming, ITrackedLink, ITracking, ITuitionFee } from "../../.."; | ||
export interface IProgrammeCard { | ||
@@ -68,2 +68,9 @@ /** | ||
/** | ||
* Get programme's referral link | ||
* | ||
* @return ITrackedLink | ||
*/ | ||
getReferralLink(): ITrackedLink; | ||
canShowReferralLink(): boolean; | ||
/** | ||
* Get the summary of the programme. | ||
@@ -75,2 +82,9 @@ * | ||
/** | ||
* Get all start dates | ||
* | ||
* @return ITiming[] | ||
*/ | ||
getTimings(): ITiming[]; | ||
canShowTimings(): boolean; | ||
/** | ||
* Get the programme title. | ||
@@ -77,0 +91,0 @@ * |
@@ -9,2 +9,6 @@ export interface ISearchCountryFaq { | ||
*/ | ||
getName(): string; | ||
/** | ||
* @return string | ||
*/ | ||
getRankingCountryLink(): string; | ||
@@ -11,0 +15,0 @@ /** |
Sorry, the diff of this file is not supported yet
59537
124
1363