refactor: ♻️ 我的和登录页面优化,添加主题设置

This commit is contained in:
Ray.Hao
2025-04-05 10:05:05 +08:00
parent 572d347bdb
commit 6a245e9d26
21 changed files with 2594 additions and 182 deletions

16
src/types/todo.ts Normal file
View File

@@ -0,0 +1,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;
}