Skip to content

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).

PropertyTypeDescriptionDefined in
authorCommentAuthor-comments/types.ts:36
commentsComment[]Non-deleted comments, oldest first. Index 0 is the opening comment.comments/types.ts:42
createdAtnumber-comments/types.ts:37
idstring-comments/types.ts:35
resolvedboolean-comments/types.ts:38
resolvedAt?number-comments/types.ts:39
resolvedBy?CommentAuthor-comments/types.ts:40