ActivityState
View SourceInterface: ActivityState
Details the current state of an activity attempt for a student and a specific activity instance.
Table of contents
Properties
- activityId
- attemptGuid
- attemptNumber
- dateEvaluated
- dateSubmitted
- groupId
- hasMoreAttempts
- hasMoreHints
- outOf
- parts
- score
- snapshot
Properties
activityId
• Optional activityId: number
Resource id of the activity that this attempt pertains to.
Defined in
src/components/activities/types.ts:346
attemptGuid
• attemptGuid: string
Unique identifier of this attempt.
Defined in
src/components/activities/types.ts:350
attemptNumber
• attemptNumber: number
The orindal number of this attempt, relative to other attempts.
Defined in
src/components/activities/types.ts:355
dateEvaluated
• dateEvaluated: null \| Date
If this attempt has been evaluated, the date of the evaluation, null if this attempt has not been evaluated.
Defined in
src/components/activities/types.ts:360
dateSubmitted
• dateSubmitted: null \| Date
The date that this attempt was submitted, if it has been submitted, null if not.
Defined in
src/components/activities/types.ts:366
groupId
• groupId: null \| string
Defined in
src/components/activities/types.ts:391
hasMoreAttempts
• hasMoreAttempts: boolean
Whether or not this attempt has additional attempts.
Defined in
src/components/activities/types.ts:384
hasMoreHints
• hasMoreHints: boolean
Whether or not this attempt has additional hints.
Defined in
src/components/activities/types.ts:388
outOf
• outOf: null \| number
Maximum point value that could have been received.
Defined in
src/components/activities/types.ts:375
parts
• parts: PartState[]
Collection of the part attempt states.
Defined in
src/components/activities/types.ts:379
score
• score: null \| number
Score received. Null if this attempt has not been evaluated.
Defined in
src/components/activities/types.ts:371
snapshot
• Optional snapshot: any