feat: adding status archived and refacto type in one place only

This commit is contained in:
Julien Froidefond
2025-09-15 10:24:49 +02:00
parent 05cd099cf4
commit 363e739b5c
7 changed files with 42 additions and 52 deletions

View File

@@ -3,19 +3,11 @@
import { KanbanBoardContainer } from '@/components/kanban/BoardContainer';
import { Header } from '@/components/ui/Header';
import { TasksProvider, useTasksContext } from '@/contexts/TasksContext';
import { Task, Tag } from '@/lib/types';
import { Task, Tag, TaskStats } from '@/lib/types';
interface HomePageClientProps {
initialTasks: Task[];
initialStats: {
total: number;
completed: number;
inProgress: number;
todo: number;
cancelled: number;
freeze: number;
completionRate: number;
};
initialStats: TaskStats;
initialTags: (Tag & { usage: number })[];
}