From e1e8f08ff248a01491a8a87f10242b6298af18c8 Mon Sep 17 00:00:00 2001 From: Timo Bejan Date: Tue, 17 Nov 2020 01:28:54 +0200 Subject: [PATCH] added lastReviewer field --- libs/red-ui-http/src/lib/model/fileStatus.ts | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/libs/red-ui-http/src/lib/model/fileStatus.ts b/libs/red-ui-http/src/lib/model/fileStatus.ts index f1408a4cb..ef6f9f88a 100644 --- a/libs/red-ui-http/src/lib/model/fileStatus.ts +++ b/libs/red-ui-http/src/lib/model/fileStatus.ts @@ -26,6 +26,10 @@ export interface FileStatus { * The current reviewer's (if any) user id. */ currentReviewer?: string; + /** + * The last reviewer's (if any) user id. + */ + lastReviewer?: string; /** * Shows which dictionary versions was used during the analysis. */ @@ -84,15 +88,7 @@ export interface FileStatus { uploader?: string; } export namespace FileStatus { - export type StatusEnum = - | 'UNPROCESSED' - | 'REPROCESS' - | 'PROCESSING' - | 'ERROR' - | 'UNASSIGNED' - | 'UNDER_REVIEW' - | 'UNDER_APPROVAL' - | 'APPROVED'; + export type StatusEnum = 'UNPROCESSED' | 'REPROCESS' | 'PROCESSING' | 'ERROR' | 'UNASSIGNED' | 'UNDER_REVIEW' | 'UNDER_APPROVAL' | 'APPROVED'; export const StatusEnum = { UNPROCESSED: 'UNPROCESSED' as StatusEnum, REPROCESS: 'REPROCESS' as StatusEnum,