Skip to main content

Interface: StudentAssignment

Defined in: areas/assignments/student.ts:19

An assignment as the student's page shows it.

Properties​

PropertyTypeDescriptionDefined in
canEditboolean-areas/assignments/student.ts:30
canSubmitboolean-areas/assignments/student.ts:31
datesobject[]-areas/assignments/student.ts:22
descriptionstring-areas/assignments/student.ts:20
descriptionFilesobject[]-areas/assignments/student.ts:21
feedbackobject[]-areas/assignments/student.ts:27
feedbackFilesobject[]The files the teacher attached to the feedback, for downloadFile.areas/assignments/student.ts:29
gradedboolean-areas/assignments/student.ts:25
group?objectWith group submissions, the submission is the group's: its name, and its id where the participants page shows the group to the person (participants(courseId, { group: id }) gives its members); only the name for Moodle's "Default group" (the person is in no group).areas/assignments/student.ts:37
group.id?number-areas/assignments/student.ts:37
group.namestring-areas/assignments/student.ts:37
statusobject[]-areas/assignments/student.ts:23
submissionState?string-areas/assignments/student.ts:24
submittedFilesobject[]-areas/assignments/student.ts:26