View Source PartState

oli / Exports / PartState

Interface: PartState

Representation of a student's current state for a specific part of an activity.

Table of contents

Properties

Properties

attemptGuid

attemptGuid: string

The unique identifier of this part attempt.

Defined in

src/components/activities/types.ts:228


attemptNumber

attemptNumber: number

The number of this attempt.

Defined in

src/components/activities/types.ts:232


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


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


error

Optional error: string

Any error associated with this attempt.

Defined in

src/components/activities/types.ts:284


explanation

explanation: null \| Explanation

Feedback received, if this attempt has been evaluated.

Defined in

src/components/activities/types.ts:264


feedback

feedback: null \| Feedback

Feedback received, if this attempt has been evaluated.

Defined in

src/components/activities/types.ts:260


hasMoreAttempts

hasMoreAttempts: boolean

Whether or not additional attempts exist.

Defined in

src/components/activities/types.ts:276


hasMoreHints

hasMoreHints: boolean

Whether or not additional hints exist.

Defined in

src/components/activities/types.ts:280


hints

hints: []

Hints that were requested and received by the student.

Defined in

src/components/activities/types.ts:268


outOf

outOf: null \| number

Maximum point value that could have been received.

Defined in

src/components/activities/types.ts:252


partId

partId: string \| number

The id of the part that this attempt pertains to.

Defined in

src/components/activities/types.ts:272


response

response: any

The student's response.

Defined in

src/components/activities/types.ts:256


score

score: null \| number

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

Defined in

src/components/activities/types.ts:248