mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33:03 +00:00
refactored resource type and type mapping
This commit is contained in:
@@ -6,8 +6,10 @@ import { Observable } from 'rxjs';
|
||||
import { License } from './license.model';
|
||||
import { ResourcePolicy } from './resource-policy.model';
|
||||
import { PaginatedList } from '../data/paginated-list';
|
||||
import { ResourceType } from './resource-type';
|
||||
|
||||
export class Collection extends DSpaceObject {
|
||||
static type = new ResourceType('collection');
|
||||
|
||||
/**
|
||||
* A string representing the unique handle of this Collection
|
||||
@@ -80,5 +82,4 @@ export class Collection extends DSpaceObject {
|
||||
owner: Observable<RemoteData<Collection>>;
|
||||
|
||||
items: Observable<RemoteData<Item[]>>;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user