Interface: CommentThread
@roomful/angular / CommentThread
Interface: CommentThread
Section titled “Interface: 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.
Properties
Section titled “Properties”anchor
Section titled “anchor”anchor:
CommentAnchor
Defined in: core/dist/types.d.ts:1575
Where the thread is anchored in the annotated document.
author
Section titled “author”author:
Peer
Defined in: core/dist/types.d.ts:1579
The peer that opened the thread.
createdAt
Section titled “createdAt”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
Section titled “replies”replies:
Comment[]
Defined in: core/dist/types.d.ts:1595
The replies appended to the thread, in creation order.
resolved
Section titled “resolved”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.