forked from hazza/dspace-angular
18 lines
789 B
TypeScript
18 lines
789 B
TypeScript
import { MetadataRepresentationListElementComponent } from '../metadata-representation-list-element.component';
|
|
import { Component, Inject } from '@angular/core';
|
|
import { ITEM } from '../../../items/switcher/item-type-switcher.component';
|
|
import { ItemMetadataRepresentation } from '../../../../core/shared/metadata-representation/item/item-metadata-representation.model';
|
|
|
|
@Component({
|
|
selector: 'ds-item-metadata-representation-list-element',
|
|
template: ''
|
|
})
|
|
/**
|
|
* An abstract class for displaying a single ItemMetadataRepresentation
|
|
*/
|
|
export class ItemMetadataRepresentationListElementComponent extends MetadataRepresentationListElementComponent {
|
|
constructor(@Inject(ITEM) public metadataRepresentation: ItemMetadataRepresentation) {
|
|
super(metadataRepresentation);
|
|
}
|
|
}
|