Skip to content

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?

optional assignedBy: object

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

avatarUrl?

optional avatarUrl: string

displayName

displayName: string

id

id: string


assignedByUserId

assignedByUserId: string

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


assignmentNote?

optional assignmentNote: string

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

Teacher's instructions or context for the assignment


challenge?

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

BaseEntity.createdAt


dueDate?

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

BaseEntity.id


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

Inherited from

BaseEntity.updatedAt

DoCurious Platform Documentation