@studyportals/fawkes 7.4.2-2 → 7.4.2-3

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 (267) hide show
  1. package/README.md +176 -176
  2. package/dist/src/common/FilterKeyValuesMap.d.ts +1 -1
  3. package/dist/src/common/IPolicyMetaData.d.ts +6 -0
  4. package/dist/src/common/IPolicyMetaData.js +1 -0
  5. package/dist/src/common/IPresenter.d.ts +1 -1
  6. package/dist/src/common/ISeoFilterState.d.ts +1 -1
  7. package/dist/src/common/ISeoInfoBase.d.ts +1 -1
  8. package/dist/src/common/rules/OnlineAttendanceRule.js +1 -1
  9. package/dist/src/common/rules/OnlyFiltersSelectedRule.d.ts +1 -1
  10. package/dist/src/common/rules/SingleValueSelectedForFilterRule.d.ts +1 -1
  11. package/dist/src/enums/FilterCombinations.d.ts +22 -1
  12. package/dist/src/enums/FilterCombinations.js +22 -1
  13. package/dist/src/errors/InvalidFilterValueError.d.ts +1 -1
  14. package/dist/src/organisations/OrganisationsRuleBasedIndexabilityPolicy.d.ts +11 -0
  15. package/dist/src/organisations/OrganisationsRuleBasedIndexabilityPolicy.js +19 -0
  16. package/dist/src/organisations/policies/our-picks/Area.js +1 -1
  17. package/dist/src/organisations/policies/our-picks/AreaAttendance.js +1 -1
  18. package/dist/src/organisations/policies/our-picks/Attendance.js +1 -1
  19. package/dist/src/organisations/policies/our-picks/Continent.js +1 -1
  20. package/dist/src/organisations/policies/our-picks/Country.js +1 -1
  21. package/dist/src/organisations/policies/our-picks/CountryAttendance.js +1 -1
  22. package/dist/src/organisations/policies/ranked/RankedArea.js +1 -1
  23. package/dist/src/organisations/policies/ranked/RankedAreaDiscipline.js +1 -1
  24. package/dist/src/organisations/policies/ranked/RankedAttendance.js +1 -1
  25. package/dist/src/organisations/policies/ranked/RankedAttendanceDiscipline.js +1 -1
  26. package/dist/src/organisations/policies/ranked/RankedContinent.js +1 -1
  27. package/dist/src/organisations/policies/ranked/RankedContinentAttendance.js +1 -1
  28. package/dist/src/organisations/policies/ranked/RankedCountry.js +1 -1
  29. package/dist/src/organisations/policies/ranked/RankedCountryAttendance.js +1 -1
  30. package/dist/src/organisations/policies/ranked/RankedCountryDiscipline.js +1 -1
  31. package/dist/src/organisations/policies/ranked/RankedDiscipline.js +1 -1
  32. package/dist/src/organisations/rules/BaseSearchVolumeOrganisationsRule.d.ts +1 -1
  33. package/dist/src/organisations/rules/ContinentIsEuropeRule.js +1 -1
  34. package/dist/src/organisations/rules/OnlineAttendanceRule.d.ts +6 -0
  35. package/dist/src/organisations/rules/OnlineAttendanceRule.js +14 -0
  36. package/dist/src/organisations/rules/SearchVolumeAreasAttendanceRule.js +1 -1
  37. package/dist/src/organisations/rules/SearchVolumeAreasDisciplineRule.js +1 -1
  38. package/dist/src/organisations/rules/SearchVolumeCountriesAttendanceRule.js +1 -1
  39. package/dist/src/presenters/AreaPresenter.d.ts +1 -1
  40. package/dist/src/presenters/AreaPresenter.js +1 -1
  41. package/dist/src/presenters/AttendancePresenter.d.ts +1 -1
  42. package/dist/src/presenters/AttendancePresenter.js +5 -1
  43. package/dist/src/presenters/ContinentPresenter.d.ts +1 -1
  44. package/dist/src/presenters/ContinentPresenter.js +1 -1
  45. package/dist/src/presenters/CountryPresenter.d.ts +1 -1
  46. package/dist/src/presenters/CountryPresenter.js +1 -1
  47. package/dist/src/presenters/DegreePresenter.d.ts +1 -1
  48. package/dist/src/presenters/DegreePresenter.js +1 -2
  49. package/dist/src/presenters/DisciplinePresenter.d.ts +1 -1
  50. package/dist/src/presenters/DisciplinePresenter.js +1 -1
  51. package/dist/src/presenters/DurationPresenter.d.ts +1 -2
  52. package/dist/src/presenters/DurationPresenter.js +1 -2
  53. package/dist/src/presenters/EducationalFormPresenter.d.ts +1 -1
  54. package/dist/src/presenters/EducationalFormPresenter.js +1 -2
  55. package/dist/src/presenters/FormatPresenter.d.ts +1 -1
  56. package/dist/src/presenters/FormatPresenter.js +5 -3
  57. package/dist/src/presenters/SpecialProgrammesPresenter.d.ts +1 -1
  58. package/dist/src/presenters/SpecialProgrammesPresenter.js +5 -2
  59. package/dist/src/presenters/TuitionFeePresenter.d.ts +1 -1
  60. package/dist/src/presenters/TuitionFeePresenter.js +1 -2
  61. package/dist/src/programmes/IProgrammeSearchApplicationState.d.ts +4 -0
  62. package/dist/src/programmes/IProgrammeSearchApplicationState.js +1 -0
  63. package/dist/src/programmes/IProgrammeSearchDependencies.d.ts +7 -0
  64. package/dist/src/programmes/IProgrammeSearchDependencies.js +1 -0
  65. package/dist/src/programmes/IProgrammesSeoDependencies.d.ts +2 -0
  66. package/dist/src/programmes/IProgrammesSeoDependencies.js +1 -0
  67. package/dist/src/programmes/ProgrammesBaseIndexabilityPolicy.d.ts +1 -1
  68. package/dist/src/programmes/SearchIndexabilityManager.js +27 -3
  69. package/dist/src/programmes/policies/Area.d.ts +1 -1
  70. package/dist/src/programmes/policies/Area.js +1 -1
  71. package/dist/src/programmes/policies/Attendance.d.ts +1 -1
  72. package/dist/src/programmes/policies/Attendance.js +1 -1
  73. package/dist/src/programmes/policies/AttendanceArea.d.ts +16 -0
  74. package/dist/src/programmes/policies/AttendanceArea.js +48 -0
  75. package/dist/src/programmes/policies/AttendanceContinent.d.ts +16 -0
  76. package/dist/src/programmes/policies/AttendanceContinent.js +46 -0
  77. package/dist/src/programmes/policies/AttendanceDegree.d.ts +3 -4
  78. package/dist/src/programmes/policies/AttendanceDegree.js +8 -7
  79. package/dist/src/programmes/policies/AttendanceDuration.d.ts +16 -0
  80. package/dist/src/programmes/policies/AttendanceDuration.js +48 -0
  81. package/dist/src/programmes/policies/AttendanceFormat.d.ts +16 -0
  82. package/dist/src/programmes/policies/AttendanceFormat.js +48 -0
  83. package/dist/src/programmes/policies/AttendanceTuitionFee.d.ts +16 -0
  84. package/dist/src/programmes/policies/AttendanceTuitionFee.js +49 -0
  85. package/dist/src/programmes/policies/Continent.d.ts +1 -1
  86. package/dist/src/programmes/policies/Continent.js +1 -1
  87. package/dist/src/programmes/policies/ContinentDuration.d.ts +15 -0
  88. package/dist/src/programmes/policies/ContinentDuration.js +46 -0
  89. package/dist/src/programmes/policies/ContinentFormat.d.ts +15 -0
  90. package/dist/src/programmes/policies/ContinentFormat.js +46 -0
  91. package/dist/src/programmes/policies/ContinentSpecialProgrammes.d.ts +15 -0
  92. package/dist/src/programmes/policies/ContinentSpecialProgrammes.js +46 -0
  93. package/dist/src/programmes/policies/ContinentTuitionFee.d.ts +1 -1
  94. package/dist/src/programmes/policies/ContinentTuitionFee.js +1 -1
  95. package/dist/src/programmes/policies/Country.d.ts +1 -1
  96. package/dist/src/programmes/policies/Country.js +1 -1
  97. package/dist/src/programmes/policies/CountryAttendance.d.ts +1 -1
  98. package/dist/src/programmes/policies/CountryAttendance.js +1 -1
  99. package/dist/src/programmes/policies/CountryAttendanceDegree.d.ts +1 -1
  100. package/dist/src/programmes/policies/CountryAttendanceDegree.js +2 -2
  101. package/dist/src/programmes/policies/CountryDegree.d.ts +1 -1
  102. package/dist/src/programmes/policies/CountryDegree.js +1 -1
  103. package/dist/src/programmes/policies/CountryDuration.d.ts +3 -3
  104. package/dist/src/programmes/policies/CountryDuration.js +7 -5
  105. package/dist/src/programmes/policies/CountryDurationDegree.d.ts +1 -1
  106. package/dist/src/programmes/policies/CountryDurationDegree.js +2 -2
  107. package/dist/src/programmes/policies/CountryEducationalForm.d.ts +1 -1
  108. package/dist/src/programmes/policies/CountryEducationalForm.js +2 -2
  109. package/dist/src/programmes/policies/CountryFormat.d.ts +1 -1
  110. package/dist/src/programmes/policies/CountryFormat.js +1 -1
  111. package/dist/src/programmes/policies/CountrySpecialProgrammes.d.ts +15 -0
  112. package/dist/src/programmes/policies/CountrySpecialProgrammes.js +46 -0
  113. package/dist/src/programmes/policies/CountryTuitionFee.d.ts +1 -1
  114. package/dist/src/programmes/policies/CountryTuitionFee.js +1 -1
  115. package/dist/src/programmes/policies/Degree.d.ts +1 -1
  116. package/dist/src/programmes/policies/Degree.js +1 -1
  117. package/dist/src/programmes/policies/DegreeArea.d.ts +15 -0
  118. package/dist/src/programmes/policies/DegreeArea.js +46 -0
  119. package/dist/src/programmes/policies/DegreeAreaTuitionFee.d.ts +15 -0
  120. package/dist/src/programmes/policies/DegreeAreaTuitionFee.js +52 -0
  121. package/dist/src/programmes/policies/DegreeAttendanceDiscipline.d.ts +3 -2
  122. package/dist/src/programmes/policies/DegreeAttendanceDiscipline.js +14 -14
  123. package/dist/src/programmes/policies/DegreeAttendanceFormat.d.ts +15 -0
  124. package/dist/src/programmes/policies/DegreeAttendanceFormat.js +52 -0
  125. package/dist/src/programmes/policies/DegreeAttendanceSpecialProgrammes.d.ts +16 -0
  126. package/dist/src/programmes/policies/DegreeAttendanceSpecialProgrammes.js +56 -0
  127. package/dist/src/programmes/policies/DegreeAttendanceTuitionFee.d.ts +16 -0
  128. package/dist/src/programmes/policies/DegreeAttendanceTuitionFee.js +55 -0
  129. package/dist/src/programmes/policies/DegreeContinent.d.ts +16 -0
  130. package/dist/src/programmes/policies/DegreeContinent.js +46 -0
  131. package/dist/src/programmes/policies/DegreeContinentTuitionFee.d.ts +16 -0
  132. package/dist/src/programmes/policies/DegreeContinentTuitionFee.js +52 -0
  133. package/dist/src/programmes/policies/DegreeCountryAttendance.d.ts +1 -1
  134. package/dist/src/programmes/policies/DegreeCountryAttendance.js +2 -2
  135. package/dist/src/programmes/policies/DegreeCountryDiscipline.d.ts +1 -1
  136. package/dist/src/programmes/policies/DegreeCountryDiscipline.js +2 -2
  137. package/dist/src/programmes/policies/DegreeCountryTuitionFee.d.ts +1 -1
  138. package/dist/src/programmes/policies/DegreeCountryTuitionFee.js +3 -3
  139. package/dist/src/programmes/policies/DegreeDuration.d.ts +16 -0
  140. package/dist/src/programmes/policies/DegreeDuration.js +48 -0
  141. package/dist/src/programmes/policies/DegreeFormat.d.ts +16 -0
  142. package/dist/src/programmes/policies/DegreeFormat.js +49 -0
  143. package/dist/src/programmes/policies/DegreeFormatTuitionFee.d.ts +16 -0
  144. package/dist/src/programmes/policies/DegreeFormatTuitionFee.js +52 -0
  145. package/dist/src/programmes/policies/DegreeSpecialProgrammes.d.ts +15 -0
  146. package/dist/src/programmes/policies/DegreeSpecialProgrammes.js +48 -0
  147. package/dist/src/programmes/policies/DegreeTuitionFee.d.ts +15 -0
  148. package/dist/src/programmes/policies/DegreeTuitionFee.js +47 -0
  149. package/dist/src/programmes/policies/Discipline.d.ts +1 -1
  150. package/dist/src/programmes/policies/Discipline.js +1 -1
  151. package/dist/src/programmes/policies/DisciplineArea.d.ts +1 -1
  152. package/dist/src/programmes/policies/DisciplineArea.js +1 -1
  153. package/dist/src/programmes/policies/DisciplineAttendance.d.ts +1 -1
  154. package/dist/src/programmes/policies/DisciplineAttendance.js +1 -1
  155. package/dist/src/programmes/policies/DisciplineContinent.d.ts +1 -1
  156. package/dist/src/programmes/policies/DisciplineContinent.js +1 -1
  157. package/dist/src/programmes/policies/DisciplineContinentAttendance.d.ts +16 -0
  158. package/dist/src/programmes/policies/DisciplineContinentAttendance.js +54 -0
  159. package/dist/src/programmes/policies/DisciplineCountry.d.ts +1 -1
  160. package/dist/src/programmes/policies/DisciplineCountry.js +1 -1
  161. package/dist/src/programmes/policies/DisciplineCountryAttendance.d.ts +16 -0
  162. package/dist/src/programmes/policies/DisciplineCountryAttendance.js +54 -0
  163. package/dist/src/programmes/policies/DisciplineCountryDegree.d.ts +16 -0
  164. package/dist/src/programmes/policies/DisciplineCountryDegree.js +53 -0
  165. package/dist/src/programmes/policies/DisciplineCountryEducationalForm.d.ts +1 -1
  166. package/dist/src/programmes/policies/DisciplineCountryEducationalForm.js +2 -2
  167. package/dist/src/programmes/policies/DisciplineCountryFormat.d.ts +15 -0
  168. package/dist/src/programmes/policies/DisciplineCountryFormat.js +52 -0
  169. package/dist/src/programmes/policies/DisciplineDegree.d.ts +1 -1
  170. package/dist/src/programmes/policies/DisciplineDegree.js +1 -1
  171. package/dist/src/programmes/policies/DisciplineDuration.d.ts +1 -1
  172. package/dist/src/programmes/policies/DisciplineDuration.js +1 -1
  173. package/dist/src/programmes/policies/DisciplineEducationalForm.d.ts +1 -1
  174. package/dist/src/programmes/policies/DisciplineEducationalForm.js +2 -2
  175. package/dist/src/programmes/policies/DisciplineFormat.d.ts +1 -1
  176. package/dist/src/programmes/policies/DisciplineFormat.js +1 -1
  177. package/dist/src/programmes/policies/DisciplineSpecialProgrammes.d.ts +15 -0
  178. package/dist/src/programmes/policies/DisciplineSpecialProgrammes.js +46 -0
  179. package/dist/src/programmes/policies/DisciplineTuitionFee.d.ts +1 -1
  180. package/dist/src/programmes/policies/DisciplineTuitionFee.js +1 -1
  181. package/dist/src/programmes/policies/DisciplineTuitionFeeAttendance.d.ts +1 -1
  182. package/dist/src/programmes/policies/DisciplineTuitionFeeAttendance.js +1 -1
  183. package/dist/src/programmes/policies/Duration.d.ts +15 -0
  184. package/dist/src/programmes/policies/Duration.js +35 -0
  185. package/dist/src/programmes/policies/Format.d.ts +15 -0
  186. package/dist/src/programmes/policies/Format.js +35 -0
  187. package/dist/src/programmes/policies/SpecialProgrammes.d.ts +2 -3
  188. package/dist/src/programmes/policies/SpecialProgrammes.js +2 -4
  189. package/dist/src/programmes/policies/TuitionFee.d.ts +1 -1
  190. package/dist/src/programmes/policies/TuitionFee.js +1 -1
  191. package/dist/src/programmes/policies/index.d.ts +26 -1
  192. package/dist/src/programmes/policies/index.js +26 -1
  193. package/dist/src/programmes/rules/AffordableTuitionFeeRule.js +2 -2
  194. package/dist/src/programmes/rules/DegreeAttendanceDisciplineRule.js +2 -2
  195. package/dist/src/programmes/rules/DegreeAttendanceDisciplineSpecificRule.js +2 -2
  196. package/dist/src/programmes/rules/DegreeAttendanceSpecificRule.d.ts +10 -0
  197. package/dist/src/programmes/rules/DegreeAttendanceSpecificRule.js +42 -0
  198. package/dist/src/programmes/rules/DegreeCountryAttendanceSpecificRule.js +2 -3
  199. package/dist/src/programmes/rules/DegreeCountryDisciplineSpecificRule.js +2 -2
  200. package/dist/src/programmes/rules/DegreeCountrySpecificRule.d.ts +10 -0
  201. package/dist/src/programmes/rules/DegreeCountrySpecificRule.js +43 -0
  202. package/dist/src/programmes/rules/DegreeCountryTuitionFeeRule.d.ts +11 -0
  203. package/dist/src/programmes/rules/DegreeCountryTuitionFeeRule.js +40 -0
  204. package/dist/src/programmes/rules/DegreeCountryTuitionFeeSpecificRule.js +3 -3
  205. package/dist/src/programmes/rules/DegreeDisciplineRule.js +2 -2
  206. package/dist/src/programmes/rules/ErasmusOrJointSpecialProgrammesRule.js +2 -2
  207. package/dist/src/programmes/rules/IndexableDegreeRule.js +2 -2
  208. package/dist/src/programmes/rules/IndexableDurationRule.js +1 -1
  209. package/dist/src/programmes/rules/IndexableEducationalFormRule.js +2 -2
  210. package/dist/src/programmes/rules/MBACountryAttendanceRule.d.ts +11 -0
  211. package/dist/src/programmes/rules/MBACountryAttendanceRule.js +40 -0
  212. package/dist/src/programmes/rules/MasterOfArtsDisciplineRule.d.ts +10 -0
  213. package/dist/src/programmes/rules/MasterOfArtsDisciplineRule.js +41 -0
  214. package/dist/src/programmes/rules/MasterOfEducationCountryDisciplineRule.d.ts +11 -0
  215. package/dist/src/programmes/rules/MasterOfEducationCountryDisciplineRule.js +69 -0
  216. package/dist/src/programmes/rules/MasterOfLawsCountryAttendanceRule.d.ts +12 -0
  217. package/dist/src/programmes/rules/MasterOfLawsCountryAttendanceRule.js +43 -0
  218. package/dist/src/programmes/rules/MasterOfLawsCountryTuitionFeeRule.d.ts +12 -0
  219. package/dist/src/programmes/rules/MasterOfLawsCountryTuitionFeeRule.js +46 -0
  220. package/dist/src/programmes/rules/MasterOfPhilosophyCountryAttendanceRule.d.ts +12 -0
  221. package/dist/src/programmes/rules/MasterOfPhilosophyCountryAttendanceRule.js +43 -0
  222. package/dist/src/programmes/rules/MasterOfScienceDisciplineRule.d.ts +10 -0
  223. package/dist/src/programmes/rules/MasterOfScienceDisciplineRule.js +41 -0
  224. package/dist/src/programmes/rules/MbaDegreeRule.js +2 -2
  225. package/dist/src/programmes/rules/MbaOrMscDegreeRule.js +2 -2
  226. package/dist/src/programmes/rules/OneYearDurationRule.js +2 -2
  227. package/dist/src/programmes/rules/OneYearOnlyRule.d.ts +11 -0
  228. package/dist/src/programmes/rules/OneYearOnlyRule.js +34 -0
  229. package/dist/src/programmes/rules/OnlineAttendanceRule.d.ts +6 -0
  230. package/dist/src/programmes/rules/OnlineAttendanceRule.js +15 -0
  231. package/dist/src/programmes/rules/PartTimeFormatRule.js +2 -2
  232. package/dist/src/programmes/types/IProgrammeSitemapUrlGenerator.d.ts +1 -1
  233. package/dist/src/scholarships/policies/Area.js +1 -1
  234. package/dist/src/scholarships/policies/Country.js +1 -1
  235. package/dist/src/scholarships/policies/Discipline.js +1 -1
  236. package/dist/src/scholarships/policies/DisciplineCountry.js +1 -1
  237. package/dist/src/scholarships/policies/UniversityCountry.js +2 -2
  238. package/dist/src/scholarships/rules/ExceptAustaliaAreasRule.js +1 -1
  239. package/dist/src/scholarships/rules/SearchVolumeAreasRule.js +1 -1
  240. package/dist/src/scholarships/rules/SearchVolumeCountriesDisciplinesRule.js +1 -1
  241. package/dist/src/scholarships/rules/SearchVolumeCountriesRule.js +1 -1
  242. package/dist/src/scholarships/rules/SearchVolumeDisciplinesRule.js +1 -1
  243. package/dist/src/sitemap-generator/BaseSitemapUrlGeneratorManager.d.ts +1 -1
  244. package/dist/src/sitemap-generator/IPageNumberProvider.d.ts +3 -0
  245. package/dist/src/sitemap-generator/IPageNumberProvider.js +1 -0
  246. package/dist/src/sitemap-generator/ISitemapUrlGeneratorManager.d.ts +1 -1
  247. package/dist/src/sitemap-generator/OrganisationsSitemapUrlGeneratorManager.d.ts +1 -1
  248. package/dist/src/sitemap-generator/OrganisationsSitemapUrlGeneratorManager.js +1 -1
  249. package/dist/src/sitemap-generator/ProgrammesSitemapUrlGeneratorManager.d.ts +1 -1
  250. package/dist/src/sitemap-generator/ProgrammesSitemapUrlGeneratorManager.js +28 -4
  251. package/package.json +105 -104
  252. package/dist/src/enums/AttendanceFilterOptionValue.d.ts +0 -5
  253. package/dist/src/enums/AttendanceFilterOptionValue.js +0 -6
  254. package/dist/src/enums/DegreeTypeFilterOptionValue.d.ts +0 -29
  255. package/dist/src/enums/DegreeTypeFilterOptionValue.js +0 -30
  256. package/dist/src/enums/DurationFilterOptionValue.d.ts +0 -16
  257. package/dist/src/enums/DurationFilterOptionValue.js +0 -17
  258. package/dist/src/enums/EducationalFormFilterOptionValue.d.ts +0 -8
  259. package/dist/src/enums/EducationalFormFilterOptionValue.js +0 -9
  260. package/dist/src/enums/FilterKey.d.ts +0 -21
  261. package/dist/src/enums/FilterKey.js +0 -22
  262. package/dist/src/enums/FormatFilterOptionValue.d.ts +0 -4
  263. package/dist/src/enums/FormatFilterOptionValue.js +0 -5
  264. package/dist/src/enums/SpecialProgrammesFilterOptionValue.d.ts +0 -5
  265. package/dist/src/enums/SpecialProgrammesFilterOptionValue.js +0 -6
  266. package/dist/src/enums/TuitionFeeFilterOptionValue.d.ts +0 -3
  267. package/dist/src/enums/TuitionFeeFilterOptionValue.js +0 -4
