// Type Imports
import type { ThemeColor } from '@core/types'

export type TodoStatusType = 'pending' | 'in-progress' | 'completed'
export type TodoPriorityType = 'high' | 'medium' | 'low'

export type TodoType = {
  id: number
  title: string
  description: string
  status: TodoStatusType
  priority: TodoPriorityType
  startDate?: string
  dueDate?: string
  createdDate: string
  labels: string[]
  tags: string[]
  isStarred: boolean
  isImportant: boolean
  isTrashed: boolean
  isKanban: boolean
  routine?: 0 | 1 | 2 | 3 | 4
  source?: 'todo' | 'calendar' | 'kanban'
}

export type TodoStatusColorType = {
  [key in TodoStatusType]: ThemeColor
}

export type TodoPriorityColorType = {
  [key in TodoPriorityType]: ThemeColor
}

