switch to live rest-backend, still issue with bitstreams on item page

This commit is contained in:
Art Lowel
2017-06-07 18:25:52 +02:00
parent a8781de044
commit 0677bc38ee
26 changed files with 247 additions and 167 deletions

View File

@@ -1,42 +1,47 @@
import { DSpaceObject } from "./dspace-object.model";
import { Bundle } from "./bundle.model";
import { RemoteData } from "../data/remote-data";
import { Item } from "./item.model";
export class Bitstream extends DSpaceObject {
/**
* The size of this bitstream in bytes(?)
*/
size: number;
/**
* The size of this bitstream in bytes(?)
*/
size: number;
/**
* The relative path to this Bitstream's file
*/
url: string;
/**
* The relative path to this Bitstream's file
*/
url: string;
/**
* The mime type of this Bitstream
*/
mimetype: string;
/**
* The mime type of this Bitstream
*/
mimetype: string;
/**
* The description of this Bitstream
*/
description: string;
/**
* The description of this Bitstream
*/
description: string;
/**
* An array of Bundles that are direct parents of this Bitstream
*/
parents: RemoteData<Bundle[]>;
/**
* The name of the Bundle this Bitstream is part of
*/
bundleName: string;
/**
* The Bundle that owns this Bitstream
*/
owner: Bundle;
/**
* An array of Items that are direct parents of this Bitstream
*/
parents: RemoteData<Item[]>;
/**
* The Bundle that owns this Bitstream
*/
retrieve: string;
/**
* The Bundle that owns this Bitstream
*/
owner: RemoteData<Item>;
/**
* The Bundle that owns this Bitstream
*/
retrieve: string;
}