56434: property docs for entity-page-fields components

This commit is contained in:
Kristof De Langhe
2018-10-24 10:17:49 +02:00
parent 39e1b0f7d5
commit 4d24802871
5 changed files with 63 additions and 1 deletions

View File

@@ -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(

View File

@@ -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(

View File

@@ -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(

View File

@@ -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(

View File

@@ -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(