mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 20:43:08 +00:00
80369: Add thumbnail link to Item & Bitstream models
This commit is contained in:
@@ -43,13 +43,14 @@ export class Bitstream extends DSpaceObject implements HALResource {
|
||||
bundle: HALLink;
|
||||
format: HALLink;
|
||||
content: HALLink;
|
||||
thumbnail: HALLink;
|
||||
};
|
||||
|
||||
/**
|
||||
* The thumbnail for this Bitstream
|
||||
* Needs to be resolved first, but isn't available as a {@link HALLink} yet
|
||||
* Use BitstreamDataService.getThumbnailFor(…) for now.
|
||||
* Will be undefined unless the thumbnail {@link HALLink} has been resolved.
|
||||
*/
|
||||
@link(BITSTREAM, false, 'thumbnail')
|
||||
thumbnail?: Observable<RemoteData<Bitstream>>;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user