@studyportals/domain-client 7.0.1-beta.5 → 7.1.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 +90 -0
- package/index.js +81 -34
- package/package.json +66 -55
- package/protobuf/Area.d.ts +11 -0
- package/protobuf/Area.js +33 -0
- package/protobuf/Article.d.ts +60 -0
- package/protobuf/Article.js +229 -0
- package/protobuf/Body.d.ts +11 -0
- package/protobuf/Body.js +33 -0
- package/protobuf/CampaignInformation.d.ts +11 -0
- package/protobuf/CampaignInformation.js +33 -0
- package/protobuf/ClickTracking.d.ts +11 -0
- package/protobuf/ClickTracking.js +33 -0
- package/protobuf/CommercialEntity.d.ts +14 -0
- package/protobuf/CommercialEntity.js +51 -0
- package/protobuf/Cover.d.ts +10 -0
- package/protobuf/Cover.js +29 -0
- package/protobuf/Deadline.d.ts +11 -0
- package/protobuf/Deadline.js +33 -0
- package/protobuf/Degree.d.ts +16 -0
- package/protobuf/Degree.js +53 -0
- package/protobuf/Description.d.ts +16 -0
- package/protobuf/Description.js +48 -0
- package/protobuf/Discipline.d.ts +26 -0
- package/protobuf/Discipline.js +87 -0
- package/protobuf/Duration.d.ts +11 -0
- package/protobuf/Duration.js +33 -0
- package/protobuf/EnglishRequirement.d.ts +11 -0
- package/protobuf/EnglishRequirement.js +33 -0
- package/protobuf/EssentialInformation.d.ts +17 -0
- package/protobuf/EssentialInformation.js +57 -0
- package/protobuf/File.d.ts +22 -0
- package/protobuf/File.js +77 -0
- package/protobuf/GPARequirement.d.ts +11 -0
- package/protobuf/GPARequirement.js +33 -0
- package/protobuf/InternalLink.d.ts +12 -0
- package/protobuf/InternalLink.js +33 -0
- package/protobuf/Link.d.ts +11 -0
- package/protobuf/Link.js +33 -0
- package/protobuf/LivingCost.d.ts +11 -0
- package/protobuf/LivingCost.js +33 -0
- package/protobuf/Location.d.ts +18 -0
- package/protobuf/Location.js +59 -0
- package/protobuf/Logo.d.ts +10 -0
- package/protobuf/Logo.js +29 -0
- package/protobuf/MiniProgrammeCard.d.ts +18 -0
- package/protobuf/MiniProgrammeCard.js +53 -0
- package/protobuf/OptionalLink.d.ts +12 -0
- package/protobuf/OptionalLink.js +37 -0
- package/protobuf/Organisation.d.ts +211 -0
- package/protobuf/Organisation.js +856 -0
- package/protobuf/OrganisationInformation.d.ts +9 -0
- package/protobuf/OrganisationInformation.js +23 -0
- package/protobuf/OrganisationRanking.d.ts +15 -0
- package/protobuf/OrganisationRanking.js +44 -0
- package/protobuf/Person.d.ts +14 -0
- package/protobuf/Person.js +43 -0
- package/protobuf/ProgrammeCard.d.ts +60 -0
- package/protobuf/ProgrammeCard.js +200 -0
- package/protobuf/ProgrammeGrid.d.ts +14 -0
- package/protobuf/ProgrammeGrid.js +40 -0
- package/protobuf/Ranking.d.ts +22 -0
- package/protobuf/Ranking.js +79 -0
- package/protobuf/RankingInstitute.d.ts +15 -0
- package/protobuf/RankingInstitute.js +47 -0
- package/protobuf/Review.d.ts +17 -0
- package/protobuf/Review.js +55 -0
- package/protobuf/ReviewRating.d.ts +12 -0
- package/protobuf/ReviewRating.js +37 -0
- package/protobuf/RichText.d.ts +10 -0
- package/protobuf/RichText.js +31 -0
- package/protobuf/SocialLink.d.ts +21 -0
- package/protobuf/SocialLink.js +73 -0
- package/protobuf/StartDate.d.ts +13 -0
- package/protobuf/StartDate.js +41 -0
- package/protobuf/Timing.d.ts +17 -0
- package/protobuf/Timing.js +52 -0
- package/protobuf/Topic.d.ts +10 -0
- package/protobuf/Topic.js +29 -0
- package/protobuf/TrackedLink.d.ts +13 -0
- package/protobuf/TrackedLink.js +39 -0
- package/protobuf/Tracking.d.ts +18 -0
- package/protobuf/Tracking.js +61 -0
- package/protobuf/TuitionFee.d.ts +13 -0
- package/protobuf/TuitionFee.js +41 -0
- package/protobuf/Unibuddy.d.ts +10 -0
- package/protobuf/Unibuddy.js +29 -0
- package/protobuf/index.d.ts +45 -0
- package/protobuf/index.js +61 -0
- package/src/clients/article-detail-page-client.d.ts +8 -0
- package/src/clients/article-detail-page-client.js +20 -0
- package/src/clients/index.d.ts +7 -0
- package/src/clients/index.js +23 -0
- package/src/clients/organisation-page-client.d.ts +8 -0
- package/src/clients/organisation-page-client.js +20 -0
- package/src/clients/protobuf-client.d.ts +14 -0
- package/src/clients/protobuf-client.js +30 -0
- package/src/clients/public-mini-programme-card-client.d.ts +8 -0
- package/src/clients/public-mini-programme-card-client.js +20 -0
- package/src/domain-client.d.ts +14 -0
- package/src/domain-client.js +95 -0
- package/src/exceptions/bad-request-exception.d.ts +2 -0
- package/src/exceptions/bad-request-exception.js +6 -0
- package/src/exceptions/client-exception.d.ts +2 -0
- package/src/exceptions/client-exception.js +6 -0
- package/src/exceptions/internal-server-exception.d.ts +2 -0
- package/src/exceptions/internal-server-exception.js +6 -0
- package/src/exceptions/not-found-exception.d.ts +2 -0
- package/src/exceptions/not-found-exception.js +6 -0
- package/src/exceptions/property-not-available-exception.d.ts +2 -0
- package/src/exceptions/property-not-available-exception.js +6 -0
- package/src/factories/DateFactory.d.ts +5 -0
- package/src/factories/DateFactory.js +9 -0
- package/src/factories/InternalLinkFactory.d.ts +9 -0
- package/src/factories/InternalLinkFactory.js +26 -0
- package/src/i-api-response.d.ts +6 -0
- package/src/i-api-response.js +2 -0
- package/src/i-class-factory.d.ts +4 -0
- package/src/i-class-factory.js +2 -0
- package/src/i-model-description.d.ts +7 -0
- package/src/i-model-description.js +8 -0
- package/src/model-client.d.ts +16 -0
- package/src/model-client.js +47 -0
- package/src/model-factory.d.ts +11 -0
- package/src/model-factory.js +72 -0
- package/src/models/bestfit-programme/bestfit-programme-client.d.ts +7 -0
- package/src/models/bestfit-programme/bestfit-programme-client.js +16 -0
- package/src/models/bestfit-programme/i-best-fit-programme.d.ts +82 -0
- package/src/models/bestfit-programme/i-best-fit-programme.js +2 -0
- package/src/models/bestfit-programme/i-city.d.ts +14 -0
- package/src/models/bestfit-programme/i-city.js +2 -0
- package/src/models/bestfit-programme/i-living-cost.d.ts +20 -0
- package/src/models/bestfit-programme/i-living-cost.js +2 -0
- 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 +16 -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 +2 -0
- package/src/models/common/i-city.d.ts +14 -0
- package/src/models/common/i-city.js +2 -0
- package/src/models/common/i-country.d.ts +20 -0
- package/src/models/common/i-country.js +2 -0
- package/src/models/common/i-english-requirements.d.ts +51 -0
- package/src/models/common/i-english-requirements.js +2 -0
- package/src/models/common/i-g-p-a-requirement.d.ts +20 -0
- package/src/models/common/i-g-p-a-requirement.js +2 -0
- package/src/models/common/i-internal-link.d.ts +28 -0
- package/src/models/common/i-internal-link.js +2 -0
- package/src/models/common/i-logo.d.ts +14 -0
- package/src/models/common/i-logo.js +2 -0
- package/src/models/common/i-review-rating.d.ts +26 -0
- package/src/models/common/i-review-rating.js +2 -0
- package/src/models/common/i-tuition-fee.d.ts +50 -0
- package/src/models/common/i-tuition-fee.js +2 -0
- package/src/models/copilot-country/copilot-country-client.d.ts +7 -0
- package/src/models/copilot-country/copilot-country-client.js +16 -0
- package/src/models/copilot-country/i-copilot-country.d.ts +39 -0
- package/src/models/copilot-country/i-copilot-country.js +2 -0
- package/src/models/copilot-country/i-copilot-ranking-card.d.ts +38 -0
- package/src/models/copilot-country/i-copilot-ranking-card.js +2 -0
- package/src/models/copilot-programme/copilot-programme-client.d.ts +7 -0
- package/src/models/copilot-programme/copilot-programme-client.js +16 -0
- package/src/models/copilot-programme/i-copilot-programme.d.ts +125 -0
- package/src/models/copilot-programme/i-copilot-programme.js +2 -0
- package/src/models/customerio-organisation/customerio-organisation-client.d.ts +7 -0
- package/src/models/customerio-organisation/customerio-organisation-client.js +16 -0
- package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +35 -0
- package/src/models/customerio-organisation/i-customer-io-organisation.js +2 -0
- package/src/models/customerio-organisation/i-review.d.ts +7 -0
- package/src/models/customerio-organisation/i-review.js +2 -0
- package/src/models/customerio-programme/customerio-programme-client.d.ts +7 -0
- package/src/models/customerio-programme/customerio-programme-client.js +16 -0
- package/src/models/customerio-programme/i-customer-io-programme.d.ts +107 -0
- package/src/models/customerio-programme/i-customer-io-programme.js +2 -0
- package/src/models/customerio-programme/i-internal-link.d.ts +28 -0
- package/src/models/customerio-programme/i-internal-link.js +2 -0
- package/src/models/faq-static-content/i-faq-static-content.d.ts +10 -0
- package/src/models/faq-static-content/i-faq-static-content.js +2 -0
- package/src/models/faq-static-content/i-faq.d.ts +4 -0
- package/src/models/faq-static-content/i-faq.js +2 -0
- package/src/models/faq-static-content/i-static-content-url.d.ts +4 -0
- package/src/models/faq-static-content/i-static-content-url.js +2 -0
- package/src/models/faq-static-content/i-static-content.d.ts +5 -0
- package/src/models/faq-static-content/i-static-content.js +2 -0
- package/src/models/faq-static-content/public-faq-static-content-client.d.ts +7 -0
- package/src/models/faq-static-content/public-faq-static-content-client.js +16 -0
- package/src/models/organisation-card/i-organisation-card.d.ts +39 -0
- package/src/models/organisation-card/i-organisation-card.js +2 -0
- package/src/models/organisation-card/i-ranking-discipline.d.ts +4 -0
- package/src/models/organisation-card/i-ranking-discipline.js +2 -0
- package/src/models/organisation-card/organisation-card-client.d.ts +7 -0
- package/src/models/organisation-card/organisation-card-client.js +16 -0
- package/src/models/organisation-for-search/i-organisation-for-search.d.ts +32 -0
- package/src/models/organisation-for-search/i-organisation-for-search.js +2 -0
- package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +7 -0
- package/src/models/organisation-for-search/public-organisation-for-search-client.js +16 -0
- package/src/models/organisation-search-document/i-organisation-search-document.d.ts +158 -0
- package/src/models/organisation-search-document/i-organisation-search-document.js +2 -0
- package/src/models/organisation-search-document/organisation-search-document-client.d.ts +7 -0
- package/src/models/organisation-search-document/organisation-search-document-client.js +16 -0
- package/src/models/programme-card/i-click-tracking-data.d.ts +5 -0
- package/src/models/programme-card/i-click-tracking-data.js +2 -0
- package/src/models/programme-card/i-cover.d.ts +14 -0
- package/src/models/programme-card/i-cover.js +2 -0
- package/src/models/programme-card/i-deadline.d.ts +20 -0
- package/src/models/programme-card/i-deadline.js +2 -0
- package/src/models/programme-card/i-duration.d.ts +40 -0
- package/src/models/programme-card/i-duration.js +2 -0
- package/src/models/programme-card/i-internal-link.d.ts +28 -0
- package/src/models/programme-card/i-internal-link.js +2 -0
- package/src/models/programme-card/i-link.d.ts +22 -0
- package/src/models/programme-card/i-link.js +2 -0
- package/src/models/programme-card/i-location.d.ts +12 -0
- package/src/models/programme-card/i-location.js +2 -0
- package/src/models/programme-card/i-logo.d.ts +14 -0
- package/src/models/programme-card/i-logo.js +2 -0
- package/src/models/programme-card/i-optional-link.d.ts +23 -0
- package/src/models/programme-card/i-optional-link.js +2 -0
- package/src/models/programme-card/i-programme-card.d.ts +212 -0
- package/src/models/programme-card/i-programme-card.js +2 -0
- package/src/models/programme-card/i-start-date.d.ts +33 -0
- package/src/models/programme-card/i-start-date.js +2 -0
- package/src/models/programme-card/i-timing.d.ts +45 -0
- package/src/models/programme-card/i-timing.js +2 -0
- package/src/models/programme-card/i-tracked-link.d.ts +29 -0
- package/src/models/programme-card/i-tracked-link.js +2 -0
- package/src/models/programme-card/i-tracking.d.ts +46 -0
- package/src/models/programme-card/i-tracking.js +2 -0
- package/src/models/programme-card/i-tuition-fee.d.ts +50 -0
- package/src/models/programme-card/i-tuition-fee.js +2 -0
- package/src/models/programme-card/programme-card-client.d.ts +7 -0
- package/src/models/programme-card/programme-card-client.js +16 -0
- package/src/models/ranking-cards/i-ranking.d.ts +18 -0
- package/src/models/ranking-cards/i-ranking.js +2 -0
- package/src/models/scholarship-card/i-scholarship-card-v2.d.ts +20 -0
- package/src/models/scholarship-card/i-scholarship-card-v2.js +2 -0
- package/src/models/scholarship-card/i-scholarship-card.d.ts +15 -0
- package/src/models/scholarship-card/i-scholarship-card.js +2 -0
- package/src/models/scholarship-card/public-scholarship-card-client.d.ts +7 -0
- package/src/models/scholarship-card/public-scholarship-card-client.js +16 -0
- package/src/models/scholarship-card/scholarship-card-v2-client.d.ts +7 -0
- package/src/models/scholarship-card/scholarship-card-v2-client.js +16 -0
- package/src/models/scholarship-search-document/i-scholarship-search-document.d.ts +38 -0
- package/src/models/scholarship-search-document/i-scholarship-search-document.js +2 -0
- package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +7 -0
- package/src/models/scholarship-search-document/scholarship-search-document-client.js +16 -0
- package/src/models/search-discipline/i-search-discipline.d.ts +26 -0
- package/src/models/search-discipline/i-search-discipline.js +2 -0
- package/src/models/search-discipline/public-search-discipline-client.d.ts +7 -0
- package/src/models/search-discipline/public-search-discipline-client.js +16 -0
- package/src/models/search-projection/i-geo-targeting-configuration.d.ts +38 -0
- package/src/models/search-projection/i-geo-targeting-configuration.js +2 -0
- package/src/models/search-projection/i-geo-targeting-values.d.ts +30 -0
- package/src/models/search-projection/i-geo-targeting-values.js +2 -0
- package/src/models/search-projection/i-organisation-values.d.ts +46 -0
- package/src/models/search-projection/i-organisation-values.js +2 -0
- package/src/models/search-projection/i-premium-values.d.ts +35 -0
- package/src/models/search-projection/i-premium-values.js +2 -0
- package/src/models/search-projection/i-search-projection.d.ts +186 -0
- package/src/models/search-projection/i-search-projection.js +2 -0
- package/src/models/search-projection/i-tuition-values.d.ts +50 -0
- package/src/models/search-projection/i-tuition-values.js +2 -0
- package/src/models/search-projection/search-projection-client.d.ts +7 -0
- package/src/models/search-projection/search-projection-client.js +16 -0
- package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +26 -0
- package/src/models/sitemap-articles-info/i-sitemap-article-info.js +2 -0
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +7 -0
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +16 -0
- package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +14 -0
- package/src/models/sitemap-cities-info/i-sitemap-city-info.js +2 -0
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +7 -0
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +16 -0
- package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +14 -0
- package/src/models/sitemap-countries-info/i-sitemap-country-info.js +2 -0
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +7 -0
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +16 -0
- package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +14 -0
- package/src/models/sitemap-country-degree-info/i-degree-info.js +2 -0
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +11 -0
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +2 -0
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +7 -0
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +16 -0
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +14 -0
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +2 -0
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +7 -0
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +16 -0
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +26 -0
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +2 -0
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +7 -0
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +16 -0
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +26 -0
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +2 -0
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +7 -0
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +16 -0
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +14 -0
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +2 -0
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +7 -0
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +16 -0
- package/src/types/portal-map.d.ts +2 -0
- package/src/types/portal-map.js +2 -0
- package/src/types/portal-type.d.ts +7 -0
- package/src/types/portal-type.js +11 -0
- package/src/types.d.ts +4 -0
- package/src/types.js +2 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
4
|
+
export * from "./Area";
|
|
5
|
+
export * from "./Article";
|
|
6
|
+
export * from "./Body";
|
|
7
|
+
export * from "./CampaignInformation";
|
|
8
|
+
export * from "./ClickTracking";
|
|
9
|
+
export * from "./CommercialEntity";
|
|
10
|
+
export * from "./Cover";
|
|
11
|
+
export * from "./Deadline";
|
|
12
|
+
export * from "./Degree";
|
|
13
|
+
export * from "./Description";
|
|
14
|
+
export * from "./Discipline";
|
|
15
|
+
export * from "./Duration";
|
|
16
|
+
export * from "./EnglishRequirement";
|
|
17
|
+
export * from "./EssentialInformation";
|
|
18
|
+
export * from "./File";
|
|
19
|
+
export * from "./GPARequirement";
|
|
20
|
+
export * from "./InternalLink";
|
|
21
|
+
export * from "./Link";
|
|
22
|
+
export * from "./LivingCost";
|
|
23
|
+
export * from "./Location";
|
|
24
|
+
export * from "./Logo";
|
|
25
|
+
export * from "./MiniProgrammeCard";
|
|
26
|
+
export * from "./OptionalLink";
|
|
27
|
+
export * from "./Organisation";
|
|
28
|
+
export * from "./OrganisationInformation";
|
|
29
|
+
export * from "./OrganisationRanking";
|
|
30
|
+
export * from "./Person";
|
|
31
|
+
export * from "./ProgrammeCard";
|
|
32
|
+
export * from "./ProgrammeGrid";
|
|
33
|
+
export * from "./Ranking";
|
|
34
|
+
export * from "./RankingInstitute";
|
|
35
|
+
export * from "./Review";
|
|
36
|
+
export * from "./ReviewRating";
|
|
37
|
+
export * from "./RichText";
|
|
38
|
+
export * from "./SocialLink";
|
|
39
|
+
export * from "./StartDate";
|
|
40
|
+
export * from "./Timing";
|
|
41
|
+
export * from "./Topic";
|
|
42
|
+
export * from "./TrackedLink";
|
|
43
|
+
export * from "./Tracking";
|
|
44
|
+
export * from "./TuitionFee";
|
|
45
|
+
export * from "./Unibuddy";
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file Automatically generated by barrelsby.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./Area"), exports);
|
|
21
|
+
__exportStar(require("./Article"), exports);
|
|
22
|
+
__exportStar(require("./Body"), exports);
|
|
23
|
+
__exportStar(require("./CampaignInformation"), exports);
|
|
24
|
+
__exportStar(require("./ClickTracking"), exports);
|
|
25
|
+
__exportStar(require("./CommercialEntity"), exports);
|
|
26
|
+
__exportStar(require("./Cover"), exports);
|
|
27
|
+
__exportStar(require("./Deadline"), exports);
|
|
28
|
+
__exportStar(require("./Degree"), exports);
|
|
29
|
+
__exportStar(require("./Description"), exports);
|
|
30
|
+
__exportStar(require("./Discipline"), exports);
|
|
31
|
+
__exportStar(require("./Duration"), exports);
|
|
32
|
+
__exportStar(require("./EnglishRequirement"), exports);
|
|
33
|
+
__exportStar(require("./EssentialInformation"), exports);
|
|
34
|
+
__exportStar(require("./File"), exports);
|
|
35
|
+
__exportStar(require("./GPARequirement"), exports);
|
|
36
|
+
__exportStar(require("./InternalLink"), exports);
|
|
37
|
+
__exportStar(require("./Link"), exports);
|
|
38
|
+
__exportStar(require("./LivingCost"), exports);
|
|
39
|
+
__exportStar(require("./Location"), exports);
|
|
40
|
+
__exportStar(require("./Logo"), exports);
|
|
41
|
+
__exportStar(require("./MiniProgrammeCard"), exports);
|
|
42
|
+
__exportStar(require("./OptionalLink"), exports);
|
|
43
|
+
__exportStar(require("./Organisation"), exports);
|
|
44
|
+
__exportStar(require("./OrganisationInformation"), exports);
|
|
45
|
+
__exportStar(require("./OrganisationRanking"), exports);
|
|
46
|
+
__exportStar(require("./Person"), exports);
|
|
47
|
+
__exportStar(require("./ProgrammeCard"), exports);
|
|
48
|
+
__exportStar(require("./ProgrammeGrid"), exports);
|
|
49
|
+
__exportStar(require("./Ranking"), exports);
|
|
50
|
+
__exportStar(require("./RankingInstitute"), exports);
|
|
51
|
+
__exportStar(require("./Review"), exports);
|
|
52
|
+
__exportStar(require("./ReviewRating"), exports);
|
|
53
|
+
__exportStar(require("./RichText"), exports);
|
|
54
|
+
__exportStar(require("./SocialLink"), exports);
|
|
55
|
+
__exportStar(require("./StartDate"), exports);
|
|
56
|
+
__exportStar(require("./Timing"), exports);
|
|
57
|
+
__exportStar(require("./Topic"), exports);
|
|
58
|
+
__exportStar(require("./TrackedLink"), exports);
|
|
59
|
+
__exportStar(require("./Tracking"), exports);
|
|
60
|
+
__exportStar(require("./TuitionFee"), exports);
|
|
61
|
+
__exportStar(require("./Unibuddy"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Article } from "../../protobuf";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client";
|
|
3
|
+
export declare class ArticleDetailPageClient extends ProtobufClient<Article> {
|
|
4
|
+
protected constructModel(data: Record<string, any>): Article;
|
|
5
|
+
protected getModelName(): string;
|
|
6
|
+
protected getVersion(): string;
|
|
7
|
+
isPublic(): boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ArticleDetailPageClient = void 0;
|
|
4
|
+
const protobuf_1 = require("../../protobuf");
|
|
5
|
+
const protobuf_client_1 = require("./protobuf-client");
|
|
6
|
+
class ArticleDetailPageClient extends protobuf_client_1.ProtobufClient {
|
|
7
|
+
constructModel(data) {
|
|
8
|
+
return protobuf_1.Article.fromJSON(data);
|
|
9
|
+
}
|
|
10
|
+
getModelName() {
|
|
11
|
+
return 'article-detail-page';
|
|
12
|
+
}
|
|
13
|
+
getVersion() {
|
|
14
|
+
return 'v1';
|
|
15
|
+
}
|
|
16
|
+
isPublic() {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.ArticleDetailPageClient = ArticleDetailPageClient;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @file Automatically generated by barrelsby.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
__exportStar(require("./article-detail-page-client"), exports);
|
|
21
|
+
__exportStar(require("./organisation-page-client"), exports);
|
|
22
|
+
__exportStar(require("./protobuf-client"), exports);
|
|
23
|
+
__exportStar(require("./public-mini-programme-card-client"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Organisation } from "../../protobuf";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client";
|
|
3
|
+
export declare class OrganisationPageClient extends ProtobufClient<Organisation> {
|
|
4
|
+
protected constructModel(data: Record<string, any>): Organisation;
|
|
5
|
+
protected getModelName(): string;
|
|
6
|
+
protected getVersion(): string;
|
|
7
|
+
isPublic(): boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrganisationPageClient = void 0;
|
|
4
|
+
const protobuf_1 = require("../../protobuf");
|
|
5
|
+
const protobuf_client_1 = require("./protobuf-client");
|
|
6
|
+
class OrganisationPageClient extends protobuf_client_1.ProtobufClient {
|
|
7
|
+
constructModel(data) {
|
|
8
|
+
return protobuf_1.Organisation.fromJSON(data);
|
|
9
|
+
}
|
|
10
|
+
getModelName() {
|
|
11
|
+
return 'organisation-page';
|
|
12
|
+
}
|
|
13
|
+
getVersion() {
|
|
14
|
+
return 'v1';
|
|
15
|
+
}
|
|
16
|
+
isPublic() {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.OrganisationPageClient = OrganisationPageClient;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PortalMap } from "../types/portal-map";
|
|
2
|
+
import { PortalType } from "../types/portal-type";
|
|
3
|
+
export declare abstract class ProtobufClient<T> {
|
|
4
|
+
static portalMap: PortalMap;
|
|
5
|
+
private readonly domainClient;
|
|
6
|
+
constructor(baseUrl: string, seed: number, apiKey?: string, portalMap?: PortalMap);
|
|
7
|
+
fetch(id: number): Promise<T>;
|
|
8
|
+
fetchMultiple(ids: number[]): Promise<T[]>;
|
|
9
|
+
protected abstract constructModel(data: Record<string, any>): T;
|
|
10
|
+
protected abstract getModelName(): string;
|
|
11
|
+
protected abstract getVersion(): string;
|
|
12
|
+
abstract isPublic(): boolean;
|
|
13
|
+
static transformUrlUsingPortalMap(path: string, portalType: PortalType): string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProtobufClient = void 0;
|
|
4
|
+
const domain_client_1 = require("../domain-client");
|
|
5
|
+
class ProtobufClient {
|
|
6
|
+
static portalMap = new Map();
|
|
7
|
+
domainClient;
|
|
8
|
+
constructor(baseUrl, seed, apiKey, portalMap) {
|
|
9
|
+
if (portalMap) {
|
|
10
|
+
ProtobufClient.portalMap = portalMap;
|
|
11
|
+
}
|
|
12
|
+
this.domainClient = new domain_client_1.DomainClient(baseUrl, apiKey, this.getModelName(), this.getVersion(), this.isPublic(), seed);
|
|
13
|
+
}
|
|
14
|
+
async fetch(id) {
|
|
15
|
+
const results = await this.domainClient.doRequest([id]);
|
|
16
|
+
return this.constructModel(results[0]);
|
|
17
|
+
}
|
|
18
|
+
async fetchMultiple(ids) {
|
|
19
|
+
const results = await this.domainClient.doRequest(ids);
|
|
20
|
+
return results.map((data) => this.constructModel(data));
|
|
21
|
+
}
|
|
22
|
+
static transformUrlUsingPortalMap(path, portalType) {
|
|
23
|
+
const baseUrl = ProtobufClient.portalMap.get(portalType);
|
|
24
|
+
if (baseUrl && !path.includes('https')) {
|
|
25
|
+
return baseUrl + path;
|
|
26
|
+
}
|
|
27
|
+
return path;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ProtobufClient = ProtobufClient;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MiniProgrammeCard } from "../../protobuf";
|
|
2
|
+
import { ProtobufClient } from "./protobuf-client";
|
|
3
|
+
export declare class PublicMiniProgrammeCardClient extends ProtobufClient<MiniProgrammeCard> {
|
|
4
|
+
protected constructModel(data: Record<string, any>): MiniProgrammeCard;
|
|
5
|
+
protected getModelName(): string;
|
|
6
|
+
protected getVersion(): string;
|
|
7
|
+
isPublic(): boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PublicMiniProgrammeCardClient = void 0;
|
|
4
|
+
const protobuf_1 = require("../../protobuf");
|
|
5
|
+
const protobuf_client_1 = require("./protobuf-client");
|
|
6
|
+
class PublicMiniProgrammeCardClient extends protobuf_client_1.ProtobufClient {
|
|
7
|
+
constructModel(data) {
|
|
8
|
+
return protobuf_1.MiniProgrammeCard.fromJSON(data);
|
|
9
|
+
}
|
|
10
|
+
getModelName() {
|
|
11
|
+
return 'mini-programme-card';
|
|
12
|
+
}
|
|
13
|
+
getVersion() {
|
|
14
|
+
return 'v1';
|
|
15
|
+
}
|
|
16
|
+
isPublic() {
|
|
17
|
+
return true;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.PublicMiniProgrammeCardClient = PublicMiniProgrammeCardClient;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class DomainClient<T> {
|
|
2
|
+
readonly baseUrl: string;
|
|
3
|
+
readonly apiKey: string | undefined;
|
|
4
|
+
readonly model: string;
|
|
5
|
+
readonly version: string;
|
|
6
|
+
readonly isPublic: boolean;
|
|
7
|
+
readonly seed: number;
|
|
8
|
+
constructor(baseUrl: string, apiKey: string | undefined, model: string, version: string, isPublic: boolean, seed: number);
|
|
9
|
+
doRequest(ids: number[]): Promise<T[]>;
|
|
10
|
+
private decompressModelData;
|
|
11
|
+
private handleErrors;
|
|
12
|
+
private buildUrl;
|
|
13
|
+
private shouldAddPublicPrefix;
|
|
14
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DomainClient = void 0;
|
|
4
|
+
const bad_request_exception_1 = require("./exceptions/bad-request-exception");
|
|
5
|
+
const internal_server_exception_1 = require("./exceptions/internal-server-exception");
|
|
6
|
+
const not_found_exception_1 = require("./exceptions/not-found-exception");
|
|
7
|
+
const decoder = new TextDecoder();
|
|
8
|
+
class DomainClient {
|
|
9
|
+
baseUrl;
|
|
10
|
+
apiKey;
|
|
11
|
+
model;
|
|
12
|
+
version;
|
|
13
|
+
isPublic;
|
|
14
|
+
seed;
|
|
15
|
+
constructor(baseUrl, apiKey, model, version, isPublic, seed) {
|
|
16
|
+
this.baseUrl = baseUrl;
|
|
17
|
+
this.apiKey = apiKey;
|
|
18
|
+
this.model = model;
|
|
19
|
+
this.version = version;
|
|
20
|
+
this.isPublic = isPublic;
|
|
21
|
+
this.seed = seed;
|
|
22
|
+
}
|
|
23
|
+
async doRequest(ids) {
|
|
24
|
+
const url = `${this.baseUrl}/${this.buildUrl(ids)}`;
|
|
25
|
+
const headers = {};
|
|
26
|
+
if (this.apiKey !== undefined) {
|
|
27
|
+
headers["x-api-key"] = this.apiKey;
|
|
28
|
+
}
|
|
29
|
+
try {
|
|
30
|
+
const response = await fetch(url, { headers });
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
|
32
|
+
const data = await response.json();
|
|
33
|
+
if (!response.ok || data.status !== 200) {
|
|
34
|
+
this.handleErrors(data);
|
|
35
|
+
}
|
|
36
|
+
const models = [];
|
|
37
|
+
for (const id of ids) {
|
|
38
|
+
const modelData = data.data[id];
|
|
39
|
+
if (!modelData) {
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
if (typeof modelData === 'string') {
|
|
43
|
+
try {
|
|
44
|
+
models.push(await this.decompressModelData(modelData));
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
catch (error) {
|
|
48
|
+
console.error(error);
|
|
49
|
+
continue;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
models.push(modelData);
|
|
53
|
+
}
|
|
54
|
+
return models;
|
|
55
|
+
}
|
|
56
|
+
catch (error) {
|
|
57
|
+
console.error('Error fetching data from API:', error);
|
|
58
|
+
if (error instanceof internal_server_exception_1.InternalServerException || error instanceof bad_request_exception_1.BadRequestException || error instanceof not_found_exception_1.NotFoundException) {
|
|
59
|
+
throw error;
|
|
60
|
+
}
|
|
61
|
+
throw new internal_server_exception_1.InternalServerException('Unable to fetch data from the API', error);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
async decompressModelData(compressedData) {
|
|
65
|
+
const bytes = Uint8Array.from(atob(compressedData), c => c.charCodeAt(0));
|
|
66
|
+
const stream = new DecompressionStream('deflate');
|
|
67
|
+
const response = new Response(bytes);
|
|
68
|
+
const decompressedStream = response.body?.pipeThrough(stream);
|
|
69
|
+
const decompressedBytes = new Uint8Array(await new Response(decompressedStream).arrayBuffer());
|
|
70
|
+
return JSON.parse(decoder.decode(decompressedBytes));
|
|
71
|
+
}
|
|
72
|
+
handleErrors(response) {
|
|
73
|
+
if (!response.status) {
|
|
74
|
+
throw new internal_server_exception_1.InternalServerException(response.message);
|
|
75
|
+
}
|
|
76
|
+
if (response.status === 400) {
|
|
77
|
+
throw new bad_request_exception_1.BadRequestException(response.message);
|
|
78
|
+
}
|
|
79
|
+
if (response.status === 404) {
|
|
80
|
+
throw new not_found_exception_1.NotFoundException(response.message);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
buildUrl(ids) {
|
|
84
|
+
const publicPrefix = this.shouldAddPublicPrefix() ? 'public/' : '';
|
|
85
|
+
let query = `${publicPrefix}${this.model}/${this.version}/?seed=${this.seed}`;
|
|
86
|
+
for (const id of ids) {
|
|
87
|
+
query += `&id=${id}`;
|
|
88
|
+
}
|
|
89
|
+
return query;
|
|
90
|
+
}
|
|
91
|
+
shouldAddPublicPrefix() {
|
|
92
|
+
return this.isPublic && this.apiKey === undefined;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.DomainClient = DomainClient;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IClassFactory } from "../i-class-factory";
|
|
2
|
+
import { CallableReturnType, Model } from "../types";
|
|
3
|
+
import { PortalMap } from "../types/portal-map";
|
|
4
|
+
export declare class InternalLinkFactory implements IClassFactory {
|
|
5
|
+
private portalMap;
|
|
6
|
+
constructor(portalMap: PortalMap);
|
|
7
|
+
create(link: Model, parameters?: unknown): CallableReturnType;
|
|
8
|
+
private getPortalBaseUrl;
|
|
9
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InternalLinkFactory = void 0;
|
|
4
|
+
class InternalLinkFactory {
|
|
5
|
+
portalMap;
|
|
6
|
+
constructor(portalMap) {
|
|
7
|
+
this.portalMap = portalMap;
|
|
8
|
+
}
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10
|
+
create(link, parameters) {
|
|
11
|
+
const getPortalType = link['getPortalType'];
|
|
12
|
+
const portalType = getPortalType ? getPortalType() : null;
|
|
13
|
+
const portalBaseUrl = portalType ? this.getPortalBaseUrl(portalType) : '';
|
|
14
|
+
const getUrl = link['getUrl'];
|
|
15
|
+
if (getUrl) {
|
|
16
|
+
const path = getUrl();
|
|
17
|
+
link['getUrl'] = () => portalBaseUrl + path;
|
|
18
|
+
}
|
|
19
|
+
return link;
|
|
20
|
+
}
|
|
21
|
+
getPortalBaseUrl(portalType) {
|
|
22
|
+
const url = this.portalMap.get(portalType);
|
|
23
|
+
return url || '';
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.InternalLinkFactory = InternalLinkFactory;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isModelDescription = isModelDescription;
|
|
4
|
+
// eslint-disable-next-line
|
|
5
|
+
function isModelDescription(arg) {
|
|
6
|
+
// eslint-disable-next-line
|
|
7
|
+
return arg && arg.class && (arg.func || arg.parameters);
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IModelDescription } from "./i-model-description";
|
|
2
|
+
import { PortalMap } from "./types/portal-map";
|
|
3
|
+
export declare abstract class ModelClient<T> {
|
|
4
|
+
private readonly domainClient;
|
|
5
|
+
private readonly modelFactory;
|
|
6
|
+
constructor(baseUrl?: string, apiKey?: string, seed?: number, portalMap?: PortalMap);
|
|
7
|
+
fetch(id: number): Promise<T>;
|
|
8
|
+
fetchDescription(id: number): Promise<IModelDescription>;
|
|
9
|
+
fetchMultiple(ids: number[]): Promise<T[]>;
|
|
10
|
+
fetchMultipleDescriptions(ids: number[]): Promise<IModelDescription[]>;
|
|
11
|
+
fromDescription(description: IModelDescription): T;
|
|
12
|
+
fromDescriptions(descriptions: IModelDescription[]): T[];
|
|
13
|
+
protected abstract getModelName(): string;
|
|
14
|
+
protected abstract getVersion(): string;
|
|
15
|
+
abstract isPublic(): boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModelClient = void 0;
|
|
4
|
+
const domain_client_1 = require("./domain-client");
|
|
5
|
+
const client_exception_1 = require("./exceptions/client-exception");
|
|
6
|
+
const model_factory_1 = require("./model-factory");
|
|
7
|
+
class ModelClient {
|
|
8
|
+
domainClient;
|
|
9
|
+
modelFactory;
|
|
10
|
+
constructor(baseUrl, apiKey, seed, portalMap) {
|
|
11
|
+
if (!baseUrl || !seed) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
this.modelFactory = new model_factory_1.ModelFactory(portalMap);
|
|
15
|
+
this.domainClient = new domain_client_1.DomainClient(baseUrl, apiKey, this.getModelName(), this.getVersion(), this.isPublic(), seed);
|
|
16
|
+
}
|
|
17
|
+
async fetch(id) {
|
|
18
|
+
const modelDescriptions = await this.fetchDescription(id);
|
|
19
|
+
return this.modelFactory.fromDescription(modelDescriptions);
|
|
20
|
+
}
|
|
21
|
+
async fetchDescription(id) {
|
|
22
|
+
if (!this.domainClient) {
|
|
23
|
+
throw new client_exception_1.ClientException("Offline mode active: did you provide all parameters " +
|
|
24
|
+
"in the constructor?");
|
|
25
|
+
}
|
|
26
|
+
const result = await this.domainClient.doRequest([id]);
|
|
27
|
+
return result[0];
|
|
28
|
+
}
|
|
29
|
+
async fetchMultiple(ids) {
|
|
30
|
+
const descriptions = await this.fetchMultipleDescriptions(ids);
|
|
31
|
+
return this.modelFactory.fromDescriptions(descriptions);
|
|
32
|
+
}
|
|
33
|
+
async fetchMultipleDescriptions(ids) {
|
|
34
|
+
if (!this.domainClient) {
|
|
35
|
+
throw new client_exception_1.ClientException('Offline mode active: did you provide all parameters ' +
|
|
36
|
+
'in the constructor?');
|
|
37
|
+
}
|
|
38
|
+
return await this.domainClient.doRequest(ids);
|
|
39
|
+
}
|
|
40
|
+
fromDescription(description) {
|
|
41
|
+
return this.modelFactory.fromDescription(description);
|
|
42
|
+
}
|
|
43
|
+
fromDescriptions(descriptions) {
|
|
44
|
+
return this.modelFactory.fromDescriptions(descriptions);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.ModelClient = ModelClient;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IModelDescription } from "./i-model-description";
|
|
2
|
+
import { PortalMap } from "./types/portal-map";
|
|
3
|
+
export declare class ModelFactory<T> {
|
|
4
|
+
private customClassFactories;
|
|
5
|
+
constructor(portalMap?: PortalMap);
|
|
6
|
+
fromDescription(data: IModelDescription): T;
|
|
7
|
+
fromDescriptions(data: IModelDescription[]): T[];
|
|
8
|
+
private unpackClass;
|
|
9
|
+
private getCallable;
|
|
10
|
+
private unpackArray;
|
|
11
|
+
}
|