Skip to content

DoCurious API Reference / types / TrackRecordComment

Interface: TrackRecordComment ​

Defined in: types/challenge.types.ts:744

A threaded comment on a TrackRecordEntry.

Remarks ​

Comments can be edited within a 15-minute window after posting. Teachers can mark comments as instructor feedback, which receives special visual treatment in the UI. student_only visibility restricts the comment to the student and teacher.

Extends ​

Properties ​

author? ​

optional author: object

Defined in: types/challenge.types.ts:761

displayName ​

displayName: string

id ​

id: string


authorUserId ​

authorUserId: string

Defined in: types/challenge.types.ts:746


content ​

content: string

Defined in: types/challenge.types.ts:750


createdAt ​

createdAt: string

Defined in: types/common.types.ts:154

ISO 8601 datetime when the entity was created

Inherited from ​

BaseEntity.createdAt


editDeadline ​

editDeadline: string

Defined in: types/challenge.types.ts:758

ISO datetime after which this comment can no longer be edited (15 min from creation)


edited ​

edited: boolean

Defined in: types/challenge.types.ts:756


entryId ​

entryId: string

Defined in: types/challenge.types.ts:745


id ​

id: string

Defined in: types/common.types.ts:167

Inherited from ​

BaseEntity.id


isInstructorFeedback ​

isInstructorFeedback: boolean

Defined in: types/challenge.types.ts:754

Whether this comment is marked as official instructor feedback


parentCommentId? ​

optional parentCommentId: string

Defined in: types/challenge.types.ts:748

Parent comment ID for threaded replies; undefined for top-level comments


updatedAt ​

updatedAt: string

Defined in: types/common.types.ts:156

ISO 8601 datetime when the entity was last modified

Inherited from ​

BaseEntity.updatedAt


visibility ​

visibility: "public" | "student_only"

Defined in: types/challenge.types.ts:752

'student_only' restricts visibility to the student and instructor

DoCurious Platform Documentation