Appearance
DoCurious API Reference / types / ClassAssignment
Interface: ClassAssignment
Defined in: types/school.types.ts:197
A challenge assigned to all students in a SchoolClass by a teacher.
Remarks
Similar to import('./community.types').CommunityAssignment but scoped to the school class entity rather than a community. Teachers can add a custom title and instructions that override the challenge's default description.
Extends
Properties
assignedBy?
optionalassignedBy:object
Defined in: types/school.types.ts:217
displayName
displayName:
string
id
id:
string
assignedByUserId
assignedByUserId:
string
Defined in: types/school.types.ts:200
challenge?
optionalchallenge:Challenge
Defined in: types/school.types.ts:216
challengeId
challengeId:
string
Defined in: types/school.types.ts:199
classId
classId:
string
Defined in: types/school.types.ts:198
completedCount
completedCount:
number
Defined in: types/school.types.ts:212
createdAt
createdAt:
string
Defined in: types/common.types.ts:154
ISO 8601 datetime when the entity was created
Inherited from
dueDate?
optionaldueDate:string
Defined in: types/school.types.ts:207
ISO date by which students should complete the assignment
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
instructions?
optionalinstructions:string
Defined in: types/school.types.ts:205
Teacher's custom instructions for this assignment
status
status:
"active"|"completed"|"draft"|"archived"
Defined in: types/school.types.ts:209
submittedCount
submittedCount:
number
Defined in: types/school.types.ts:213
title?
optionaltitle:string
Defined in: types/school.types.ts:203
Optional custom title overriding the challenge's default title
totalStudents
totalStudents:
number
Defined in: types/school.types.ts:211
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified