ProjectHealthContext
type ProjectHealthContext = {
language?: string | null;
projectDescription: string | null;
projectId: string;
projectMetrics: {
averageCompletionTime: number | null;
completedTasks: number;
overdueTasks: number;
tasksCompletedThisWeek: number;
tasksCreatedThisWeek: number;
totalTasks: number;
};
projectName: string;
tasks: {
completedAt: string | null;
completedByUid: string | null;
content: string;
createdAt: string;
deadline?: string | null;
due?: string | null;
id: string;
isCompleted: boolean;
labels: string[];
priority: string;
updatedAt: string;
}[];
};
Full project context for health analysis.