View Source ActivityState
Interface: 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:294
attemptGuid
• attemptGuid: string
Unique identifier of this attempt.
Defined in
src/components/activities/types.ts:298
attemptNumber
• attemptNumber: number
The orindal number of this attempt, relative to other attempts.
Defined in
src/components/activities/types.ts:303
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:308
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:314
groupId
• groupId: null
\| string
Defined in
src/components/activities/types.ts:339
hasMoreAttempts
• hasMoreAttempts: boolean
Whether or not this attempt has additional attempts.
Defined in
src/components/activities/types.ts:332
hasMoreHints
• hasMoreHints: boolean
Whether or not this attempt has additional hints.
Defined in
src/components/activities/types.ts:336
outOf
• outOf: null
\| number
Maximum point value that could have been received.
Defined in
src/components/activities/types.ts:323
parts
• parts: PartState
[]
Collection of the part attempt states.
Defined in
src/components/activities/types.ts:327
score
• score: null
\| number
Score received. Null if this attempt has not been evaluated.
Defined in
src/components/activities/types.ts:319
snapshot
• Optional
snapshot: any