@studyportals/fawkes 7.4.2-3 → 8.0.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/package.json +105 -105
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/organisations-seo/index.d.ts +0 -4
- package/dist/organisations-seo/index.js +0 -2
- package/dist/programmes-seo/index.d.ts +0 -6
- package/dist/programmes-seo/index.js +0 -2
- package/dist/scholarships-seo/index.d.ts +0 -5
- package/dist/scholarships-seo/index.js +0 -3
- package/dist/sitemap-generator-seo/index.d.ts +0 -13
- package/dist/sitemap-generator-seo/index.js +0 -4
- package/dist/src/common/FilterKeyValuesMap.d.ts +0 -2
- package/dist/src/common/FilterKeyValuesMap.js +0 -1
- package/dist/src/common/IDependencies.d.ts +0 -4
- package/dist/src/common/IDependencies.js +0 -1
- package/dist/src/common/IDocumentationManager.d.ts +0 -5
- package/dist/src/common/IDocumentationManager.js +0 -1
- package/dist/src/common/IPolicyMetaData.d.ts +0 -6
- package/dist/src/common/IPolicyMetaData.js +0 -1
- package/dist/src/common/IPresenter.d.ts +0 -6
- package/dist/src/common/IPresenter.js +0 -1
- package/dist/src/common/IRule.d.ts +0 -8
- package/dist/src/common/IRule.js +0 -1
- package/dist/src/common/ISearchApplicationState.d.ts +0 -4
- package/dist/src/common/ISearchApplicationState.js +0 -1
- package/dist/src/common/ISearchDependencies.d.ts +0 -7
- package/dist/src/common/ISearchDependencies.js +0 -1
- package/dist/src/common/ISearchIndexabilityManager.d.ts +0 -4
- package/dist/src/common/ISearchIndexabilityManager.js +0 -1
- package/dist/src/common/ISeoDependencies.d.ts +0 -3
- package/dist/src/common/ISeoDependencies.js +0 -1
- package/dist/src/common/ISeoFilterState.d.ts +0 -5
- package/dist/src/common/ISeoFilterState.js +0 -1
- package/dist/src/common/ISeoIndexabilityPolicy.d.ts +0 -7
- package/dist/src/common/ISeoIndexabilityPolicy.js +0 -1
- package/dist/src/common/ISeoInfoBase.d.ts +0 -8
- package/dist/src/common/ISeoInfoBase.js +0 -1
- package/dist/src/common/ISitemapDependencies.d.ts +0 -5
- package/dist/src/common/ISitemapDependencies.js +0 -1
- package/dist/src/common/ISitemapUrlGenerator.d.ts +0 -7
- package/dist/src/common/ISitemapUrlGenerator.js +0 -1
- package/dist/src/common/index.d.ts +0 -5
- package/dist/src/common/index.js +0 -5
- package/dist/src/common/policies/BaseSeoIndexabilityPolicy.d.ts +0 -26
- package/dist/src/common/policies/BaseSeoIndexabilityPolicy.js +0 -56
- package/dist/src/common/rules/BaseFilterKeyValueRule.d.ts +0 -11
- package/dist/src/common/rules/BaseFilterKeyValueRule.js +0 -28
- package/dist/src/common/rules/IndexablePageNumberRule.d.ts +0 -9
- package/dist/src/common/rules/IndexablePageNumberRule.js +0 -17
- package/dist/src/common/rules/NoFiltersSelectedRule.d.ts +0 -9
- package/dist/src/common/rules/NoFiltersSelectedRule.js +0 -17
- package/dist/src/common/rules/OnlineAttendanceRule.d.ts +0 -6
- package/dist/src/common/rules/OnlineAttendanceRule.js +0 -14
- package/dist/src/common/rules/OnlyFiltersSelectedRule.d.ts +0 -12
- package/dist/src/common/rules/OnlyFiltersSelectedRule.js +0 -30
- package/dist/src/common/rules/SingleValueSelectedForFilterRule.d.ts +0 -12
- package/dist/src/common/rules/SingleValueSelectedForFilterRule.js +0 -24
- package/dist/src/enums/DependencyTypes.d.ts +0 -4
- package/dist/src/enums/DependencyTypes.js +0 -5
- package/dist/src/enums/FilterCombinations.d.ts +0 -73
- package/dist/src/enums/FilterCombinations.js +0 -74
- package/dist/src/enums/SortingOptions.d.ts +0 -4
- package/dist/src/enums/SortingOptions.js +0 -5
- package/dist/src/errors/DependencyMissingError.d.ts +0 -3
- package/dist/src/errors/DependencyMissingError.js +0 -5
- package/dist/src/errors/InvalidDependencyTypeError.d.ts +0 -3
- package/dist/src/errors/InvalidDependencyTypeError.js +0 -5
- package/dist/src/errors/InvalidFilterValueError.d.ts +0 -4
- package/dist/src/errors/InvalidFilterValueError.js +0 -5
- package/dist/src/organisations/IOrganisationSearchApplicationState.d.ts +0 -5
- package/dist/src/organisations/IOrganisationSearchApplicationState.js +0 -1
- package/dist/src/organisations/ISeoSortingState.d.ts +0 -4
- package/dist/src/organisations/ISeoSortingState.js +0 -1
- package/dist/src/organisations/OrganisationsRuleBasedIndexabilityPolicy.d.ts +0 -11
- package/dist/src/organisations/OrganisationsRuleBasedIndexabilityPolicy.js +0 -19
- package/dist/src/organisations/SearchIndexabilityManager.d.ts +0 -12
- package/dist/src/organisations/SearchIndexabilityManager.js +0 -42
- package/dist/src/organisations/index.d.ts +0 -4
- package/dist/src/organisations/index.js +0 -4
- package/dist/src/organisations/policies/OrganisationsSeoIndexabilityPolicy.d.ts +0 -17
- package/dist/src/organisations/policies/OrganisationsSeoIndexabilityPolicy.js +0 -33
- package/dist/src/organisations/policies/RankedOrganisationsSeoIndexabilityPolicy.d.ts +0 -9
- package/dist/src/organisations/policies/RankedOrganisationsSeoIndexabilityPolicy.js +0 -22
- package/dist/src/organisations/policies/index.d.ts +0 -18
- package/dist/src/organisations/policies/index.js +0 -18
- package/dist/src/organisations/policies/our-picks/Area.d.ts +0 -13
- package/dist/src/organisations/policies/our-picks/Area.js +0 -35
- package/dist/src/organisations/policies/our-picks/AreaAttendance.d.ts +0 -15
- package/dist/src/organisations/policies/our-picks/AreaAttendance.js +0 -45
- package/dist/src/organisations/policies/our-picks/Attendance.d.ts +0 -14
- package/dist/src/organisations/policies/our-picks/Attendance.js +0 -33
- package/dist/src/organisations/policies/our-picks/Continent.d.ts +0 -13
- package/dist/src/organisations/policies/our-picks/Continent.js +0 -31
- package/dist/src/organisations/policies/our-picks/Country.d.ts +0 -13
- package/dist/src/organisations/policies/our-picks/Country.js +0 -28
- package/dist/src/organisations/policies/our-picks/CountryAttendance.d.ts +0 -15
- package/dist/src/organisations/policies/our-picks/CountryAttendance.js +0 -43
- package/dist/src/organisations/policies/our-picks/Unfiltered.d.ts +0 -12
- package/dist/src/organisations/policies/our-picks/Unfiltered.js +0 -16
- package/dist/src/organisations/policies/ranked/RankedArea.d.ts +0 -13
- package/dist/src/organisations/policies/ranked/RankedArea.js +0 -37
- package/dist/src/organisations/policies/ranked/RankedAreaDiscipline.d.ts +0 -14
- package/dist/src/organisations/policies/ranked/RankedAreaDiscipline.js +0 -45
- package/dist/src/organisations/policies/ranked/RankedAttendance.d.ts +0 -14
- package/dist/src/organisations/policies/ranked/RankedAttendance.js +0 -35
- package/dist/src/organisations/policies/ranked/RankedAttendanceDiscipline.d.ts +0 -14
- package/dist/src/organisations/policies/ranked/RankedAttendanceDiscipline.js +0 -43
- package/dist/src/organisations/policies/ranked/RankedContinent.d.ts +0 -13
- package/dist/src/organisations/policies/ranked/RankedContinent.js +0 -33
- package/dist/src/organisations/policies/ranked/RankedContinentAttendance.d.ts +0 -15
- package/dist/src/organisations/policies/ranked/RankedContinentAttendance.js +0 -45
- package/dist/src/organisations/policies/ranked/RankedCountry.d.ts +0 -13
- package/dist/src/organisations/policies/ranked/RankedCountry.js +0 -30
- package/dist/src/organisations/policies/ranked/RankedCountryAttendance.d.ts +0 -14
- package/dist/src/organisations/policies/ranked/RankedCountryAttendance.js +0 -43
- package/dist/src/organisations/policies/ranked/RankedCountryDiscipline.d.ts +0 -13
- package/dist/src/organisations/policies/ranked/RankedCountryDiscipline.js +0 -41
- package/dist/src/organisations/policies/ranked/RankedDiscipline.d.ts +0 -13
- package/dist/src/organisations/policies/ranked/RankedDiscipline.js +0 -33
- package/dist/src/organisations/policies/ranked/RankedUnfiltered.d.ts +0 -12
- package/dist/src/organisations/policies/ranked/RankedUnfiltered.js +0 -22
- package/dist/src/organisations/rules/AtLeastTwoRankedResultsRule.d.ts +0 -13
- package/dist/src/organisations/rules/AtLeastTwoRankedResultsRule.js +0 -26
- package/dist/src/organisations/rules/BaseSearchVolumeOrganisationsRule.d.ts +0 -14
- package/dist/src/organisations/rules/BaseSearchVolumeOrganisationsRule.js +0 -33
- package/dist/src/organisations/rules/ContinentIsEuropeRule.d.ts +0 -6
- package/dist/src/organisations/rules/ContinentIsEuropeRule.js +0 -15
- package/dist/src/organisations/rules/NoFiltersSelectedRule.d.ts +0 -9
- package/dist/src/organisations/rules/NoFiltersSelectedRule.js +0 -17
- package/dist/src/organisations/rules/OnlineAttendanceRule.d.ts +0 -6
- package/dist/src/organisations/rules/OnlineAttendanceRule.js +0 -14
- package/dist/src/organisations/rules/SearchVolumeAreasAttendanceRule.d.ts +0 -6
- package/dist/src/organisations/rules/SearchVolumeAreasAttendanceRule.js +0 -17
- package/dist/src/organisations/rules/SearchVolumeAreasDisciplineRule.d.ts +0 -6
- package/dist/src/organisations/rules/SearchVolumeAreasDisciplineRule.js +0 -18
- package/dist/src/organisations/rules/SearchVolumeCountriesAttendanceRule.d.ts +0 -6
- package/dist/src/organisations/rules/SearchVolumeCountriesAttendanceRule.js +0 -17
- package/dist/src/organisations/types/IOrganisationSearchDependencies.d.ts +0 -9
- package/dist/src/organisations/types/IOrganisationSearchDependencies.js +0 -1
- package/dist/src/organisations/types/IOrganisationsSeoDependencies.d.ts +0 -3
- package/dist/src/organisations/types/IOrganisationsSeoDependencies.js +0 -1
- package/dist/src/organisations/types/IOrganisationsSitemapDependencies.d.ts +0 -9
- package/dist/src/organisations/types/IOrganisationsSitemapDependencies.js +0 -1
- package/dist/src/organisations/types.d.ts +0 -6
- package/dist/src/organisations/types.js +0 -6
- package/dist/src/presenters/AreaPresenter.d.ts +0 -12
- package/dist/src/presenters/AreaPresenter.js +0 -35
- package/dist/src/presenters/AttendancePresenter.d.ts +0 -11
- package/dist/src/presenters/AttendancePresenter.js +0 -27
- package/dist/src/presenters/ContinentPresenter.d.ts +0 -12
- package/dist/src/presenters/ContinentPresenter.js +0 -33
- package/dist/src/presenters/CountryPresenter.d.ts +0 -12
- package/dist/src/presenters/CountryPresenter.js +0 -38
- package/dist/src/presenters/DegreePresenter.d.ts +0 -12
- package/dist/src/presenters/DegreePresenter.js +0 -50
- package/dist/src/presenters/DisciplinePresenter.d.ts +0 -12
- package/dist/src/presenters/DisciplinePresenter.js +0 -33
- package/dist/src/presenters/DurationPresenter.d.ts +0 -15
- package/dist/src/presenters/DurationPresenter.js +0 -47
- package/dist/src/presenters/EducationalFormPresenter.d.ts +0 -12
- package/dist/src/presenters/EducationalFormPresenter.js +0 -45
- package/dist/src/presenters/FormatPresenter.d.ts +0 -11
- package/dist/src/presenters/FormatPresenter.js +0 -27
- package/dist/src/presenters/SpecialProgrammesPresenter.d.ts +0 -11
- package/dist/src/presenters/SpecialProgrammesPresenter.js +0 -31
- package/dist/src/presenters/TuitionFeePresenter.d.ts +0 -11
- package/dist/src/presenters/TuitionFeePresenter.js +0 -23
- package/dist/src/presenters/fragments/IAreaFragment.d.ts +0 -4
- package/dist/src/presenters/fragments/IAreaFragment.js +0 -1
- package/dist/src/presenters/fragments/ICountryFragment.d.ts +0 -4
- package/dist/src/presenters/fragments/ICountryFragment.js +0 -1
- package/dist/src/presenters/fragments/IFragment.d.ts +0 -4
- package/dist/src/presenters/fragments/IFragment.js +0 -1
- package/dist/src/programmes/BaseProgrammeFilterKeyValueRule.d.ts +0 -6
- package/dist/src/programmes/BaseProgrammeFilterKeyValueRule.js +0 -6
- package/dist/src/programmes/BaseProgrammeRule.d.ts +0 -10
- package/dist/src/programmes/BaseProgrammeRule.js +0 -5
- package/dist/src/programmes/IProgrammeRule.d.ts +0 -5
- package/dist/src/programmes/IProgrammeRule.js +0 -1
- package/dist/src/programmes/IProgrammeSearchApplicationState.d.ts +0 -4
- package/dist/src/programmes/IProgrammeSearchApplicationState.js +0 -1
- package/dist/src/programmes/IProgrammeSearchDependencies.d.ts +0 -7
- package/dist/src/programmes/IProgrammeSearchDependencies.js +0 -1
- package/dist/src/programmes/IProgrammesSeoDependencies.d.ts +0 -2
- package/dist/src/programmes/IProgrammesSeoDependencies.js +0 -1
- package/dist/src/programmes/ProgrammesBaseIndexabilityPolicy.d.ts +0 -15
- package/dist/src/programmes/ProgrammesBaseIndexabilityPolicy.js +0 -42
- package/dist/src/programmes/SearchIndexabilityManager.d.ts +0 -12
- package/dist/src/programmes/SearchIndexabilityManager.js +0 -82
- package/dist/src/programmes/policies/Area.d.ts +0 -15
- package/dist/src/programmes/policies/Area.js +0 -40
- package/dist/src/programmes/policies/Attendance.d.ts +0 -16
- package/dist/src/programmes/policies/Attendance.js +0 -38
- package/dist/src/programmes/policies/AttendanceArea.d.ts +0 -16
- package/dist/src/programmes/policies/AttendanceArea.js +0 -48
- package/dist/src/programmes/policies/AttendanceContinent.d.ts +0 -16
- package/dist/src/programmes/policies/AttendanceContinent.js +0 -46
- package/dist/src/programmes/policies/AttendanceDegree.d.ts +0 -16
- package/dist/src/programmes/policies/AttendanceDegree.js +0 -49
- package/dist/src/programmes/policies/AttendanceDuration.d.ts +0 -16
- package/dist/src/programmes/policies/AttendanceDuration.js +0 -48
- package/dist/src/programmes/policies/AttendanceFormat.d.ts +0 -16
- package/dist/src/programmes/policies/AttendanceFormat.js +0 -48
- package/dist/src/programmes/policies/AttendanceTuitionFee.d.ts +0 -16
- package/dist/src/programmes/policies/AttendanceTuitionFee.js +0 -49
- package/dist/src/programmes/policies/Continent.d.ts +0 -15
- package/dist/src/programmes/policies/Continent.js +0 -36
- package/dist/src/programmes/policies/ContinentDuration.d.ts +0 -15
- package/dist/src/programmes/policies/ContinentDuration.js +0 -46
- package/dist/src/programmes/policies/ContinentFormat.d.ts +0 -15
- package/dist/src/programmes/policies/ContinentFormat.js +0 -46
- package/dist/src/programmes/policies/ContinentSpecialProgrammes.d.ts +0 -15
- package/dist/src/programmes/policies/ContinentSpecialProgrammes.js +0 -46
- package/dist/src/programmes/policies/ContinentTuitionFee.d.ts +0 -16
- package/dist/src/programmes/policies/ContinentTuitionFee.js +0 -46
- package/dist/src/programmes/policies/Country.d.ts +0 -15
- package/dist/src/programmes/policies/Country.js +0 -33
- package/dist/src/programmes/policies/CountryAttendance.d.ts +0 -16
- package/dist/src/programmes/policies/CountryAttendance.js +0 -46
- package/dist/src/programmes/policies/CountryAttendanceDegree.d.ts +0 -17
- package/dist/src/programmes/policies/CountryAttendanceDegree.js +0 -55
- package/dist/src/programmes/policies/CountryDegree.d.ts +0 -16
- package/dist/src/programmes/policies/CountryDegree.js +0 -46
- package/dist/src/programmes/policies/CountryDuration.d.ts +0 -16
- package/dist/src/programmes/policies/CountryDuration.js +0 -48
- package/dist/src/programmes/policies/CountryDurationDegree.d.ts +0 -17
- package/dist/src/programmes/policies/CountryDurationDegree.js +0 -55
- package/dist/src/programmes/policies/CountryEducationalForm.d.ts +0 -16
- package/dist/src/programmes/policies/CountryEducationalForm.js +0 -47
- package/dist/src/programmes/policies/CountryFormat.d.ts +0 -16
- package/dist/src/programmes/policies/CountryFormat.js +0 -46
- package/dist/src/programmes/policies/CountrySpecialProgrammes.d.ts +0 -15
- package/dist/src/programmes/policies/CountrySpecialProgrammes.js +0 -46
- package/dist/src/programmes/policies/CountryTuitionFee.d.ts +0 -16
- package/dist/src/programmes/policies/CountryTuitionFee.js +0 -46
- package/dist/src/programmes/policies/Degree.d.ts +0 -15
- package/dist/src/programmes/policies/Degree.js +0 -38
- package/dist/src/programmes/policies/DegreeArea.d.ts +0 -15
- package/dist/src/programmes/policies/DegreeArea.js +0 -46
- package/dist/src/programmes/policies/DegreeAreaTuitionFee.d.ts +0 -15
- package/dist/src/programmes/policies/DegreeAreaTuitionFee.js +0 -52
- package/dist/src/programmes/policies/DegreeAttendanceDiscipline.d.ts +0 -17
- package/dist/src/programmes/policies/DegreeAttendanceDiscipline.js +0 -63
- package/dist/src/programmes/policies/DegreeAttendanceFormat.d.ts +0 -15
- package/dist/src/programmes/policies/DegreeAttendanceFormat.js +0 -52
- package/dist/src/programmes/policies/DegreeAttendanceSpecialProgrammes.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeAttendanceSpecialProgrammes.js +0 -56
- package/dist/src/programmes/policies/DegreeAttendanceTuitionFee.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeAttendanceTuitionFee.js +0 -55
- package/dist/src/programmes/policies/DegreeContinent.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeContinent.js +0 -46
- package/dist/src/programmes/policies/DegreeContinentTuitionFee.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeContinentTuitionFee.js +0 -52
- package/dist/src/programmes/policies/DegreeCountryAttendance.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeCountryAttendance.js +0 -88
- package/dist/src/programmes/policies/DegreeCountryDiscipline.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeCountryDiscipline.js +0 -71
- package/dist/src/programmes/policies/DegreeCountryTuitionFee.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeCountryTuitionFee.js +0 -73
- package/dist/src/programmes/policies/DegreeDuration.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeDuration.js +0 -48
- package/dist/src/programmes/policies/DegreeFormat.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeFormat.js +0 -49
- package/dist/src/programmes/policies/DegreeFormatTuitionFee.d.ts +0 -16
- package/dist/src/programmes/policies/DegreeFormatTuitionFee.js +0 -52
- package/dist/src/programmes/policies/DegreeSpecialProgrammes.d.ts +0 -15
- package/dist/src/programmes/policies/DegreeSpecialProgrammes.js +0 -48
- package/dist/src/programmes/policies/DegreeTuitionFee.d.ts +0 -15
- package/dist/src/programmes/policies/DegreeTuitionFee.js +0 -47
- package/dist/src/programmes/policies/Discipline.d.ts +0 -15
- package/dist/src/programmes/policies/Discipline.js +0 -36
- package/dist/src/programmes/policies/DisciplineArea.d.ts +0 -15
- package/dist/src/programmes/policies/DisciplineArea.js +0 -46
- package/dist/src/programmes/policies/DisciplineAttendance.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineAttendance.js +0 -46
- package/dist/src/programmes/policies/DisciplineContinent.d.ts +0 -15
- package/dist/src/programmes/policies/DisciplineContinent.js +0 -44
- package/dist/src/programmes/policies/DisciplineContinentAttendance.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineContinentAttendance.js +0 -54
- package/dist/src/programmes/policies/DisciplineCountry.d.ts +0 -15
- package/dist/src/programmes/policies/DisciplineCountry.js +0 -44
- package/dist/src/programmes/policies/DisciplineCountryAttendance.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineCountryAttendance.js +0 -54
- package/dist/src/programmes/policies/DisciplineCountryDegree.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineCountryDegree.js +0 -53
- package/dist/src/programmes/policies/DisciplineCountryEducationalForm.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineCountryEducationalForm.js +0 -53
- package/dist/src/programmes/policies/DisciplineCountryFormat.d.ts +0 -15
- package/dist/src/programmes/policies/DisciplineCountryFormat.js +0 -52
- package/dist/src/programmes/policies/DisciplineDegree.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineDegree.js +0 -46
- package/dist/src/programmes/policies/DisciplineDuration.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineDuration.js +0 -46
- package/dist/src/programmes/policies/DisciplineEducationalForm.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineEducationalForm.js +0 -47
- package/dist/src/programmes/policies/DisciplineFormat.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineFormat.js +0 -46
- package/dist/src/programmes/policies/DisciplineSpecialProgrammes.d.ts +0 -15
- package/dist/src/programmes/policies/DisciplineSpecialProgrammes.js +0 -46
- package/dist/src/programmes/policies/DisciplineTuitionFee.d.ts +0 -16
- package/dist/src/programmes/policies/DisciplineTuitionFee.js +0 -46
- package/dist/src/programmes/policies/DisciplineTuitionFeeAttendance.d.ts +0 -17
- package/dist/src/programmes/policies/DisciplineTuitionFeeAttendance.js +0 -54
- package/dist/src/programmes/policies/Duration.d.ts +0 -15
- package/dist/src/programmes/policies/Duration.js +0 -35
- package/dist/src/programmes/policies/Format.d.ts +0 -15
- package/dist/src/programmes/policies/Format.js +0 -35
- package/dist/src/programmes/policies/SpecialProgrammes.d.ts +0 -15
- package/dist/src/programmes/policies/SpecialProgrammes.js +0 -36
- package/dist/src/programmes/policies/TuitionFee.d.ts +0 -15
- package/dist/src/programmes/policies/TuitionFee.js +0 -32
- package/dist/src/programmes/policies/Unfiltered.d.ts +0 -13
- package/dist/src/programmes/policies/Unfiltered.js +0 -19
- package/dist/src/programmes/policies/index.d.ts +0 -59
- package/dist/src/programmes/policies/index.js +0 -59
- package/dist/src/programmes/rules/AffordableTuitionFeeRule.d.ts +0 -6
- package/dist/src/programmes/rules/AffordableTuitionFeeRule.js +0 -17
- package/dist/src/programmes/rules/AtLeastSevenResultsRule.d.ts +0 -15
- package/dist/src/programmes/rules/AtLeastSevenResultsRule.js +0 -30
- package/dist/src/programmes/rules/DegreeAttendanceDisciplineRule.d.ts +0 -11
- package/dist/src/programmes/rules/DegreeAttendanceDisciplineRule.js +0 -44
- package/dist/src/programmes/rules/DegreeAttendanceDisciplineSpecificRule.d.ts +0 -11
- package/dist/src/programmes/rules/DegreeAttendanceDisciplineSpecificRule.js +0 -39
- package/dist/src/programmes/rules/DegreeAttendanceSpecificRule.d.ts +0 -10
- package/dist/src/programmes/rules/DegreeAttendanceSpecificRule.js +0 -42
- package/dist/src/programmes/rules/DegreeCountryAttendanceSpecificRule.d.ts +0 -14
- package/dist/src/programmes/rules/DegreeCountryAttendanceSpecificRule.js +0 -76
- package/dist/src/programmes/rules/DegreeCountryDisciplineSpecificRule.d.ts +0 -11
- package/dist/src/programmes/rules/DegreeCountryDisciplineSpecificRule.js +0 -76
- package/dist/src/programmes/rules/DegreeCountrySpecificRule.d.ts +0 -10
- package/dist/src/programmes/rules/DegreeCountrySpecificRule.js +0 -43
- package/dist/src/programmes/rules/DegreeCountryTuitionFeeRule.d.ts +0 -11
- package/dist/src/programmes/rules/DegreeCountryTuitionFeeRule.js +0 -40
- package/dist/src/programmes/rules/DegreeCountryTuitionFeeSpecificRule.d.ts +0 -12
- package/dist/src/programmes/rules/DegreeCountryTuitionFeeSpecificRule.js +0 -62
- package/dist/src/programmes/rules/DegreeDisciplineRule.d.ts +0 -16
- package/dist/src/programmes/rules/DegreeDisciplineRule.js +0 -189
- package/dist/src/programmes/rules/ErasmusOrJointSpecialProgrammesRule.d.ts +0 -9
- package/dist/src/programmes/rules/ErasmusOrJointSpecialProgrammesRule.js +0 -28
- package/dist/src/programmes/rules/IndexableDegreeRule.d.ts +0 -10
- package/dist/src/programmes/rules/IndexableDegreeRule.js +0 -53
- package/dist/src/programmes/rules/IndexableDurationRule.d.ts +0 -12
- package/dist/src/programmes/rules/IndexableDurationRule.js +0 -37
- package/dist/src/programmes/rules/IndexableEducationalFormRule.d.ts +0 -10
- package/dist/src/programmes/rules/IndexableEducationalFormRule.js +0 -34
- package/dist/src/programmes/rules/IndexablePageNumberRule.d.ts +0 -9
- package/dist/src/programmes/rules/IndexablePageNumberRule.js +0 -17
- package/dist/src/programmes/rules/MBACountryAttendanceRule.d.ts +0 -11
- package/dist/src/programmes/rules/MBACountryAttendanceRule.js +0 -40
- package/dist/src/programmes/rules/MasterOfArtsDisciplineRule.d.ts +0 -10
- package/dist/src/programmes/rules/MasterOfArtsDisciplineRule.js +0 -41
- package/dist/src/programmes/rules/MasterOfEducationCountryDisciplineRule.d.ts +0 -11
- package/dist/src/programmes/rules/MasterOfEducationCountryDisciplineRule.js +0 -69
- package/dist/src/programmes/rules/MasterOfLawsCountryAttendanceRule.d.ts +0 -12
- package/dist/src/programmes/rules/MasterOfLawsCountryAttendanceRule.js +0 -43
- package/dist/src/programmes/rules/MasterOfLawsCountryTuitionFeeRule.d.ts +0 -12
- package/dist/src/programmes/rules/MasterOfLawsCountryTuitionFeeRule.js +0 -46
- package/dist/src/programmes/rules/MasterOfPhilosophyCountryAttendanceRule.d.ts +0 -12
- package/dist/src/programmes/rules/MasterOfPhilosophyCountryAttendanceRule.js +0 -43
- package/dist/src/programmes/rules/MasterOfScienceDisciplineRule.d.ts +0 -10
- package/dist/src/programmes/rules/MasterOfScienceDisciplineRule.js +0 -41
- package/dist/src/programmes/rules/MbaDegreeRule.d.ts +0 -6
- package/dist/src/programmes/rules/MbaDegreeRule.js +0 -15
- package/dist/src/programmes/rules/MbaOrMscDegreeRule.d.ts +0 -9
- package/dist/src/programmes/rules/MbaOrMscDegreeRule.js +0 -26
- package/dist/src/programmes/rules/NotDistanceLearningPortalRule.d.ts +0 -11
- package/dist/src/programmes/rules/NotDistanceLearningPortalRule.js +0 -28
- package/dist/src/programmes/rules/OneYearDurationRule.d.ts +0 -6
- package/dist/src/programmes/rules/OneYearDurationRule.js +0 -15
- package/dist/src/programmes/rules/OneYearOnlyRule.d.ts +0 -11
- package/dist/src/programmes/rules/OneYearOnlyRule.js +0 -34
- package/dist/src/programmes/rules/OnlineAttendanceRule.d.ts +0 -6
- package/dist/src/programmes/rules/OnlineAttendanceRule.js +0 -15
- package/dist/src/programmes/rules/PartTimeFormatRule.d.ts +0 -6
- package/dist/src/programmes/rules/PartTimeFormatRule.js +0 -15
- package/dist/src/programmes/types/IProgrammeSearchApplicationState.d.ts +0 -4
- package/dist/src/programmes/types/IProgrammeSearchApplicationState.js +0 -1
- package/dist/src/programmes/types/IProgrammeSearchDependencies.d.ts +0 -7
- package/dist/src/programmes/types/IProgrammeSearchDependencies.js +0 -1
- package/dist/src/programmes/types/IProgrammeSearchSitemapDependencies.d.ts +0 -5
- package/dist/src/programmes/types/IProgrammeSearchSitemapDependencies.js +0 -1
- package/dist/src/programmes/types/IProgrammeSeoDependencies.d.ts +0 -3
- package/dist/src/programmes/types/IProgrammeSeoDependencies.js +0 -1
- package/dist/src/programmes/types/IProgrammeSitemapDependencies.d.ts +0 -7
- package/dist/src/programmes/types/IProgrammeSitemapDependencies.js +0 -1
- package/dist/src/programmes/types/IProgrammeSitemapUrlGenerator.d.ts +0 -5
- package/dist/src/programmes/types/IProgrammeSitemapUrlGenerator.js +0 -1
- package/dist/src/scholarships/SearchIndexabilityManager.d.ts +0 -11
- package/dist/src/scholarships/SearchIndexabilityManager.js +0 -33
- package/dist/src/scholarships/index.d.ts +0 -3
- package/dist/src/scholarships/index.js +0 -3
- package/dist/src/scholarships/policies/Area.d.ts +0 -13
- package/dist/src/scholarships/policies/Area.js +0 -37
- package/dist/src/scholarships/policies/Country.d.ts +0 -12
- package/dist/src/scholarships/policies/Country.js +0 -31
- package/dist/src/scholarships/policies/Discipline.d.ts +0 -12
- package/dist/src/scholarships/policies/Discipline.js +0 -31
- package/dist/src/scholarships/policies/DisciplineCountry.d.ts +0 -12
- package/dist/src/scholarships/policies/DisciplineCountry.js +0 -39
- package/dist/src/scholarships/policies/ScholarshipSeoIndexabilityPolicy.d.ts +0 -7
- package/dist/src/scholarships/policies/ScholarshipSeoIndexabilityPolicy.js +0 -7
- package/dist/src/scholarships/policies/Unfiltered.d.ts +0 -10
- package/dist/src/scholarships/policies/Unfiltered.js +0 -16
- package/dist/src/scholarships/policies/UniversityCountry.d.ts +0 -11
- package/dist/src/scholarships/policies/UniversityCountry.js +0 -41
- package/dist/src/scholarships/rules/ExceptAustaliaAreasRule.d.ts +0 -14
- package/dist/src/scholarships/rules/ExceptAustaliaAreasRule.js +0 -42
- package/dist/src/scholarships/rules/SearchVolumeAreasRule.d.ts +0 -12
- package/dist/src/scholarships/rules/SearchVolumeAreasRule.js +0 -32
- package/dist/src/scholarships/rules/SearchVolumeCountriesDisciplinesRule.d.ts +0 -14
- package/dist/src/scholarships/rules/SearchVolumeCountriesDisciplinesRule.js +0 -43
- package/dist/src/scholarships/rules/SearchVolumeCountriesRule.d.ts +0 -12
- package/dist/src/scholarships/rules/SearchVolumeCountriesRule.js +0 -32
- package/dist/src/scholarships/rules/SearchVolumeDisciplinesRule.d.ts +0 -12
- package/dist/src/scholarships/rules/SearchVolumeDisciplinesRule.js +0 -32
- package/dist/src/scholarships/rules/files/search-volume.json +0 -39334
- package/dist/src/scholarships/types/IScholarshipSeoDependencies.d.ts +0 -3
- package/dist/src/scholarships/types/IScholarshipSeoDependencies.js +0 -1
- package/dist/src/scholarships/types/IScholarshipSitemapDependencies.d.ts +0 -5
- package/dist/src/scholarships/types/IScholarshipSitemapDependencies.js +0 -1
- package/dist/src/scholarships/types.d.ts +0 -5
- package/dist/src/scholarships/types.js +0 -5
- package/dist/src/sitemap-generator/BaseSitemapUrlGeneratorManager.d.ts +0 -14
- package/dist/src/sitemap-generator/BaseSitemapUrlGeneratorManager.js +0 -26
- package/dist/src/sitemap-generator/IOrganisation.d.ts +0 -6
- package/dist/src/sitemap-generator/IOrganisation.js +0 -1
- package/dist/src/sitemap-generator/IOrganisationsClient.d.ts +0 -4
- package/dist/src/sitemap-generator/IOrganisationsClient.js +0 -1
- package/dist/src/sitemap-generator/IPageNumberProvider.d.ts +0 -3
- package/dist/src/sitemap-generator/IPageNumberProvider.js +0 -1
- package/dist/src/sitemap-generator/IRankingApiClient.d.ts +0 -4
- package/dist/src/sitemap-generator/IRankingApiClient.js +0 -1
- package/dist/src/sitemap-generator/ISearchApiClient.d.ts +0 -5
- package/dist/src/sitemap-generator/ISearchApiClient.js +0 -1
- package/dist/src/sitemap-generator/ISitemapUrlGeneratorManager.d.ts +0 -9
- package/dist/src/sitemap-generator/ISitemapUrlGeneratorManager.js +0 -1
- package/dist/src/sitemap-generator/OrganisationsSitemapUrlGeneratorManager.d.ts +0 -14
- package/dist/src/sitemap-generator/OrganisationsSitemapUrlGeneratorManager.js +0 -51
- package/dist/src/sitemap-generator/ProgrammesSitemapUrlGeneratorManager.d.ts +0 -12
- package/dist/src/sitemap-generator/ProgrammesSitemapUrlGeneratorManager.js +0 -101
- package/dist/src/sitemap-generator/ScholarshipsSitemapUrlGeneratorManager.d.ts +0 -9
- package/dist/src/sitemap-generator/ScholarshipsSitemapUrlGeneratorManager.js +0 -28
- package/dist/src/sitemap-generator/index.d.ts +0 -0
- package/dist/src/sitemap-generator/index.js +0 -1
- package/dist/src/structured-data/ProgrammeStructuredDataFactory.d.ts +0 -18
- package/dist/src/structured-data/ProgrammeStructuredDataFactory.js +0 -91
- package/dist/src/structured-data/SearchStructuredDataFactory.d.ts +0 -34
- package/dist/src/structured-data/SearchStructuredDataFactory.js +0 -144
- package/dist/src/structured-data/dto/BreadcrumbDTO.d.ts +0 -5
- package/dist/src/structured-data/dto/BreadcrumbDTO.js +0 -1
- package/dist/src/structured-data/dto/EntityDTO.d.ts +0 -7
- package/dist/src/structured-data/dto/EntityDTO.js +0 -1
- package/dist/src/structured-data/dto/FAQItemDto.d.ts +0 -4
- package/dist/src/structured-data/dto/FAQItemDto.js +0 -1
- package/dist/src/structured-data/dto/OfferDTO.d.ts +0 -5
- package/dist/src/structured-data/dto/OfferDTO.js +0 -1
- package/dist/src/structured-data/dto/ReviewRatingDTO.d.ts +0 -4
- package/dist/src/structured-data/dto/ReviewRatingDTO.js +0 -1
- package/dist/src/structured-data/dto/index.d.ts +0 -5
- package/dist/src/structured-data/dto/index.js +0 -5
- package/dist/src/structured-data/index.d.ts +0 -2
- package/dist/src/structured-data/index.js +0 -2
- package/dist/src/structured-data/interface/StructuredDataCurrencyConversionService.d.ts +0 -3
- package/dist/src/structured-data/interface/StructuredDataCurrencyConversionService.js +0 -1
- package/dist/structured-data-seo/index.d.ts +0 -1
- package/dist/structured-data-seo/index.js +0 -1
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { areasAll } from '@studyportals/static-domain-data/areas/areas';
|
|
2
|
-
import { areaGetPath } from '@studyportals/static-domain-data/areas/area-get-path';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export class AreaPresenter {
|
|
5
|
-
filterKey = FilterKey.AREA;
|
|
6
|
-
static instance;
|
|
7
|
-
fragments;
|
|
8
|
-
constructor() {
|
|
9
|
-
this.fragments = this.generatePaths();
|
|
10
|
-
}
|
|
11
|
-
static getInstance() {
|
|
12
|
-
if (!AreaPresenter.instance) {
|
|
13
|
-
AreaPresenter.instance = new AreaPresenter();
|
|
14
|
-
}
|
|
15
|
-
return AreaPresenter.instance;
|
|
16
|
-
}
|
|
17
|
-
generatePaths() {
|
|
18
|
-
const areas = [];
|
|
19
|
-
areasAll.forEach((area) => {
|
|
20
|
-
const path = areaGetPath(area.id);
|
|
21
|
-
if (path === null) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
areas.push({
|
|
25
|
-
id: area.id,
|
|
26
|
-
path,
|
|
27
|
-
countryId: area.countryId
|
|
28
|
-
});
|
|
29
|
-
});
|
|
30
|
-
return areas;
|
|
31
|
-
}
|
|
32
|
-
getFragments() {
|
|
33
|
-
return this.fragments;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IPresenter } from '../common';
|
|
2
|
-
import { IFragment } from './fragments/IFragment';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class AttendancePresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): AttendancePresenter;
|
|
10
|
-
getFragments(): IFragment[];
|
|
11
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
2
|
-
export class AttendancePresenter {
|
|
3
|
-
filterKey = FilterKey.DELIVERY_METHOD;
|
|
4
|
-
static instance;
|
|
5
|
-
fragments;
|
|
6
|
-
constructor() {
|
|
7
|
-
this.fragments = [
|
|
8
|
-
{
|
|
9
|
-
id: 'online',
|
|
10
|
-
path: 'online'
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
id: 'blended',
|
|
14
|
-
path: 'blended'
|
|
15
|
-
}
|
|
16
|
-
];
|
|
17
|
-
}
|
|
18
|
-
static getInstance() {
|
|
19
|
-
if (!AttendancePresenter.instance) {
|
|
20
|
-
AttendancePresenter.instance = new AttendancePresenter();
|
|
21
|
-
}
|
|
22
|
-
return AttendancePresenter.instance;
|
|
23
|
-
}
|
|
24
|
-
getFragments() {
|
|
25
|
-
return this.fragments;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IFragment } from './fragments/IFragment';
|
|
2
|
-
import { IPresenter } from '../common';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class ContinentPresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): ContinentPresenter;
|
|
10
|
-
private generatePaths;
|
|
11
|
-
getFragments(): IFragment[];
|
|
12
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { continentsAll } from '@studyportals/static-domain-data/continents/continents';
|
|
2
|
-
import { continentGetPath } from '@studyportals/static-domain-data/continents/continent-get-path';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export class ContinentPresenter {
|
|
5
|
-
filterKey = FilterKey.CONTINENT;
|
|
6
|
-
static instance;
|
|
7
|
-
fragments;
|
|
8
|
-
constructor() {
|
|
9
|
-
this.fragments = this.generatePaths();
|
|
10
|
-
}
|
|
11
|
-
static getInstance() {
|
|
12
|
-
if (!ContinentPresenter.instance) {
|
|
13
|
-
ContinentPresenter.instance = new ContinentPresenter();
|
|
14
|
-
}
|
|
15
|
-
return ContinentPresenter.instance;
|
|
16
|
-
}
|
|
17
|
-
generatePaths() {
|
|
18
|
-
const continents = [];
|
|
19
|
-
for (const continent of continentsAll) {
|
|
20
|
-
const path = continentGetPath(continent.id);
|
|
21
|
-
if (path) {
|
|
22
|
-
continents.push({
|
|
23
|
-
id: continent.id,
|
|
24
|
-
path
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return continents;
|
|
29
|
-
}
|
|
30
|
-
getFragments() {
|
|
31
|
-
return this.fragments;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ICountryFragment } from './fragments/ICountryFragment';
|
|
2
|
-
import { IPresenter } from '../common';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class CountryPresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): CountryPresenter;
|
|
10
|
-
private generatePaths;
|
|
11
|
-
getFragments(): ICountryFragment[];
|
|
12
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { countriesExtendedAll } from '@studyportals/static-domain-data/countries/countries-extended';
|
|
2
|
-
import { countryGetIsoCodePath } from '@studyportals/static-domain-data/countries/country-get-iso-path';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export class CountryPresenter {
|
|
5
|
-
filterKey = FilterKey.COUNTRY;
|
|
6
|
-
static instance;
|
|
7
|
-
fragments;
|
|
8
|
-
constructor() {
|
|
9
|
-
this.fragments = this.generatePaths();
|
|
10
|
-
}
|
|
11
|
-
static getInstance() {
|
|
12
|
-
if (!CountryPresenter.instance) {
|
|
13
|
-
CountryPresenter.instance = new CountryPresenter();
|
|
14
|
-
}
|
|
15
|
-
return CountryPresenter.instance;
|
|
16
|
-
}
|
|
17
|
-
generatePaths() {
|
|
18
|
-
const countries = [];
|
|
19
|
-
countriesExtendedAll.forEach((country) => {
|
|
20
|
-
if (!country.iso) {
|
|
21
|
-
return;
|
|
22
|
-
}
|
|
23
|
-
const path = countryGetIsoCodePath(country.iso);
|
|
24
|
-
if (path === null) {
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
countries.push({
|
|
28
|
-
id: country.id,
|
|
29
|
-
iso: country.iso,
|
|
30
|
-
path
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
return countries;
|
|
34
|
-
}
|
|
35
|
-
getFragments() {
|
|
36
|
-
return this.fragments;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IPresenter } from '../common';
|
|
2
|
-
import { IFragment } from './fragments/IFragment';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class DegreePresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): DegreePresenter;
|
|
10
|
-
getFragments(): IFragment[];
|
|
11
|
-
private formatDegreePath;
|
|
12
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { DegreeTypeFilterOptionValue, FilterKey } from '@studyportals/search-filters';
|
|
2
|
-
export class DegreePresenter {
|
|
3
|
-
filterKey = FilterKey.DEGREE_TYPE;
|
|
4
|
-
static instance;
|
|
5
|
-
fragments;
|
|
6
|
-
constructor() {
|
|
7
|
-
this.fragments = Object.values(DegreeTypeFilterOptionValue).map((degree) => {
|
|
8
|
-
return {
|
|
9
|
-
id: degree,
|
|
10
|
-
path: this.formatDegreePath(degree)
|
|
11
|
-
};
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
static getInstance() {
|
|
15
|
-
if (!DegreePresenter.instance) {
|
|
16
|
-
DegreePresenter.instance = new DegreePresenter();
|
|
17
|
-
}
|
|
18
|
-
return DegreePresenter.instance;
|
|
19
|
-
}
|
|
20
|
-
getFragments() {
|
|
21
|
-
return this.fragments;
|
|
22
|
-
}
|
|
23
|
-
formatDegreePath(degree) {
|
|
24
|
-
const formattedDegree = degree.toLowerCase().replace(/_/g, '-');
|
|
25
|
-
const pathById = new Map([
|
|
26
|
-
['phd', 'ph-d'],
|
|
27
|
-
['dba', 'dba'],
|
|
28
|
-
['doct', 'doctorate'],
|
|
29
|
-
['msc', 'msc'],
|
|
30
|
-
['ma', 'ma'],
|
|
31
|
-
['mba', 'mba'],
|
|
32
|
-
['llm', 'llm'],
|
|
33
|
-
['mphil', 'mphil'],
|
|
34
|
-
['med', 'med'],
|
|
35
|
-
['meng', 'meng'],
|
|
36
|
-
['postgraddip', 'postgraduate-diploma'],
|
|
37
|
-
['postgradcert', 'postgraduate-certificate'],
|
|
38
|
-
['premaster', 'pre-master'],
|
|
39
|
-
['bsc', 'bsc'],
|
|
40
|
-
['ba', 'ba'],
|
|
41
|
-
['bba', 'bba'],
|
|
42
|
-
['ad', 'associate-degree'],
|
|
43
|
-
['gcertificate', 'graduate-certificate'],
|
|
44
|
-
['gdiploma', 'graduate-diploma'],
|
|
45
|
-
['prebachelor', 'prebachelor'],
|
|
46
|
-
['certificate', 'certificate']
|
|
47
|
-
]);
|
|
48
|
-
return pathById.get(degree) || formattedDegree;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IFragment } from './fragments/IFragment';
|
|
2
|
-
import { IPresenter } from '../common';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class DisciplinePresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): DisciplinePresenter;
|
|
10
|
-
private generatePaths;
|
|
11
|
-
getFragments(): IFragment[];
|
|
12
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { disciplinesAll } from '@studyportals/static-domain-data/disciplines/disciplines';
|
|
2
|
-
import { subdisciplinesAll } from '@studyportals/static-domain-data/disciplines/subdisciplines';
|
|
3
|
-
import { disciplineGetVirtualPath } from '@studyportals/static-domain-data/disciplines/discipline-get-virtual-path';
|
|
4
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
5
|
-
export class DisciplinePresenter {
|
|
6
|
-
filterKey = FilterKey.DISCIPLINES;
|
|
7
|
-
static instance;
|
|
8
|
-
fragments;
|
|
9
|
-
constructor() {
|
|
10
|
-
this.fragments = this.generatePaths();
|
|
11
|
-
}
|
|
12
|
-
static getInstance() {
|
|
13
|
-
if (!DisciplinePresenter.instance) {
|
|
14
|
-
DisciplinePresenter.instance = new DisciplinePresenter();
|
|
15
|
-
}
|
|
16
|
-
return DisciplinePresenter.instance;
|
|
17
|
-
}
|
|
18
|
-
generatePaths() {
|
|
19
|
-
const disciplines = [];
|
|
20
|
-
const allDisciplines = [...disciplinesAll, ...subdisciplinesAll];
|
|
21
|
-
allDisciplines.forEach((discipline) => {
|
|
22
|
-
const path = disciplineGetVirtualPath(discipline.id);
|
|
23
|
-
if (path === null) {
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
disciplines.push({ id: discipline.id, path });
|
|
27
|
-
});
|
|
28
|
-
return disciplines;
|
|
29
|
-
}
|
|
30
|
-
getFragments() {
|
|
31
|
-
return this.fragments;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { IPresenter } from '../common';
|
|
2
|
-
import { IFragment } from './fragments/IFragment';
|
|
3
|
-
import { DurationFilterOptionValue, FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class DurationPresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
static readonly INDEXABLE_DURATIONS: DurationFilterOptionValue[];
|
|
9
|
-
private constructor();
|
|
10
|
-
static getInstance(): DurationPresenter;
|
|
11
|
-
private generatePaths;
|
|
12
|
-
private formatDurationPath;
|
|
13
|
-
getFragments(): IFragment[];
|
|
14
|
-
isIndexableDuration(value: DurationFilterOptionValue): boolean;
|
|
15
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { DurationFilterOptionValue, FilterKey } from '@studyportals/search-filters';
|
|
2
|
-
export class DurationPresenter {
|
|
3
|
-
filterKey = FilterKey.DURATION;
|
|
4
|
-
static instance;
|
|
5
|
-
fragments;
|
|
6
|
-
static INDEXABLE_DURATIONS = [
|
|
7
|
-
DurationFilterOptionValue.ONE_YEAR,
|
|
8
|
-
DurationFilterOptionValue.TWO_YEARS,
|
|
9
|
-
DurationFilterOptionValue.THREE_YEARS,
|
|
10
|
-
DurationFilterOptionValue.FOUR_YEARS
|
|
11
|
-
];
|
|
12
|
-
constructor() {
|
|
13
|
-
this.fragments = this.generatePaths();
|
|
14
|
-
}
|
|
15
|
-
static getInstance() {
|
|
16
|
-
if (!DurationPresenter.instance) {
|
|
17
|
-
DurationPresenter.instance = new DurationPresenter();
|
|
18
|
-
}
|
|
19
|
-
return DurationPresenter.instance;
|
|
20
|
-
}
|
|
21
|
-
generatePaths() {
|
|
22
|
-
return DurationPresenter.INDEXABLE_DURATIONS.map((duration) => ({
|
|
23
|
-
id: duration,
|
|
24
|
-
path: this.formatDurationPath(duration)
|
|
25
|
-
}));
|
|
26
|
-
}
|
|
27
|
-
formatDurationPath(duration) {
|
|
28
|
-
switch (duration) {
|
|
29
|
-
case DurationFilterOptionValue.ONE_YEAR:
|
|
30
|
-
return '1-year';
|
|
31
|
-
case DurationFilterOptionValue.TWO_YEARS:
|
|
32
|
-
return '2-years';
|
|
33
|
-
case DurationFilterOptionValue.THREE_YEARS:
|
|
34
|
-
return '3-years';
|
|
35
|
-
case DurationFilterOptionValue.FOUR_YEARS:
|
|
36
|
-
return '4-years';
|
|
37
|
-
default:
|
|
38
|
-
return duration.toLowerCase().replace(/_/g, '-');
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
getFragments() {
|
|
42
|
-
return this.fragments;
|
|
43
|
-
}
|
|
44
|
-
isIndexableDuration(value) {
|
|
45
|
-
return DurationPresenter.INDEXABLE_DURATIONS.includes(value);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IPresenter } from '../common';
|
|
2
|
-
import { IFragment } from './fragments/IFragment';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class EducationalFormPresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): EducationalFormPresenter;
|
|
10
|
-
private formatEducationalFormPath;
|
|
11
|
-
getFragments(): IFragment[];
|
|
12
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { EducationalFormFilterOptionValue, FilterKey } from '@studyportals/search-filters';
|
|
2
|
-
export class EducationalFormPresenter {
|
|
3
|
-
filterKey = FilterKey.EDUCATIONAL_FORM;
|
|
4
|
-
static instance;
|
|
5
|
-
fragments;
|
|
6
|
-
constructor() {
|
|
7
|
-
const indexableEducationalForms = [
|
|
8
|
-
EducationalFormFilterOptionValue.ACADEMIC_COURSE,
|
|
9
|
-
EducationalFormFilterOptionValue.SUMMER_SCHOOL,
|
|
10
|
-
EducationalFormFilterOptionValue.SEMESTER_STUDY_ABROAD,
|
|
11
|
-
EducationalFormFilterOptionValue.SKILL_PROFESSIONAL_COURSE
|
|
12
|
-
];
|
|
13
|
-
this.fragments = indexableEducationalForms.map((form) => {
|
|
14
|
-
return {
|
|
15
|
-
id: form,
|
|
16
|
-
path: this.formatEducationalFormPath(form)
|
|
17
|
-
};
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
static getInstance() {
|
|
21
|
-
if (!EducationalFormPresenter.instance) {
|
|
22
|
-
EducationalFormPresenter.instance = new EducationalFormPresenter();
|
|
23
|
-
}
|
|
24
|
-
return EducationalFormPresenter.instance;
|
|
25
|
-
}
|
|
26
|
-
formatEducationalFormPath(form) {
|
|
27
|
-
switch (form) {
|
|
28
|
-
case EducationalFormFilterOptionValue.ACADEMIC_COURSE:
|
|
29
|
-
return 'academic-course';
|
|
30
|
-
case EducationalFormFilterOptionValue.CONFERENCE_SEMINAR:
|
|
31
|
-
return 'conference';
|
|
32
|
-
case EducationalFormFilterOptionValue.SUMMER_SCHOOL:
|
|
33
|
-
return 'summer-school';
|
|
34
|
-
case EducationalFormFilterOptionValue.WINTER_SCHOOL:
|
|
35
|
-
return 'winter-school';
|
|
36
|
-
case EducationalFormFilterOptionValue.SEMESTER_STUDY_ABROAD:
|
|
37
|
-
return 'semester-abroad';
|
|
38
|
-
case EducationalFormFilterOptionValue.SKILL_PROFESSIONAL_COURSE:
|
|
39
|
-
return 'skill';
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
getFragments() {
|
|
43
|
-
return this.fragments;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IPresenter } from '../common';
|
|
2
|
-
import { IFragment } from './fragments/IFragment';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class FormatPresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): FormatPresenter;
|
|
10
|
-
getFragments(): IFragment[];
|
|
11
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { FormatFilterOptionValue, FilterKey } from '@studyportals/search-filters';
|
|
2
|
-
export class FormatPresenter {
|
|
3
|
-
filterKey = FilterKey.ATTENDANCE;
|
|
4
|
-
static instance;
|
|
5
|
-
fragments;
|
|
6
|
-
constructor() {
|
|
7
|
-
this.fragments = [
|
|
8
|
-
{
|
|
9
|
-
id: FormatFilterOptionValue.PART_TIME,
|
|
10
|
-
path: 'part-time'
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
id: FormatFilterOptionValue.FULL_TIME,
|
|
14
|
-
path: 'full-time'
|
|
15
|
-
}
|
|
16
|
-
];
|
|
17
|
-
}
|
|
18
|
-
static getInstance() {
|
|
19
|
-
if (!FormatPresenter.instance) {
|
|
20
|
-
FormatPresenter.instance = new FormatPresenter();
|
|
21
|
-
}
|
|
22
|
-
return FormatPresenter.instance;
|
|
23
|
-
}
|
|
24
|
-
getFragments() {
|
|
25
|
-
return this.fragments;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IPresenter } from '../common';
|
|
2
|
-
import { IFragment } from './fragments/IFragment';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class SpecialProgrammesPresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): SpecialProgrammesPresenter;
|
|
10
|
-
getFragments(): IFragment[];
|
|
11
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { SpecialProgrammesFilterOptionValue, FilterKey } from '@studyportals/search-filters';
|
|
2
|
-
export class SpecialProgrammesPresenter {
|
|
3
|
-
filterKey = FilterKey.SPECIAL_PROGRAMMES;
|
|
4
|
-
static instance;
|
|
5
|
-
fragments;
|
|
6
|
-
constructor() {
|
|
7
|
-
this.fragments = [
|
|
8
|
-
{
|
|
9
|
-
id: SpecialProgrammesFilterOptionValue.JOINT_PROGRAMMES,
|
|
10
|
-
path: 'joint-programmes'
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
id: SpecialProgrammesFilterOptionValue.ERASMUS_MUNDUS,
|
|
14
|
-
path: 'erasmus-mundus'
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
id: SpecialProgrammesFilterOptionValue.EXECUTIVE_PROGRAMMES,
|
|
18
|
-
path: 'executive-programmes'
|
|
19
|
-
}
|
|
20
|
-
];
|
|
21
|
-
}
|
|
22
|
-
static getInstance() {
|
|
23
|
-
if (!SpecialProgrammesPresenter.instance) {
|
|
24
|
-
SpecialProgrammesPresenter.instance = new SpecialProgrammesPresenter();
|
|
25
|
-
}
|
|
26
|
-
return SpecialProgrammesPresenter.instance;
|
|
27
|
-
}
|
|
28
|
-
getFragments() {
|
|
29
|
-
return this.fragments;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IPresenter } from '../common';
|
|
2
|
-
import { IFragment } from './fragments/IFragment';
|
|
3
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
4
|
-
export declare class TuitionFeePresenter implements IPresenter {
|
|
5
|
-
readonly filterKey: FilterKey;
|
|
6
|
-
private static instance;
|
|
7
|
-
private readonly fragments;
|
|
8
|
-
private constructor();
|
|
9
|
-
static getInstance(): TuitionFeePresenter;
|
|
10
|
-
getFragments(): IFragment[];
|
|
11
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { TuitionFeeFilterOptionValue, FilterKey } from '@studyportals/search-filters';
|
|
2
|
-
export class TuitionFeePresenter {
|
|
3
|
-
filterKey = FilterKey.TUITION_FEE;
|
|
4
|
-
static instance;
|
|
5
|
-
fragments;
|
|
6
|
-
constructor() {
|
|
7
|
-
this.fragments = [
|
|
8
|
-
{
|
|
9
|
-
id: TuitionFeeFilterOptionValue.ZERO_TO_TWO_THOUSAND_FIVE_HUNDRED,
|
|
10
|
-
path: 'affordable'
|
|
11
|
-
}
|
|
12
|
-
];
|
|
13
|
-
}
|
|
14
|
-
static getInstance() {
|
|
15
|
-
if (!TuitionFeePresenter.instance) {
|
|
16
|
-
TuitionFeePresenter.instance = new TuitionFeePresenter();
|
|
17
|
-
}
|
|
18
|
-
return TuitionFeePresenter.instance;
|
|
19
|
-
}
|
|
20
|
-
getFragments() {
|
|
21
|
-
return this.fragments;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseFilterKeyValueRule } from '../common/rules/BaseFilterKeyValueRule';
|
|
2
|
-
import { FilterKeyValuesMap } from '../common/FilterKeyValuesMap';
|
|
3
|
-
import { IProgrammeRule } from './IProgrammeRule';
|
|
4
|
-
export declare abstract class BaseProgrammeFilterKeyValueRule extends BaseFilterKeyValueRule implements IProgrammeRule {
|
|
5
|
-
forSitemapGeneratorWithPageNumber(filterKeyValues: FilterKeyValuesMap): Promise<boolean>;
|
|
6
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseFilterKeyValueRule } from '../common/rules/BaseFilterKeyValueRule';
|
|
2
|
-
export class BaseProgrammeFilterKeyValueRule extends BaseFilterKeyValueRule {
|
|
3
|
-
forSitemapGeneratorWithPageNumber(filterKeyValues) {
|
|
4
|
-
return this.forSitemapGenerator(filterKeyValues);
|
|
5
|
-
}
|
|
6
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { FilterKeyValuesMap } from '../common/FilterKeyValuesMap';
|
|
2
|
-
import { IProgrammeRule } from './IProgrammeRule';
|
|
3
|
-
import { ISearchDependencies } from '../common/ISearchDependencies';
|
|
4
|
-
export declare abstract class BaseProgrammeRule implements IProgrammeRule {
|
|
5
|
-
forSitemapGeneratorWithPageNumber(filterKeyValues: FilterKeyValuesMap): Promise<boolean>;
|
|
6
|
-
abstract forSitemapGenerator(filterKeyValues: FilterKeyValuesMap): Promise<boolean>;
|
|
7
|
-
abstract forSearch(dependencies: ISearchDependencies): Promise<boolean>;
|
|
8
|
-
abstract getName(): string;
|
|
9
|
-
abstract getDescription(): string;
|
|
10
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { IRule } from '../common/IRule';
|
|
2
|
-
import { FilterKeyValuesMap } from '../common/FilterKeyValuesMap';
|
|
3
|
-
export interface IProgrammeRule extends IRule {
|
|
4
|
-
forSitemapGeneratorWithPageNumber(filterKeyValues: FilterKeyValuesMap, pageNumber: number): Promise<boolean>;
|
|
5
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ISearchDependencies } from '../common/ISearchDependencies';
|
|
2
|
-
import { IProgrammeSearchApplicationState } from './IProgrammeSearchApplicationState';
|
|
3
|
-
import { PortalType } from '@studyportals/domain-client';
|
|
4
|
-
export interface IProgrammeSearchDependencies extends ISearchDependencies {
|
|
5
|
-
portalType: PortalType;
|
|
6
|
-
applicationState: IProgrammeSearchApplicationState;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BaseSeoIndexabilityPolicy } from '../common/policies/BaseSeoIndexabilityPolicy';
|
|
2
|
-
import { IProgrammeSeoDependencies } from './types/IProgrammeSeoDependencies';
|
|
3
|
-
import { IProgrammeSitemapUrlGenerator } from './types/IProgrammeSitemapUrlGenerator';
|
|
4
|
-
import { FilterKey } from '@studyportals/search-filters';
|
|
5
|
-
import { FilterKeyValuesMap } from '../../sitemap-generator-seo';
|
|
6
|
-
import { IProgrammeRule } from './IProgrammeRule';
|
|
7
|
-
import { IRule } from '../common/IRule';
|
|
8
|
-
export declare abstract class ProgrammesBaseIndexabilityPolicy extends BaseSeoIndexabilityPolicy<IProgrammeSeoDependencies> implements IProgrammeSitemapUrlGenerator {
|
|
9
|
-
abstract readonly filterKeys: FilterKey[];
|
|
10
|
-
protected readonly indexablePageNumbers: number[];
|
|
11
|
-
protected abstract readonly rules: IProgrammeRule[] | IRule[];
|
|
12
|
-
protected initateBaseRules(): void;
|
|
13
|
-
checkRulesForSitemapWithPageNumber(filterKeyValues: FilterKeyValuesMap, pageNumber: number): Promise<boolean>;
|
|
14
|
-
protected getPathWithPageNumber(path: string, pageNumber: number): string;
|
|
15
|
-
}
|