Interface: Submission
Defined in: areas/assignments/grading.ts:37
A participant's submission to an assignment, as assignmentSubmissions reads it for the grader.
Properties
| Property | Type | Description | Defined 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? | string | For this participant: overrides and extensions included. | areas/assignments/grading.ts:49 |
extensionDueDate? | string | Until when, where an extension is granted. | areas/assignments/grading.ts:46 |
extensionGranted | boolean | - | 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 |
fullName | string | - | areas/assignments/grading.ts:39 |
group? | object | With group submissions, the group the participant submits for; absent for none (Moodle's "Default group"). | areas/assignments/grading.ts:59 |
group.id | number | - | areas/assignments/grading.ts:59 |
group.name | string | - | areas/assignments/grading.ts:59 |
markers? | object[] | With marker allocation, the markers allocated to it. | areas/assignments/grading.ts:63 |
needsGrading | boolean | - | areas/assignments/grading.ts:43 |
status | string | Moodle's status: "submitted", "draft", "new", "reopened", or "none" without a submission. | areas/assignments/grading.ts:41 |
submitted | boolean | - | areas/assignments/grading.ts:42 |
userId | number | - | 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 |