mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 23:16:58 +08:00
18 lines
469 B
TypeScript
18 lines
469 B
TypeScript
import { RunningStatus } from '@/constants/knowledge';
|
|
|
|
export const RunningStatusMap = {
|
|
[RunningStatus.UNSTART]: {
|
|
label: 'UNSTART',
|
|
color: 'cyan',
|
|
},
|
|
[RunningStatus.RUNNING]: {
|
|
label: 'Parsing',
|
|
color: 'blue',
|
|
},
|
|
[RunningStatus.CANCEL]: { label: 'CANCEL', color: 'orange' },
|
|
[RunningStatus.DONE]: { label: 'SUCCESS', color: 'geekblue' },
|
|
[RunningStatus.FAIL]: { label: 'FAIL', color: 'red' },
|
|
};
|
|
|
|
export * from '@/constants/knowledge';
|