20 lines
729 B
TypeScript
20 lines
729 B
TypeScript
export const TASK_STATUSES = [
|
||
{ value: 'pending', label: 'В ожидании', color: 'blue', icon: 'clock' },
|
||
{ value: 'waiting', label: 'Ожидает', color: 'orange', icon: 'hourglass' },
|
||
{ value: 'completed', label: 'Выполнена', color: 'green', icon: 'check' },
|
||
{ value: 'cancelled', label: 'Отменена', color: 'gray', icon: 'x' },
|
||
] as const
|
||
|
||
export const STATUS_COLORS: Record<string, string> = {
|
||
pending: 'blue',
|
||
waiting: 'orange',
|
||
completed: 'green',
|
||
cancelled: 'gray',
|
||
}
|
||
|
||
export const STATUS_LABELS: Record<string, string> = {
|
||
pending: 'В ожидании',
|
||
waiting: 'Ожидает',
|
||
completed: 'Выполнена',
|
||
cancelled: 'Отменена',
|
||
} |