Appearance
DoCurious API Reference / types / CommunityAssignment
Interface: CommunityAssignment
Defined in: types/community.types.ts:335
A challenge assigned by a teacher to all members of a class community.
Remarks
Teachers create assignments from their class community dashboard. Each assignment tracks aggregate progress stats across all students. Individual student progress is tracked via CommunityStudentProgress.
Extends
Properties
assignedBy?
optionalassignedBy:object
Defined in: types/community.types.ts:356
avatarUrl?
optionalavatarUrl:string
displayName
displayName:
string
id
id:
string
assignedByUserId
assignedByUserId:
string
Defined in: types/community.types.ts:338
assignmentNote?
optionalassignmentNote:string
Defined in: types/community.types.ts:346
Teacher's instructions or context for the assignment
challenge?
optionalchallenge:Challenge
Defined in: types/community.types.ts:355
challengeId
challengeId:
string
Defined in: types/community.types.ts:337
communityId
communityId:
string
Defined in: types/community.types.ts:336
completedCount
completedCount:
number
Defined in: types/community.types.ts:350
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/community.types.ts:341
Optional ISO date by which students should complete the challenge
id
id:
string
Defined in: types/common.types.ts:167
Inherited from
inProgressCount
inProgressCount:
number
Defined in: types/community.types.ts:351
status
status:
AssignmentStatus
Defined in: types/community.types.ts:343
submittedCount
submittedCount:
number
Defined in: types/community.types.ts:352
totalStudents
totalStudents:
number
Defined in: types/community.types.ts:349
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified