mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
108915: Added the missing Filetypes followLink to Process
This commit is contained in:
@@ -15,6 +15,8 @@ import { Script } from '../scripts/script.model';
|
||||
import { CacheableObject } from '../../core/cache/cacheable-object.model';
|
||||
import { BITSTREAM } from '../../core/shared/bitstream.resource-type';
|
||||
import { PaginatedList } from '../../core/data/paginated-list.model';
|
||||
import { Filetypes } from './filetypes.model';
|
||||
import { FILETYPES } from './filetypes.resource-type';
|
||||
|
||||
/**
|
||||
* Object representing a process
|
||||
@@ -80,7 +82,8 @@ export class Process implements CacheableObject {
|
||||
self: HALLink,
|
||||
script: HALLink,
|
||||
output: HALLink,
|
||||
files: HALLink
|
||||
files: HALLink,
|
||||
filetypes: HALLink,
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -103,4 +106,12 @@ export class Process implements CacheableObject {
|
||||
*/
|
||||
@link(BITSTREAM, true)
|
||||
files?: Observable<RemoteData<PaginatedList<Bitstream>>>;
|
||||
|
||||
/**
|
||||
* The filetypes present in this Process
|
||||
* Will be undefined unless the output {@link HALLink} has been resolved.
|
||||
*/
|
||||
@link(FILETYPES)
|
||||
filetypes?: Observable<RemoteData<Filetypes>>;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user