@studyportals/domain-client 7.6.9 → 8.0.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/index.d.ts +1 -3
- package/index.js +1 -2
- package/package.json +68 -68
- package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +2 -2
- package/src/models/scholarship-card/i-scholarship-card.d.ts +0 -15
- package/src/models/scholarship-card/i-scholarship-card.js +0 -1
- package/src/models/scholarship-card/public-scholarship-card-client.d.ts +0 -7
- package/src/models/scholarship-card/public-scholarship-card-client.js +0 -12
package/index.d.ts
CHANGED
|
@@ -66,8 +66,6 @@ import { ISitemapArticleInfo } from "./src/models/sitemap-articles-info/i-sitema
|
|
|
66
66
|
import { SitemapArticlesInfoClient } from "./src/models/sitemap-articles-info/sitemap-articles-info-client.js";
|
|
67
67
|
import { ISitemapCityInfo } from "./src/models/sitemap-cities-info/i-sitemap-city-info.js";
|
|
68
68
|
import { SitemapCitiesInfoClient } from "./src/models/sitemap-cities-info/sitemap-cities-info-client.js";
|
|
69
|
-
import { IScholarshipCard } from "./src/models/scholarship-card/i-scholarship-card.js";
|
|
70
|
-
import { PublicScholarshipCardClient } from "./src/models/scholarship-card/public-scholarship-card-client.js";
|
|
71
69
|
import { ScholarshipCardV2Client } from "./src/models/scholarship-card/scholarship-card-v2-client.js";
|
|
72
70
|
import { IScholarshipSearchDocument } from "./src/models/scholarship-search-document/i-scholarship-search-document.js";
|
|
73
71
|
import { ScholarshipSearchDocumentClient } from "./src/models/scholarship-search-document/scholarship-search-document-client.js";
|
|
@@ -85,6 +83,6 @@ import { ICopilotCountry } from "./src/models/copilot-country/i-copilot-country.
|
|
|
85
83
|
import { CopilotCountryClient } from "./src/models/copilot-country/copilot-country-client.js";
|
|
86
84
|
import { ICopilotRankingCard } from "./src/models/copilot-country/i-copilot-ranking-card.js";
|
|
87
85
|
import { IReviewRating } from "./src/models/common/i-review-rating.js";
|
|
88
|
-
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ILogo, ITuitionFee, IEnglishRequirements, IInternalLink, ICustomerIOProgramme, CustomerIOProgrammeClient, IFaqStaticContent, PublicFaqStaticContentClient, IFaq, IStaticContentUrl, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISitemapCountryInfo, SitemapCountriesInfoClient, IDegreeInfo, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, ICustomerIOOrganisation, CustomerIOOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, IOrganisationSearchDocument, OrganisationSearchDocumentClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient,
|
|
86
|
+
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ICover, ILink, IOptionalLink, ILocation, IClickTrackingData, ITracking, IDuration, IDeadline, IStartDate, ITiming, ITrackedLink, IProgrammeCard, ProgrammeCardClient, ITuitionValues, IPremiumValues, IOrganisationValues, IGeoTargetingConfiguration, IGeoTargetingValues, ISearchProjection, SearchProjectionClient, ILivingCost, IGPARequirement, IBestFitProgramme, BestfitProgrammeClient, ILogo, ITuitionFee, IEnglishRequirements, IInternalLink, ICustomerIOProgramme, CustomerIOProgrammeClient, IFaqStaticContent, PublicFaqStaticContentClient, IFaq, IStaticContentUrl, ISitemapProgrammeInfo, SitemapProgrammeInfoClient, ISitemapCountryInfo, SitemapCountriesInfoClient, IDegreeInfo, ISitemapCountryDegreeInfo, SitemapCountryDegreeInfoClient, ISearchDiscipline, PublicSearchDisciplineClient, ISitemapDisciplineInfo, SitemapDisciplinesInfoClient, ICountry, ICity, IReview, ICustomerIOOrganisation, CustomerIOOrganisationClient, ISitemapOrganisationInfo, SitemapOrganisationsInfoClient, IOrganisationSearchDocument, OrganisationSearchDocumentClient, ISitemapRankingsInfo, SitemapRankingsInfoClient, ISitemapArticleInfo, SitemapArticlesInfoClient, ISitemapCityInfo, SitemapCitiesInfoClient, ScholarshipCardV2Client, IScholarshipSearchDocument, ScholarshipSearchDocumentClient, ICitySearchDocument, CitySearchDocumentClient, IRanking, PortalType, PortalMap, ModelClient, IOrganisationForSearch, PublicOrganisationForSearchClient, IOrganisationCard, IRankingDiscipline, OrganisationCardClient, ICopilotProgramme, ICopilotCountry, CopilotProgrammeClient, CopilotCountryClient, ICopilotRankingCard, IReviewRating };
|
|
89
87
|
export * from './src/clients/index.js';
|
|
90
88
|
export * from './protobuf/index.js';
|
package/index.js
CHANGED
|
@@ -20,7 +20,6 @@ import { OrganisationSearchDocumentClient } from "./src/models/organisation-sear
|
|
|
20
20
|
import { SitemapRankingsInfoClient } from "./src/models/sitemap-rankings-info/sitemap-rankings-info-client.js";
|
|
21
21
|
import { SitemapArticlesInfoClient } from "./src/models/sitemap-articles-info/sitemap-articles-info-client.js";
|
|
22
22
|
import { SitemapCitiesInfoClient } from "./src/models/sitemap-cities-info/sitemap-cities-info-client.js";
|
|
23
|
-
import { PublicScholarshipCardClient } from "./src/models/scholarship-card/public-scholarship-card-client.js";
|
|
24
23
|
import { ScholarshipCardV2Client } from "./src/models/scholarship-card/scholarship-card-v2-client.js";
|
|
25
24
|
import { ScholarshipSearchDocumentClient } from "./src/models/scholarship-search-document/scholarship-search-document-client.js";
|
|
26
25
|
import { CitySearchDocumentClient } from "./src/models/city-search-document/city-search-document-client.js";
|
|
@@ -29,6 +28,6 @@ import { ModelClient } from "./src/model-client.js";
|
|
|
29
28
|
import { PublicOrganisationForSearchClient } from "./src/models/organisation-for-search/public-organisation-for-search-client.js";
|
|
30
29
|
import { CopilotProgrammeClient } from "./src/models/copilot-programme/copilot-programme-client.js";
|
|
31
30
|
import { CopilotCountryClient } from "./src/models/copilot-country/copilot-country-client.js";
|
|
32
|
-
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ProgrammeCardClient, SearchProjectionClient, BestfitProgrammeClient, CustomerIOProgrammeClient, PublicFaqStaticContentClient, SitemapProgrammeInfoClient, SitemapCountriesInfoClient, SitemapCountryDegreeInfoClient, PublicSearchDisciplineClient, SitemapDisciplinesInfoClient, CustomerIOOrganisationClient, SitemapOrganisationsInfoClient, OrganisationSearchDocumentClient, SitemapRankingsInfoClient, SitemapArticlesInfoClient, SitemapCitiesInfoClient,
|
|
31
|
+
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ProgrammeCardClient, SearchProjectionClient, BestfitProgrammeClient, CustomerIOProgrammeClient, PublicFaqStaticContentClient, SitemapProgrammeInfoClient, SitemapCountriesInfoClient, SitemapCountryDegreeInfoClient, PublicSearchDisciplineClient, SitemapDisciplinesInfoClient, CustomerIOOrganisationClient, SitemapOrganisationsInfoClient, OrganisationSearchDocumentClient, SitemapRankingsInfoClient, SitemapArticlesInfoClient, SitemapCitiesInfoClient, ScholarshipCardV2Client, ScholarshipSearchDocumentClient, CitySearchDocumentClient, PortalType, ModelClient, PublicOrganisationForSearchClient, OrganisationCardClient, CopilotProgrammeClient, CopilotCountryClient };
|
|
33
32
|
export * from './src/clients/index.js';
|
|
34
33
|
export * from './protobuf/index.js';
|
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@studyportals/domain-client",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Responsible for fetching data from the Domain API",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "index.js",
|
|
7
|
-
"module": "index.js",
|
|
8
|
-
"types": "index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"types": "./index.d.ts",
|
|
12
|
-
"require": "./index.js",
|
|
13
|
-
"import": "./index.js",
|
|
14
|
-
"default": "./index.js"
|
|
15
|
-
},
|
|
16
|
-
"./protobuf": {
|
|
17
|
-
"types": "./protobuf/index.d.ts",
|
|
18
|
-
"require": "./protobuf/index.js",
|
|
19
|
-
"import": "./protobuf/index.js",
|
|
20
|
-
"default": "./protobuf/index.js"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"author": "StudyPortals B.V.",
|
|
24
|
-
"sideEffects": false,
|
|
25
|
-
"contributors": [
|
|
26
|
-
"braaibander <danny@studyportals.com>"
|
|
27
|
-
],
|
|
28
|
-
"license": "BSD-3-Clause",
|
|
29
|
-
"scripts": {
|
|
30
|
-
"build": "tsc",
|
|
31
|
-
"test": "vitest run",
|
|
32
|
-
"test:watch": "vitest",
|
|
33
|
-
"coverage": "vitest run --coverage",
|
|
34
|
-
"lint": "eslint . --ext .ts --max-warnings=0",
|
|
35
|
-
"lint:fix": "eslint . --ext .ts --fix",
|
|
36
|
-
"pre-push": "npm run test && npm run coverage && npm run lint",
|
|
37
|
-
"prepare-dist": "npm run test && rm -fR bin && npx tsc && npx tsc-alias -p tsconfig.json --outDir bin -f && cp package.json bin/package.json && rm -fR bin/tests",
|
|
38
|
-
"publish-beta": "npm version prerelease --preid=beta && npm run prepare-dist && npm publish ./bin --tag beta",
|
|
39
|
-
"publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
|
|
40
|
-
"publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
|
|
41
|
-
"publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
|
|
42
|
-
"publish-current": "npm run prepare-dist && npm publish ./bin"
|
|
43
|
-
},
|
|
44
|
-
"husky": {
|
|
45
|
-
"hooks": {
|
|
46
|
-
"pre-push": "npm run pre-push"
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@studyportals/code-style": "^2.0.4",
|
|
51
|
-
"@types/node": "^24.2.1",
|
|
52
|
-
"@types/reflect-metadata": "^0.1.0",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
|
54
|
-
"@typescript-eslint/parser": "^4.8.1",
|
|
55
|
-
"@vitest/coverage-v8": "^3.2.4",
|
|
56
|
-
"eslint": "^7.13.0",
|
|
57
|
-
"eslint-plugin-import": "^2.22.1",
|
|
58
|
-
"eslint-plugin-mocha": "^10.1.0",
|
|
59
|
-
"husky": "^4.3.0",
|
|
60
|
-
"nyc": "^15.1.0",
|
|
61
|
-
"source-map-support": "^0.5.19",
|
|
62
|
-
"tsc-alias": "^1.8.16",
|
|
63
|
-
"tslint": "^6.1.3",
|
|
64
|
-
"typemoq": "^2.1.0",
|
|
65
|
-
"typescript": "^5.9.2",
|
|
66
|
-
"vitest": "^3.2.4"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@studyportals/domain-client",
|
|
3
|
+
"version": "8.0.0",
|
|
4
|
+
"description": "Responsible for fetching data from the Domain API",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"module": "index.js",
|
|
8
|
+
"types": "index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./index.d.ts",
|
|
12
|
+
"require": "./index.js",
|
|
13
|
+
"import": "./index.js",
|
|
14
|
+
"default": "./index.js"
|
|
15
|
+
},
|
|
16
|
+
"./protobuf": {
|
|
17
|
+
"types": "./protobuf/index.d.ts",
|
|
18
|
+
"require": "./protobuf/index.js",
|
|
19
|
+
"import": "./protobuf/index.js",
|
|
20
|
+
"default": "./protobuf/index.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"author": "StudyPortals B.V.",
|
|
24
|
+
"sideEffects": false,
|
|
25
|
+
"contributors": [
|
|
26
|
+
"braaibander <danny@studyportals.com>"
|
|
27
|
+
],
|
|
28
|
+
"license": "BSD-3-Clause",
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "tsc",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"test:watch": "vitest",
|
|
33
|
+
"coverage": "vitest run --coverage",
|
|
34
|
+
"lint": "eslint . --ext .ts --max-warnings=0",
|
|
35
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
36
|
+
"pre-push": "npm run test && npm run coverage && npm run lint",
|
|
37
|
+
"prepare-dist": "npm run test && rm -fR bin && npx tsc && npx tsc-alias -p tsconfig.json --outDir bin -f && cp package.json bin/package.json && rm -fR bin/tests",
|
|
38
|
+
"publish-beta": "npm version prerelease --preid=beta && npm run prepare-dist && npm publish ./bin --tag beta",
|
|
39
|
+
"publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
|
|
40
|
+
"publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
|
|
41
|
+
"publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
|
|
42
|
+
"publish-current": "npm run prepare-dist && npm publish ./bin"
|
|
43
|
+
},
|
|
44
|
+
"husky": {
|
|
45
|
+
"hooks": {
|
|
46
|
+
"pre-push": "npm run pre-push"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@studyportals/code-style": "^2.0.4",
|
|
51
|
+
"@types/node": "^24.2.1",
|
|
52
|
+
"@types/reflect-metadata": "^0.1.0",
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
|
54
|
+
"@typescript-eslint/parser": "^4.8.1",
|
|
55
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
56
|
+
"eslint": "^7.13.0",
|
|
57
|
+
"eslint-plugin-import": "^2.22.1",
|
|
58
|
+
"eslint-plugin-mocha": "^10.1.0",
|
|
59
|
+
"husky": "^4.3.0",
|
|
60
|
+
"nyc": "^15.1.0",
|
|
61
|
+
"source-map-support": "^0.5.19",
|
|
62
|
+
"tsc-alias": "^1.8.16",
|
|
63
|
+
"tslint": "^6.1.3",
|
|
64
|
+
"typemoq": "^2.1.0",
|
|
65
|
+
"typescript": "^5.9.2",
|
|
66
|
+
"vitest": "^3.2.4"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IScholarshipCardV2 } from "./i-scholarship-card-v2.js";
|
|
2
2
|
import { ModelClient } from "../../model-client.js";
|
|
3
|
-
export declare class ScholarshipCardV2Client extends ModelClient<
|
|
3
|
+
export declare class ScholarshipCardV2Client extends ModelClient<IScholarshipCardV2> {
|
|
4
4
|
protected getModelName(): string;
|
|
5
5
|
protected getVersion(): string;
|
|
6
6
|
isPublic(): boolean;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export interface IScholarshipCard {
|
|
2
|
-
getDescriptionOfApplicationBasis(): string | null;
|
|
3
|
-
getDescriptionOfBenefits(): string | null;
|
|
4
|
-
getDescriptionOfDeadline(): string;
|
|
5
|
-
getDescriptionOfDestinationCountryRestrictions(): string;
|
|
6
|
-
getDescriptionOfProviderLocation(): string | null;
|
|
7
|
-
getIsNotSpecifiedDeadline(): boolean;
|
|
8
|
-
getProviderId(): string | null;
|
|
9
|
-
getProviderIsUniversity(): boolean;
|
|
10
|
-
getProviderLogoSquareCdn(): string | null;
|
|
11
|
-
getProviderName(): string;
|
|
12
|
-
getScholarshipId(): string;
|
|
13
|
-
getScholarshipTitle(): string;
|
|
14
|
-
getScholarshipVirtualName(): string;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IScholarshipCard } from "../../../index.js";
|
|
2
|
-
import { ModelClient } from "../../model-client.js";
|
|
3
|
-
export declare class PublicScholarshipCardClient extends ModelClient<IScholarshipCard> {
|
|
4
|
-
protected getModelName(): string;
|
|
5
|
-
protected getVersion(): string;
|
|
6
|
-
isPublic(): boolean;
|
|
7
|
-
}
|