Skip to content

DoCurious API Reference / types / UserChallengeStatus

Type Alias: UserChallengeStatus

UserChallengeStatus = "invited" | "assigned" | "in_progress" | "submitted" | "verified" | "rejected" | "unverified" | "abandoned" | "declined"

Defined in: types/challenge.types.ts:481

Lifecycle state of a user's engagement with a specific challenge.

Remarks

State machine: invited/assigned -> in_progress -> submitted -> verified | rejected -> (if rejected, can resubmit up to maxAttempts). After exhausting attempts the status becomes unverified. Users may abandon or decline at any point before verification.

  • invited -- Gifted by another user, waiting to accept
  • assigned -- Assigned by teacher/school, waiting to accept
  • in_progress -- Actively working on the challenge
  • submitted -- Track Record submitted for verification
  • verified -- Track Record approved, XP awarded
  • rejected -- Track Record rejected (can revise and resubmit)
  • unverified -- Exhausted all verification attempts
  • abandoned -- User abandoned the challenge
  • declined -- User declined the invitation or assignment

DoCurious Platform Documentation