Appearance
DoCurious API Reference / types / CommunityAssignment
Interface: CommunityAssignment
Defined in: types/community.types.ts:354
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:375
avatarUrl?
optionalavatarUrl:string
displayName
displayName:
string
id
id:
string
assignedByUserId
assignedByUserId:
string
Defined in: types/community.types.ts:357
assignmentNote?
optionalassignmentNote:string
Defined in: types/community.types.ts:365
Teacher's instructions or context for the assignment
challenge?
optionalchallenge:Challenge
Defined in: types/community.types.ts:374
challengeId
challengeId:
string
Defined in: types/community.types.ts:356
communityId
communityId:
string
Defined in: types/community.types.ts:355
completedCount
completedCount:
number
Defined in: types/community.types.ts:369
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:360
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:370
status
status:
AssignmentStatus
Defined in: types/community.types.ts:362
submittedCount
submittedCount:
number
Defined in: types/community.types.ts:371
totalStudents
totalStudents:
number
Defined in: types/community.types.ts:368
updatedAt
updatedAt:
string
Defined in: types/common.types.ts:156
ISO 8601 datetime when the entity was last modified