28 lines
631 B
TypeScript
28 lines
631 B
TypeScript
export const TASK_STATUS = {
|
|
PENDING: {
|
|
color: '#7816ff',
|
|
text: 'task.list.status.pending',
|
|
desc: 'task.list.status.pendingDesc'
|
|
},
|
|
WRITING: {
|
|
color: '#ff5722',
|
|
text: 'task.list.status.processing',
|
|
desc: 'task.list.status.processingDesc'
|
|
},
|
|
COMPLETED: {
|
|
color: '#00b42a',
|
|
text: 'task.list.status.completed',
|
|
desc: 'task.list.status.completedDesc'
|
|
},
|
|
FAILED: {
|
|
color: '#86909c',
|
|
text: 'task.list.status.failed',
|
|
desc: 'task.list.status.failedDesc'
|
|
},
|
|
PAUSED: {
|
|
color: '#ff9800',
|
|
text: 'task.list.status.paused',
|
|
desc: 'task.list.status.pausedDesc'
|
|
}
|
|
}
|