Skip to content

Commit 296b60a

Browse files
committed
updated type
1 parent 99928c1 commit 296b60a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

devU-shared/src/types/assignment.types.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
export enum ScoringType {
2+
HIGHEST_SCORE = 'highest-score',
3+
LATEST_SUBMISSION = 'latest-submission',
4+
NO_SCORE = 'no-score'
5+
}
6+
17
export type Assignment = {
28
id?: number
39
courseId: number
@@ -14,5 +20,6 @@ export type Assignment = {
1420
updatedAt?: string
1521
attachmentsHashes ?: string[]
1622
attachmentsFilenames ?: string[]
23+
scoringType?: ScoringType
1724
}
1825

0 commit comments

Comments
 (0)