RED-5940 new file status
This commit is contained in:
parent
4530ebf02a
commit
31e4bc8b76
@ -1,5 +1,5 @@
|
||||
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
|
||||
import { ProcessingFileStatus, WorkflowFileStatus } from '@red/domain';
|
||||
import { ProcessingFileStatus, ProcessingFileStatuses, WorkflowFileStatus } from '@red/domain';
|
||||
|
||||
export const workflowFileStatusTranslations: { [key in WorkflowFileStatus]: string } = {
|
||||
APPROVED: _('file-status.approved'),
|
||||
@ -27,4 +27,5 @@ export const processingFileStatusTranslations: { [key in ProcessingFileStatus]:
|
||||
PRE_PROCESSING: _('file-status.full-processing'),
|
||||
PRE_PROCESSED: _('file-status.processed'),
|
||||
PRE_PROCESSING_FAILED: _('file-status.error'),
|
||||
TABLE_PARSING_ANALYZING: _('file-status.table-parsing-analyzing'),
|
||||
};
|
||||
|
||||
@ -1431,7 +1431,8 @@
|
||||
"unassigned": "Nicht zugewiesen",
|
||||
"under-approval": "In Genehmigung",
|
||||
"under-review": "In Review",
|
||||
"unprocessed": "Unbearbeitet"
|
||||
"unprocessed": "Unbearbeitet",
|
||||
"table-parsing-analyzing": "Table Parsing"
|
||||
},
|
||||
"file-upload": {
|
||||
"type": {
|
||||
|
||||
@ -1431,7 +1431,8 @@
|
||||
"unassigned": "Unassigned",
|
||||
"under-approval": "Under Approval",
|
||||
"under-review": "Under Review",
|
||||
"unprocessed": "Unprocessed"
|
||||
"unprocessed": "Unprocessed",
|
||||
"table-parsing-analyzing": "Table Parsing"
|
||||
},
|
||||
"file-upload": {
|
||||
"type": {
|
||||
|
||||
@ -1431,7 +1431,8 @@
|
||||
"unassigned": "Nicht zugewiesen",
|
||||
"under-approval": "In Genehmigung",
|
||||
"under-review": "In Review",
|
||||
"unprocessed": "Unbearbeitet"
|
||||
"unprocessed": "Unbearbeitet",
|
||||
"table-parsing-analyzing": "Table Parsing"
|
||||
},
|
||||
"file-upload": {
|
||||
"type": {
|
||||
|
||||
@ -1431,7 +1431,8 @@
|
||||
"unassigned": "Unassigned",
|
||||
"under-approval": "Under Approval",
|
||||
"under-review": "Under Review",
|
||||
"unprocessed": "Unprocessed"
|
||||
"unprocessed": "Unprocessed",
|
||||
"table-parsing-analyzing": "Table Parsing"
|
||||
},
|
||||
"file-upload": {
|
||||
"type": {
|
||||
|
||||
@ -30,6 +30,7 @@ export const ProcessingFileStatuses = {
|
||||
PRE_PROCESSING: 'PRE_PROCESSING',
|
||||
PRE_PROCESSED: 'PRE_PROCESSED',
|
||||
PRE_PROCESSING_FAILED: 'PRE_PROCESSING_FAILED',
|
||||
TABLE_PARSING_ANALYZING: 'TABLE_PARSING_ANALYZING',
|
||||
} as const;
|
||||
|
||||
export type ProcessingFileStatus = keyof typeof ProcessingFileStatuses;
|
||||
@ -58,6 +59,7 @@ export const isFullProcessingStatuses: List<ProcessingFileStatus> = [
|
||||
ProcessingFileStatuses.OCR_PROCESSING,
|
||||
ProcessingFileStatuses.FULL_PROCESSING,
|
||||
ProcessingFileStatuses.PRE_PROCESSING,
|
||||
ProcessingFileStatuses.TABLE_PARSING_ANALYZING,
|
||||
] as const;
|
||||
|
||||
export interface StatusBarConfig {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user