Skip to content

Interface: Comment

Defined in: src/types/index.ts:5

Extends

  • output<typeof schemas.Comment>

Properties

PropertyTypeDescriptionInherited fromDefined in
ap_idstringThe federated activity id / ap_id.z.infer.ap_idsrc/schemas/Comment.ts:7
child_countnumberThe total number of children in this comment branch.z.infer.child_countsrc/schemas/Comment.ts:11
contentstring-z.infer.contentsrc/schemas/Comment.ts:12
creator_idnumber-z.infer.creator_idsrc/schemas/Comment.ts:13
deletedbooleanWhether the comment has been deleted by its creator.z.infer.deletedsrc/schemas/Comment.ts:17
distinguishedbooleanWhether the comment has been distinguished (speaking officially) by a mod.z.infer.distinguishedsrc/schemas/Comment.ts:21
downvotesnumber-z.infer.downvotessrc/schemas/Comment.ts:22
idnumber-z.infer.idsrc/schemas/Comment.ts:23
language_idnumber-z.infer.language_idsrc/schemas/Comment.ts:24
localbooleanWhether the comment is local.z.infer.localsrc/schemas/Comment.ts:28
pathstringThe path / tree location of a comment, separated by dots, ending with the comment's id. Ex: 0.24.27z.infer.pathsrc/schemas/Comment.ts:33
post_idnumber-z.infer.post_idsrc/schemas/Comment.ts:34
published_atstring-z.infer.published_atsrc/schemas/Comment.ts:35
removedbooleanWhether the comment has been removed.z.infer.removedsrc/schemas/Comment.ts:39
scorenumber-z.infer.scoresrc/schemas/Comment.ts:40
updated_at?string-z.infer.updated_atsrc/schemas/Comment.ts:41
upvotesnumber-z.infer.upvotessrc/schemas/Comment.ts:42