Appearance
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 acceptassigned-- Assigned by teacher/school, waiting to acceptin_progress-- Actively working on the challengesubmitted-- Track Record submitted for verificationverified-- Track Record approved, XP awardedrejected-- Track Record rejected (can revise and resubmit)unverified-- Exhausted all verification attemptsabandoned-- User abandoned the challengedeclined-- User declined the invitation or assignment