Interface: Comment
Defined in: src/types/index.ts:5
Extends
output<typeofschemas.Comment>
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
ap_id | string | The federated activity id / ap_id. | z.infer.ap_id | src/schemas/Comment.ts:7 |
child_count | number | The total number of children in this comment branch. | z.infer.child_count | src/schemas/Comment.ts:11 |
content | string | - | z.infer.content | src/schemas/Comment.ts:12 |
creator_id | number | - | z.infer.creator_id | src/schemas/Comment.ts:13 |
deleted | boolean | Whether the comment has been deleted by its creator. | z.infer.deleted | src/schemas/Comment.ts:17 |
distinguished | boolean | Whether the comment has been distinguished (speaking officially) by a mod. | z.infer.distinguished | src/schemas/Comment.ts:21 |
downvotes | number | - | z.infer.downvotes | src/schemas/Comment.ts:22 |
id | number | - | z.infer.id | src/schemas/Comment.ts:23 |
language_id | number | - | z.infer.language_id | src/schemas/Comment.ts:24 |
local | boolean | Whether the comment is local. | z.infer.local | src/schemas/Comment.ts:28 |
path | string | The path / tree location of a comment, separated by dots, ending with the comment's id. Ex: 0.24.27 | z.infer.path | src/schemas/Comment.ts:33 |
post_id | number | - | z.infer.post_id | src/schemas/Comment.ts:34 |
published_at | string | - | z.infer.published_at | src/schemas/Comment.ts:35 |
removed | boolean | Whether the comment has been removed. | z.infer.removed | src/schemas/Comment.ts:39 |
score | number | - | z.infer.score | src/schemas/Comment.ts:40 |
updated_at? | string | - | z.infer.updated_at | src/schemas/Comment.ts:41 |
upvotes | number | - | z.infer.upvotes | src/schemas/Comment.ts:42 |
