import type { StatusCategory } from './workflow'

export type TaskStatus = {
    id: number
    '@id'?: string
    label: string
    color: string
    position: number
    isFinal: boolean
    category: StatusCategory
    workflow?: { '@id': string, id: number } | string
}

export type TaskStatusWrite = {
    label: string
    color: string
    position: number
    isFinal: boolean
    category: StatusCategory
    workflow?: string
}
