Skip to content

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?

optional assignedBy: object

Defined in: types/community.types.ts:375

avatarUrl?

optional avatarUrl: string

displayName

displayName: string

id

id: string


assignedByUserId

assignedByUserId: string

Defined in: types/community.types.ts:357


assignmentNote?

optional assignmentNote: string

Defined in: types/community.types.ts:365

Teacher's instructions or context for the assignment


challenge?

optional challenge: 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

BaseEntity.createdAt


dueDate?

optional dueDate: 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

BaseEntity.id


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

Inherited from

BaseEntity.updatedAt

DoCurious Platform Documentation