@studyportals/fawkes 4.0.1-5 → 4.0.1-7

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.
Files changed (58) hide show
  1. package/dist/src/common/IPolicyMetaData.d.ts +4 -2
  2. package/dist/src/common/ISeoIndexabilityPolicy.d.ts +5 -2
  3. package/dist/src/common/ISitemapUrlGenerator.d.ts +1 -2
  4. package/dist/src/common/policies/BaseSeoIndexabilityPolicy.d.ts +3 -3
  5. package/dist/src/common/policies/BaseSeoIndexabilityPolicy.js +1 -5
  6. package/dist/src/organisations/SearchIndexabilityManager.js +18 -18
  7. package/dist/src/organisations/policies/our-picks/Area.d.ts +2 -0
  8. package/dist/src/organisations/policies/our-picks/Area.js +2 -0
  9. package/dist/src/organisations/policies/our-picks/AreaAttendance.d.ts +2 -0
  10. package/dist/src/organisations/policies/our-picks/AreaAttendance.js +2 -0
  11. package/dist/src/organisations/policies/our-picks/Attendance.d.ts +2 -0
  12. package/dist/src/organisations/policies/our-picks/Attendance.js +2 -0
  13. package/dist/src/organisations/policies/our-picks/Continent.d.ts +2 -0
  14. package/dist/src/organisations/policies/our-picks/Continent.js +2 -0
  15. package/dist/src/organisations/policies/our-picks/Country.d.ts +2 -0
  16. package/dist/src/organisations/policies/our-picks/Country.js +2 -0
  17. package/dist/src/organisations/policies/our-picks/CountryAttendance.d.ts +2 -0
  18. package/dist/src/organisations/policies/our-picks/CountryAttendance.js +2 -0
  19. package/dist/src/organisations/policies/our-picks/Unfiltered.d.ts +2 -0
  20. package/dist/src/organisations/policies/our-picks/Unfiltered.js +2 -0
  21. package/dist/src/organisations/policies/ranked/RankedArea.d.ts +3 -1
  22. package/dist/src/organisations/policies/ranked/RankedArea.js +4 -2
  23. package/dist/src/organisations/policies/ranked/RankedAreaDiscipline.d.ts +3 -1
  24. package/dist/src/organisations/policies/ranked/RankedAreaDiscipline.js +4 -2
  25. package/dist/src/organisations/policies/ranked/RankedAttendance.d.ts +3 -1
  26. package/dist/src/organisations/policies/ranked/RankedAttendance.js +4 -2
  27. package/dist/src/organisations/policies/ranked/RankedAttendanceDiscipline.d.ts +3 -1
  28. package/dist/src/organisations/policies/ranked/RankedAttendanceDiscipline.js +4 -2
  29. package/dist/src/organisations/policies/ranked/RankedContinent.d.ts +3 -1
  30. package/dist/src/organisations/policies/ranked/RankedContinent.js +4 -2
  31. package/dist/src/organisations/policies/ranked/RankedContinentAttendance.d.ts +3 -1
  32. package/dist/src/organisations/policies/ranked/RankedContinentAttendance.js +4 -2
  33. package/dist/src/organisations/policies/ranked/RankedCountry.d.ts +3 -1
  34. package/dist/src/organisations/policies/ranked/RankedCountry.js +4 -2
  35. package/dist/src/organisations/policies/ranked/RankedCountryAttendance.d.ts +3 -1
  36. package/dist/src/organisations/policies/ranked/RankedCountryAttendance.js +4 -2
  37. package/dist/src/organisations/policies/ranked/RankedCountryDiscipline.d.ts +3 -1
  38. package/dist/src/organisations/policies/ranked/RankedCountryDiscipline.js +4 -2
  39. package/dist/src/organisations/policies/ranked/RankedDiscipline.d.ts +3 -1
  40. package/dist/src/organisations/policies/ranked/RankedDiscipline.js +4 -2
  41. package/dist/src/organisations/policies/ranked/RankedUnfiltered.d.ts +3 -1
  42. package/dist/src/organisations/policies/ranked/RankedUnfiltered.js +4 -2
  43. package/dist/src/scholarships/SearchIndexabilityManager.js +6 -6
  44. package/dist/src/scholarships/policies/Area.d.ts +2 -0
  45. package/dist/src/scholarships/policies/Area.js +2 -0
  46. package/dist/src/scholarships/policies/Country.d.ts +2 -0
  47. package/dist/src/scholarships/policies/Country.js +2 -0
  48. package/dist/src/scholarships/policies/Discipline.d.ts +2 -0
  49. package/dist/src/scholarships/policies/Discipline.js +2 -0
  50. package/dist/src/scholarships/policies/DisciplineCountry.d.ts +2 -0
  51. package/dist/src/scholarships/policies/DisciplineCountry.js +2 -0
  52. package/dist/src/scholarships/policies/Unfiltered.d.ts +2 -0
  53. package/dist/src/scholarships/policies/Unfiltered.js +2 -0
  54. package/dist/src/scholarships/policies/UniversityCountry.d.ts +2 -0
  55. package/dist/src/scholarships/policies/UniversityCountry.js +2 -0
  56. package/dist/src/sitemap-generator/OrganisationsSitemapUrlGeneratorManager.js +18 -18
  57. package/dist/src/sitemap-generator/ScholarshipsSitemapUrlGeneratorManager.js +6 -6
  58. package/package.json +1 -1
@@ -1,4 +1,6 @@
1
+ import { IRule } from "./IRule";
1
2
  export interface IPolicyMetaData {
2
- name: string;
3
- description: string;
3
+ getAllRules(): IRule[];
4
+ getName(): string;
5
+ getDescription(): string;
4
6
  }
