mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Added services and models
This commit is contained in:
30
src/app/core/tasks/models/task-object.model.ts
Normal file
30
src/app/core/tasks/models/task-object.model.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
import { CacheableObject } from '../../cache/object-cache.reducer';
|
||||
import { DSpaceObject } from '../../shared/dspace-object.model';
|
||||
import { ListableObject } from '../../../shared/object-collection/shared/listable-object.model';
|
||||
import { RemoteData } from '../../data/remote-data';
|
||||
import { Workflowitem } from '../../submission/models/workflowitem.model';
|
||||
|
||||
export class TaskObject extends DSpaceObject implements CacheableObject, ListableObject {
|
||||
|
||||
/**
|
||||
* The task identifier
|
||||
*/
|
||||
id: string;
|
||||
|
||||
/**
|
||||
* The workflow step
|
||||
*/
|
||||
step: string;
|
||||
|
||||
/**
|
||||
* The task action type
|
||||
*/
|
||||
action: string;
|
||||
|
||||
/**
|
||||
* The workflowitem object whom this task is related
|
||||
*/
|
||||
workflowitem: Observable<RemoteData<Workflowitem>> | Workflowitem;
|
||||
}
|
Reference in New Issue
Block a user