@studyportals/fawkes 8.1.1-1 → 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 {
|
|
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>):
|
|
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": "
|
|
18
|
+
"@type": "CollegeOrUniversity",
|
|
19
19
|
"name": card.name,
|
|
20
20
|
"description": card.description,
|
|
21
21
|
"url": card.url,
|