Hiyve Components - v1.0.0
    Preparing search index...

    Interface ComputeAssignmentStatusInput

    interface ComputeAssignmentStatusInput {
        assignedTo: string[];
        completedBy: string[];
        practicedMinutes?: number;
        userActivities: Record<string, UserActivity>;
    }
    Index

    Properties

    assignedTo: string[]

    All assignees of the assignment.

    completedBy: string[]

    Assignees who have marked the assignment complete on their side.

    practicedMinutes?: number

    Optional total practice minutes from an external aggregator (e.g. a server-side PracticeLog). Counts as activity for the in_progress branch even when userActivities is empty — useful for apps that keep practice time outside the assignment file.

    userActivities: Record<string, UserActivity>

    Per-user activity records. Any non-empty entry counts as activity.