@studyportals/domain-client 7.0.1-beta.4 → 7.0.1-beta.9
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/package.json +4 -1
- package/index.d.ts +0 -91
- package/protobuf/Area.d.ts +0 -11
- package/protobuf/Area.js +0 -30
- package/protobuf/Article.d.ts +0 -60
- package/protobuf/Article.js +0 -226
- package/protobuf/Body.d.ts +0 -11
- package/protobuf/Body.js +0 -30
- package/protobuf/CampaignInformation.d.ts +0 -11
- package/protobuf/CampaignInformation.js +0 -30
- package/protobuf/ClickTracking.d.ts +0 -11
- package/protobuf/ClickTracking.js +0 -30
- package/protobuf/CommercialEntity.d.ts +0 -14
- package/protobuf/CommercialEntity.js +0 -48
- package/protobuf/Cover.d.ts +0 -10
- package/protobuf/Cover.js +0 -26
- package/protobuf/Deadline.d.ts +0 -11
- package/protobuf/Deadline.js +0 -30
- package/protobuf/Degree.d.ts +0 -16
- package/protobuf/Degree.js +0 -50
- package/protobuf/Description.d.ts +0 -16
- package/protobuf/Description.js +0 -45
- package/protobuf/Discipline.d.ts +0 -26
- package/protobuf/Discipline.js +0 -84
- package/protobuf/Duration.d.ts +0 -11
- package/protobuf/Duration.js +0 -30
- package/protobuf/EnglishRequirement.d.ts +0 -11
- package/protobuf/EnglishRequirement.js +0 -30
- package/protobuf/EssentialInformation.d.ts +0 -17
- package/protobuf/EssentialInformation.js +0 -54
- package/protobuf/File.d.ts +0 -22
- package/protobuf/File.js +0 -74
- package/protobuf/GPARequirement.d.ts +0 -11
- package/protobuf/GPARequirement.js +0 -30
- package/protobuf/InternalLink.d.ts +0 -12
- package/protobuf/InternalLink.js +0 -30
- package/protobuf/Link.d.ts +0 -11
- package/protobuf/Link.js +0 -30
- package/protobuf/LivingCost.d.ts +0 -11
- package/protobuf/LivingCost.js +0 -30
- package/protobuf/Location.d.ts +0 -18
- package/protobuf/Location.js +0 -56
- package/protobuf/Logo.d.ts +0 -10
- package/protobuf/Logo.js +0 -26
- package/protobuf/MiniProgrammeCard.d.ts +0 -18
- package/protobuf/MiniProgrammeCard.js +0 -50
- package/protobuf/OptionalLink.d.ts +0 -12
- package/protobuf/OptionalLink.js +0 -34
- package/protobuf/Organisation.d.ts +0 -211
- package/protobuf/Organisation.js +0 -853
- package/protobuf/OrganisationInformation.d.ts +0 -9
- package/protobuf/OrganisationInformation.js +0 -20
- package/protobuf/OrganisationRanking.d.ts +0 -15
- package/protobuf/OrganisationRanking.js +0 -41
- package/protobuf/Person.d.ts +0 -14
- package/protobuf/Person.js +0 -40
- package/protobuf/ProgrammeCard.d.ts +0 -60
- package/protobuf/ProgrammeCard.js +0 -197
- package/protobuf/ProgrammeGrid.d.ts +0 -14
- package/protobuf/ProgrammeGrid.js +0 -37
- package/protobuf/Ranking.d.ts +0 -22
- package/protobuf/Ranking.js +0 -76
- package/protobuf/RankingInstitute.d.ts +0 -15
- package/protobuf/RankingInstitute.js +0 -44
- package/protobuf/Review.d.ts +0 -17
- package/protobuf/Review.js +0 -52
- package/protobuf/ReviewRating.d.ts +0 -12
- package/protobuf/ReviewRating.js +0 -34
- package/protobuf/RichText.d.ts +0 -10
- package/protobuf/RichText.js +0 -28
- package/protobuf/SocialLink.d.ts +0 -21
- package/protobuf/SocialLink.js +0 -70
- package/protobuf/StartDate.d.ts +0 -13
- package/protobuf/StartDate.js +0 -38
- package/protobuf/Timing.d.ts +0 -17
- package/protobuf/Timing.js +0 -49
- package/protobuf/Topic.d.ts +0 -10
- package/protobuf/Topic.js +0 -26
- package/protobuf/TrackedLink.d.ts +0 -13
- package/protobuf/TrackedLink.js +0 -36
- package/protobuf/Tracking.d.ts +0 -18
- package/protobuf/Tracking.js +0 -58
- package/protobuf/TuitionFee.d.ts +0 -13
- package/protobuf/TuitionFee.js +0 -38
- package/protobuf/Unibuddy.d.ts +0 -10
- package/protobuf/Unibuddy.js +0 -26
- package/protobuf/index.d.ts +0 -45
- package/protobuf/index.js +0 -45
- package/src/clients/article-detail-page-client.d.ts +0 -8
- package/src/clients/article-detail-page-client.js +0 -16
- package/src/clients/index.d.ts +0 -7
- package/src/clients/index.js +0 -7
- package/src/clients/organisation-page-client.d.ts +0 -8
- package/src/clients/organisation-page-client.js +0 -16
- package/src/clients/protobuf-client.d.ts +0 -14
- package/src/clients/protobuf-client.js +0 -26
- package/src/clients/public-mini-programme-card-client.d.ts +0 -8
- package/src/clients/public-mini-programme-card-client.js +0 -16
- package/src/domain-client.d.ts +0 -14
- package/src/domain-client.js +0 -91
- package/src/exceptions/bad-request-exception.d.ts +0 -2
- package/src/exceptions/bad-request-exception.js +0 -2
- package/src/exceptions/client-exception.d.ts +0 -2
- package/src/exceptions/client-exception.js +0 -2
- package/src/exceptions/internal-server-exception.d.ts +0 -2
- package/src/exceptions/internal-server-exception.js +0 -2
- package/src/exceptions/not-found-exception.d.ts +0 -2
- package/src/exceptions/not-found-exception.js +0 -2
- package/src/exceptions/property-not-available-exception.d.ts +0 -2
- package/src/exceptions/property-not-available-exception.js +0 -2
- package/src/factories/DateFactory.d.ts +0 -5
- package/src/factories/DateFactory.js +0 -5
- package/src/factories/InternalLinkFactory.d.ts +0 -9
- package/src/factories/InternalLinkFactory.js +0 -22
- package/src/i-api-response.d.ts +0 -6
- package/src/i-api-response.js +0 -1
- package/src/i-class-factory.d.ts +0 -4
- package/src/i-class-factory.js +0 -1
- package/src/i-model-description.d.ts +0 -7
- package/src/i-model-description.js +0 -5
- package/src/model-client.d.ts +0 -16
- package/src/model-client.js +0 -43
- package/src/model-factory.d.ts +0 -11
- package/src/model-factory.js +0 -68
- package/src/models/bestfit-programme/bestfit-programme-client.d.ts +0 -7
- package/src/models/bestfit-programme/bestfit-programme-client.js +0 -12
- package/src/models/bestfit-programme/i-best-fit-programme.d.ts +0 -82
- package/src/models/bestfit-programme/i-best-fit-programme.js +0 -1
- package/src/models/bestfit-programme/i-city.d.ts +0 -14
- package/src/models/bestfit-programme/i-city.js +0 -1
- package/src/models/bestfit-programme/i-living-cost.d.ts +0 -20
- package/src/models/bestfit-programme/i-living-cost.js +0 -1
- package/src/models/city-search-document/city-search-document-client.d.ts +0 -7
- package/src/models/city-search-document/city-search-document-client.js +0 -12
- package/src/models/city-search-document/i-city-search-document.d.ts +0 -7
- package/src/models/city-search-document/i-city-search-document.js +0 -1
- package/src/models/common/i-city.d.ts +0 -14
- package/src/models/common/i-city.js +0 -1
- package/src/models/common/i-country.d.ts +0 -20
- package/src/models/common/i-country.js +0 -1
- package/src/models/common/i-english-requirements.d.ts +0 -51
- package/src/models/common/i-english-requirements.js +0 -1
- package/src/models/common/i-g-p-a-requirement.d.ts +0 -20
- package/src/models/common/i-g-p-a-requirement.js +0 -1
- package/src/models/common/i-internal-link.d.ts +0 -28
- package/src/models/common/i-internal-link.js +0 -1
- package/src/models/common/i-logo.d.ts +0 -14
- package/src/models/common/i-logo.js +0 -1
- package/src/models/common/i-review-rating.d.ts +0 -26
- package/src/models/common/i-review-rating.js +0 -1
- package/src/models/common/i-tuition-fee.d.ts +0 -50
- package/src/models/common/i-tuition-fee.js +0 -1
- package/src/models/copilot-country/copilot-country-client.d.ts +0 -7
- package/src/models/copilot-country/copilot-country-client.js +0 -12
- package/src/models/copilot-country/i-copilot-country.d.ts +0 -39
- package/src/models/copilot-country/i-copilot-country.js +0 -1
- package/src/models/copilot-country/i-copilot-ranking-card.d.ts +0 -38
- package/src/models/copilot-country/i-copilot-ranking-card.js +0 -1
- package/src/models/copilot-programme/copilot-programme-client.d.ts +0 -7
- package/src/models/copilot-programme/copilot-programme-client.js +0 -12
- package/src/models/copilot-programme/i-copilot-programme.d.ts +0 -125
- package/src/models/copilot-programme/i-copilot-programme.js +0 -1
- package/src/models/customerio-organisation/customerio-organisation-client.d.ts +0 -7
- package/src/models/customerio-organisation/customerio-organisation-client.js +0 -12
- package/src/models/customerio-organisation/i-customer-io-organisation.d.ts +0 -35
- package/src/models/customerio-organisation/i-customer-io-organisation.js +0 -1
- package/src/models/customerio-organisation/i-review.d.ts +0 -7
- package/src/models/customerio-organisation/i-review.js +0 -1
- package/src/models/customerio-programme/customerio-programme-client.d.ts +0 -7
- package/src/models/customerio-programme/customerio-programme-client.js +0 -12
- package/src/models/customerio-programme/i-customer-io-programme.d.ts +0 -107
- package/src/models/customerio-programme/i-customer-io-programme.js +0 -1
- package/src/models/customerio-programme/i-internal-link.d.ts +0 -28
- package/src/models/customerio-programme/i-internal-link.js +0 -1
- package/src/models/faq-static-content/i-faq-static-content.d.ts +0 -10
- package/src/models/faq-static-content/i-faq-static-content.js +0 -1
- package/src/models/faq-static-content/i-faq.d.ts +0 -4
- package/src/models/faq-static-content/i-faq.js +0 -1
- package/src/models/faq-static-content/i-static-content-url.d.ts +0 -4
- package/src/models/faq-static-content/i-static-content-url.js +0 -1
- package/src/models/faq-static-content/i-static-content.d.ts +0 -5
- package/src/models/faq-static-content/i-static-content.js +0 -1
- package/src/models/faq-static-content/public-faq-static-content-client.d.ts +0 -7
- package/src/models/faq-static-content/public-faq-static-content-client.js +0 -12
- package/src/models/organisation-card/i-organisation-card.d.ts +0 -39
- package/src/models/organisation-card/i-organisation-card.js +0 -1
- package/src/models/organisation-card/i-ranking-discipline.d.ts +0 -4
- package/src/models/organisation-card/i-ranking-discipline.js +0 -1
- package/src/models/organisation-card/organisation-card-client.d.ts +0 -7
- package/src/models/organisation-card/organisation-card-client.js +0 -12
- package/src/models/organisation-for-search/i-organisation-for-search.d.ts +0 -32
- package/src/models/organisation-for-search/i-organisation-for-search.js +0 -1
- package/src/models/organisation-for-search/public-organisation-for-search-client.d.ts +0 -7
- package/src/models/organisation-for-search/public-organisation-for-search-client.js +0 -12
- package/src/models/organisation-search-document/i-organisation-search-document.d.ts +0 -158
- package/src/models/organisation-search-document/i-organisation-search-document.js +0 -1
- package/src/models/organisation-search-document/organisation-search-document-client.d.ts +0 -7
- package/src/models/organisation-search-document/organisation-search-document-client.js +0 -12
- package/src/models/programme-card/i-click-tracking-data.d.ts +0 -5
- package/src/models/programme-card/i-click-tracking-data.js +0 -1
- package/src/models/programme-card/i-cover.d.ts +0 -14
- package/src/models/programme-card/i-cover.js +0 -1
- package/src/models/programme-card/i-deadline.d.ts +0 -20
- package/src/models/programme-card/i-deadline.js +0 -1
- package/src/models/programme-card/i-duration.d.ts +0 -40
- package/src/models/programme-card/i-duration.js +0 -1
- package/src/models/programme-card/i-internal-link.d.ts +0 -28
- package/src/models/programme-card/i-internal-link.js +0 -1
- package/src/models/programme-card/i-link.d.ts +0 -22
- package/src/models/programme-card/i-link.js +0 -1
- package/src/models/programme-card/i-location.d.ts +0 -12
- package/src/models/programme-card/i-location.js +0 -1
- package/src/models/programme-card/i-logo.d.ts +0 -14
- package/src/models/programme-card/i-logo.js +0 -1
- package/src/models/programme-card/i-optional-link.d.ts +0 -23
- package/src/models/programme-card/i-optional-link.js +0 -1
- package/src/models/programme-card/i-programme-card.d.ts +0 -212
- package/src/models/programme-card/i-programme-card.js +0 -1
- package/src/models/programme-card/i-start-date.d.ts +0 -33
- package/src/models/programme-card/i-start-date.js +0 -1
- package/src/models/programme-card/i-timing.d.ts +0 -45
- package/src/models/programme-card/i-timing.js +0 -1
- package/src/models/programme-card/i-tracked-link.d.ts +0 -29
- package/src/models/programme-card/i-tracked-link.js +0 -1
- package/src/models/programme-card/i-tracking.d.ts +0 -46
- package/src/models/programme-card/i-tracking.js +0 -1
- package/src/models/programme-card/i-tuition-fee.d.ts +0 -50
- package/src/models/programme-card/i-tuition-fee.js +0 -1
- package/src/models/programme-card/programme-card-client.d.ts +0 -7
- package/src/models/programme-card/programme-card-client.js +0 -12
- package/src/models/ranking-cards/i-ranking.d.ts +0 -18
- package/src/models/ranking-cards/i-ranking.js +0 -1
- package/src/models/scholarship-card/i-scholarship-card-v2.d.ts +0 -20
- package/src/models/scholarship-card/i-scholarship-card-v2.js +0 -1
- 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/src/models/scholarship-card/scholarship-card-v2-client.d.ts +0 -7
- package/src/models/scholarship-card/scholarship-card-v2-client.js +0 -12
- package/src/models/scholarship-search-document/i-scholarship-search-document.d.ts +0 -38
- package/src/models/scholarship-search-document/i-scholarship-search-document.js +0 -1
- package/src/models/scholarship-search-document/scholarship-search-document-client.d.ts +0 -7
- package/src/models/scholarship-search-document/scholarship-search-document-client.js +0 -12
- package/src/models/search-discipline/i-search-discipline.d.ts +0 -26
- package/src/models/search-discipline/i-search-discipline.js +0 -1
- package/src/models/search-discipline/public-search-discipline-client.d.ts +0 -7
- package/src/models/search-discipline/public-search-discipline-client.js +0 -12
- package/src/models/search-projection/i-geo-targeting-configuration.d.ts +0 -38
- package/src/models/search-projection/i-geo-targeting-configuration.js +0 -1
- package/src/models/search-projection/i-geo-targeting-values.d.ts +0 -30
- package/src/models/search-projection/i-geo-targeting-values.js +0 -1
- package/src/models/search-projection/i-organisation-values.d.ts +0 -46
- package/src/models/search-projection/i-organisation-values.js +0 -1
- package/src/models/search-projection/i-premium-values.d.ts +0 -35
- package/src/models/search-projection/i-premium-values.js +0 -1
- package/src/models/search-projection/i-search-projection.d.ts +0 -186
- package/src/models/search-projection/i-search-projection.js +0 -1
- package/src/models/search-projection/i-tuition-values.d.ts +0 -50
- package/src/models/search-projection/i-tuition-values.js +0 -1
- package/src/models/search-projection/search-projection-client.d.ts +0 -7
- package/src/models/search-projection/search-projection-client.js +0 -12
- package/src/models/sitemap-articles-info/i-sitemap-article-info.d.ts +0 -26
- package/src/models/sitemap-articles-info/i-sitemap-article-info.js +0 -1
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.d.ts +0 -7
- package/src/models/sitemap-articles-info/sitemap-articles-info-client.js +0 -12
- package/src/models/sitemap-cities-info/i-sitemap-city-info.d.ts +0 -14
- package/src/models/sitemap-cities-info/i-sitemap-city-info.js +0 -1
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.d.ts +0 -7
- package/src/models/sitemap-cities-info/sitemap-cities-info-client.js +0 -12
- package/src/models/sitemap-countries-info/i-sitemap-country-info.d.ts +0 -14
- package/src/models/sitemap-countries-info/i-sitemap-country-info.js +0 -1
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.d.ts +0 -7
- package/src/models/sitemap-countries-info/sitemap-countries-info-client.js +0 -12
- package/src/models/sitemap-country-degree-info/i-degree-info.d.ts +0 -14
- package/src/models/sitemap-country-degree-info/i-degree-info.js +0 -1
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.d.ts +0 -11
- package/src/models/sitemap-country-degree-info/i-sitemap-country-degree-info.js +0 -1
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.d.ts +0 -7
- package/src/models/sitemap-country-degree-info/sitemap-country-degree-info-client.js +0 -12
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.d.ts +0 -14
- package/src/models/sitemap-disciplines-info/i-sitemap-discipline-info.js +0 -1
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.d.ts +0 -7
- package/src/models/sitemap-disciplines-info/sitemap-disciplines-info-client.js +0 -12
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.d.ts +0 -26
- package/src/models/sitemap-organisations-info/i-sitemap-organisation-info.js +0 -1
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.d.ts +0 -7
- package/src/models/sitemap-organisations-info/sitemap-organisations-info-client.js +0 -12
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.d.ts +0 -26
- package/src/models/sitemap-programme-info/i-sitemap-programme-info.js +0 -1
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.d.ts +0 -7
- package/src/models/sitemap-programme-info/sitemap-programme-info-client.js +0 -12
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.d.ts +0 -14
- package/src/models/sitemap-rankings-info/i-sitemap-rankings-info.js +0 -1
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.d.ts +0 -7
- package/src/models/sitemap-rankings-info/sitemap-rankings-info-client.js +0 -12
- package/src/types/portal-map.d.ts +0 -2
- package/src/types/portal-map.js +0 -1
- package/src/types/portal-type.d.ts +0 -7
- package/src/types/portal-type.js +0 -8
- package/src/types.d.ts +0 -4
- package/src/types.js +0 -1
package/protobuf/Cover.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: Cover.proto
|
|
6
|
-
export const Cover = {
|
|
7
|
-
fromJSON(object) {
|
|
8
|
-
return {
|
|
9
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
10
|
-
source: isSet(object.source) ? globalThis.String(object.source) : "",
|
|
11
|
-
};
|
|
12
|
-
},
|
|
13
|
-
toJSON(message) {
|
|
14
|
-
const obj = {};
|
|
15
|
-
if (message.id !== 0) {
|
|
16
|
-
obj.id = Math.round(message.id);
|
|
17
|
-
}
|
|
18
|
-
if (message.source !== "") {
|
|
19
|
-
obj.source = message.source;
|
|
20
|
-
}
|
|
21
|
-
return obj;
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
function isSet(value) {
|
|
25
|
-
return value !== null && value !== undefined;
|
|
26
|
-
}
|
package/protobuf/Deadline.d.ts
DELETED
package/protobuf/Deadline.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: Deadline.proto
|
|
6
|
-
export const Deadline = {
|
|
7
|
-
fromJSON(object) {
|
|
8
|
-
return {
|
|
9
|
-
isPassed: isSet(object.isPassed) ? globalThis.Boolean(object.isPassed) : false,
|
|
10
|
-
date: isSet(object.date) ? globalThis.String(object.date) : "",
|
|
11
|
-
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
12
|
-
};
|
|
13
|
-
},
|
|
14
|
-
toJSON(message) {
|
|
15
|
-
const obj = {};
|
|
16
|
-
if (message.isPassed !== false) {
|
|
17
|
-
obj.isPassed = message.isPassed;
|
|
18
|
-
}
|
|
19
|
-
if (message.date !== "") {
|
|
20
|
-
obj.date = message.date;
|
|
21
|
-
}
|
|
22
|
-
if (message.type !== "") {
|
|
23
|
-
obj.type = message.type;
|
|
24
|
-
}
|
|
25
|
-
return obj;
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
function isSet(value) {
|
|
29
|
-
return value !== null && value !== undefined;
|
|
30
|
-
}
|
package/protobuf/Degree.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface Degree {
|
|
2
|
-
programmeCount?: number | undefined;
|
|
3
|
-
title?: string | undefined;
|
|
4
|
-
abbreviation?: string | undefined;
|
|
5
|
-
id?: number | undefined;
|
|
6
|
-
name?: string | undefined;
|
|
7
|
-
description?: string | undefined;
|
|
8
|
-
level?: string | undefined;
|
|
9
|
-
degree?: string | undefined;
|
|
10
|
-
}
|
|
11
|
-
export declare const Degree: MessageFns<Degree>;
|
|
12
|
-
interface MessageFns<T> {
|
|
13
|
-
fromJSON(object: any): T;
|
|
14
|
-
toJSON(message: T): unknown;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
package/protobuf/Degree.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: Degree.proto
|
|
6
|
-
export const Degree = {
|
|
7
|
-
fromJSON(object) {
|
|
8
|
-
return {
|
|
9
|
-
programmeCount: isSet(object.programmeCount) ? globalThis.Number(object.programmeCount) : undefined,
|
|
10
|
-
title: isSet(object.title) ? globalThis.String(object.title) : undefined,
|
|
11
|
-
abbreviation: isSet(object.abbreviation) ? globalThis.String(object.abbreviation) : undefined,
|
|
12
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : undefined,
|
|
13
|
-
name: isSet(object.name) ? globalThis.String(object.name) : undefined,
|
|
14
|
-
description: isSet(object.description) ? globalThis.String(object.description) : undefined,
|
|
15
|
-
level: isSet(object.level) ? globalThis.String(object.level) : undefined,
|
|
16
|
-
degree: isSet(object.degree) ? globalThis.String(object.degree) : undefined,
|
|
17
|
-
};
|
|
18
|
-
},
|
|
19
|
-
toJSON(message) {
|
|
20
|
-
const obj = {};
|
|
21
|
-
if (message.programmeCount !== undefined) {
|
|
22
|
-
obj.programmeCount = Math.round(message.programmeCount);
|
|
23
|
-
}
|
|
24
|
-
if (message.title !== undefined) {
|
|
25
|
-
obj.title = message.title;
|
|
26
|
-
}
|
|
27
|
-
if (message.abbreviation !== undefined) {
|
|
28
|
-
obj.abbreviation = message.abbreviation;
|
|
29
|
-
}
|
|
30
|
-
if (message.id !== undefined) {
|
|
31
|
-
obj.id = Math.round(message.id);
|
|
32
|
-
}
|
|
33
|
-
if (message.name !== undefined) {
|
|
34
|
-
obj.name = message.name;
|
|
35
|
-
}
|
|
36
|
-
if (message.description !== undefined) {
|
|
37
|
-
obj.description = message.description;
|
|
38
|
-
}
|
|
39
|
-
if (message.level !== undefined) {
|
|
40
|
-
obj.level = message.level;
|
|
41
|
-
}
|
|
42
|
-
if (message.degree !== undefined) {
|
|
43
|
-
obj.degree = message.degree;
|
|
44
|
-
}
|
|
45
|
-
return obj;
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
function isSet(value) {
|
|
49
|
-
return value !== null && value !== undefined;
|
|
50
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Link } from "./Link";
|
|
2
|
-
import { RichText } from "./RichText";
|
|
3
|
-
export interface Description {
|
|
4
|
-
name: string;
|
|
5
|
-
description: RichText | undefined;
|
|
6
|
-
searchLink: Link | undefined;
|
|
7
|
-
pilsLink: Link | undefined;
|
|
8
|
-
sblpLink: Link | undefined;
|
|
9
|
-
onlineSBLPLink: Link | undefined;
|
|
10
|
-
}
|
|
11
|
-
export declare const Description: MessageFns<Description>;
|
|
12
|
-
interface MessageFns<T> {
|
|
13
|
-
fromJSON(object: any): T;
|
|
14
|
-
toJSON(message: T): unknown;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
package/protobuf/Description.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: Description.proto
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
import { Link } from "./Link";
|
|
8
|
-
import { RichText } from "./RichText";
|
|
9
|
-
export const Description = {
|
|
10
|
-
fromJSON(object) {
|
|
11
|
-
return {
|
|
12
|
-
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
13
|
-
description: isSet(object.description) ? RichText.fromJSON(object.description) : undefined,
|
|
14
|
-
searchLink: isSet(object.searchLink) ? Link.fromJSON(object.searchLink) : undefined,
|
|
15
|
-
pilsLink: isSet(object.pilsLink) ? Link.fromJSON(object.pilsLink) : undefined,
|
|
16
|
-
sblpLink: isSet(object.sblpLink) ? Link.fromJSON(object.sblpLink) : undefined,
|
|
17
|
-
onlineSBLPLink: isSet(object.onlineSBLPLink) ? Link.fromJSON(object.onlineSBLPLink) : undefined,
|
|
18
|
-
};
|
|
19
|
-
},
|
|
20
|
-
toJSON(message) {
|
|
21
|
-
const obj = {};
|
|
22
|
-
if (message.name !== "") {
|
|
23
|
-
obj.name = message.name;
|
|
24
|
-
}
|
|
25
|
-
if (message.description !== undefined) {
|
|
26
|
-
obj.description = RichText.toJSON(message.description);
|
|
27
|
-
}
|
|
28
|
-
if (message.searchLink !== undefined) {
|
|
29
|
-
obj.searchLink = Link.toJSON(message.searchLink);
|
|
30
|
-
}
|
|
31
|
-
if (message.pilsLink !== undefined) {
|
|
32
|
-
obj.pilsLink = Link.toJSON(message.pilsLink);
|
|
33
|
-
}
|
|
34
|
-
if (message.sblpLink !== undefined) {
|
|
35
|
-
obj.sblpLink = Link.toJSON(message.sblpLink);
|
|
36
|
-
}
|
|
37
|
-
if (message.onlineSBLPLink !== undefined) {
|
|
38
|
-
obj.onlineSBLPLink = Link.toJSON(message.onlineSBLPLink);
|
|
39
|
-
}
|
|
40
|
-
return obj;
|
|
41
|
-
},
|
|
42
|
-
};
|
|
43
|
-
function isSet(value) {
|
|
44
|
-
return value !== null && value !== undefined;
|
|
45
|
-
}
|
package/protobuf/Discipline.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Description } from "./Description";
|
|
2
|
-
import { EssentialInformation } from "./EssentialInformation";
|
|
3
|
-
import { Link } from "./Link";
|
|
4
|
-
export interface Discipline {
|
|
5
|
-
id: number;
|
|
6
|
-
name: string;
|
|
7
|
-
title: string;
|
|
8
|
-
summary?: string | undefined;
|
|
9
|
-
icon: string;
|
|
10
|
-
parentId?: number | undefined;
|
|
11
|
-
oldVirtualPath?: string | undefined;
|
|
12
|
-
canBeIndexed: boolean;
|
|
13
|
-
descriptionText: string;
|
|
14
|
-
promo?: string | undefined;
|
|
15
|
-
parentName?: string | undefined;
|
|
16
|
-
virtualPath: string;
|
|
17
|
-
link: Link | undefined;
|
|
18
|
-
description: Description | undefined;
|
|
19
|
-
essentialInformation: EssentialInformation | undefined;
|
|
20
|
-
}
|
|
21
|
-
export declare const Discipline: MessageFns<Discipline>;
|
|
22
|
-
interface MessageFns<T> {
|
|
23
|
-
fromJSON(object: any): T;
|
|
24
|
-
toJSON(message: T): unknown;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
package/protobuf/Discipline.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: Discipline.proto
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
import { Description } from "./Description";
|
|
8
|
-
import { EssentialInformation } from "./EssentialInformation";
|
|
9
|
-
import { Link } from "./Link";
|
|
10
|
-
export const Discipline = {
|
|
11
|
-
fromJSON(object) {
|
|
12
|
-
return {
|
|
13
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
14
|
-
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
15
|
-
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
16
|
-
summary: isSet(object.summary) ? globalThis.String(object.summary) : undefined,
|
|
17
|
-
icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
|
|
18
|
-
parentId: isSet(object.parentId) ? globalThis.Number(object.parentId) : undefined,
|
|
19
|
-
oldVirtualPath: isSet(object.oldVirtualPath) ? globalThis.String(object.oldVirtualPath) : undefined,
|
|
20
|
-
canBeIndexed: isSet(object.canBeIndexed) ? globalThis.Boolean(object.canBeIndexed) : false,
|
|
21
|
-
descriptionText: isSet(object.descriptionText) ? globalThis.String(object.descriptionText) : "",
|
|
22
|
-
promo: isSet(object.promo) ? globalThis.String(object.promo) : undefined,
|
|
23
|
-
parentName: isSet(object.parentName) ? globalThis.String(object.parentName) : undefined,
|
|
24
|
-
virtualPath: isSet(object.virtualPath) ? globalThis.String(object.virtualPath) : "",
|
|
25
|
-
link: isSet(object.link) ? Link.fromJSON(object.link) : undefined,
|
|
26
|
-
description: isSet(object.description) ? Description.fromJSON(object.description) : undefined,
|
|
27
|
-
essentialInformation: isSet(object.essentialInformation)
|
|
28
|
-
? EssentialInformation.fromJSON(object.essentialInformation)
|
|
29
|
-
: undefined,
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
toJSON(message) {
|
|
33
|
-
const obj = {};
|
|
34
|
-
if (message.id !== 0) {
|
|
35
|
-
obj.id = Math.round(message.id);
|
|
36
|
-
}
|
|
37
|
-
if (message.name !== "") {
|
|
38
|
-
obj.name = message.name;
|
|
39
|
-
}
|
|
40
|
-
if (message.title !== "") {
|
|
41
|
-
obj.title = message.title;
|
|
42
|
-
}
|
|
43
|
-
if (message.summary !== undefined) {
|
|
44
|
-
obj.summary = message.summary;
|
|
45
|
-
}
|
|
46
|
-
if (message.icon !== "") {
|
|
47
|
-
obj.icon = message.icon;
|
|
48
|
-
}
|
|
49
|
-
if (message.parentId !== undefined) {
|
|
50
|
-
obj.parentId = Math.round(message.parentId);
|
|
51
|
-
}
|
|
52
|
-
if (message.oldVirtualPath !== undefined) {
|
|
53
|
-
obj.oldVirtualPath = message.oldVirtualPath;
|
|
54
|
-
}
|
|
55
|
-
if (message.canBeIndexed !== false) {
|
|
56
|
-
obj.canBeIndexed = message.canBeIndexed;
|
|
57
|
-
}
|
|
58
|
-
if (message.descriptionText !== "") {
|
|
59
|
-
obj.descriptionText = message.descriptionText;
|
|
60
|
-
}
|
|
61
|
-
if (message.promo !== undefined) {
|
|
62
|
-
obj.promo = message.promo;
|
|
63
|
-
}
|
|
64
|
-
if (message.parentName !== undefined) {
|
|
65
|
-
obj.parentName = message.parentName;
|
|
66
|
-
}
|
|
67
|
-
if (message.virtualPath !== "") {
|
|
68
|
-
obj.virtualPath = message.virtualPath;
|
|
69
|
-
}
|
|
70
|
-
if (message.link !== undefined) {
|
|
71
|
-
obj.link = Link.toJSON(message.link);
|
|
72
|
-
}
|
|
73
|
-
if (message.description !== undefined) {
|
|
74
|
-
obj.description = Description.toJSON(message.description);
|
|
75
|
-
}
|
|
76
|
-
if (message.essentialInformation !== undefined) {
|
|
77
|
-
obj.essentialInformation = EssentialInformation.toJSON(message.essentialInformation);
|
|
78
|
-
}
|
|
79
|
-
return obj;
|
|
80
|
-
},
|
|
81
|
-
};
|
|
82
|
-
function isSet(value) {
|
|
83
|
-
return value !== null && value !== undefined;
|
|
84
|
-
}
|
package/protobuf/Duration.d.ts
DELETED
package/protobuf/Duration.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: Duration.proto
|
|
6
|
-
export const Duration = {
|
|
7
|
-
fromJSON(object) {
|
|
8
|
-
return {
|
|
9
|
-
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
10
|
-
period: isSet(object.period) ? globalThis.String(object.period) : "",
|
|
11
|
-
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
12
|
-
};
|
|
13
|
-
},
|
|
14
|
-
toJSON(message) {
|
|
15
|
-
const obj = {};
|
|
16
|
-
if (message.amount !== 0) {
|
|
17
|
-
obj.amount = Math.round(message.amount);
|
|
18
|
-
}
|
|
19
|
-
if (message.period !== "") {
|
|
20
|
-
obj.period = message.period;
|
|
21
|
-
}
|
|
22
|
-
if (message.type !== "") {
|
|
23
|
-
obj.type = message.type;
|
|
24
|
-
}
|
|
25
|
-
return obj;
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
function isSet(value) {
|
|
29
|
-
return value !== null && value !== undefined;
|
|
30
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface EnglishRequirement {
|
|
2
|
-
scale: string;
|
|
3
|
-
score: string;
|
|
4
|
-
isRequired: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const EnglishRequirement: MessageFns<EnglishRequirement>;
|
|
7
|
-
interface MessageFns<T> {
|
|
8
|
-
fromJSON(object: any): T;
|
|
9
|
-
toJSON(message: T): unknown;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: EnglishRequirement.proto
|
|
6
|
-
export const EnglishRequirement = {
|
|
7
|
-
fromJSON(object) {
|
|
8
|
-
return {
|
|
9
|
-
scale: isSet(object.scale) ? globalThis.String(object.scale) : "",
|
|
10
|
-
score: isSet(object.score) ? globalThis.String(object.score) : "",
|
|
11
|
-
isRequired: isSet(object.isRequired) ? globalThis.Boolean(object.isRequired) : false,
|
|
12
|
-
};
|
|
13
|
-
},
|
|
14
|
-
toJSON(message) {
|
|
15
|
-
const obj = {};
|
|
16
|
-
if (message.scale !== "") {
|
|
17
|
-
obj.scale = message.scale;
|
|
18
|
-
}
|
|
19
|
-
if (message.score !== "") {
|
|
20
|
-
obj.score = message.score;
|
|
21
|
-
}
|
|
22
|
-
if (message.isRequired !== false) {
|
|
23
|
-
obj.isRequired = message.isRequired;
|
|
24
|
-
}
|
|
25
|
-
return obj;
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
function isSet(value) {
|
|
29
|
-
return value !== null && value !== undefined;
|
|
30
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface EssentialInformation {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
icon: string;
|
|
5
|
-
promo: string;
|
|
6
|
-
canShowPromo: boolean;
|
|
7
|
-
parentName: string;
|
|
8
|
-
canShowParentName: boolean;
|
|
9
|
-
isNameOfDegree: boolean;
|
|
10
|
-
programmeCount: number;
|
|
11
|
-
}
|
|
12
|
-
export declare const EssentialInformation: MessageFns<EssentialInformation>;
|
|
13
|
-
interface MessageFns<T> {
|
|
14
|
-
fromJSON(object: any): T;
|
|
15
|
-
toJSON(message: T): unknown;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: EssentialInformation.proto
|
|
6
|
-
export const EssentialInformation = {
|
|
7
|
-
fromJSON(object) {
|
|
8
|
-
return {
|
|
9
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : 0,
|
|
10
|
-
name: isSet(object.name) ? globalThis.String(object.name) : "",
|
|
11
|
-
icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
|
|
12
|
-
promo: isSet(object.promo) ? globalThis.String(object.promo) : "",
|
|
13
|
-
canShowPromo: isSet(object.canShowPromo) ? globalThis.Boolean(object.canShowPromo) : false,
|
|
14
|
-
parentName: isSet(object.parentName) ? globalThis.String(object.parentName) : "",
|
|
15
|
-
canShowParentName: isSet(object.canShowParentName) ? globalThis.Boolean(object.canShowParentName) : false,
|
|
16
|
-
isNameOfDegree: isSet(object.isNameOfDegree) ? globalThis.Boolean(object.isNameOfDegree) : false,
|
|
17
|
-
programmeCount: isSet(object.programmeCount) ? globalThis.Number(object.programmeCount) : 0,
|
|
18
|
-
};
|
|
19
|
-
},
|
|
20
|
-
toJSON(message) {
|
|
21
|
-
const obj = {};
|
|
22
|
-
if (message.id !== 0) {
|
|
23
|
-
obj.id = Math.round(message.id);
|
|
24
|
-
}
|
|
25
|
-
if (message.name !== "") {
|
|
26
|
-
obj.name = message.name;
|
|
27
|
-
}
|
|
28
|
-
if (message.icon !== "") {
|
|
29
|
-
obj.icon = message.icon;
|
|
30
|
-
}
|
|
31
|
-
if (message.promo !== "") {
|
|
32
|
-
obj.promo = message.promo;
|
|
33
|
-
}
|
|
34
|
-
if (message.canShowPromo !== false) {
|
|
35
|
-
obj.canShowPromo = message.canShowPromo;
|
|
36
|
-
}
|
|
37
|
-
if (message.parentName !== "") {
|
|
38
|
-
obj.parentName = message.parentName;
|
|
39
|
-
}
|
|
40
|
-
if (message.canShowParentName !== false) {
|
|
41
|
-
obj.canShowParentName = message.canShowParentName;
|
|
42
|
-
}
|
|
43
|
-
if (message.isNameOfDegree !== false) {
|
|
44
|
-
obj.isNameOfDegree = message.isNameOfDegree;
|
|
45
|
-
}
|
|
46
|
-
if (message.programmeCount !== 0) {
|
|
47
|
-
obj.programmeCount = Math.round(message.programmeCount);
|
|
48
|
-
}
|
|
49
|
-
return obj;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function isSet(value) {
|
|
53
|
-
return value !== null && value !== undefined;
|
|
54
|
-
}
|
package/protobuf/File.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface File {
|
|
2
|
-
id?: number | undefined;
|
|
3
|
-
name?: string | undefined;
|
|
4
|
-
title?: string | undefined;
|
|
5
|
-
description?: string | undefined;
|
|
6
|
-
isHorizontal: boolean;
|
|
7
|
-
type?: string | undefined;
|
|
8
|
-
isPhoto: boolean;
|
|
9
|
-
imgix?: string | undefined;
|
|
10
|
-
width?: string | undefined;
|
|
11
|
-
height?: string | undefined;
|
|
12
|
-
hasPreview: boolean;
|
|
13
|
-
url?: string | undefined;
|
|
14
|
-
isVideo: boolean;
|
|
15
|
-
preview?: File | undefined;
|
|
16
|
-
}
|
|
17
|
-
export declare const File: MessageFns<File>;
|
|
18
|
-
interface MessageFns<T> {
|
|
19
|
-
fromJSON(object: any): T;
|
|
20
|
-
toJSON(message: T): unknown;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
package/protobuf/File.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: File.proto
|
|
6
|
-
export const File = {
|
|
7
|
-
fromJSON(object) {
|
|
8
|
-
return {
|
|
9
|
-
id: isSet(object.id) ? globalThis.Number(object.id) : undefined,
|
|
10
|
-
name: isSet(object.name) ? globalThis.String(object.name) : undefined,
|
|
11
|
-
title: isSet(object.title) ? globalThis.String(object.title) : undefined,
|
|
12
|
-
description: isSet(object.description) ? globalThis.String(object.description) : undefined,
|
|
13
|
-
isHorizontal: isSet(object.isHorizontal) ? globalThis.Boolean(object.isHorizontal) : false,
|
|
14
|
-
type: isSet(object.type) ? globalThis.String(object.type) : undefined,
|
|
15
|
-
isPhoto: isSet(object.isPhoto) ? globalThis.Boolean(object.isPhoto) : false,
|
|
16
|
-
imgix: isSet(object.imgix) ? globalThis.String(object.imgix) : undefined,
|
|
17
|
-
width: isSet(object.width) ? globalThis.String(object.width) : undefined,
|
|
18
|
-
height: isSet(object.height) ? globalThis.String(object.height) : undefined,
|
|
19
|
-
hasPreview: isSet(object.hasPreview) ? globalThis.Boolean(object.hasPreview) : false,
|
|
20
|
-
url: isSet(object.url) ? globalThis.String(object.url) : undefined,
|
|
21
|
-
isVideo: isSet(object.isVideo) ? globalThis.Boolean(object.isVideo) : false,
|
|
22
|
-
preview: isSet(object.preview) ? File.fromJSON(object.preview) : undefined,
|
|
23
|
-
};
|
|
24
|
-
},
|
|
25
|
-
toJSON(message) {
|
|
26
|
-
const obj = {};
|
|
27
|
-
if (message.id !== undefined) {
|
|
28
|
-
obj.id = Math.round(message.id);
|
|
29
|
-
}
|
|
30
|
-
if (message.name !== undefined) {
|
|
31
|
-
obj.name = message.name;
|
|
32
|
-
}
|
|
33
|
-
if (message.title !== undefined) {
|
|
34
|
-
obj.title = message.title;
|
|
35
|
-
}
|
|
36
|
-
if (message.description !== undefined) {
|
|
37
|
-
obj.description = message.description;
|
|
38
|
-
}
|
|
39
|
-
if (message.isHorizontal !== false) {
|
|
40
|
-
obj.isHorizontal = message.isHorizontal;
|
|
41
|
-
}
|
|
42
|
-
if (message.type !== undefined) {
|
|
43
|
-
obj.type = message.type;
|
|
44
|
-
}
|
|
45
|
-
if (message.isPhoto !== false) {
|
|
46
|
-
obj.isPhoto = message.isPhoto;
|
|
47
|
-
}
|
|
48
|
-
if (message.imgix !== undefined) {
|
|
49
|
-
obj.imgix = message.imgix;
|
|
50
|
-
}
|
|
51
|
-
if (message.width !== undefined) {
|
|
52
|
-
obj.width = message.width;
|
|
53
|
-
}
|
|
54
|
-
if (message.height !== undefined) {
|
|
55
|
-
obj.height = message.height;
|
|
56
|
-
}
|
|
57
|
-
if (message.hasPreview !== false) {
|
|
58
|
-
obj.hasPreview = message.hasPreview;
|
|
59
|
-
}
|
|
60
|
-
if (message.url !== undefined) {
|
|
61
|
-
obj.url = message.url;
|
|
62
|
-
}
|
|
63
|
-
if (message.isVideo !== false) {
|
|
64
|
-
obj.isVideo = message.isVideo;
|
|
65
|
-
}
|
|
66
|
-
if (message.preview !== undefined) {
|
|
67
|
-
obj.preview = File.toJSON(message.preview);
|
|
68
|
-
}
|
|
69
|
-
return obj;
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
function isSet(value) {
|
|
73
|
-
return value !== null && value !== undefined;
|
|
74
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface GPARequirement {
|
|
2
|
-
scale: string;
|
|
3
|
-
score: string;
|
|
4
|
-
isRequired: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const GPARequirement: MessageFns<GPARequirement>;
|
|
7
|
-
interface MessageFns<T> {
|
|
8
|
-
fromJSON(object: any): T;
|
|
9
|
-
toJSON(message: T): unknown;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.7.5
|
|
4
|
-
// protoc v3.12.4
|
|
5
|
-
// source: GPARequirement.proto
|
|
6
|
-
export const GPARequirement = {
|
|
7
|
-
fromJSON(object) {
|
|
8
|
-
return {
|
|
9
|
-
scale: isSet(object.scale) ? globalThis.String(object.scale) : "",
|
|
10
|
-
score: isSet(object.score) ? globalThis.String(object.score) : "",
|
|
11
|
-
isRequired: isSet(object.isRequired) ? globalThis.Boolean(object.isRequired) : false,
|
|
12
|
-
};
|
|
13
|
-
},
|
|
14
|
-
toJSON(message) {
|
|
15
|
-
const obj = {};
|
|
16
|
-
if (message.scale !== "") {
|
|
17
|
-
obj.scale = message.scale;
|
|
18
|
-
}
|
|
19
|
-
if (message.score !== "") {
|
|
20
|
-
obj.score = message.score;
|
|
21
|
-
}
|
|
22
|
-
if (message.isRequired !== false) {
|
|
23
|
-
obj.isRequired = message.isRequired;
|
|
24
|
-
}
|
|
25
|
-
return obj;
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
function isSet(value) {
|
|
29
|
-
return value !== null && value !== undefined;
|
|
30
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface InternalLink {
|
|
2
|
-
url: string;
|
|
3
|
-
description: string;
|
|
4
|
-
canShowDescription: boolean;
|
|
5
|
-
portalType: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const InternalLink: MessageFns<InternalLink>;
|
|
8
|
-
interface MessageFns<T> {
|
|
9
|
-
fromJSON(object: any): T;
|
|
10
|
-
toJSON(message: T): unknown;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
package/protobuf/InternalLink.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ProtobufClient } from "../";
|
|
2
|
-
export const InternalLink = {
|
|
3
|
-
fromJSON(object) {
|
|
4
|
-
return {
|
|
5
|
-
url: isSet(object.url) ? ProtobufClient.transformUrlUsingPortalMap(globalThis.String(object.url), object.portalType) : "",
|
|
6
|
-
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
7
|
-
canShowDescription: isSet(object.canShowDescription) ? globalThis.Boolean(object.canShowDescription) : false,
|
|
8
|
-
portalType: isSet(object.portalType) ? globalThis.String(object.portalType) : "",
|
|
9
|
-
};
|
|
10
|
-
},
|
|
11
|
-
toJSON(message) {
|
|
12
|
-
const obj = {};
|
|
13
|
-
if (message.url !== "") {
|
|
14
|
-
obj.url = message.url;
|
|
15
|
-
}
|
|
16
|
-
if (message.description !== "") {
|
|
17
|
-
obj.description = message.description;
|
|
18
|
-
}
|
|
19
|
-
if (message.canShowDescription !== false) {
|
|
20
|
-
obj.canShowDescription = message.canShowDescription;
|
|
21
|
-
}
|
|
22
|
-
if (message.portalType !== "") {
|
|
23
|
-
obj.portalType = message.portalType;
|
|
24
|
-
}
|
|
25
|
-
return obj;
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
function isSet(value) {
|
|
29
|
-
return value !== null && value !== undefined;
|
|
30
|
-
}
|
package/protobuf/Link.d.ts
DELETED