import type {ILabel} from '@/models/ILabel'

export interface ITask {
  id: number
  name: string
  completed: boolean
  labels: ILabel[]
}

export type ITaskLabel = {taskId: number; labelId: number}
export type ITasksWithLabels = {Task: Omit<ITask, 'labels'>; Label: ILabel | null; TaskLabel: ITaskLabel | null}[]
