import {Component, Input} from '@angular/core'; import {EnvProperties} from '../../../utils/properties/env-properties'; import {ClaimDBContext, ClaimDBProject, ClaimDBResult} from "../claimHelper.class"; //Usage Example " " //externalUrl @Component({ selector: 'claim-entity', template: `
publication
research data
software
other
project
community
{{entity.title}}
` }) export class ClaimEntityFormatter { @Input() entity: ClaimDBResult | ClaimDBContext | ClaimDBProject; @Input() type: string; @Input() properties: EnvProperties; @Input() externalPortalUrl: string = null; constructor() { } ngOnInit() { } }