mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Merge branch 'master' into w2p-62849_relationships-in-submission
This commit is contained in:
@@ -3,12 +3,16 @@ import { Observable } from 'rxjs';
|
||||
import { CacheableObject } from '../../cache/object-cache.reducer';
|
||||
import { DSpaceObject } from '../../shared/dspace-object.model';
|
||||
import { RemoteData } from '../../data/remote-data';
|
||||
import { Workflowitem } from '../../submission/models/workflowitem.model';
|
||||
import { WorkflowItem } from '../../submission/models/workflowitem.model';
|
||||
import { ResourceType } from '../../shared/resource-type';
|
||||
import { EPerson } from '../../eperson/models/eperson.model';
|
||||
import { Group } from '../../eperson/models/group.model';
|
||||
|
||||
/**
|
||||
* An abstract model class for a TaskObject.
|
||||
*/
|
||||
export class TaskObject extends DSpaceObject implements CacheableObject {
|
||||
static type = new ResourceType('taskobject');
|
||||
|
||||
/**
|
||||
* The task identifier
|
||||
@@ -25,8 +29,18 @@ export class TaskObject extends DSpaceObject implements CacheableObject {
|
||||
*/
|
||||
action: string;
|
||||
|
||||
/**
|
||||
* The group of this task
|
||||
*/
|
||||
eperson: Observable<RemoteData<EPerson>>;
|
||||
|
||||
/**
|
||||
* The group of this task
|
||||
*/
|
||||
group: Observable<RemoteData<Group>>;
|
||||
|
||||
/**
|
||||
* The workflowitem object whom this task is related
|
||||
*/
|
||||
workflowitem: Observable<RemoteData<Workflowitem>> | Workflowitem;
|
||||
workflowitem: Observable<RemoteData<WorkflowItem>> | WorkflowItem;
|
||||
}
|
||||
|
Reference in New Issue
Block a user