adapted remote data build method to aggregate relation remotedata arrays

This commit is contained in:
Art Lowel
2017-05-29 13:42:11 +02:00
committed by Lotte Hofstede
parent 2b74c3034a
commit fbb64a6031
12 changed files with 67 additions and 68 deletions

View File

@@ -58,13 +58,13 @@ export class Collection extends DSpaceObject {
/**
* An array of Collections that are direct parents of this Collection
*/
parents: Array<RemoteData<Collection>>;
parents: RemoteData<Collection[]>;
/**
* The Collection that owns this Collection
*/
owner: Collection;
items: Array<RemoteData<Item>>;
items: RemoteData<Item[]>;
}