@@ -1,4 +1,7 @@
1
- import { IPolicyMetaData } from "./IPolicyMetaData";
2
- export interface ISeoIndexabilityPolicy extends IPolicyMetaData {
1
+ import { IRule } from "./IRule";
2
+ export interface ISeoIndexabilityPolicy {
3
3
  shouldIndex(): Promise<boolean>;
4
+ getAllRules(): IRule[];
5
+ getName(): string;
6
+ getDescription(): string;
4
7
  }
@@ -1,7 +1,6 @@
1
1
  import { FilterCombinations } from '../enums/FilterCombinations';
2
2
  import { IRule } from './IRule';
3
- import { IPolicyMetaData } from './IPolicyMetaData';
4
- export interface ISitemapUrlGenerator extends IPolicyMetaData {
3
+ export interface ISitemapUrlGenerator {
5
4
  filterCombination: FilterCombinations;
6
5
  generateSitemapUrls(): Promise<string[]>;
7
6
  getAllRules(): IRule[];
@@ -6,11 +6,11 @@ import { ISeoIndexabilityPolicy } from '../ISeoIndexabilityPolicy';
6
6
  import { ISitemapUrlGenerator } from '../ISitemapUrlGenerator';
7
7
  import { FilterCombinations } from '../../../sitemap-generator-seo';
8
8
  export declare abstract class BaseSeoIndexabilityPolicy<TDependencies extends IDependencies> implements ISeoIndexabilityPolicy, ISitemapUrlGenerator {
9
- readonly name: string;
10
- readonly description: string;
9
+ abstract readonly name: string;
10
+ abstract readonly description: string;
11
11
  protected readonly dependencies: TDependencies;
12
12
  protected abstract readonly rules: IRule[];
13
- constructor(name: string, description: string, dependencies: TDependencies);
13
+ constructor(dependencies: TDependencies);
14
14
  abstract get filterCombination(): FilterCombinations;
15
15
  protected abstract generateUrls(): Promise<string[]>;
16
16
  shouldIndex(): Promise<boolean>;
@@ -1,12 +1,8 @@
1
1
  import { InvalidDependencyTypeError } from '../../errors/InvalidDependencyTypeError';
2
2
  import { DependencyTypes } from '../../enums/DependencyTypes';
3
3
  export class BaseSeoIndexabilityPolicy {
4
- name;
5
- description;
6
4
  dependencies;
7
- constructor(name, description, dependencies) {
8
- this.name = name;
9
- this.description = description;
5
+ constructor(dependencies) {
10
6
  this.dependencies = dependencies;
11
7
  }
12
8
  async shouldIndex() {
@@ -12,24 +12,24 @@ export class SearchIndexabilityManager {
12
12
  portalType
13
13
  };
14
14
  this.policies = [
15
- new Area("Area Policy", "Controls indexing of pages filtered by geographic areas, ensuring only SEO-valuable regional content with sufficient search volume is indexed.", dependencies),
16
- new AreaAttendance("Area Attendance Policy", "Manages indexability for pages filtered by both geographic area and attendance type, optimizing for region-specific study format combinations.", dependencies),
17
- new Attendance("Attendance Policy", "Determines indexing rules for pages filtered by study format (online, on-campus, etc.), prioritizing formats with demonstrated search demand.", dependencies),
18
- new Continent("Continent Policy", "Governs indexing of continent-level filtered pages, applying rules to index only continental regions with sufficient search volume and content density.", dependencies),
19
- new Country("Country Policy", "Manages indexing of country-specific pages, applying rules to index only countries with adequate search demand and relevant content availability.", dependencies),
20
- new CountryAttendance("Country Attendance Policy", "Regulates indexability for pages combining country and attendance type filters, optimizing for country-specific study format pages.", dependencies),
21
- new Unfiltered("Unfiltered Policy", "Defines indexability rules for unfiltered pages, managing crawl budget by ensuring only high-value aggregate pages are included in the sitemap.", dependencies),
22
- new RankedArea("Ranked Area Policy", "Controls indexing for ranking-sorted pages filtered by geographic areas, optimizing for region-specific content with quality-based result ordering.", dependencies),
23
- new RankedAreaDiscipline("Ranked Area Discipline Policy", "Governs indexability for ranking-sorted pages filtered by both area and discipline, prioritizing field-specific regional content with quality ordering.", dependencies),
24
- new RankedAttendance("Ranked Attendance Policy", "Determines which ranking-sorted pages filtered by attendance type qualify for indexing based on format-specific search patterns.", dependencies),
25
- new RankedAttendanceDiscipline("Ranked Attendance Discipline Policy", "Manages indexing for ranking-sorted pages at the intersection of attendance type and academic discipline filters.", dependencies),
26
- new RankedContinent("Ranked Continent Policy", "Regulates indexability of ranking-sorted continent-level filtered pages, prioritizing high-value continental views with quality-based sorting.", dependencies),
27
- new RankedContinentAttendance("Ranked Continent Attendance Policy", "Controls indexing for ranking-sorted pages combining continent and attendance filters, optimizing for continental study format combinations.", dependencies),
28
- new RankedCountry("Ranked Country Policy", "Manages indexability of ranking-sorted country-specific pages, applying rules to prioritize countries where quality-based sorting adds search value.", dependencies),
29
- new RankedCountryAttendance("Ranked Country Attendance Policy", "Governs indexing for ranking-sorted pages filtered by both country and attendance type, optimizing for country-specific study format combinations with quality sorting.", dependencies),
30
- new RankedCountryDiscipline("Ranked Country Discipline Policy", "Determines which ranking-sorted pages at the intersection of country and discipline filters qualify for indexing based on search value.", dependencies),
31
- new RankedDiscipline("Ranked Discipline Policy", "Regulates indexability of ranking-sorted discipline-specific pages, prioritizing academic fields where quality-based sorting enhances user experience.", dependencies),
32
- new RankedUnfiltered("Ranked Unfiltered Policy", "Defines indexing rules for ranking-sorted unfiltered pages, managing SEO strategy for quality-ordered aggregate views of the content database.", dependencies)
15
+ new Area(dependencies),
16
+ new AreaAttendance(dependencies),
17
+ new Attendance(dependencies),
18
+ new Continent(dependencies),
19
+ new Country(dependencies),
20
+ new CountryAttendance(dependencies),
21
+ new Unfiltered(dependencies),
22
+ new RankedArea(dependencies),
23
+ new RankedAreaDiscipline(dependencies),
24
+ new RankedAttendance(dependencies),
25
+ new RankedAttendanceDiscipline(dependencies),
26
+ new RankedContinent(dependencies),
27
+ new RankedContinentAttendance(dependencies),
28
+ new RankedCountry(dependencies),
29
+ new RankedCountryAttendance(dependencies),
30
+ new RankedCountryDiscipline(dependencies),
31
+ new RankedDiscipline(dependencies),
32
+ new RankedUnfiltered(dependencies)
33
33
  ];
34
34
  }
35
35
  async shouldIndex() {
@@ -4,6 +4,8 @@ import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleVa
4
4
  import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/policies/OrganisationsSeoIndexabilityPolicy';
5
5
  import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
6
6
  export declare class Area extends OrganisationsSeoIndexabilityPolicy {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly sortingOption = SortingOptions.OUR_PICKS;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
9
11
  protected generateUrls(): Promise<string[]>;
@@ -6,6 +6,8 @@ import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/polic
6
6
  import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
7
7
  import { AreaPresenter } from '../../../presenters/AreaPresenter';
8
8
  export class Area extends OrganisationsSeoIndexabilityPolicy {
9
+ name = 'Area Policy';
10
+ description = 'Controls indexing of pages filtered by geographic areas, ensuring only SEO-valuable regional content with sufficient search volume is indexed.';
9
11
  sortingOption = SortingOptions.OUR_PICKS;
10
12
  rules = [
11
13
  new SingleValueSelectedForFilterRule(FilterKey.AREA),
@@ -6,6 +6,8 @@ import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleVa
6
6
  import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
7
7
  import { OnlineAttendanceRule } from '../../../organisations/rules/OnlineAttendanceRule';
8
8
  export declare class AreaAttendance extends OrganisationsSeoIndexabilityPolicy {
9
+ readonly name: string;
10
+ readonly description: string;
9
11
  protected readonly sortingOption = SortingOptions.OUR_PICKS;
10
12
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | SearchVolumeAreasAttendanceRule | OnlineAttendanceRule)[];
11
13
  protected generateUrls(): Promise<string[]>;
@@ -9,6 +9,8 @@ import { OnlineAttendanceRule } from '../../../organisations/rules/OnlineAttenda
9
9
  import { AreaPresenter } from '../../../presenters/AreaPresenter';
10
10
  import { AttendancePresenter } from '../../../presenters/AttendancePresenter';
11
11
  export class AreaAttendance extends OrganisationsSeoIndexabilityPolicy {
12
+ name = 'Area Attendance Policy';
13
+ description = 'Manages indexability for pages filtered by both geographic area and attendance type, optimizing for region-specific study format combinations.';
12
14
  sortingOption = SortingOptions.OUR_PICKS;
13
15
  rules = [
14
16
  new SingleValueSelectedForFilterRule(FilterKey.AREA),
@@ -5,6 +5,8 @@ import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleVa
5
5
  import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
6
6
  import { OnlineAttendanceRule } from '../../../organisations/rules/OnlineAttendanceRule';
7
7
  export declare class Attendance extends OrganisationsSeoIndexabilityPolicy {
8
+ readonly name: string;
9
+ readonly description: string;
8
10
  protected readonly sortingOption = SortingOptions.OUR_PICKS;
9
11
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule)[];
10
12
  protected generateUrls(): Promise<string[]>;
@@ -7,6 +7,8 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
7
7
  import { OnlineAttendanceRule } from '../../../organisations/rules/OnlineAttendanceRule';
8
8
  import { AttendancePresenter } from '../../../presenters/AttendancePresenter';
9
9
  export class Attendance extends OrganisationsSeoIndexabilityPolicy {
10
+ name = 'Attendance Policy';
11
+ description = 'Determines indexing rules for pages filtered by study format (online, on-campus, etc.), prioritizing formats with demonstrated search demand.';
10
12
  sortingOption = SortingOptions.OUR_PICKS;
11
13
  rules = [
12
14
  new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
@@ -4,6 +4,8 @@ import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/polic
4
4
  import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleValueSelectedForFilterRule';
5
5
  import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
6
6
  export declare class Continent extends OrganisationsSeoIndexabilityPolicy {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly sortingOption = SortingOptions.OUR_PICKS;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
9
11
  get filterCombination(): FilterCombinations;
@@ -6,6 +6,8 @@ import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleVa
6
6
  import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
7
7
  import { ContinentPresenter } from '../../../presenters/ContinentPresenter';
8
8
  export class Continent extends OrganisationsSeoIndexabilityPolicy {
9
+ name = 'Continent Policy';
10
+ description = 'Governs indexing of continent-level filtered pages, applying rules to index only continental regions with sufficient search volume and content density.';
9
11
  sortingOption = SortingOptions.OUR_PICKS;
10
12
  rules = [
11
13
  new SingleValueSelectedForFilterRule(FilterKey.CONTINENT),
@@ -4,6 +4,8 @@ import { OrganisationsSeoIndexabilityPolicy } from '../../../organisations/polic
4
4
  import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleValueSelectedForFilterRule';
5
5
  import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
6
6
  export declare class Country extends OrganisationsSeoIndexabilityPolicy {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly sortingOption = SortingOptions.OUR_PICKS;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
9
11
  get filterCombination(): FilterCombinations;
@@ -6,6 +6,8 @@ import { SingleValueSelectedForFilterRule } from '../../../common/rules/SingleVa
6
6
  import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelectedRule';
7
7
  import { CountryPresenter } from '../../../presenters/CountryPresenter';
8
8
  export class Country extends OrganisationsSeoIndexabilityPolicy {
9
+ name = 'Country Policy';
10
+ description = 'Manages indexing of country-specific pages, applying rules to index only countries with adequate search demand and relevant content availability.';
9
11
  sortingOption = SortingOptions.OUR_PICKS;
10
12
  rules = [new SingleValueSelectedForFilterRule(FilterKey.COUNTRY), new OnlyFiltersSelectedRule([FilterKey.COUNTRY])];
11
13
  get filterCombination() {
@@ -6,6 +6,8 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
6
6
  import { OnlineAttendanceRule } from '../../../organisations/rules/OnlineAttendanceRule';
7
7
  import { SearchVolumeCountriesAttendanceRule } from '../../../organisations/rules/SearchVolumeCountriesAttendanceRule';
8
8
  export declare class CountryAttendance extends OrganisationsSeoIndexabilityPolicy {
9
+ readonly name: string;
10
+ readonly description: string;
9
11
  protected readonly sortingOption = SortingOptions.OUR_PICKS;
10
12
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule | SearchVolumeCountriesAttendanceRule)[];
11
13
  get filterCombination(): FilterCombinations;
@@ -9,6 +9,8 @@ import { SearchVolumeCountriesAttendanceRule } from '../../../organisations/rule
9
9
  import { CountryPresenter } from '../../../presenters/CountryPresenter';
10
10
  import { AttendancePresenter } from '../../../presenters/AttendancePresenter';
11
11
  export class CountryAttendance extends OrganisationsSeoIndexabilityPolicy {
12
+ name = 'Country Attendance Policy';
13
+ description = 'Regulates indexability for pages combining country and attendance type filters, optimizing for country-specific study format pages.';
12
14
  sortingOption = SortingOptions.OUR_PICKS;
13
15
  rules = [
14
16
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
@@ -3,6 +3,8 @@ import { FilterCombinations } from '../../../enums/FilterCombinations';
3
3
  import { SortingOptions } from '../../../enums/SortingOptions';
4
4
  import { NoFiltersSelectedRule } from '../../../common/rules/NoFiltersSelectedRule';
5
5
  export declare class Unfiltered extends OrganisationsSeoIndexabilityPolicy {
6
+ readonly name: string;
7
+ readonly description: string;
6
8
  protected readonly sortingOption = SortingOptions.OUR_PICKS;
7
9
  protected readonly rules: NoFiltersSelectedRule[];
8
10
  protected generateUrls(): Promise<string[]>;
@@ -3,6 +3,8 @@ import { FilterCombinations } from '../../../enums/FilterCombinations';
3
3
  import { SortingOptions } from '../../../enums/SortingOptions';
4
4
  import { NoFiltersSelectedRule } from '../../../common/rules/NoFiltersSelectedRule';
5
5
  export class Unfiltered extends OrganisationsSeoIndexabilityPolicy {
6
+ name = 'Unfiltered Policy';
7
+ description = 'Defines indexability rules for unfiltered pages, managing crawl budget by ensuring only high-value aggregate pages are included in the sitemap.';
6
8
  sortingOption = SortingOptions.OUR_PICKS;
7
9
  rules = [new NoFiltersSelectedRule()];
8
10
  generateUrls() {
@@ -4,8 +4,10 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
4
4
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
5
5
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
6
6
  export declare class RankedArea extends RankedOrganisationsSeoIndexabilityPolicy {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
8
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
10
+ constructor(dependencies: IOrganisationsSeoDependencies);
9
11
  protected generateUrls(): Promise<string[]>;
10
12
  get filterCombination(): FilterCombinations;
11
13
  }
@@ -5,13 +5,15 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
5
5
  import { AreaPresenter } from '../../../presenters/AreaPresenter';
6
6
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
7
7
  export class RankedArea extends RankedOrganisationsSeoIndexabilityPolicy {
8
+ name = 'Ranked Area Policy';
9
+ description = 'Controls indexing for ranking-sorted pages filtered by geographic areas, optimizing for region-specific content with quality-based result ordering.';
8
10
  rules = [
9
11
  new SingleValueSelectedForFilterRule(FilterKey.AREA),
10
12
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
11
13
  new OnlyFiltersSelectedRule([FilterKey.AREA, FilterKey.COUNTRY])
12
14
  ];
13
- constructor(name, description, dependencies) {
14
- super(name, description, dependencies);
15
+ constructor(dependencies) {
16
+ super(dependencies);
15
17
  this.addRankedResultsCountRule();
16
18
  }
17
19
  async generateUrls() {
@@ -5,8 +5,10 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
5
5
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
6
6
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
7
7
  export declare class RankedAreaDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
8
+ readonly name: string;
9
+ readonly description: string;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | SearchVolumeAreasDisciplineRule)[];
9
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
11
+ constructor(dependencies: IOrganisationsSeoDependencies);
10
12
  get filterCombination(): FilterCombinations;
11
13
  protected generateUrls(): Promise<string[]>;
12
14
  }
@@ -7,6 +7,8 @@ import { AreaPresenter } from '../../../presenters/AreaPresenter';
7
7
  import { DisciplinePresenter } from '../../../presenters/DisciplinePresenter';
8
8
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
9
9
  export class RankedAreaDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
10
+ name = 'Ranked Area Discipline Policy';
11
+ description = "Controls indexing for ranking-sorted pages filtered by geographic areas, optimizing for region-specific content with quality-based result ordering.";
10
12
  rules = [
11
13
  new SingleValueSelectedForFilterRule(FilterKey.AREA),
12
14
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
@@ -14,8 +16,8 @@ export class RankedAreaDiscipline extends RankedOrganisationsSeoIndexabilityPoli
14
16
  new OnlyFiltersSelectedRule([FilterKey.AREA, FilterKey.COUNTRY, FilterKey.DISCIPLINES]),
15
17
  new SearchVolumeAreasDisciplineRule()
16
18
  ];
17
- constructor(name, description, dependencies) {
18
- super(name, description, dependencies);
19
+ constructor(dependencies) {
20
+ super(dependencies);
19
21
  this.addRankedResultsCountRule();
20
22
  }
21
23
  get filterCombination() {
@@ -5,8 +5,10 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
5
5
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
6
6
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
7
7
  export declare class RankedAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
8
+ readonly name: string;
9
+ readonly description: string;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule)[];
9
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
11
+ constructor(dependencies: IOrganisationsSeoDependencies);
10
12
  protected generateUrls(): Promise<string[]>;
11
13
  get filterCombination(): FilterCombinations;
12
14
  }
@@ -6,13 +6,15 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
6
6
  import { AttendancePresenter } from '../../../presenters/AttendancePresenter';
7
7
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
8
8
  export class RankedAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
9
+ name = 'Ranked Attendance Policy';
10
+ description = "Determines which ranking-sorted pages filtered by attendance type qualify for indexing based on format-specific search patterns.";
9
11
  rules = [
10
12
  new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
11
13
  new OnlyFiltersSelectedRule([FilterKey.DELIVERY_METHOD]),
12
14
  new OnlineAttendanceRule()
13
15
  ];
14
- constructor(name, description, dependencies) {
15
- super(name, description, dependencies);
16
+ constructor(dependencies) {
17
+ super(dependencies);
16
18
  this.addRankedResultsCountRule();
17
19
  }
18
20
  async generateUrls() {
@@ -5,8 +5,10 @@ import { OnlineAttendanceRule } from '../../../organisations/rules/OnlineAttenda
5
5
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
6
6
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
7
7
  export declare class RankedAttendanceDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
8
+ readonly name: string;
9
+ readonly description: string;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule)[];
9
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
11
+ constructor(dependencies: IOrganisationsSeoDependencies);
10
12
  get filterCombination(): FilterCombinations;
11
13
  protected generateUrls(): Promise<string[]>;
12
14
  }
@@ -7,14 +7,16 @@ import { AttendancePresenter } from '../../../presenters/AttendancePresenter';
7
7
  import { DisciplinePresenter } from '../../../presenters/DisciplinePresenter';
8
8
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
9
9
  export class RankedAttendanceDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
10
+ name = 'Ranked Attendance Discipline Policy';
11
+ description = "Manages indexing for ranking-sorted pages at the intersection of attendance type and academic discipline filters.";
10
12
  rules = [
11
13
  new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
12
14
  new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
13
15
  new OnlyFiltersSelectedRule([FilterKey.DELIVERY_METHOD, FilterKey.DISCIPLINES]),
14
16
  new OnlineAttendanceRule()
15
17
  ];
16
- constructor(name, description, dependencies) {
17
- super(name, description, dependencies);
18
+ constructor(dependencies) {
19
+ super(dependencies);
18
20
  this.addRankedResultsCountRule();
19
21
  }
20
22
  get filterCombination() {
@@ -4,8 +4,10 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
4
4
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
5
5
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
6
6
  export declare class RankedContinent extends RankedOrganisationsSeoIndexabilityPolicy {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
8
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
10
+ constructor(dependencies: IOrganisationsSeoDependencies);
9
11
  protected generateUrls(): Promise<string[]>;
10
12
  get filterCombination(): FilterCombinations;
11
13
  }
@@ -5,12 +5,14 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
5
5
  import { ContinentPresenter } from '../../../presenters/ContinentPresenter';
6
6
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
7
7
  export class RankedContinent extends RankedOrganisationsSeoIndexabilityPolicy {
8
+ name = 'Ranked Continent Policy';
9
+ description = "Regulates indexability of ranking-sorted continent-level filtered pages, prioritizing high-value continental views with quality-based sorting.";
8
10
  rules = [
9
11
  new SingleValueSelectedForFilterRule(FilterKey.CONTINENT),
10
12
  new OnlyFiltersSelectedRule([FilterKey.CONTINENT])
11
13
  ];
12
- constructor(name, description, dependencies) {
13
- super(name, description, dependencies);
14
+ constructor(dependencies) {
15
+ super(dependencies);
14
16
  this.addRankedResultsCountRule();
15
17
  }
16
18
  async generateUrls() {
@@ -6,8 +6,10 @@ import { ContinentIsEuropeRule } from '../../../organisations/rules/ContinentIsE
6
6
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
7
7
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
8
8
  export declare class RankedContinentAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
9
+ readonly name: string;
10
+ readonly description: string;
9
11
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule | ContinentIsEuropeRule)[];
10
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
12
+ constructor(dependencies: IOrganisationsSeoDependencies);
11
13
  protected generateUrls(): Promise<string[]>;
12
14
  get filterCombination(): FilterCombinations;
13
15
  }
@@ -8,6 +8,8 @@ import { ContinentPresenter } from '../../../presenters/ContinentPresenter';
8
8
  import { AttendancePresenter } from '../../../presenters/AttendancePresenter';
9
9
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
10
10
  export class RankedContinentAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
11
+ name = 'Ranked Continent Attendance Policy';
12
+ description = "Controls indexing for ranking-sorted pages combining continent and attendance filters, optimizing for continental study format combinations.";
11
13
  rules = [
12
14
  new SingleValueSelectedForFilterRule(FilterKey.CONTINENT),
13
15
  new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
@@ -15,8 +17,8 @@ export class RankedContinentAttendance extends RankedOrganisationsSeoIndexabilit
15
17
  new ContinentIsEuropeRule(),
16
18
  new OnlineAttendanceRule()
17
19
  ];
18
- constructor(name, description, dependencies) {
19
- super(name, description, dependencies);
20
+ constructor(dependencies) {
21
+ super(dependencies);
20
22
  this.addRankedResultsCountRule();
21
23
  }
22
24
  async generateUrls() {
@@ -4,8 +4,10 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
4
4
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
5
5
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
6
6
  export declare class RankedCountry extends RankedOrganisationsSeoIndexabilityPolicy {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
8
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
10
+ constructor(dependencies: IOrganisationsSeoDependencies);
9
11
  protected generateUrls(): Promise<string[]>;
10
12
  get filterCombination(): FilterCombinations;
11
13
  }
@@ -5,9 +5,11 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
5
5
  import { CountryPresenter } from '../../../presenters/CountryPresenter';
6
6
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
7
7
  export class RankedCountry extends RankedOrganisationsSeoIndexabilityPolicy {
8
+ name = 'Ranked Country Policy';
9
+ description = "Manages indexability of ranking-sorted country-specific pages, applying rules to prioritize countries where quality-based sorting adds search value.";
8
10
  rules = [new SingleValueSelectedForFilterRule(FilterKey.COUNTRY), new OnlyFiltersSelectedRule([FilterKey.COUNTRY])];
9
- constructor(name, description, dependencies) {
10
- super(name, description, dependencies);
11
+ constructor(dependencies) {
12
+ super(dependencies);
11
13
  this.addRankedResultsCountRule();
12
14
  }
13
15
  async generateUrls() {
@@ -5,8 +5,10 @@ import { OnlineAttendanceRule } from '../../../organisations/rules/OnlineAttenda
5
5
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
6
6
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
7
7
  export declare class RankedCountryAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
8
+ readonly name: string;
9
+ readonly description: string;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | OnlineAttendanceRule)[];
9
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
11
+ constructor(dependencies: IOrganisationsSeoDependencies);
10
12
  protected generateUrls(): Promise<string[]>;
11
13
  get filterCombination(): FilterCombinations;
12
14
  }
@@ -7,14 +7,16 @@ import { CountryPresenter } from '../../../presenters/CountryPresenter';
7
7
  import { AttendancePresenter } from '../../../presenters/AttendancePresenter';
8
8
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
9
9
  export class RankedCountryAttendance extends RankedOrganisationsSeoIndexabilityPolicy {
10
+ name = 'Ranked Country Attendance Policy';
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.";
10
12
  rules = [
11
13
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
12
14
  new SingleValueSelectedForFilterRule(FilterKey.DELIVERY_METHOD),
13
15
  new OnlyFiltersSelectedRule([FilterKey.COUNTRY, FilterKey.DELIVERY_METHOD]),
14
16
  new OnlineAttendanceRule()
15
17
  ];
16
- constructor(name, description, dependencies) {
17
- super(name, description, dependencies);
18
+ constructor(dependencies) {
19
+ super(dependencies);
18
20
  this.addRankedResultsCountRule();
19
21
  }
20
22
  async generateUrls() {
@@ -4,8 +4,10 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
4
4
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
5
5
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
6
6
  export declare class RankedCountryDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
8
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
10
+ constructor(dependencies: IOrganisationsSeoDependencies);
9
11
  protected generateUrls(): Promise<string[]>;
10
12
  get filterCombination(): FilterCombinations;
11
13
  }
@@ -6,13 +6,15 @@ import { CountryPresenter } from '../../../presenters/CountryPresenter';
6
6
  import { DisciplinePresenter } from '../../../presenters/DisciplinePresenter';
7
7
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
8
8
  export class RankedCountryDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
9
+ name = 'Ranked Country Discipline Policy';
10
+ description = "Determines which ranking-sorted pages at the intersection of country and discipline filters qualify for indexing based on search value.";
9
11
  rules = [
10
12
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
11
13
  new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
12
14
  new OnlyFiltersSelectedRule([FilterKey.COUNTRY, FilterKey.DISCIPLINES])
13
15
  ];
14
- constructor(name, description, dependencies) {
15
- super(name, description, dependencies);
16
+ constructor(dependencies) {
17
+ super(dependencies);
16
18
  this.addRankedResultsCountRule();
17
19
  }
18
20
  async generateUrls() {
@@ -4,8 +4,10 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
4
4
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
5
5
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
6
6
  export declare class RankedDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
8
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
10
+ constructor(dependencies: IOrganisationsSeoDependencies);
9
11
  protected generateUrls(): Promise<string[]>;
10
12
  get filterCombination(): FilterCombinations;
11
13
  }
@@ -5,12 +5,14 @@ import { OnlyFiltersSelectedRule } from '../../../common/rules/OnlyFiltersSelect
5
5
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
6
6
  import { DisciplinePresenter } from '../../../presenters/DisciplinePresenter';
7
7
  export class RankedDiscipline extends RankedOrganisationsSeoIndexabilityPolicy {
8
+ name = 'Ranked Discipline Policy';
9
+ description = "Regulates indexability of ranking-sorted discipline-specific pages, prioritizing academic fields where quality-based sorting enhances user experience.";
8
10
  rules = [
9
11
  new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
10
12
  new OnlyFiltersSelectedRule([FilterKey.DISCIPLINES])
11
13
  ];
12
- constructor(name, description, dependencies) {
13
- super(name, description, dependencies);
14
+ constructor(dependencies) {
15
+ super(dependencies);
14
16
  this.addRankedResultsCountRule();
15
17
  }
16
18
  async generateUrls() {
@@ -3,8 +3,10 @@ import { NoFiltersSelectedRule } from '../../../common/rules/NoFiltersSelectedRu
3
3
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
4
4
  import { IOrganisationsSeoDependencies } from '../../../organisations/types/IOrganisationsSeoDependencies';
5
5
  export declare class RankedUnfiltered extends RankedOrganisationsSeoIndexabilityPolicy {
6
+ readonly name: string;
7
+ readonly description: string;
6
8
  protected readonly rules: NoFiltersSelectedRule[];
7
- constructor(name: string, description: string, dependencies: IOrganisationsSeoDependencies);
9
+ constructor(dependencies: IOrganisationsSeoDependencies);
8
10
  protected generateUrls(): Promise<string[]>;
9
11
  get filterCombination(): FilterCombinations;
10
12
  }
@@ -2,9 +2,11 @@ import { FilterCombinations } from '../../../enums/FilterCombinations';
2
2
  import { NoFiltersSelectedRule } from '../../../common/rules/NoFiltersSelectedRule';
3
3
  import { RankedOrganisationsSeoIndexabilityPolicy } from '../RankedOrganisationsSeoIndexabilityPolicy';
4
4
  export class RankedUnfiltered extends RankedOrganisationsSeoIndexabilityPolicy {
5
+ name = 'Ranked Unfiltered Policy';
6
+ description = "Defines indexing rules for ranking-sorted unfiltered pages, managing SEO strategy for quality-ordered aggregate views of the content database.";
5
7
  rules = [new NoFiltersSelectedRule()];
6
- constructor(name, description, dependencies) {
7
- super(name, description, dependencies);
8
+ constructor(dependencies) {
9
+ super(dependencies);
8
10
  this.addRankedResultsCountRule();
9
11
  }
10
12
  async generateUrls() {
@@ -15,12 +15,12 @@ export class SearchIndexabilityManager {
15
15
  applicationState
16
16
  };
17
17
  this.policies = [
18
- new Area("Area Policy", "Controls indexing of pages filtered by geographic areas, ensuring only SEO-valuable regional content with sufficient search volume is indexed while respecting country associations.", dependencies),
19
- new Country("Country Policy", "Manages indexing of country-specific pages, applying rules to index only countries with adequate search demand and relevant content availability.", dependencies),
20
- new DisciplineCountry("Discipline Country Policy", "Governs indexability for pages at the intersection of academic disciplines and countries, optimizing SEO for field-specific content within national contexts.", dependencies),
21
- new Discipline("Discipline Policy", "Determines which discipline-filtered pages qualify for indexing based on search volume thresholds and content availability within specific academic fields.", dependencies),
22
- new UniversityCountry("University Country Policy", "Regulates indexing for pages filtered by both university and country, prioritizing institution-specific content within national boundaries that meets SEO criteria.", dependencies),
23
- new Unfiltered("Unfiltered Policy", "Defines indexability rules for unfiltered pages, managing crawl budget by ensuring only high-value aggregate pages are included in the sitemap.", dependencies)
18
+ new Area(dependencies),
19
+ new Country(dependencies),
20
+ new DisciplineCountry(dependencies),
21
+ new Discipline(dependencies),
22
+ new UniversityCountry(dependencies),
23
+ new Unfiltered(dependencies)
24
24
  ];
25
25
  }
26
26
  async shouldIndex() {
@@ -6,6 +6,8 @@ import { ISeoDependencies } from '../../common/ISeoDependencies';
6
6
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
7
7
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
8
8
  export declare class Area extends BaseSeoIndexabilityPolicy<ISeoDependencies> {
9
+ readonly name: string;
10
+ readonly description: string;
9
11
  protected readonly rules: (ExceptAustraliaAreasRule | SearchVolumeAreasRule | SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
10
12
  get filterCombination(): FilterCombinations;
11
13
  protected generateUrls(): Promise<string[]>;
@@ -7,6 +7,8 @@ import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabi
7
7
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
8
8
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
9
9
  export class Area extends BaseSeoIndexabilityPolicy {
10
+ name = "Area Policy";
11
+ description = "Controls indexing of pages filtered by geographic areas, ensuring only SEO-valuable regional content with sufficient search volume is indexed while respecting country associations.";
10
12
  rules = [
11
13
  new SingleValueSelectedForFilterRule(FilterKey.AREA),
12
14
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
@@ -5,6 +5,8 @@ import { ISeoDependencies } from '../../common/ISeoDependencies';
5
5
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
6
6
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
7
7
  export declare class Country extends BaseSeoIndexabilityPolicy<ISeoDependencies> {
8
+ readonly name: string;
9
+ readonly description: string;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | SearchVolumeCountriesRule)[];
9
11
  get filterCombination(): FilterCombinations;
10
12
  protected generateUrls(): Promise<string[]>;
@@ -6,6 +6,8 @@ import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabi
6
6
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
7
7
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
8
8
  export class Country extends BaseSeoIndexabilityPolicy {
9
+ name = "Country Policy";
10
+ description = "Manages indexing of country-specific pages, applying rules to index only countries with adequate search demand and relevant content availability.";
9
11
  rules = [
10
12
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
11
13
  new OnlyFiltersSelectedRule([FilterKey.COUNTRY]),
@@ -5,6 +5,8 @@ import { ISeoDependencies } from '../../common/ISeoDependencies';
5
5
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
6
6
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
7
7
  export declare class Discipline extends BaseSeoIndexabilityPolicy<ISeoDependencies> {
8
+ readonly name: string;
9
+ readonly description: string;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | SearchVolumeDisciplinesRule)[];
9
11
  get filterCombination(): FilterCombinations;
10
12
  protected generateUrls(): Promise<string[]>;
@@ -6,6 +6,8 @@ import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabi
6
6
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
7
7
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
8
8
  export class Discipline extends BaseSeoIndexabilityPolicy {
9
+ name = "Discipline Country Policy";
10
+ description = "Governs indexability for pages at the intersection of academic disciplines and countries, optimizing SEO for field-specific content within national contexts.";
9
11
  rules = [
10
12
  new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
11
13
  new OnlyFiltersSelectedRule([FilterKey.DISCIPLINES]),
@@ -5,6 +5,8 @@ import { ISeoDependencies } from '../../common/ISeoDependencies';
5
5
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
6
6
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
7
7
  export declare class DisciplineCountry extends BaseSeoIndexabilityPolicy<ISeoDependencies> {
8
+ readonly name: string;
9
+ readonly description: string;
8
10
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule | SearchVolumeCountriesDisciplinesRule)[];
9
11
  get filterCombination(): FilterCombinations;
10
12
  protected generateUrls(): Promise<string[]>;
@@ -7,6 +7,8 @@ import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabi
7
7
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
8
8
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
9
9
  export class DisciplineCountry extends BaseSeoIndexabilityPolicy {
10
+ name = "Discipline Policy";
11
+ description = "Determines which discipline-filtered pages qualify for indexing based on search volume thresholds and content availability within specific academic fields.";
10
12
  rules = [
11
13
  new SingleValueSelectedForFilterRule(FilterKey.DISCIPLINES),
12
14
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
@@ -3,6 +3,8 @@ import { ISeoDependencies } from '../../common/ISeoDependencies';
3
3
  import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabilityPolicy';
4
4
  import { NoFiltersSelectedRule } from '../../common/rules/NoFiltersSelectedRule';
5
5
  export declare class Unfiltered extends BaseSeoIndexabilityPolicy<ISeoDependencies> {
6
+ readonly name: string;
7
+ readonly description: string;
6
8
  protected readonly rules: NoFiltersSelectedRule[];
7
9
  protected generateUrls(): Promise<string[]>;
8
10
  get filterCombination(): FilterCombinations;
@@ -2,6 +2,8 @@ import { FilterCombinations } from '../../enums/FilterCombinations';
2
2
  import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabilityPolicy';
3
3
  import { NoFiltersSelectedRule } from '../../common/rules/NoFiltersSelectedRule';
4
4
  export class Unfiltered extends BaseSeoIndexabilityPolicy {
5
+ name = "Unfiltered Policy";
6
+ description = "Defines indexability rules for unfiltered pages, managing crawl budget by ensuring only high-value aggregate pages are included in the sitemap.";
5
7
  rules = [new NoFiltersSelectedRule()];
6
8
  generateUrls() {
7
9
  return Promise.resolve(['']);
@@ -4,6 +4,8 @@ import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabi
4
4
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
5
5
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
6
6
  export declare class UniversityCountry extends BaseSeoIndexabilityPolicy<ISeoDependencies> {
7
+ readonly name: string;
8
+ readonly description: string;
7
9
  protected readonly rules: (SingleValueSelectedForFilterRule | OnlyFiltersSelectedRule)[];
8
10
  get filterCombination(): FilterCombinations;
9
11
  protected generateUrls(): Promise<string[]>;
@@ -5,6 +5,8 @@ import { BaseSeoIndexabilityPolicy } from '../../common/policies/BaseSeoIndexabi
5
5
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
6
6
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
7
7
  export class UniversityCountry extends BaseSeoIndexabilityPolicy {
8
+ name = "University Country Policy";
9
+ description = "Regulates indexing for pages filtered by both university and country, prioritizing institution-specific content within national boundaries that meets SEO criteria.";
8
10
  rules = [
9
11
  new SingleValueSelectedForFilterRule(FilterKey.ORGANISATIONS),
10
12
  new SingleValueSelectedForFilterRule(FilterKey.COUNTRY),
@@ -13,24 +13,24 @@ export class OrganisationsSitemapUrlGeneratorManager extends BaseSitemapUrlGener
13
13
  rankingApiClient
14
14
  };
15
15
  this.policies = [
16
- new Area("Area Policy", "Controls indexing of pages filtered by geographic areas, ensuring only SEO-valuable regional content with sufficient search volume is indexed.", dependencies),
17
- new AreaAttendance("Area Attendance Policy", "Manages indexability for pages filtered by both geographic area and attendance type, optimizing for region-specific study format combinations.", dependencies),
18
- new Attendance("Attendance Policy", "Determines indexing rules for pages filtered by study format (online, on-campus, etc.), prioritizing formats with demonstrated search demand.", dependencies),
19
- new Continent("Continent Policy", "Governs indexing of continent-level filtered pages, applying rules to index only continental regions with sufficient search volume and content density.", dependencies),
20
- new Country("Country Policy", "Manages indexing of country-specific pages, applying rules to index only countries with adequate search demand and relevant content availability.", dependencies),
21
- new CountryAttendance("Country Attendance Policy", "Regulates indexability for pages combining country and attendance type filters, optimizing for country-specific study format pages.", dependencies),
22
- new Unfiltered("Unfiltered Policy", "Defines indexability rules for unfiltered pages, managing crawl budget by ensuring only high-value aggregate pages are included in the sitemap.", dependencies),
23
- new RankedArea("Ranked Area Policy", "Controls indexing for ranking-sorted pages filtered by geographic areas, optimizing for region-specific content with quality-based result ordering.", dependencies),
24
- new RankedAreaDiscipline("Ranked Area Discipline Policy", "Governs indexability for ranking-sorted pages filtered by both area and discipline, prioritizing field-specific regional content with quality ordering.", dependencies),
25
- new RankedAttendance("Ranked Attendance Policy", "Determines which ranking-sorted pages filtered by attendance type qualify for indexing based on format-specific search patterns.", dependencies),
26
- new RankedAttendanceDiscipline("Ranked Attendance Discipline Policy", "Manages indexing for ranking-sorted pages at the intersection of attendance type and academic discipline filters.", dependencies),
27
- new RankedContinent("Ranked Continent Policy", "Regulates indexability of ranking-sorted continent-level filtered pages, prioritizing high-value continental views with quality-based sorting.", dependencies),
28
- new RankedContinentAttendance("Ranked Continent Attendance Policy", "Controls indexing for ranking-sorted pages combining continent and attendance filters, optimizing for continental study format combinations.", dependencies),
29
- new RankedCountry("Ranked Country Policy", "Manages indexability of ranking-sorted country-specific pages, applying rules to prioritize countries where quality-based sorting adds search value.", dependencies),
30
- new RankedCountryAttendance("Ranked Country Attendance Policy", "Governs indexing for ranking-sorted pages filtered by both country and attendance type, optimizing for country-specific study format combinations with quality sorting.", dependencies),
31
- new RankedCountryDiscipline("Ranked Country Discipline Policy", "Determines which ranking-sorted pages at the intersection of country and discipline filters qualify for indexing based on search value.", dependencies),
32
- new RankedDiscipline("Ranked Discipline Policy", "Regulates indexability of ranking-sorted discipline-specific pages, prioritizing academic fields where quality-based sorting enhances user experience.", dependencies),
33
- new RankedUnfiltered("Ranked Unfiltered Policy", "Defines indexing rules for ranking-sorted unfiltered pages, managing SEO strategy for quality-ordered aggregate views of the content database.", dependencies)
16
+ new Area(dependencies),
17
+ new AreaAttendance(dependencies),
18
+ new Attendance(dependencies),
19
+ new Continent(dependencies),
20
+ new Country(dependencies),
21
+ new CountryAttendance(dependencies),
22
+ new Unfiltered(dependencies),
23
+ new RankedArea(dependencies),
24
+ new RankedAreaDiscipline(dependencies),
25
+ new RankedAttendance(dependencies),
26
+ new RankedAttendanceDiscipline(dependencies),
27
+ new RankedContinent(dependencies),
28
+ new RankedContinentAttendance(dependencies),
29
+ new RankedCountry(dependencies),
30
+ new RankedCountryAttendance(dependencies),
31
+ new RankedCountryDiscipline(dependencies),
32
+ new RankedDiscipline(dependencies),
33
+ new RankedUnfiltered(dependencies)
34
34
  ];
35
35
  }
36
36
  }
@@ -16,12 +16,12 @@ export class ScholarshipsSitemapUrlGeneratorManager extends BaseSitemapUrlGenera
16
16
  organisationsClient
17
17
  };
18
18
  this.policies = [
19
- new Area("Area Policy", "Controls indexing of pages filtered by geographic areas, ensuring only SEO-valuable regional content with sufficient search volume is indexed.", dependencies),
20
- new Country("Country Policy", "Manages indexing of country-specific pages, applying rules to index only countries with adequate search demand and relevant content availability.", dependencies),
21
- new DisciplineCountry("Discipline Country Policy", "Governs indexability for pages at the intersection of academic disciplines and countries, optimizing SEO for field-specific content within national contexts.", dependencies),
22
- new Discipline("Discipline Policy", "Determines which discipline-filtered pages qualify for indexing based on search volume thresholds and content availability within specific academic fields.", dependencies),
23
- new UniversityCountry("University Country Policy", "Regulates indexing for pages filtered by both university and country, prioritizing institution-specific content within national boundaries that meets SEO criteria.", dependencies),
24
- new Unfiltered("Unfiltered Policy", "Defines indexability rules for unfiltered pages, managing crawl budget by ensuring only high-value aggregate pages are included in the sitemap.", dependencies)
19
+ new Area(dependencies),
20
+ new Country(dependencies),
21
+ new DisciplineCountry(dependencies),
22
+ new Discipline(dependencies),
23
+ new UniversityCountry(dependencies),
24
+ new Unfiltered(dependencies)
25
25
  ];
26
26
  }
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/fawkes",
3
- "version": "4.0.1-5",
3
+ "version": "4.0.1-7",
4
4
  "description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
5
5
  "files": [
6
6
  "./dist"