Skip to content

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? ​

optional assignedBy: 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? ​

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

BaseEntity.createdAt


dueDate? ​

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

BaseEntity.id


instructions? ​

optional instructions: 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? ​

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

Inherited from ​

BaseEntity.updatedAt

DoCurious Platform Documentation