@modelhealth/modelhealth
    Preparing search index...

    Type Alias ActivityStatus

    ActivityStatus:
        | { total: number; type: "uploading"; uploaded: number }
        | { type: "processing" }
        | { type: "ready" }
        | { taskId: string; type: "analyzing" }
        | { type: "failed" }

    The current processing state of an activity.

    Activities must reach ready before analysis can begin.

    Type Declaration

    • { total: number; type: "uploading"; uploaded: number }

      Videos are being uploaded. uploaded and total track progress.

    • { type: "processing" }

      Videos have been uploaded and are being processed.

    • { type: "ready" }

      Processing is complete. The activity is ready for analysis.

    • { taskId: string; type: "analyzing" }

      Analysis has been triggered automatically and is in progress. Pass taskId to analysisStatus to track progress.

    • { type: "failed" }

      Processing failed.