@cpod/sdk - v0.2.7
    Preparing search index...

    Interface DashboardTaskStats

    Task statistics

    interface DashboardTaskStats {
        total_tasks: number;
        completed: number;
        pending: number;
        failed: number;
        in_progress?: number;
        total_tasks_today?: number;
        last_five_tasks?: {
            id: string;
            task_name: string;
            status: string;
            created_at: string;
        }[];
        top_tasks_with_names?: { task_name: string; count: number }[];
        by_expert?: Record<string, number>;
    }
    Index

    Properties

    total_tasks: number
    completed: number
    pending: number
    failed: number
    in_progress?: number
    total_tasks_today?: number
    last_five_tasks?: {
        id: string;
        task_name: string;
        status: string;
        created_at: string;
    }[]
    top_tasks_with_names?: { task_name: string; count: number }[]
    by_expert?: Record<string, number>