switched to resource-types for annotations to get around circular dependency issues

This commit is contained in:
Art Lowel
2020-01-22 11:11:02 +01:00
committed by Art Lowel
parent 56c3d12497
commit 1d31cae970
30 changed files with 80 additions and 64 deletions

View File

@@ -51,13 +51,13 @@ export class Community extends DSpaceObject {
/**
* The Bitstream that represents the logo of this Community
*/
@link(Bitstream)
@link(Bitstream.type)
logo?: Observable<RemoteData<Bitstream>>;
@link(Collection, true)
@link(Collection.type, true)
collections?: Observable<RemoteData<PaginatedList<Collection>>>;
@link(Community, true)
@link(Community.type, true)
subcommunities?: Observable<RemoteData<PaginatedList<Community>>>;
_links: {