Skip to content
Snippets Groups Projects
Commit 4d248028 authored by Kristof De Langhe's avatar Kristof De Langhe
Browse files

56434: property docs for entity-page-fields components

parent 39e1b0f7
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,14 @@ import { isNotEmpty } from '../../../../shared/empty.util';
* The component for displaying metadata and relations of an item with entity type Journal Volume
*/
export class JournalVolumePageFieldsComponent extends EntityPageFieldsComponent {
/**
* The journals related to this journal volume
*/
journals$: Observable<Item[]>;
/**
* The journal issues related to this journal volume
*/
issues$: Observable<Item[]>;
constructor(
......
......@@ -21,9 +21,19 @@ import { isNotEmpty } from '../../../../shared/empty.util';
* The component for displaying metadata and relations of an item with entity type Organisation Unit
*/
export class OrgUnitPageFieldsComponent extends EntityPageFieldsComponent implements OnInit {
/**
* The people related to this organisation unit
*/
people$: Observable<Item[]>;
/**
* The projects related to this organisation unit
*/
projects$: Observable<Item[]>;
/**
* The publications related to this organisation unit
*/
publications$: Observable<Item[]>;
constructor(
......
......@@ -22,10 +22,29 @@ import { isNotEmpty } from '../../../../shared/empty.util';
* The component for displaying metadata and relations of an item with entity type Person
*/
export class PersonPageFieldsComponent extends EntityPageFieldsComponent {
/**
* The publications related to this person
*/
publications$: Observable<Item[]>;
/**
* The projects related to this person
*/
projects$: Observable<Item[]>;
/**
* The organisation units related to this person
*/
orgUnits$: Observable<Item[]>;
/**
* The applied fixed filter
*/
fixedFilter$: Observable<string>;
/**
* The query used for applying the fixed filter
*/
fixedFilterQuery: string;
constructor(
......
......@@ -21,8 +21,19 @@ import { isNotEmpty } from '../../../../shared/empty.util';
* The component for displaying metadata and relations of an item with entity type Project
*/
export class ProjectPageFieldsComponent extends EntityPageFieldsComponent implements OnInit {
/**
* The people related to this project
*/
people$: Observable<Item[]>;
/**
* The publications related to this project
*/
publications$: Observable<Item[]>;
/**
* The organisation units related to this project
*/
orgUnits$: Observable<Item[]>;
constructor(
......
......@@ -22,9 +22,24 @@ import {
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PublicationPageFieldsComponent extends EntityPageFieldsComponent implements OnInit {
/**
* The authors related to this publication
*/
authors$: Observable<Item[]>;
/**
* The projects related to this publication
*/
projects$: Observable<Item[]>;
/**
* The organisation units related to this publication
*/
orgUnits$: Observable<Item[]>;
/**
* The journal issues related to this publication
*/
journalIssues$: Observable<Item[]>;
constructor(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment