forked from hazza/dspace-angular
68729: ItemVersionsComponent + changes to Version(History) model and services
This commit is contained in:
@@ -14,6 +14,7 @@ import { Bundle } from './bundle.model';
|
||||
import { GenericConstructor } from './generic-constructor';
|
||||
import { ListableObject } from '../../shared/object-collection/shared/listable-object.model';
|
||||
import { DEFAULT_ENTITY_TYPE } from '../../shared/metadata-representation/metadata-representation.decorator';
|
||||
import { Version } from './version.model';
|
||||
|
||||
/**
|
||||
* Class representing a DSpace Item
|
||||
@@ -67,6 +68,11 @@ export class Item extends DSpaceObject {
|
||||
|
||||
relationships: Observable<RemoteData<PaginatedList<Relationship>>>;
|
||||
|
||||
/**
|
||||
* The version this item represents in its history
|
||||
*/
|
||||
version: Observable<RemoteData<Version>>;
|
||||
|
||||
/**
|
||||
* Retrieves the thumbnail of this item
|
||||
* @returns {Observable<Bitstream>} the primaryBitstream of the 'THUMBNAIL' bundle
|
||||
|
Reference in New Issue
Block a user