Skip to content

Interface: CommentThread

@roomful/angular


@roomful/angular / CommentThread

Defined in: core/dist/types.d.ts:1567

A collaborative comment thread: a root comment, its anchor, and any replies. Threads are persistent collaborative state — they sync across peers and survive late joins, unlike the ephemeral presence-style primitives.

anchor: CommentAnchor

Defined in: core/dist/types.d.ts:1575

Where the thread is anchored in the annotated document.


author: Peer

Defined in: core/dist/types.d.ts:1579

The peer that opened the thread.


createdAt: number

Defined in: core/dist/types.d.ts:1587

The epoch-millisecond timestamp when the thread was created.


id: string

Defined in: core/dist/types.d.ts:1571

Identifies the thread within the room.


replies: Comment[]

Defined in: core/dist/types.d.ts:1595

The replies appended to the thread, in creation order.


resolved: boolean

Defined in: core/dist/types.d.ts:1591

Whether the thread has been resolved.


text: string

Defined in: core/dist/types.d.ts:1583

The root comment body.