View Source ActivityState

oli / Exports / ActivityState

Interface: ActivityState

Details the current state of an activity attempt for a student and a specific activity instance.

Table of contents

Properties

Properties

activityId

Optional activityId: number

Resource id of the activity that this attempt pertains to.

Defined in

src/components/activities/types.ts:293


attemptGuid

attemptGuid: string

Unique identifier of this attempt.

Defined in

src/components/activities/types.ts:297


attemptNumber

attemptNumber: number

The orindal number of this attempt, relative to other attempts.

Defined in

src/components/activities/types.ts:302


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:307


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:313


groupId

groupId: null \| string

Defined in

src/components/activities/types.ts:338


hasMoreAttempts

hasMoreAttempts: boolean

Whether or not this attempt has additional attempts.

Defined in

src/components/activities/types.ts:331


hasMoreHints

hasMoreHints: boolean

Whether or not this attempt has additional hints.

Defined in

src/components/activities/types.ts:335


outOf

outOf: null \| number

Maximum point value that could have been received.

Defined in

src/components/activities/types.ts:322


parts

parts: PartState[]

Collection of the part attempt states.

Defined in

src/components/activities/types.ts:326


score

score: null \| number

Score received. Null if this attempt has not been evaluated.

Defined in

src/components/activities/types.ts:318


snapshot

Optional snapshot: any

Defined in

src/components/activities/types.ts:336