Skip to main content

CommentType

No description

type CommentType {
id: ID!
isOwnComment: Boolean
content: String
formattedContent: String
deleted: Boolean
createdAt: String
deletedAt: String
lastModifiedAt: String
isModified: Boolean
creator: UserType
documentDBId: String
document: DocumentType
reactions: [CommentReactionType]
}

Fields​

CommentType.id ● ID! non-null scalar​

The ID of an object

CommentType.isOwnComment ● Boolean scalar​

CommentType.content ● String scalar​

CommentType.formattedContent ● String scalar​

CommentType.deleted ● Boolean scalar​

CommentType.createdAt ● String scalar​

CommentType.deletedAt ● String scalar​

CommentType.lastModifiedAt ● String scalar​

CommentType.isModified ● Boolean scalar​

CommentType.creator ● UserType object​

CommentType.documentDBId ● String scalar​

CommentType.document ● DocumentType object​

CommentType.reactions ● [CommentReactionType] list object​

List of reactions

Returned by​

commentsFeed subscription ● onCreateCommentOnDocument subscription ● onRemoveCommentOnDocument subscription ● toggleCommentReaction mutation

Member of​

CommentMutationPayloadType object ● DocumentCommentsConnectionTypeEdge object ● ViewerCommentConnectionEdge object