// interfaces/nativeapp/src/types/todo.ts
export interface Todo {
  id: number;
  task: string;
  date?: string | null; // Assuming date comes as ISO string or null
  remind: boolean;
  complete: boolean;
  owner_id: number;
}

export interface TodoCreate {
  task: string;
  date?: string | null;
  remind?: boolean;
  complete?: boolean; // Usually not set on creation, defaults to false
}

export interface TodoUpdate {
  task?: string;
  date?: string | null;
  remind?: boolean;
  complete?: boolean;
}
