import type { DataProcessStatus } from '@/types/dataProcess'

export type DataProcessStatusTagType = 'primary' | 'success' | 'warning' | 'danger' | 'info'

export interface DataProcessStatusLike {
  status?: DataProcessStatus
  output_dataset_id?: string | number | null
}

export function dataProcessDisplayStatus(task: DataProcessStatusLike): {
  label: string
  type: DataProcessStatusTagType
}
