added support for embedded resources

This commit is contained in:
Art Lowel
2017-06-01 11:41:15 +02:00
parent c21a255a62
commit 739371cb35
25 changed files with 850 additions and 674 deletions

View File

@@ -2,6 +2,7 @@ import { Metadatum } from "./metadatum.model"
import { isEmpty, isNotEmpty } from "../../shared/empty.util";
import { CacheableObject } from "../cache/object-cache.reducer";
import { RemoteData } from "../data/remote-data";
import { ResourceType } from "./resource-type";
/**
* An abstract model class for a DSpaceObject.
@@ -23,7 +24,7 @@ export abstract class DSpaceObject implements CacheableObject {
/**
* A string representing the kind of DSpaceObject, e.g. community, item, …
*/
type: string;
type: ResourceType;
/**
* The name for this DSpaceObject