package/package.json CHANGED
@@ -1,104 +1,105 @@
1
- {
2
- "name": "@studyportals/fawkes",
3
- "version": "7.4.2-2",
4
- "description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
5
- "files": [
6
- "./dist"
7
- ],
8
- "scripts": {
9
- "prepush": "npm run test",
10
- "precommit": "npm run lint",
11
- "compile": "npx tsc && tsc-alias && rm -r ./dist/tests",
12
- "build": "npm run clean && npm run compile",
13
- "clean": "rimraf \"!(node_modules)/**/dist\"",
14
- "prepare-deployment": "npm run test && npm run build",
15
- "publish-major": "npm run prepare-deployment && npm version major && npm publish",
16
- "publish-beta": "npm run prepare-deployment && npm version prerelease && npm publish --tag beta --access=public",
17
- "publish-patch": "npm run prepare-deployment && npm version patch && npm publish",
18
- "publish-minor": "npm run prepare-deployment && npm version minor && npm publish",
19
- "prepare": "husky install",
20
- "test": "vitest run --coverage",
21
- "test:dev": "vitest --coverage tests/programmes",
22
- "lint": "eslint . --ext .ts",
23
- "lint:fix": "eslint . --ext .ts --fix",
24
- "prettier:fix": "npx prettier --use-tabs --ignore-path .gitignore --write ."
25
- },
26
- "exports": {
27
- "./organisations-search-seo": {
28
- "import": "./dist/organisations-seo/index.js",
29
- "require": "./dist/organisations-seo/index.js",
30
- "types": "./dist/organisations-seo/index.d.ts"
31
- },
32
- "./programmes-search-seo": {
33
- "import": "./dist/programmes-seo/index.js",
34
- "require": "./dist/programmes-seo/index.js",
35
- "types": "./dist/programmes-seo/index.d.ts"
36
- },
37
- "./scholarships-search-seo": {
38
- "import": "./dist/scholarships-seo/index.js",
39
- "require": "./dist/scholarships-seo/index.js",
40
- "types": "./dist/scholarships-seo/index.d.ts"
41
- },
42
- "./sitemap-generator-seo": {
43
- "import": "./dist/sitemap-generator-seo/index.js",
44
- "require": "./dist/sitemap-generator-seo/index.js",
45
- "types": "./dist/sitemap-generator-seo/index.d.ts"
46
- },
47
- "./structured-data-seo": {
48
- "import": "./dist/structured-data-seo/index.js",
49
- "require": "./dist/structured-data-seo/index.js",
50
- "types": "./dist/structured-data-seo/index.d.ts"
51
- }
52
- },
53
- "typesVersions": {
54
- "*": {
55
- "organisations-search-seo": [
56
- "dist/organisations-seo/index.d.ts"
57
- ],
58
- "programmes-search-seo": [
59
- "dist/programmes-seo/index.d.ts"
60
- ],
61
- "scholarships-search-seo": [
62
- "dist/scholarships-seo/index.d.ts"
63
- ],
64
- "sitemap-generator-seo": [
65
- "dist/sitemap-generator-seo/index.d.ts"
66
- ],
67
- "structured-data-seo": [
68
- "dist/structured-data-seo/index.d.ts"
69
- ],
70
- "*": [
71
- "dist/index.d.ts"
72
- ]
73
- }
74
- },
75
- "author": "The Jedi Council",
76
- "license": "ISC",
77
- "devDependencies": {
78
- "@adobe/structured-data-validator": "^1.4.1",
79
- "@studyportals/code-style": "^2.2.1",
80
- "@studyportals/webpack-helper": "^6.0.6",
81
- "@vitest/coverage-istanbul": "^2.1.8",
82
- "husky": "^8.0.3",
83
- "jsdom": "^26.0.0",
84
- "prettier": "^3.5.3",
85
- "tsc-alias": "^1.8.11",
86
- "typemoq": "^2.1.0",
87
- "typescript": "^5.7.3",
88
- "vitest": "^2.1.8",
89
- "schema-dts": "^1.1.5",
90
- "ts-loader": "^9.5.2"
91
- },
92
- "dependencies": {
93
- "@studyportals/domain-client": "^6.3.0",
94
- "@studyportals/ranking-api-interface": "^1.3.12",
95
- "@studyportals/static-domain-data": "^6.1.0"
96
- },
97
- "optionalDependencies": {
98
- "@rollup/rollup-linux-x64-gnu": "4.24.0"
99
- },
100
- "engines": {
101
- "node": ">=18 <=22",
102
- "npm": ">=8 <=10"
103
- }
104
- }
1
+ {
2
+ "name": "@studyportals/fawkes",
3
+ "version": "7.4.2-3",
4
+ "description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
5
+ "files": [
6
+ "./dist"
7
+ ],
8
+ "scripts": {
9
+ "prepush": "npm run test",
10
+ "precommit": "npm run lint",
11
+ "compile": "npx tsc && tsc-alias && rm -r ./dist/tests",
12
+ "build": "npm run clean && npm run compile",
13
+ "clean": "rimraf \"!(node_modules)/**/dist\"",
14
+ "prepare-deployment": "npm run test && npm run build",
15
+ "publish-major": "npm run prepare-deployment && npm version major && npm publish",
16
+ "publish-beta": "npm run prepare-deployment && npm version prerelease && npm publish --tag beta --access=public",
17
+ "publish-patch": "npm run prepare-deployment && npm version patch && npm publish",
18
+ "publish-minor": "npm run prepare-deployment && npm version minor && npm publish",
19
+ "prepare": "husky install",
20
+ "test": "vitest run --coverage",
21
+ "test:dev": "vitest --coverage tests/programmes",
22
+ "lint": "eslint . --ext .ts",
23
+ "lint:fix": "eslint . --ext .ts --fix",
24
+ "prettier:fix": "npx prettier --use-tabs --ignore-path .gitignore --write ."
25
+ },
26
+ "exports": {
27
+ "./organisations-search-seo": {
28
+ "import": "./dist/organisations-seo/index.js",
29
+ "require": "./dist/organisations-seo/index.js",
30
+ "types": "./dist/organisations-seo/index.d.ts"
31
+ },
32
+ "./programmes-search-seo": {
33
+ "import": "./dist/programmes-seo/index.js",
34
+ "require": "./dist/programmes-seo/index.js",
35
+ "types": "./dist/programmes-seo/index.d.ts"
36
+ },
37
+ "./scholarships-search-seo": {
38
+ "import": "./dist/scholarships-seo/index.js",
39
+ "require": "./dist/scholarships-seo/index.js",
40
+ "types": "./dist/scholarships-seo/index.d.ts"
41
+ },
42
+ "./sitemap-generator-seo": {
43
+ "import": "./dist/sitemap-generator-seo/index.js",
44
+ "require": "./dist/sitemap-generator-seo/index.js",
45
+ "types": "./dist/sitemap-generator-seo/index.d.ts"
46
+ },
47
+ "./structured-data-seo": {
48
+ "import": "./dist/structured-data-seo/index.js",
49
+ "require": "./dist/structured-data-seo/index.js",
50
+ "types": "./dist/structured-data-seo/index.d.ts"
51
+ }
52
+ },
53
+ "typesVersions": {
54
+ "*": {
55
+ "organisations-search-seo": [
56
+ "dist/organisations-seo/index.d.ts"
57
+ ],
58
+ "programmes-search-seo": [
59
+ "dist/programmes-seo/index.d.ts"
60
+ ],
61
+ "scholarships-search-seo": [
62
+ "dist/scholarships-seo/index.d.ts"
63
+ ],
64
+ "sitemap-generator-seo": [
65
+ "dist/sitemap-generator-seo/index.d.ts"
66
+ ],
67
+ "structured-data-seo": [
68
+ "dist/structured-data-seo/index.d.ts"
69
+ ],
70
+ "*": [
71
+ "dist/index.d.ts"
72
+ ]
73
+ }
74
+ },
75
+ "author": "The Jedi Council",
76
+ "license": "ISC",
77
+ "devDependencies": {
78
+ "@adobe/structured-data-validator": "^1.4.1",
79
+ "@studyportals/code-style": "^2.2.1",
80
+ "@studyportals/webpack-helper": "^6.0.6",
81
+ "@vitest/coverage-istanbul": "^2.1.8",
82
+ "husky": "^8.0.3",
83
+ "jsdom": "^26.0.0",
84
+ "prettier": "^3.5.3",
85
+ "schema-dts": "^1.1.5",
86
+ "ts-loader": "^9.5.2",
87
+ "tsc-alias": "^1.8.11",
88
+ "typemoq": "^2.1.0",
89
+ "typescript": "^5.7.3",
90
+ "vitest": "^2.1.8"
91
+ },
92
+ "dependencies": {
93
+ "@studyportals/domain-client": "^7.0.0",
94
+ "@studyportals/ranking-api-interface": "^1.3.12",
95
+ "@studyportals/search-filters": "^5.1.0",
96
+ "@studyportals/static-domain-data": "^6.1.0"
97
+ },
98
+ "optionalDependencies": {
99
+ "@rollup/rollup-linux-x64-gnu": "4.24.0"
100
+ },
101
+ "engines": {
102
+ "node": ">=18 <=22",
103
+ "npm": ">=8 <=10"
104
+ }
105
+ }
@@ -1,5 +0,0 @@
1
- export declare enum AttendanceFilterOptionValue {
2
- FACE_2_FACE = "face2face",
3
- ONLINE = "online",
4
- BLENDED = "blended"
5
- }
@@ -1,6 +0,0 @@
1
- export var AttendanceFilterOptionValue;
2
- (function (AttendanceFilterOptionValue) {
3
- AttendanceFilterOptionValue["FACE_2_FACE"] = "face2face";
4
- AttendanceFilterOptionValue["ONLINE"] = "online";
5
- AttendanceFilterOptionValue["BLENDED"] = "blended";
6
- })(AttendanceFilterOptionValue || (AttendanceFilterOptionValue = {}));
@@ -1,29 +0,0 @@
1
- export declare enum DegreeTypeFilterOptionValue {
2
- PHD = "phd",
3
- DBA = "dba",
4
- DOCTORATE = "doct",
5
- MSC = "msc",
6
- MA = "ma",
7
- MBA = "mba",
8
- LLM = "llm",
9
- MPHIL = "mphil",
10
- MLITT = "mlitt",
11
- MRES = "mres",
12
- MED = "med",
13
- MENG = "meng",
14
- POSTGRADIP = "postgraddip",
15
- POSTGRADCERT = "postgradcert",
16
- PREMASTER = "premaster",
17
- BSC = "bsc",
18
- BA = "ba",
19
- LLB = "llb",
20
- BENG = "beng",
21
- BBA = "bba",
22
- ASSOCIATE_DEGREE = "ad",
23
- ACADEMY_PROFESSION = "ap",
24
- ADVANCED_DIPLOMA = "adiploma",
25
- GRADUATE_CERTTIFICATE = "gcertificate",
26
- GRADUATE_DIPLOMA = "gdiploma",
27
- PREBACHELOR = "prebachelor",
28
- CERTIFICATE = "certificate"
29
- }
@@ -1,30 +0,0 @@
1
- export var DegreeTypeFilterOptionValue;
2
- (function (DegreeTypeFilterOptionValue) {
3
- DegreeTypeFilterOptionValue["PHD"] = "phd";
4
- DegreeTypeFilterOptionValue["DBA"] = "dba";
5
- DegreeTypeFilterOptionValue["DOCTORATE"] = "doct";
6
- DegreeTypeFilterOptionValue["MSC"] = "msc";
7
- DegreeTypeFilterOptionValue["MA"] = "ma";
8
- DegreeTypeFilterOptionValue["MBA"] = "mba";
9
- DegreeTypeFilterOptionValue["LLM"] = "llm";
10
- DegreeTypeFilterOptionValue["MPHIL"] = "mphil";
11
- DegreeTypeFilterOptionValue["MLITT"] = "mlitt";
12
- DegreeTypeFilterOptionValue["MRES"] = "mres";
13
- DegreeTypeFilterOptionValue["MED"] = "med";
14
- DegreeTypeFilterOptionValue["MENG"] = "meng";
15
- DegreeTypeFilterOptionValue["POSTGRADIP"] = "postgraddip";
16
- DegreeTypeFilterOptionValue["POSTGRADCERT"] = "postgradcert";
17
- DegreeTypeFilterOptionValue["PREMASTER"] = "premaster";
18
- DegreeTypeFilterOptionValue["BSC"] = "bsc";
19
- DegreeTypeFilterOptionValue["BA"] = "ba";
20
- DegreeTypeFilterOptionValue["LLB"] = "llb";
21
- DegreeTypeFilterOptionValue["BENG"] = "beng";
22
- DegreeTypeFilterOptionValue["BBA"] = "bba";
23
- DegreeTypeFilterOptionValue["ASSOCIATE_DEGREE"] = "ad";
24
- DegreeTypeFilterOptionValue["ACADEMY_PROFESSION"] = "ap";
25
- DegreeTypeFilterOptionValue["ADVANCED_DIPLOMA"] = "adiploma";
26
- DegreeTypeFilterOptionValue["GRADUATE_CERTTIFICATE"] = "gcertificate";
27
- DegreeTypeFilterOptionValue["GRADUATE_DIPLOMA"] = "gdiploma";
28
- DegreeTypeFilterOptionValue["PREBACHELOR"] = "prebachelor";
29
- DegreeTypeFilterOptionValue["CERTIFICATE"] = "certificate";
30
- })(DegreeTypeFilterOptionValue || (DegreeTypeFilterOptionValue = {}));
@@ -1,16 +0,0 @@
1
- export declare enum DurationFilterOptionValue {
2
- LESS_THAN_ONE_MONTH = "[-1,29]",
3
- ONE_TO_THREE_MONTHS = "[30,90]",
4
- MORE_THAN_THREE_MONTHS = "[91,-1]",
5
- LESS_THAN_ONE_YEAR = "[-1,359]",
6
- ONE_YEAR = "[360,360]",
7
- ONE_AND_A_HALF_YEARS = "[540,540]",
8
- LESS_THAN_TWO_YEARS = "[-1,719]",
9
- MORE_THAN_TWO_YEARS = "[721,-1]",
10
- TWO_YEARS = "[720,720]",
11
- TWO_AND_A_HALF_YEARS = "[900,900]",
12
- THREE_YEARS = "[1080,1080]",
13
- THREE_AND_A_HALF_YEARS = "[1260,1260]",
14
- FOUR_YEARS = "[1440,1440]",
15
- MORE_THAN_FOUR_YEARS = "[1441,-1]"
16
- }
@@ -1,17 +0,0 @@
1
- export var DurationFilterOptionValue;
2
- (function (DurationFilterOptionValue) {
3
- DurationFilterOptionValue["LESS_THAN_ONE_MONTH"] = "[-1,29]";
4
- DurationFilterOptionValue["ONE_TO_THREE_MONTHS"] = "[30,90]";
5
- DurationFilterOptionValue["MORE_THAN_THREE_MONTHS"] = "[91,-1]";
6
- DurationFilterOptionValue["LESS_THAN_ONE_YEAR"] = "[-1,359]";
7
- DurationFilterOptionValue["ONE_YEAR"] = "[360,360]";
8
- DurationFilterOptionValue["ONE_AND_A_HALF_YEARS"] = "[540,540]";
9
- DurationFilterOptionValue["LESS_THAN_TWO_YEARS"] = "[-1,719]";
10
- DurationFilterOptionValue["MORE_THAN_TWO_YEARS"] = "[721,-1]";
11
- DurationFilterOptionValue["TWO_YEARS"] = "[720,720]";
12
- DurationFilterOptionValue["TWO_AND_A_HALF_YEARS"] = "[900,900]";
13
- DurationFilterOptionValue["THREE_YEARS"] = "[1080,1080]";
14
- DurationFilterOptionValue["THREE_AND_A_HALF_YEARS"] = "[1260,1260]";
15
- DurationFilterOptionValue["FOUR_YEARS"] = "[1440,1440]";
16
- DurationFilterOptionValue["MORE_THAN_FOUR_YEARS"] = "[1441,-1]";
17
- })(DurationFilterOptionValue || (DurationFilterOptionValue = {}));
@@ -1,8 +0,0 @@
1
- export declare enum EducationalFormFilterOptionValue {
2
- ACADEMIC_COURSE = "academic",
3
- CONFERENCE_SEMINAR = "conference",
4
- SUMMER_SCHOOL = "summer_school",
5
- WINTER_SCHOOL = "winter_school",
6
- SEMESTER_STUDY_ABROAD = "semester",
7
- SKILL_PROFESSIONAL_COURSE = "skill"
8
- }
@@ -1,9 +0,0 @@
1
- export var EducationalFormFilterOptionValue;
2
- (function (EducationalFormFilterOptionValue) {
3
- EducationalFormFilterOptionValue["ACADEMIC_COURSE"] = "academic";
4
- EducationalFormFilterOptionValue["CONFERENCE_SEMINAR"] = "conference";
5
- EducationalFormFilterOptionValue["SUMMER_SCHOOL"] = "summer_school";
6
- EducationalFormFilterOptionValue["WINTER_SCHOOL"] = "winter_school";
7
- EducationalFormFilterOptionValue["SEMESTER_STUDY_ABROAD"] = "semester";
8
- EducationalFormFilterOptionValue["SKILL_PROFESSIONAL_COURSE"] = "skill";
9
- })(EducationalFormFilterOptionValue || (EducationalFormFilterOptionValue = {}));
@@ -1,21 +0,0 @@
1
- export declare enum FilterKey {
2
- KEYWORD_WHAT = "kw-what",
3
- KEYWORD_WHERE = "kw-where",
4
- KEYWORD = "kw",
5
- ORGANISATIONS = "oi",
6
- DISCIPLINES = "di",
7
- EDUCATION_LEVEL = "lv",
8
- CONTINENT = "rg",
9
- COUNTRY = "ci",
10
- AREA = "ae",
11
- TUITION_FEE = "tr",
12
- DURATION = "dur",
13
- ATTENDANCE = "de",
14
- DELIVERY_METHOD = "mh",
15
- DEGREE_TYPE = "dg",
16
- EDUCATIONAL_FORM = "ef",
17
- SPECIAL_PROGRAMMES = "sps",
18
- USER_COUNTRY = "uc",
19
- USER_REGION = "ur",
20
- CURRENCY = "tc"
21
- }
@@ -1,22 +0,0 @@
1
- export var FilterKey;
2
- (function (FilterKey) {
3
- FilterKey["KEYWORD_WHAT"] = "kw-what";
4
- FilterKey["KEYWORD_WHERE"] = "kw-where";
5
- FilterKey["KEYWORD"] = "kw";
6
- FilterKey["ORGANISATIONS"] = "oi";
7
- FilterKey["DISCIPLINES"] = "di";
8
- FilterKey["EDUCATION_LEVEL"] = "lv";
9
- FilterKey["CONTINENT"] = "rg";
10
- FilterKey["COUNTRY"] = "ci";
11
- FilterKey["AREA"] = "ae";
12
- FilterKey["TUITION_FEE"] = "tr";
13
- FilterKey["DURATION"] = "dur";
14
- FilterKey["ATTENDANCE"] = "de";
15
- FilterKey["DELIVERY_METHOD"] = "mh";
16
- FilterKey["DEGREE_TYPE"] = "dg";
17
- FilterKey["EDUCATIONAL_FORM"] = "ef";
18
- FilterKey["SPECIAL_PROGRAMMES"] = "sps";
19
- FilterKey["USER_COUNTRY"] = "uc";
20
- FilterKey["USER_REGION"] = "ur";
21
- FilterKey["CURRENCY"] = "tc";
22
- })(FilterKey || (FilterKey = {}));
@@ -1,4 +0,0 @@
1
- export declare enum FormatFilterOptionValue {
2
- FULL_TIME = "fulltime",
3
- PART_TIME = "parttime"
4
- }
@@ -1,5 +0,0 @@
1
- export var FormatFilterOptionValue;
2
- (function (FormatFilterOptionValue) {
3
- FormatFilterOptionValue["FULL_TIME"] = "fulltime";
4
- FormatFilterOptionValue["PART_TIME"] = "parttime";
5
- })(FormatFilterOptionValue || (FormatFilterOptionValue = {}));
@@ -1,5 +0,0 @@
1
- export declare enum SpecialProgrammesFilterOptionValue {
2
- EXECUTIVE_PROGRAMMES = "executive",
3
- JOINT_PROGRAMMES = "joint",
4
- ERASMUS_MUNDUS = "erasmus"
5
- }
@@ -1,6 +0,0 @@
1
- export var SpecialProgrammesFilterOptionValue;
2
- (function (SpecialProgrammesFilterOptionValue) {
3
- SpecialProgrammesFilterOptionValue["EXECUTIVE_PROGRAMMES"] = "executive";
4
- SpecialProgrammesFilterOptionValue["JOINT_PROGRAMMES"] = "joint";
5
- SpecialProgrammesFilterOptionValue["ERASMUS_MUNDUS"] = "erasmus";
6
- })(SpecialProgrammesFilterOptionValue || (SpecialProgrammesFilterOptionValue = {}));
@@ -1,3 +0,0 @@
1
- export declare enum TuitionFeeFilterOptionValue {
2
- ZERO_TO_TWO_THOUSAND_FIVE_HUNDRED = "[0,2500]"
3
- }
@@ -1,4 +0,0 @@
1
- export var TuitionFeeFilterOptionValue;
2
- (function (TuitionFeeFilterOptionValue) {
3
- TuitionFeeFilterOptionValue["ZERO_TO_TWO_THOUSAND_FIVE_HUNDRED"] = "[0,2500]";
4
- })(TuitionFeeFilterOptionValue || (TuitionFeeFilterOptionValue = {}));