CommentThread
type CommentThread = { author: CommentAuthor; comments: Comment[]; createdAt: number; id: string; resolved: boolean; resolvedAt?: number; resolvedBy?: CommentAuthor;};Defined in: comments/types.ts:34
A comment thread anchored to a range of the document via id (= threadId).
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
author | CommentAuthor | - | comments/types.ts:36 |
comments | Comment[] | Non-deleted comments, oldest first. Index 0 is the opening comment. | comments/types.ts:42 |
createdAt | number | - | comments/types.ts:37 |
id | string | - | comments/types.ts:35 |
resolved | boolean | - | comments/types.ts:38 |
resolvedAt? | number | - | comments/types.ts:39 |
resolvedBy? | CommentAuthor | - | comments/types.ts:40 |