@studyportals/fawkes 8.1.1-0 → 8.1.1-2

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,9 +1,9 @@
1
1
  import { SearchStructuredDataFactory } from "./SearchStructuredDataFactory";
2
2
  import { ReviewRatingDTO } from "./dto/ReviewRatingDTO";
3
- import { Course } from "schema-dts";
3
+ import { CollegeOrUniversity } from 'schema-dts';
4
4
  import { EntityDTO } from "./dto/EntityDTO";
5
5
  import { OrganisationDTO } from '../structured-data/dto/OrganisationDTO';
6
6
  export declare class OrganisationStructuredDataFactory extends SearchStructuredDataFactory<OrganisationDTO> {
7
7
  protected getRating(card: OrganisationDTO): ReviewRatingDTO | undefined;
8
- protected buildStructuredDataForCard(entity: EntityDTO<OrganisationDTO>): Course | undefined;
8
+ protected buildStructuredDataForCard(entity: EntityDTO<OrganisationDTO>): CollegeOrUniversity | undefined;
9
9
  }
@@ -15,7 +15,7 @@ export class OrganisationStructuredDataFactory extends SearchStructuredDataFacto
15
15
  return undefined;
16
16
  const card = entity.card;
17
17
  return {
18
- "@type": "Course",
18
+ "@type": "CollegeOrUniversity",
19
19
  "name": card.name,
20
20
  "description": card.description,
21
21
  "url": card.url,
@@ -1,2 +1,3 @@
1
1
  export * from './ProgrammeStructuredDataFactory';
2
+ export * from './OrganisationStructuredDataFactory';
2
3
  export * from './dto';
@@ -1,2 +1,3 @@
1
1
  export * from './ProgrammeStructuredDataFactory';
2
+ export * from './OrganisationStructuredDataFactory';
2
3
  export * from './dto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@studyportals/fawkes",
3
- "version": "8.1.1-0",
3
+ "version": "8.1.1-2",
4
4
  "description": "A package to centralize SEO related logic for SBLP and Sitemap Generator.",
5
5
  "files": [
6
6
  "./dist"