/**
 * Core data types for the TODO application.
 * Generated by proxym AI orchestration system.
 */

export type Priority = 'low' | 'medium' | 'high';

export interface Todo {
  id: string;
  title: string;
  description: string;
  done: boolean;
  priority: Priority;
  createdAt: string;
  updatedAt: string;
}

export interface TodoCreateInput {
  title: string;
  description?: string;
  priority?: Priority;
}

export interface TodoUpdateInput {
  title?: string;
  description?: string;
  priority?: Priority;
  done?: boolean;
}

export interface TodoStats {
  total: number;
  done: number;
  pending: number;
  byPriority: Record<Priority, number>;
}
