@studyportals/fawkes 7.2.0 → 7.2.1
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/dist/src/organisations/policies/OrganisationsSeoIndexabilityPolicy.d.ts +5 -1
- package/dist/src/organisations/policies/OrganisationsSeoIndexabilityPolicy.js +6 -3
- package/dist/src/organisations/policies/RankedOrganisationsSeoIndexabilityPolicy.js +1 -1
- package/dist/src/organisations/policies/our-picks/Area.d.ts +1 -3
- package/dist/src/organisations/policies/our-picks/Area.js +1 -5
- package/dist/src/organisations/policies/our-picks/AreaAttendance.d.ts +1 -3
- package/dist/src/organisations/policies/our-picks/AreaAttendance.js +1 -5
- package/dist/src/organisations/policies/our-picks/Attendance.d.ts +1 -3
- package/dist/src/organisations/policies/our-picks/Attendance.js +1 -5
- package/dist/src/organisations/policies/our-picks/Continent.d.ts +1 -3
- package/dist/src/organisations/policies/our-picks/Continent.js +1 -5
- package/dist/src/organisations/policies/our-picks/Country.d.ts +1 -3
- package/dist/src/organisations/policies/our-picks/Country.js +1 -5
- package/dist/src/organisations/policies/our-picks/CountryAttendance.d.ts +1 -3
- package/dist/src/organisations/policies/our-picks/CountryAttendance.js +1 -5
- package/dist/src/organisations/policies/our-picks/Unfiltered.d.ts +1 -3
- package/dist/src/organisations/policies/our-picks/Unfiltered.js +1 -5
- package/dist/src/organisations/policies/ranked/RankedArea.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedArea.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedAreaDiscipline.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedAreaDiscipline.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedAttendance.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedAttendance.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedAttendanceDiscipline.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedAttendanceDiscipline.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedContinent.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedContinent.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedContinentAttendance.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedContinentAttendance.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedCountry.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedCountry.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedCountryAttendance.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedCountryAttendance.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedCountryDiscipline.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedCountryDiscipline.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedDiscipline.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedDiscipline.js +1 -2
- package/dist/src/organisations/policies/ranked/RankedUnfiltered.d.ts +1 -1
- package/dist/src/organisations/policies/ranked/RankedUnfiltered.js +1 -2
- package/dist/src/programmes/policies/DegreeAttendanceDiscipline.d.ts +17 -0
- package/dist/src/programmes/policies/DegreeAttendanceDiscipline.js +61 -0
- package/dist/src/programmes/policies/DegreeCountryAttendance.d.ts +19 -0
- package/dist/src/programmes/policies/DegreeCountryAttendance.js +98 -0
- package/dist/src/programmes/policies/DegreeCountryDiscipline.d.ts +17 -0
- package/dist/src/programmes/policies/DegreeCountryDiscipline.js +75 -0
- package/dist/src/programmes/policies/DegreeCountryTuitionFee.d.ts +18 -0
- package/dist/src/programmes/policies/DegreeCountryTuitionFee.js +81 -0
- package/dist/src/programmes/rules/DegreeAttendanceDisciplineRule.d.ts +11 -0
- package/dist/src/programmes/rules/DegreeAttendanceDisciplineRule.js +45 -0
- package/dist/src/programmes/rules/DegreeAttendanceDisciplineSpecificRule.d.ts +11 -0
- package/dist/src/programmes/rules/DegreeAttendanceDisciplineSpecificRule.js +41 -0
- package/dist/src/programmes/rules/DegreeAttendanceSpecificRule.d.ts +10 -0
- package/dist/src/programmes/rules/DegreeAttendanceSpecificRule.js +42 -0
- package/dist/src/programmes/rules/DegreeCountryAttendanceSpecificRule.d.ts +10 -0
- package/dist/src/programmes/rules/DegreeCountryAttendanceSpecificRule.js +34 -0
- package/dist/src/programmes/rules/DegreeCountrySpecificRule.d.ts +10 -0
- package/dist/src/programmes/rules/DegreeCountrySpecificRule.js +42 -0
- package/dist/src/programmes/rules/DegreeCountryTuitionFeeRule.d.ts +11 -0
- package/dist/src/programmes/rules/DegreeCountryTuitionFeeRule.js +45 -0
- package/dist/src/programmes/rules/DegreeCountryTuitionFeeSpecificRule.d.ts +10 -0
- package/dist/src/programmes/rules/DegreeCountryTuitionFeeSpecificRule.js +33 -0
- package/dist/src/programmes/rules/DegreeDisciplineRule.d.ts +20 -0
- package/dist/src/programmes/rules/DegreeDisciplineRule.js +171 -0
- package/dist/src/programmes/rules/MBACountryAttendanceRule.d.ts +11 -0
- package/dist/src/programmes/rules/MBACountryAttendanceRule.js +44 -0
- package/dist/src/programmes/rules/MasterOfArtsDisciplineRule.d.ts +10 -0
- package/dist/src/programmes/rules/MasterOfArtsDisciplineRule.js +41 -0
- package/dist/src/programmes/rules/MasterOfEducationCountryDisciplineRule.d.ts +11 -0
- package/dist/src/programmes/rules/MasterOfEducationCountryDisciplineRule.js +75 -0
- package/dist/src/programmes/rules/MasterOfLawsCountryAttendanceRule.d.ts +12 -0
- package/dist/src/programmes/rules/MasterOfLawsCountryAttendanceRule.js +48 -0
- package/dist/src/programmes/rules/MasterOfLawsCountryTuitionFeeRule.d.ts +12 -0
- package/dist/src/programmes/rules/MasterOfLawsCountryTuitionFeeRule.js +49 -0
- package/dist/src/programmes/rules/MasterOfPhilosophyCountryAttendanceRule.d.ts +12 -0
- package/dist/src/programmes/rules/MasterOfPhilosophyCountryAttendanceRule.js +48 -0
- package/dist/src/programmes/rules/MasterOfScienceDisciplineRule.d.ts +10 -0
- package/dist/src/programmes/rules/MasterOfScienceDisciplineRule.js +41 -0
- package/dist/src/scholarships/policies/Area.d.ts +3 -5
- package/dist/src/scholarships/policies/Area.js +4 -6
- package/dist/src/scholarships/policies/Country.d.ts +3 -6
- package/dist/src/scholarships/policies/Country.js +4 -9
- package/dist/src/scholarships/policies/Discipline.d.ts +3 -6
- package/dist/src/scholarships/policies/Discipline.js +4 -9
- package/dist/src/scholarships/policies/DisciplineCountry.d.ts +3 -6
- package/dist/src/scholarships/policies/DisciplineCountry.js +4 -9
- package/dist/src/scholarships/policies/ScholarshipSeoIndexabilityPolicy.d.ts +7 -0
- package/dist/src/scholarships/policies/ScholarshipSeoIndexabilityPolicy.js +7 -0
- package/dist/src/scholarships/policies/Unfiltered.d.ts +3 -6
- package/dist/src/scholarships/policies/Unfiltered.js +4 -9
- package/dist/src/scholarships/policies/UniversityCountry.d.ts +3 -6
- package/dist/src/scholarships/policies/UniversityCountry.js +4 -9
- package/package.json +1 -1
|
@@ -2,10 +2,14 @@ import { PortalType } from '@studyportals/domain-client';
|
|
|
2
2
|
import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabilityPolicy';
|
|
3
3
|
import { IOrganisationsSeoDependencies } from '../types/IOrganisationsSeoDependencies';
|
|
4
4
|
import { SortingOptions } from '../../enums/SortingOptions';
|
|
5
|
+
import { IRule } from '../../common/IRule';
|
|
5
6
|
export declare abstract class OrganisationsSeoIndexabilityPolicy extends BaseSeoIndexabilityPolicy<IOrganisationsSeoDependencies> {
|
|
6
7
|
protected readonly indexablePortalTypes: PortalType[];
|
|
7
8
|
protected abstract readonly sortingOption: SortingOptions;
|
|
8
|
-
protected
|
|
9
|
+
protected abstract readonly baseRules: IRule[];
|
|
10
|
+
private additionalRules;
|
|
11
|
+
protected get rules(): IRule[];
|
|
12
|
+
protected addRule(rule: IRule): void;
|
|
9
13
|
generateSitemapUrls(): Promise<string[]>;
|
|
10
14
|
protected isIndexable(): Promise<boolean>;
|
|
11
15
|
protected getPathWithSortingOption(path: string): string;
|
|
@@ -3,9 +3,12 @@ import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabi
|
|
|
3
3
|
import { IndexablePageNumberRule } from '../../common/rules/IndexablePageNumberRule';
|
|
4
4
|
export class OrganisationsSeoIndexabilityPolicy extends BaseSeoIndexabilityPolicy {
|
|
5
5
|
indexablePortalTypes = [PortalType.MASTER];
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
this.
|
|
6
|
+
additionalRules = [];
|
|
7
|
+
get rules() {
|
|
8
|
+
return [...this.baseRules, ...this.additionalRules, new IndexablePageNumberRule()];
|
|
9
|
+
}
|
|
10
|
+
addRule(rule) {
|
|
11
|
+
this.additionalRules.push(rule);
|
|
9
12
|
}
|
|
10
13
|
async generateSitemapUrls() {
|
|
11
14
|
if (this.indexablePortalTypes.includes(this.dependencies.portalType)) {
|
|
@@ -14,7 +14,7 @@ export class RankedOrganisationsSeoIndexabilityPolicy extends OrganisationsSeoIn
|
|
|
14
14
|
else {
|
|
15
15
|
rankedResultsCountRule = new AtLeastTwoRankedResultsRule();
|
|
16
16
|
}
|
|
17
|
-
this.
|
|
17
|
+
this.addRule(rankedResultsCountRule);
|
|
18
18
|
}
|
|
19
19
|
getPathWithSortingOption(path) {
|
|
20
20
|
return 'rankings/' + path;
|
|
@@ -3,13 +3,11 @@ import { SortingOptions } from '../../../enums/SortingOptions';
|
|
|
3
3
|
import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleValueSelectedForFilterRule';
|
|
4
4
|
import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/policies/OrganisationsSeoIndexabilityPolicy';
|
|
5
5
|
import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
|
|
6
|
-
import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
|
|
7
6
|
export declare class Area extends OrganisationsSeoIndexabilityPolicy {
|
|
8
7
|
readonly name: string;
|
|
9
8
|
readonly description: string;
|
|
10
9
|
protected readonly sortingOption = SortingOptions.OUR_PICKS;
|
|
11
|
-
protected readonly
|
|
12
|
-
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
10
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
|
|
13
11
|
protected generateUrls(): Promise<string[]>;
|
|
14
12
|
get filterCombination(): FilterCombinations;
|
|
15
13
|
}
|
|
@@ -9,15 +9,11 @@ export class Area extends OrganisationsSeoIndexabilityPolicy {
|
|
|
9
9
|
name = 'Area Policy';
|
|
10
10
|
description = 'Controls indexing of pages filtered by geographic areas, ensuring only SEO-valuable regional content with sufficient search volume is indexed.';
|
|
11
11
|
sortingOption = SortingOptions.OUR_PICKS;
|
|
12
|
-
|
|
12
|
+
baseRules = [
|
|
13
13
|
new SingleValueSelectedForFilterRule(FilterKey.AREA),
|
|
14
14
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
15
15
|
new OnlyFiltersSelectedRule([FilterKey.AREA, FilterKey.COUNTRY])
|
|
16
16
|
];
|
|
17
|
-
constructor(dependencies) {
|
|
18
|
-
super(dependencies);
|
|
19
|
-
this.addIndexablePageNumberRule();
|
|
20
|
-
}
|
|
21
17
|
async generateUrls() {
|
|
22
18
|
const areaFragments = AreaPresenter.getInstance().getFragments();
|
|
23
19
|
const paths = [];
|
|
@@ -5,13 +5,11 @@ import { SortingOptions } from '../../../enums/SortingOptions';
|
|
|
5
5
|
import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleValueSelectedForFilterRule';
|
|
6
6
|
import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
|
|
7
7
|
import { OnlineAttendanceRule } from '../../../common/rules/OnlineAttendanceRule';
|
|
8
|
-
import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
|
|
9
8
|
export declare class AreaAttendance extends OrganisationsSeoIndexabilityPolicy {
|
|
10
9
|
readonly name: string;
|
|
11
10
|
readonly description: string;
|
|
12
11
|
protected readonly sortingOption = SortingOptions.OUR_PICKS;
|
|
13
|
-
protected readonly
|
|
14
|
-
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
12
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule | SearchVolumeAreasAttendanceRule)[];
|
|
15
13
|
protected generateUrls(): Promise<string[]>;
|
|
16
14
|
get filterCombination(): FilterCombinations;
|
|
17
15
|
}
|
|
@@ -12,7 +12,7 @@ export class AreaAttendance extends OrganisationsSeoIndexabilityPolicy {
|
|
|
12
12
|
name = 'Area Attendance Policy';
|
|
13
13
|
description = 'Manages indexability for pages filtered by both geographic area and attendance type, optimizing for region-specific study format combinations.';
|
|
14
14
|
sortingOption = SortingOptions.OUR_PICKS;
|
|
15
|
-
|
|
15
|
+
baseRules = [
|
|
16
16
|
new SingleValueSelectedForFilterRule(FilterKey.AREA),
|
|
17
17
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
18
18
|
new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
|
|
@@ -20,10 +20,6 @@ export class AreaAttendance extends OrganisationsSeoIndexabilityPolicy {
|
|
|
20
20
|
new SearchVolumeAreasAttendanceRule(),
|
|
21
21
|
new OnlineAttendanceRule()
|
|
22
22
|
];
|
|
23
|
-
constructor(dependencies) {
|
|
24
|
-
super(dependencies);
|
|
25
|
-
this.addIndexablePageNumberRule();
|
|
26
|
-
}
|
|
27
23
|
async generateUrls() {
|
|
28
24
|
const areaFragments = AreaPresenter.getInstance().getFragments();
|
|
29
25
|
const attendanceFragments = AttendancePresenter.getInstance().getFragments();
|
|
@@ -4,13 +4,11 @@ import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/polic
|
|
|
4
4
|
import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleValueSelectedForFilterRule';
|
|
5
5
|
import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
|
|
6
6
|
import { OnlineAttendanceRule } from '../../../common/rules/OnlineAttendanceRule';
|
|
7
|
-
import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
|
|
8
7
|
export declare class Attendance extends OrganisationsSeoIndexabilityPolicy {
|
|
9
8
|
readonly name: string;
|
|
10
9
|
readonly description: string;
|
|
11
10
|
protected readonly sortingOption = SortingOptions.OUR_PICKS;
|
|
12
|
-
protected readonly
|
|
13
|
-
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
11
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule)[];
|
|
14
12
|
protected generateUrls(): Promise<string[]>;
|
|
15
13
|
get filterCombination(): FilterCombinations;
|
|
16
14
|
}
|
|
@@ -10,15 +10,11 @@ export class Attendance extends OrganisationsSeoIndexabilityPolicy {
|
|
|
10
10
|
name = 'Attendance Policy';
|
|
11
11
|
description = 'Determines indexing rules for pages filtered by study format (online, on-campus, etc.), prioritizing formats with demonstrated search demand.';
|
|
12
12
|
sortingOption = SortingOptions.OUR_PICKS;
|
|
13
|
-
|
|
13
|
+
baseRules = [
|
|
14
14
|
new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
|
|
15
15
|
new OnlyFiltersSelectedRule([FilterKey.DELIVERY_METHOD]),
|
|
16
16
|
new OnlineAttendanceRule()
|
|
17
17
|
];
|
|
18
|
-
constructor(dependencies) {
|
|
19
|
-
super(dependencies);
|
|
20
|
-
this.addIndexablePageNumberRule();
|
|
21
|
-
}
|
|
22
18
|
async generateUrls() {
|
|
23
19
|
const attendanceFragments = AttendancePresenter.getInstance().getFragments();
|
|
24
20
|
const paths = [];
|
|
@@ -3,13 +3,11 @@ import { SortingOptions } from '../../../enums/SortingOptions';
|
|
|
3
3
|
import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/policies/OrganisationsSeoIndexabilityPolicy';
|
|
4
4
|
import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleValueSelectedForFilterRule';
|
|
5
5
|
import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
|
|
6
|
-
import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
|
|
7
6
|
export declare class Continent extends OrganisationsSeoIndexabilityPolicy {
|
|
8
7
|
readonly name: string;
|
|
9
8
|
readonly description: string;
|
|
10
9
|
protected readonly sortingOption = SortingOptions.OUR_PICKS;
|
|
11
|
-
protected readonly
|
|
12
|
-
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
10
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
|
|
13
11
|
get filterCombination(): FilterCombinations;
|
|
14
12
|
protected generateUrls(): Promise<string[]>;
|
|
15
13
|
}
|
|
@@ -9,14 +9,10 @@ export class Continent extends OrganisationsSeoIndexabilityPolicy {
|
|
|
9
9
|
name = 'Continent Policy';
|
|
10
10
|
description = 'Governs indexing of continent-level filtered pages, applying rules to index only continental regions with sufficient search volume and content density.';
|
|
11
11
|
sortingOption = SortingOptions.OUR_PICKS;
|
|
12
|
-
|
|
12
|
+
baseRules = [
|
|
13
13
|
new SingleValueSelectedForFilterRule(FilterKey.CONTINENT),
|
|
14
14
|
new OnlyFiltersSelectedRule([FilterKey.CONTINENT])
|
|
15
15
|
];
|
|
16
|
-
constructor(dependencies) {
|
|
17
|
-
super(dependencies);
|
|
18
|
-
this.addIndexablePageNumberRule();
|
|
19
|
-
}
|
|
20
16
|
get filterCombination() {
|
|
21
17
|
return FilterCombinations.CONTINENT;
|
|
22
18
|
}
|
|
@@ -3,13 +3,11 @@ import { SortingOptions } from '../../../enums/SortingOptions';
|
|
|
3
3
|
import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/policies/OrganisationsSeoIndexabilityPolicy';
|
|
4
4
|
import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleValueSelectedForFilterRule';
|
|
5
5
|
import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
|
|
6
|
-
import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
|
|
7
6
|
export declare class Country extends OrganisationsSeoIndexabilityPolicy {
|
|
8
7
|
readonly name: string;
|
|
9
8
|
readonly description: string;
|
|
10
9
|
protected readonly sortingOption = SortingOptions.OUR_PICKS;
|
|
11
|
-
protected readonly
|
|
12
|
-
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
10
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
|
|
13
11
|
get filterCombination(): FilterCombinations;
|
|
14
12
|
protected generateUrls(): Promise<string[]>;
|
|
15
13
|
}
|
|
@@ -9,11 +9,7 @@ export class Country extends OrganisationsSeoIndexabilityPolicy {
|
|
|
9
9
|
name = 'Country Policy';
|
|
10
10
|
description = 'Manages indexing of country-specific pages, applying rules to index only countries with adequate search demand and relevant content availability.';
|
|
11
11
|
sortingOption = SortingOptions.OUR_PICKS;
|
|
12
|
-
|
|
13
|
-
constructor(dependencies) {
|
|
14
|
-
super(dependencies);
|
|
15
|
-
this.addIndexablePageNumberRule();
|
|
16
|
-
}
|
|
12
|
+
baseRules = [new SingleValueSelectedForFilterRule(FilterKey.COUNTRY), new OnlyFiltersSelectedRule([FilterKey.COUNTRY])];
|
|
17
13
|
get filterCombination() {
|
|
18
14
|
return FilterCombinations.COUNTRY;
|
|
19
15
|
}
|
|
@@ -5,13 +5,11 @@ import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleVa
|
|
|
5
5
|
import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
|
|
6
6
|
import { OnlineAttendanceRule } from '../../../common/rules/OnlineAttendanceRule';
|
|
7
7
|
import { SearchVolumeCountriesAttendanceRule } from '../../../organisations/rules/SearchVolumeCountriesAttendanceRule';
|
|
8
|
-
import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
|
|
9
8
|
export declare class CountryAttendance extends OrganisationsSeoIndexabilityPolicy {
|
|
10
9
|
readonly name: string;
|
|
11
10
|
readonly description: string;
|
|
12
11
|
protected readonly sortingOption = SortingOptions.OUR_PICKS;
|
|
13
|
-
protected readonly
|
|
14
|
-
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
12
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule | SearchVolumeCountriesAttendanceRule)[];
|
|
15
13
|
get filterCombination(): FilterCombinations;
|
|
16
14
|
protected generateUrls(): Promise<string[]>;
|
|
17
15
|
}
|
|
@@ -12,17 +12,13 @@ export class CountryAttendance extends OrganisationsSeoIndexabilityPolicy {
|
|
|
12
12
|
name = 'Country Attendance Policy';
|
|
13
13
|
description = 'Regulates indexability for pages combining country and attendance type filters, optimizing for country-specific study format pages.';
|
|
14
14
|
sortingOption = SortingOptions.OUR_PICKS;
|
|
15
|
-
|
|
15
|
+
baseRules = [
|
|
16
16
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
17
17
|
new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
|
|
18
18
|
new OnlyFiltersSelectedRule([FilterKey.COUNTRY, FilterKey.DELIVERY_METHOD]),
|
|
19
19
|
new SearchVolumeCountriesAttendanceRule(),
|
|
20
20
|
new OnlineAttendanceRule()
|
|
21
21
|
];
|
|
22
|
-
constructor(dependencies) {
|
|
23
|
-
super(dependencies);
|
|
24
|
-
this.addIndexablePageNumberRule();
|
|
25
|
-
}
|
|
26
22
|
get filterCombination() {
|
|
27
23
|
return FilterCombinations.COUNTRY_ATTENDANCE;
|
|
28
24
|
}
|
|
@@ -2,13 +2,11 @@ import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/polic
|
|
|
2
2
|
import { FilterCombinations } from '../../../enums/FilterCombinations';
|
|
3
3
|
import { SortingOptions } from '../../../enums/SortingOptions';
|
|
4
4
|
import { NoFiltersSelectedRule } from '../../../common/rules/NoFiltersSelectedRule';
|
|
5
|
-
import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
|
|
6
5
|
export declare class Unfiltered extends OrganisationsSeoIndexabilityPolicy {
|
|
7
6
|
readonly name: string;
|
|
8
7
|
readonly description: string;
|
|
9
8
|
protected readonly sortingOption = SortingOptions.OUR_PICKS;
|
|
10
|
-
protected readonly
|
|
11
|
-
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
9
|
+
protected readonly baseRules: NoFiltersSelectedRule[];
|
|
12
10
|
protected generateUrls(): Promise<string[]>;
|
|
13
11
|
get filterCombination(): FilterCombinations;
|
|
14
12
|
}
|
|
@@ -6,11 +6,7 @@ export class Unfiltered extends OrganisationsSeoIndexabilityPolicy {
|
|
|
6
6
|
name = 'Unfiltered Policy';
|
|
7
7
|
description = 'Defines indexability rules for unfiltered pages, managing crawl budget by ensuring only high-value aggregate pages are included in the sitemap.';
|
|
8
8
|
sortingOption = SortingOptions.OUR_PICKS;
|
|
9
|
-
|
|
10
|
-
constructor(dependencies) {
|
|
11
|
-
super(dependencies);
|
|
12
|
-
this.addIndexablePageNumberRule();
|
|
13
|
-
}
|
|
9
|
+
baseRules = [new NoFiltersSelectedRule()];
|
|
14
10
|
generateUrls() {
|
|
15
11
|
return Promise.resolve([this.getPathWithSortingOption('')]);
|
|
16
12
|
}
|
|
@@ -6,7 +6,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
6
6
|
export declare class RankedArea extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
7
7
|
readonly name: string;
|
|
8
8
|
readonly description: string;
|
|
9
|
-
protected readonly
|
|
9
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
|
|
10
10
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
11
11
|
protected generateUrls(): Promise<string[]>;
|
|
12
12
|
get filterCombination(): FilterCombinations;
|
|
@@ -7,7 +7,7 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
7
7
|
export class RankedArea extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
8
8
|
name = 'Ranked Area Policy';
|
|
9
9
|
description = 'Controls indexing for ranking-sorted pages filtered by geographic areas, optimizing for region-specific content with quality-based result ordering.';
|
|
10
|
-
|
|
10
|
+
baseRules = [
|
|
11
11
|
new SingleValueSelectedForFilterRule(FilterKey.AREA),
|
|
12
12
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
13
13
|
new OnlyFiltersSelectedRule([FilterKey.AREA, FilterKey.COUNTRY])
|
|
@@ -15,7 +15,6 @@ export class RankedArea extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
|
15
15
|
constructor(dependencies) {
|
|
16
16
|
super(dependencies);
|
|
17
17
|
this.addRankedResultsCountRule();
|
|
18
|
-
this.addIndexablePageNumberRule();
|
|
19
18
|
}
|
|
20
19
|
async generateUrls() {
|
|
21
20
|
const areaFragments = AreaPresenter.getInstance().getFragments();
|
|
@@ -7,7 +7,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
7
7
|
export declare class RankedAreaDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
8
8
|
readonly name: string;
|
|
9
9
|
readonly description: string;
|
|
10
|
-
protected readonly
|
|
10
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | SearchVolumeAreasDisciplineRule)[];
|
|
11
11
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
12
12
|
get filterCombination(): FilterCombinations;
|
|
13
13
|
protected generateUrls(): Promise<string[]>;
|
|
@@ -9,7 +9,7 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
9
9
|
export class RankedAreaDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
10
10
|
name = 'Ranked Area Discipline Policy';
|
|
11
11
|
description = 'Controls indexing for ranking-sorted pages filtered by geographic areas, optimizing for region-specific content with quality-based result ordering.';
|
|
12
|
-
|
|
12
|
+
baseRules = [
|
|
13
13
|
new SingleValueSelectedForFilterRule(FilterKey.AREA),
|
|
14
14
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
15
15
|
new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
|
|
@@ -19,7 +19,6 @@ export class RankedAreaDiscipline extends RankedOrganisationsSeoIndexabilityPoli
|
|
|
19
19
|
constructor(dependencies) {
|
|
20
20
|
super(dependencies);
|
|
21
21
|
this.addRankedResultsCountRule();
|
|
22
|
-
this.addIndexablePageNumberRule();
|
|
23
22
|
}
|
|
24
23
|
get filterCombination() {
|
|
25
24
|
return FilterCombinations.RANKED_AREA_DISCIPLINE;
|
|
@@ -7,7 +7,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
7
7
|
export declare class RankedAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
8
8
|
readonly name: string;
|
|
9
9
|
readonly description: string;
|
|
10
|
-
protected readonly
|
|
10
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule)[];
|
|
11
11
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
12
12
|
protected generateUrls(): Promise<string[]>;
|
|
13
13
|
get filterCombination(): FilterCombinations;
|
|
@@ -8,7 +8,7 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
8
8
|
export class RankedAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
9
9
|
name = 'Ranked Attendance Policy';
|
|
10
10
|
description = 'Determines which ranking-sorted pages filtered by attendance type qualify for indexing based on format-specific search patterns.';
|
|
11
|
-
|
|
11
|
+
baseRules = [
|
|
12
12
|
new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
|
|
13
13
|
new OnlyFiltersSelectedRule([FilterKey.DELIVERY_METHOD]),
|
|
14
14
|
new OnlineAttendanceRule()
|
|
@@ -16,7 +16,6 @@ export class RankedAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
|
16
16
|
constructor(dependencies) {
|
|
17
17
|
super(dependencies);
|
|
18
18
|
this.addRankedResultsCountRule();
|
|
19
|
-
this.addIndexablePageNumberRule();
|
|
20
19
|
}
|
|
21
20
|
async generateUrls() {
|
|
22
21
|
const attendanceFragments = AttendancePresenter.getInstance().getFragments();
|
|
@@ -7,7 +7,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
7
7
|
export declare class RankedAttendanceDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
8
8
|
readonly name: string;
|
|
9
9
|
readonly description: string;
|
|
10
|
-
protected readonly
|
|
10
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule)[];
|
|
11
11
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
12
12
|
get filterCombination(): FilterCombinations;
|
|
13
13
|
protected generateUrls(): Promise<string[]>;
|
|
@@ -9,7 +9,7 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
9
9
|
export class RankedAttendanceDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
10
10
|
name = 'Ranked Attendance Discipline Policy';
|
|
11
11
|
description = 'Manages indexing for ranking-sorted pages at the intersection of attendance type and academic discipline filters.';
|
|
12
|
-
|
|
12
|
+
baseRules = [
|
|
13
13
|
new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
|
|
14
14
|
new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
|
|
15
15
|
new OnlyFiltersSelectedRule([FilterKey.DELIVERY_METHOD, FilterKey.DISCIPLINES]),
|
|
@@ -18,7 +18,6 @@ export class RankedAttendanceDiscipline extends RankedOrganisationsSeoIndexabili
|
|
|
18
18
|
constructor(dependencies) {
|
|
19
19
|
super(dependencies);
|
|
20
20
|
this.addRankedResultsCountRule();
|
|
21
|
-
this.addIndexablePageNumberRule();
|
|
22
21
|
}
|
|
23
22
|
get filterCombination() {
|
|
24
23
|
return FilterCombinations.RANKED_ATTENDANCE_DISCIPLINE;
|
|
@@ -6,7 +6,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
6
6
|
export declare class RankedContinent extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
7
7
|
readonly name: string;
|
|
8
8
|
readonly description: string;
|
|
9
|
-
protected readonly
|
|
9
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
|
|
10
10
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
11
11
|
protected generateUrls(): Promise<string[]>;
|
|
12
12
|
get filterCombination(): FilterCombinations;
|
|
@@ -7,14 +7,13 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
7
7
|
export class RankedContinent extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
8
8
|
name = 'Ranked Continent Policy';
|
|
9
9
|
description = 'Regulates indexability of ranking-sorted continent-level filtered pages, prioritizing high-value continental views with quality-based sorting.';
|
|
10
|
-
|
|
10
|
+
baseRules = [
|
|
11
11
|
new SingleValueSelectedForFilterRule(FilterKey.CONTINENT),
|
|
12
12
|
new OnlyFiltersSelectedRule([FilterKey.CONTINENT])
|
|
13
13
|
];
|
|
14
14
|
constructor(dependencies) {
|
|
15
15
|
super(dependencies);
|
|
16
16
|
this.addRankedResultsCountRule();
|
|
17
|
-
this.addIndexablePageNumberRule();
|
|
18
17
|
}
|
|
19
18
|
async generateUrls() {
|
|
20
19
|
const continentFragments = ContinentPresenter.getInstance().getFragments();
|
|
@@ -8,7 +8,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
8
8
|
export declare class RankedContinentAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
9
9
|
readonly name: string;
|
|
10
10
|
readonly description: string;
|
|
11
|
-
protected readonly
|
|
11
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule | ContinentIsEuropeRule)[];
|
|
12
12
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
13
13
|
protected generateUrls(): Promise<string[]>;
|
|
14
14
|
get filterCombination(): FilterCombinations;
|
|
@@ -10,7 +10,7 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
10
10
|
export class RankedContinentAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
11
11
|
name = 'Ranked Continent Attendance Policy';
|
|
12
12
|
description = 'Controls indexing for ranking-sorted pages combining continent and attendance filters, optimizing for continental study format combinations.';
|
|
13
|
-
|
|
13
|
+
baseRules = [
|
|
14
14
|
new SingleValueSelectedForFilterRule(FilterKey.CONTINENT),
|
|
15
15
|
new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
|
|
16
16
|
new OnlyFiltersSelectedRule([FilterKey.CONTINENT, FilterKey.DELIVERY_METHOD]),
|
|
@@ -20,7 +20,6 @@ export class RankedContinentAttendance extends RankedOrganisationsSeoIndexabilit
|
|
|
20
20
|
constructor(dependencies) {
|
|
21
21
|
super(dependencies);
|
|
22
22
|
this.addRankedResultsCountRule();
|
|
23
|
-
this.addIndexablePageNumberRule();
|
|
24
23
|
}
|
|
25
24
|
async generateUrls() {
|
|
26
25
|
const continentFragments = ContinentPresenter.getInstance().getFragments();
|
|
@@ -6,7 +6,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
6
6
|
export declare class RankedCountry extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
7
7
|
readonly name: string;
|
|
8
8
|
readonly description: string;
|
|
9
|
-
protected readonly
|
|
9
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
|
|
10
10
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
11
11
|
protected generateUrls(): Promise<string[]>;
|
|
12
12
|
get filterCombination(): FilterCombinations;
|
|
@@ -7,11 +7,10 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
7
7
|
export class RankedCountry extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
8
8
|
name = 'Ranked Country Policy';
|
|
9
9
|
description = 'Manages indexability of ranking-sorted country-specific pages, applying rules to prioritize countries where quality-based sorting adds search value.';
|
|
10
|
-
|
|
10
|
+
baseRules = [new SingleValueSelectedForFilterRule(FilterKey.COUNTRY), new OnlyFiltersSelectedRule([FilterKey.COUNTRY])];
|
|
11
11
|
constructor(dependencies) {
|
|
12
12
|
super(dependencies);
|
|
13
13
|
this.addRankedResultsCountRule();
|
|
14
|
-
this.addIndexablePageNumberRule();
|
|
15
14
|
}
|
|
16
15
|
async generateUrls() {
|
|
17
16
|
const countryFragments = CountryPresenter.getInstance().getFragments();
|
|
@@ -7,7 +7,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
7
7
|
export declare class RankedCountryAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
8
8
|
readonly name: string;
|
|
9
9
|
readonly description: string;
|
|
10
|
-
protected readonly
|
|
10
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule)[];
|
|
11
11
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
12
12
|
protected generateUrls(): Promise<string[]>;
|
|
13
13
|
get filterCombination(): FilterCombinations;
|
|
@@ -9,7 +9,7 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
9
9
|
export class RankedCountryAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
10
10
|
name = 'Ranked Country Attendance Policy';
|
|
11
11
|
description = 'Governs indexing for ranking-sorted pages filtered by both country and attendance type, optimizing for country-specific study format combinations with quality sorting.';
|
|
12
|
-
|
|
12
|
+
baseRules = [
|
|
13
13
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
14
14
|
new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
|
|
15
15
|
new OnlyFiltersSelectedRule([FilterKey.COUNTRY, FilterKey.DELIVERY_METHOD]),
|
|
@@ -18,7 +18,6 @@ export class RankedCountryAttendance extends RankedOrganisationsSeoIndexabilityP
|
|
|
18
18
|
constructor(dependencies) {
|
|
19
19
|
super(dependencies);
|
|
20
20
|
this.addRankedResultsCountRule();
|
|
21
|
-
this.addIndexablePageNumberRule();
|
|
22
21
|
}
|
|
23
22
|
async generateUrls() {
|
|
24
23
|
const countryFragments = CountryPresenter.getInstance().getFragments();
|
|
@@ -6,7 +6,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
6
6
|
export declare class RankedCountryDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
7
7
|
readonly name: string;
|
|
8
8
|
readonly description: string;
|
|
9
|
-
protected readonly
|
|
9
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
|
|
10
10
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
11
11
|
protected generateUrls(): Promise<string[]>;
|
|
12
12
|
get filterCombination(): FilterCombinations;
|
|
@@ -8,7 +8,7 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
8
8
|
export class RankedCountryDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
9
9
|
name = 'Ranked Country Discipline Policy';
|
|
10
10
|
description = 'Determines which ranking-sorted pages at the intersection of country and discipline filters qualify for indexing based on search value.';
|
|
11
|
-
|
|
11
|
+
baseRules = [
|
|
12
12
|
new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
|
|
13
13
|
new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
|
|
14
14
|
new OnlyFiltersSelectedRule([FilterKey.COUNTRY, FilterKey.DISCIPLINES])
|
|
@@ -16,7 +16,6 @@ export class RankedCountryDiscipline extends RankedOrganisationsSeoIndexabilityP
|
|
|
16
16
|
constructor(dependencies) {
|
|
17
17
|
super(dependencies);
|
|
18
18
|
this.addRankedResultsCountRule();
|
|
19
|
-
this.addIndexablePageNumberRule();
|
|
20
19
|
}
|
|
21
20
|
async generateUrls() {
|
|
22
21
|
const countryFragments = CountryPresenter.getInstance().getFragments();
|
|
@@ -6,7 +6,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
6
6
|
export declare class RankedDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
7
7
|
readonly name: string;
|
|
8
8
|
readonly description: string;
|
|
9
|
-
protected readonly
|
|
9
|
+
protected readonly baseRules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
|
|
10
10
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
11
11
|
protected generateUrls(): Promise<string[]>;
|
|
12
12
|
get filterCombination(): FilterCombinations;
|
|
@@ -7,14 +7,13 @@ import { DisciplinePresenter } from '../../../presenters/DisciplinePresenter';
|
|
|
7
7
|
export class RankedDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
8
8
|
name = 'Ranked Discipline Policy';
|
|
9
9
|
description = 'Regulates indexability of ranking-sorted discipline-specific pages, prioritizing academic fields where quality-based sorting enhances user experience.';
|
|
10
|
-
|
|
10
|
+
baseRules = [
|
|
11
11
|
new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
|
|
12
12
|
new OnlyFiltersSelectedRule([FilterKey.DISCIPLINES])
|
|
13
13
|
];
|
|
14
14
|
constructor(dependencies) {
|
|
15
15
|
super(dependencies);
|
|
16
16
|
this.addRankedResultsCountRule();
|
|
17
|
-
this.addIndexablePageNumberRule();
|
|
18
17
|
}
|
|
19
18
|
async generateUrls() {
|
|
20
19
|
const disciplineFragments = DisciplinePresenter.getInstance().getFragments();
|
|
@@ -5,7 +5,7 @@ import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrg
|
|
|
5
5
|
export declare class RankedUnfiltered extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
6
6
|
readonly name: string;
|
|
7
7
|
readonly description: string;
|
|
8
|
-
protected readonly
|
|
8
|
+
protected readonly baseRules: NoFiltersSelectedRule[];
|
|
9
9
|
constructor(dependencies: IOrganisationsSeoDependencies);
|
|
10
10
|
protected generateUrls(): Promise<string[]>;
|
|
11
11
|
get filterCombination(): FilterCombinations;
|
|
@@ -4,11 +4,10 @@ import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisations
|
|
|
4
4
|
export class RankedUnfiltered extends RankedOrganisationsSeoIndexabilityPolicy {
|
|
5
5
|
name = 'Ranked Unfiltered Policy';
|
|
6
6
|
description = 'Defines indexing rules for ranking-sorted unfiltered pages, managing SEO strategy for quality-ordered aggregate views of the content database.';
|
|
7
|
-
|
|
7
|
+
baseRules = [new NoFiltersSelectedRule()];
|
|
8
8
|
constructor(dependencies) {
|
|
9
9
|
super(dependencies);
|
|
10
10
|
this.addRankedResultsCountRule();
|
|
11
|
-
this.addIndexablePageNumberRule();
|
|
12
11
|
}
|
|
13
12
|
async generateUrls() {
|
|
14
13
|
const filterKeyValues = new Map([]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FilterKey } from '@studyportals/search-filters';
|
|
2
|
+
import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
|
|
3
|
+
import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
|
|
4
|
+
import { FilterCombinations } from '../../enums/FilterCombinations';
|
|
5
|
+
import { DegreeAttendanceDisciplineRule } from '../rules/DegreeAttendanceDisciplineRule';
|
|
6
|
+
import { DegreeAttendanceDisciplineSpecificRule } from '../rules/DegreeAttendanceDisciplineSpecificRule';
|
|
7
|
+
import { ProgrammesBaseIndexabilityPolicy } from '../ProgrammesBaseIndexabilityPolicy';
|
|
8
|
+
import { IProgrammeSeoDependencies } from '../types/IProgrammeSeoDependencies';
|
|
9
|
+
export declare class DegreeAttendanceDiscipline extends ProgrammesBaseIndexabilityPolicy {
|
|
10
|
+
readonly name: string;
|
|
11
|
+
readonly description: string;
|
|
12
|
+
readonly filterKeys: FilterKey[];
|
|
13
|
+
protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | DegreeAttendanceDisciplineRule | DegreeAttendanceDisciplineSpecificRule)[];
|
|
14
|
+
constructor(dependencies: IProgrammeSeoDependencies);
|
|
15
|
+
protected generateUrls(): Promise<string[]>;
|
|
16
|
+
get filterCombination(): FilterCombinations;
|
|
17
|
+
}
|