made use of embedded resources for relationships in the response that contain a single link for a set of resources rather than enumerate the self link of each resource

This commit is contained in:
Art Lowel
2017-06-21 16:51:37 +02:00
parent 0bccc7c201
commit b46ad36eaf
6 changed files with 82 additions and 55 deletions

View File

@@ -40,7 +40,11 @@ export class Item extends DSpaceObject {
/**
* The Collection that owns this Item
*/
owner: RemoteData<Collection>;
owningCollection: RemoteData<Collection>;
get owner(): RemoteData<Collection> {
return this.owningCollection;
}
bitstreams: RemoteData<Bitstream[]>;