Skip to main content

Interface: Submission

Defined in: areas/assignments/grading.ts:37

A participant's submission to an assignment, as assignmentSubmissions reads it for the grader.

Properties​

PropertyTypeDescriptionDefined in
allowSubmissionsFrom?string-areas/assignments/grading.ts:47
content?PluginContent[]Per submission plugin; only for submitted and draft submissions.areas/assignments/grading.ts:52
cutoffDate?string-areas/assignments/grading.ts:50
dueDate?stringFor this participant: overrides and extensions included.areas/assignments/grading.ts:49
extensionDueDate?stringUntil when, where an extension is granted.areas/assignments/grading.ts:46
extensionGrantedboolean-areas/assignments/grading.ts:44
feedbackFiles?object[]The feedback files the participant has, where the assignment takes them: as the grader's file manager holds them, a working copy (draftfile.php) that downloadFile saves while the session lasts.areas/assignments/grading.ts:57
fullNamestring-areas/assignments/grading.ts:39
group?objectWith group submissions, the group the participant submits for; absent for none (Moodle's "Default group").areas/assignments/grading.ts:59
group.idnumber-areas/assignments/grading.ts:59
group.namestring-areas/assignments/grading.ts:59
markers?object[]With marker allocation, the markers allocated to it.areas/assignments/grading.ts:63
needsGradingboolean-areas/assignments/grading.ts:43
statusstringMoodle's status: "submitted", "draft", "new", "reopened", or "none" without a submission.areas/assignments/grading.ts:41
submittedboolean-areas/assignments/grading.ts:42
userIdnumber-areas/assignments/grading.ts:38
workflowState?| "notmarked" | "inmarking" | "readyforreview" | "inreview" | "readyforrelease" | "released"With the marking workflow, the submission's state ("notmarked" before any).areas/assignments/grading.ts:61