mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00

Conflicts: src/app/core/cache/models/normalized-item.model.ts src/app/core/shared/item.model.ts
25 lines
551 B
TypeScript
25 lines
551 B
TypeScript
import { DSpaceObject } from "./dspace-object.model";
|
|
import { Bitstream } from "./bitstream.model";
|
|
import { Item } from "./item.model";
|
|
import { RemoteData } from "../data/remote-data";
|
|
|
|
export class Bundle extends DSpaceObject {
|
|
/**
|
|
* The primary bitstream of this Bundle
|
|
*/
|
|
primaryBitstream: RemoteData<Bitstream>;
|
|
|
|
/**
|
|
* An array of Items that are direct parents of this Bundle
|
|
*/
|
|
parents: Array<RemoteData<Item>>;
|
|
|
|
/**
|
|
* The Item that owns this Bundle
|
|
*/
|
|
owner: Item;
|
|
|
|
bitstreams: Array<RemoteData<Bitstream>>
|
|
|
|
}
|