export type TaskType = {
  id: number
  title: string
  badgeText?: string[]
  attachments?: number
  comments?: number
  assigned?: { src: string; name: string }[]
  image?: string
  dueDate?: string // ISO 8601
  routine?: 0 | 1 | 2 | 3 | 4
  description?: string
  tags?: string[]
  priority?: 'high' | 'medium' | 'low'
  status?: 'pending' | 'in-progress' | 'completed'
  source?: 'kanban' | 'calendar' | 'todo'
}

export type ColumnType = {
  id: number
  title: string
  taskIds: number[]
}

export type KanbanType = {
  columns: ColumnType[]
  tasks: TaskType[]
  currentTaskId?: number
}
