YLouie
2025-10-21 61fc2ef49c5f369c2db6eb3aad5a98c0ebe3fcbc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
export interface Todo {
  id: string;
  title: string;
  description?: string;
  completed: boolean;
  deadline?: string;
  priority?: "low" | "medium" | "high";
  createdAt: string;
  updatedAt?: string;
}
 
export interface TodoState {
  todos: Todo[];
  loading: boolean;
  error: string | null;
}