Skip to content

DoCurious API Reference / types / TrackRecordComment

Interface: TrackRecordComment

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

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:730

displayName

displayName: string

id

id: string


authorUserId

authorUserId: string

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


content

content: string

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


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:727

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


edited

edited: boolean

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


entryId

entryId: string

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


id

id: string

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

Inherited from

BaseEntity.id


isInstructorFeedback

isInstructorFeedback: boolean

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

Whether this comment is marked as official instructor feedback


parentCommentId?

optional parentCommentId: string

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

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:721

'student_only' restricts visibility to the student and instructor

DoCurious Platform Documentation