@studyportals/domain-client 6.1.1-beta.1 → 6.3.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.
- package/index.d.ts +3 -1
- package/index.js +2 -1
- package/package.json +50 -50
- package/src/models/city-search-document/city-search-document-client.d.ts +7 -0
- package/src/models/city-search-document/city-search-document-client.js +12 -0
- package/src/models/city-search-document/i-city-search-document.d.ts +7 -0
- package/src/models/city-search-document/i-city-search-document.js +1 -0
package/index.d.ts
CHANGED
|
@@ -71,6 +71,8 @@ import { PublicScholarshipCardClient } from "./src/models/scholarship-card/publi
|
|
|
71
71
|
import { ScholarshipCardV2Client } from "./src/models/scholarship-card/scholarship-card-v2-client";
|
|
72
72
|
import { IScholarshipSearchDocument } from "./src/models/scholarship-search-document/i-scholarship-search-document";
|
|
73
73
|
import { ScholarshipSearchDocumentClient } from "./src/models/scholarship-search-document/scholarship-search-document-client";
|
|
74
|
+
import { ICitySearchDocument } from "./src/models/city-search-document/i-city-search-document";
|
|
75
|
+
import { CitySearchDocumentClient } from "./src/models/city-search-document/city-search-document-client";
|
|
74
76
|
import { IRanking } from './src/models/ranking-cards/i-ranking';
|
|
75
77
|
import { PortalType } from "./src/types/portal-type";
|
|
76
78
|
import { PortalMap } from "./src/types/portal-map";
|
|
@@ -83,6 +85,6 @@ import { ICopilotCountry } from "./src/models/copilot-country/i-copilot-country"
|
|
|
83
85
|
import { CopilotCountryClient } from "./src/models/copilot-country/copilot-country-client";
|
|
84
86
|
import { ICopilotRankingCard } from "./src/models/copilot-country/i-copilot-ranking-card";
|
|
85
87
|
import { IReviewRating } from "./src/models/common/i-review-rating";
|
|
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, IScholarshipCard, PublicScholarshipCardClient, ScholarshipCardV2Client, IScholarshipSearchDocument, ScholarshipSearchDocumentClient, IRanking, PortalType, PortalMap, ModelClient, IOrganisationForSearch, PublicOrganisationForSearchClient, IOrganisationCard, IRankingDiscipline, OrganisationCardClient, ICopilotProgramme, ICopilotCountry, CopilotProgrammeClient, CopilotCountryClient, ICopilotRankingCard, IReviewRating };
|
|
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, IScholarshipCard, PublicScholarshipCardClient, ScholarshipCardV2Client, IScholarshipSearchDocument, ScholarshipSearchDocumentClient, ICitySearchDocument, CitySearchDocumentClient, IRanking, PortalType, PortalMap, ModelClient, IOrganisationForSearch, PublicOrganisationForSearchClient, IOrganisationCard, IRankingDiscipline, OrganisationCardClient, ICopilotProgramme, ICopilotCountry, CopilotProgrammeClient, CopilotCountryClient, ICopilotRankingCard, IReviewRating };
|
|
87
89
|
export * from './src/clients';
|
|
88
90
|
export * from './protobuf';
|
package/index.js
CHANGED
|
@@ -23,11 +23,12 @@ import { SitemapCitiesInfoClient } from "./src/models/sitemap-cities-info/sitema
|
|
|
23
23
|
import { PublicScholarshipCardClient } from "./src/models/scholarship-card/public-scholarship-card-client";
|
|
24
24
|
import { ScholarshipCardV2Client } from "./src/models/scholarship-card/scholarship-card-v2-client";
|
|
25
25
|
import { ScholarshipSearchDocumentClient } from "./src/models/scholarship-search-document/scholarship-search-document-client";
|
|
26
|
+
import { CitySearchDocumentClient } from "./src/models/city-search-document/city-search-document-client";
|
|
26
27
|
import { PortalType } from "./src/types/portal-type";
|
|
27
28
|
import { ModelClient } from "./src/model-client";
|
|
28
29
|
import { PublicOrganisationForSearchClient } from "./src/models/organisation-for-search/public-organisation-for-search-client";
|
|
29
30
|
import { CopilotProgrammeClient } from "./src/models/copilot-programme/copilot-programme-client";
|
|
30
31
|
import { CopilotCountryClient } from "./src/models/copilot-country/copilot-country-client";
|
|
31
|
-
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ProgrammeCardClient, SearchProjectionClient, BestfitProgrammeClient, CustomerIOProgrammeClient, PublicFaqStaticContentClient, SitemapProgrammeInfoClient, SitemapCountriesInfoClient, SitemapCountryDegreeInfoClient, PublicSearchDisciplineClient, SitemapDisciplinesInfoClient, CustomerIOOrganisationClient, SitemapOrganisationsInfoClient, OrganisationSearchDocumentClient, SitemapRankingsInfoClient, SitemapArticlesInfoClient, SitemapCitiesInfoClient, PublicScholarshipCardClient, ScholarshipCardV2Client, ScholarshipSearchDocumentClient, PortalType, ModelClient, PublicOrganisationForSearchClient, OrganisationCardClient, CopilotProgrammeClient, CopilotCountryClient };
|
|
32
|
+
export { BadRequestException, ClientException, InternalServerException, NotFoundException, PropertyNotAvailableException, ProgrammeCardClient, SearchProjectionClient, BestfitProgrammeClient, CustomerIOProgrammeClient, PublicFaqStaticContentClient, SitemapProgrammeInfoClient, SitemapCountriesInfoClient, SitemapCountryDegreeInfoClient, PublicSearchDisciplineClient, SitemapDisciplinesInfoClient, CustomerIOOrganisationClient, SitemapOrganisationsInfoClient, OrganisationSearchDocumentClient, SitemapRankingsInfoClient, SitemapArticlesInfoClient, SitemapCitiesInfoClient, PublicScholarshipCardClient, ScholarshipCardV2Client, ScholarshipSearchDocumentClient, CitySearchDocumentClient, PortalType, ModelClient, PublicOrganisationForSearchClient, OrganisationCardClient, CopilotProgrammeClient, CopilotCountryClient };
|
|
32
33
|
export * from './src/clients';
|
|
33
34
|
export * from './protobuf';
|
package/package.json
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@studyportals/domain-client",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"description": "Responsible for fetching data from the Domain API",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"author": "StudyPortals B.V.",
|
|
7
|
-
"sideEffects": false,
|
|
8
|
-
"contributors": [
|
|
9
|
-
"braaibander <danny@studyportals.com>"
|
|
10
|
-
],
|
|
11
|
-
"license": "BSD-3-Clause",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsc",
|
|
14
|
-
"test": "vitest run",
|
|
15
|
-
"test:watch": "vitest",
|
|
16
|
-
"coverage": "vitest run --coverage",
|
|
17
|
-
"lint": "eslint . --ext .ts --max-warnings=0",
|
|
18
|
-
"lint:fix": "eslint . --ext .ts --fix",
|
|
19
|
-
"pre-push": "npm run test && npm run coverage && npm run lint",
|
|
20
|
-
"prepare-dist": "npm run test && rm -fR bin && npx tsc && cp package.json bin/package.json && rm -fR bin/tests",
|
|
21
|
-
"publish-beta": "npm
|
|
22
|
-
"publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
|
|
23
|
-
"publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
|
|
24
|
-
"publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
|
|
25
|
-
"publish-current": "npm run prepare-dist && npm publish ./bin"
|
|
26
|
-
},
|
|
27
|
-
"husky": {
|
|
28
|
-
"hooks": {
|
|
29
|
-
"pre-push": "npm run pre-push"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"@studyportals/code-style": "^2.0.4",
|
|
34
|
-
"@types/node": "^24.2.1",
|
|
35
|
-
"@types/reflect-metadata": "^0.1.0",
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
|
37
|
-
"@typescript-eslint/parser": "^4.8.1",
|
|
38
|
-
"@vitest/coverage-v8": "^3.2.4",
|
|
39
|
-
"eslint": "^7.13.0",
|
|
40
|
-
"eslint-plugin-import": "^2.22.1",
|
|
41
|
-
"eslint-plugin-mocha": "^10.1.0",
|
|
42
|
-
"husky": "^4.3.0",
|
|
43
|
-
"nyc": "^15.1.0",
|
|
44
|
-
"source-map-support": "^0.5.19",
|
|
45
|
-
"tslint": "^6.1.3",
|
|
46
|
-
"typemoq": "^2.1.0",
|
|
47
|
-
"typescript": "^5.9.2",
|
|
48
|
-
"vitest": "^3.2.4"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@studyportals/domain-client",
|
|
3
|
+
"version": "6.3.0-beta.0",
|
|
4
|
+
"description": "Responsible for fetching data from the Domain API",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"author": "StudyPortals B.V.",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"contributors": [
|
|
9
|
+
"braaibander <danny@studyportals.com>"
|
|
10
|
+
],
|
|
11
|
+
"license": "BSD-3-Clause",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"build": "tsc",
|
|
14
|
+
"test": "vitest run",
|
|
15
|
+
"test:watch": "vitest",
|
|
16
|
+
"coverage": "vitest run --coverage",
|
|
17
|
+
"lint": "eslint . --ext .ts --max-warnings=0",
|
|
18
|
+
"lint:fix": "eslint . --ext .ts --fix",
|
|
19
|
+
"pre-push": "npm run test && npm run coverage && npm run lint",
|
|
20
|
+
"prepare-dist": "npm run test && rm -fR bin && npx tsc && cp package.json bin/package.json && rm -fR bin/tests",
|
|
21
|
+
"publish-beta": "npm run prepare-dist && npm publish ./bin --tag beta",
|
|
22
|
+
"publish-major": "npm version major && npm run prepare-dist && npm publish ./bin",
|
|
23
|
+
"publish-minor": "npm version minor && npm run prepare-dist && npm publish ./bin",
|
|
24
|
+
"publish-patch": "npm version patch && npm run prepare-dist && npm publish ./bin",
|
|
25
|
+
"publish-current": "npm run prepare-dist && npm publish ./bin"
|
|
26
|
+
},
|
|
27
|
+
"husky": {
|
|
28
|
+
"hooks": {
|
|
29
|
+
"pre-push": "npm run pre-push"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"@studyportals/code-style": "^2.0.4",
|
|
34
|
+
"@types/node": "^24.2.1",
|
|
35
|
+
"@types/reflect-metadata": "^0.1.0",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^4.8.1",
|
|
37
|
+
"@typescript-eslint/parser": "^4.8.1",
|
|
38
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
39
|
+
"eslint": "^7.13.0",
|
|
40
|
+
"eslint-plugin-import": "^2.22.1",
|
|
41
|
+
"eslint-plugin-mocha": "^10.1.0",
|
|
42
|
+
"husky": "^4.3.0",
|
|
43
|
+
"nyc": "^15.1.0",
|
|
44
|
+
"source-map-support": "^0.5.19",
|
|
45
|
+
"tslint": "^6.1.3",
|
|
46
|
+
"typemoq": "^2.1.0",
|
|
47
|
+
"typescript": "^5.9.2",
|
|
48
|
+
"vitest": "^3.2.4"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ModelClient } from "../../model-client";
|
|
2
|
+
import { ICitySearchDocument } from "../../..";
|
|
3
|
+
export declare class CitySearchDocumentClient extends ModelClient<ICitySearchDocument> {
|
|
4
|
+
protected getModelName(): string;
|
|
5
|
+
protected getVersion(): string;
|
|
6
|
+
isPublic(): boolean;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|