@studyportals/fawkes 8.0.2-8 → 8.0.2-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { FilterKey } from '@studyportals/search-filters/server-side';
1
+ import { FilterKey, FormatFilterOptionValue } from '@studyportals/search-filters/server-side';
2
2
  import { OnlyFiltersSelectedRule } from '../../common/rules/OnlyFiltersSelectedRule';
3
3
  import { SingleValueSelectedForFilterRule } from '../../common/rules/SingleValueSelectedForFilterRule';
4
4
  import { FilterCombinations } from '../../enums/FilterCombinations';
@@ -24,7 +24,7 @@ export class ContinentFormat extends ProgrammesBaseIndexabilityPolicy {
24
24
  const formatFragments = FormatPresenter.getInstance().getFragments();
25
25
  const continentFragments = ContinentPresenter.getInstance().getFragments();
26
26
  const paths = [];
27
- const allowedFormatIds = ['parttime'];
27
+ const allowedFormatIds = [FormatFilterOptionValue.PART_TIME];
28
28
  const allowedFormats = formatFragments.filter(format => allowedFormatIds.includes(format.id));
29
29
  for (const pageNumber of this.indexablePageNumbers) {
30
30
  for (const format of allowedFormats) {
@@ -46,7 +46,7 @@ DegreeAreaTuitionFee,
46
46
  // DisciplineContinentAttendance,
47
47
  // DegreeContinentTuitionFee,
48
48
  // AttendanceFormat,
49
- // ContinentFormat,
49
+ ContinentFormat,
50
50
  // AttendanceContinent,
51
51
  // DegreeDuration,
52
52
  // ContinentSpecialProgrammes,
@@ -108,7 +108,7 @@ export class ProgrammesSitemapUrlGeneratorManager extends BaseSitemapUrlGenerato
108
108
  // new CountryFormat(dependencies),
109
109
  // new CountryTuitionFee(dependencies),
110
110
  // new CountrySpecialProgrammes(dependencies),
111
- // new ContinentFormat(dependencies),
111
+ new ContinentFormat(dependencies),
112
112
  // new ContinentSpecialProgrammes(dependencies),
113
113
  new ContinentDuration(dependencies),
114
114
  // new DegreeAttendanceDiscipline(dependencies),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/fawkes",
3
- "version": "8.0.2-8",
3
+ "version": "8.0.2-9",
4
4
  "description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
5
5
  "files": [
6
6
  "./dist"