mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-12 12:33:07 +00:00
FollowLink addition to bitstream/bundle models
This commit is contained in:
@@ -8,6 +8,8 @@ import { BITSTREAM } from './bitstream.resource-type';
|
||||
import { DSpaceObject } from './dspace-object.model';
|
||||
import { HALLink } from './hal-link.model';
|
||||
import { HALResource } from './hal-resource.model';
|
||||
import {BUNDLE} from './bundle.resource-type';
|
||||
import {Bundle} from './bundle.model';
|
||||
|
||||
@typedObject
|
||||
@inheritSerialization(DSpaceObject)
|
||||
@@ -57,4 +59,10 @@ export class Bitstream extends DSpaceObject implements HALResource {
|
||||
@link(BITSTREAM_FORMAT, false, 'format')
|
||||
format?: Observable<RemoteData<BitstreamFormat>>;
|
||||
|
||||
/**
|
||||
* The owning bundle for this Bitstream
|
||||
* Will be undefined unless the bundle{@link HALLink} has been resolved.
|
||||
*/
|
||||
@link(BUNDLE)
|
||||
bundle?: Observable<RemoteData<Bundle>>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user