Interface: ModlogItem
Defined in: src/types/index.ts:87
Extends
output<typeofschemas.ModlogItem>
Properties
| Property | Type | Default value | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
moderator? | object | undefined | - | z.infer.moderator | src/schemas/GetModlogResponse.ts:40 |
moderator.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Person.ts:7 |
moderator.avatar? | string | undefined | - | - | src/schemas/Person.ts:8 |
moderator.banner? | string | undefined | - | - | src/schemas/Person.ts:9 |
moderator.bio? | string | undefined | - | - | src/schemas/Person.ts:10 |
moderator.bot_account | boolean | undefined | - | - | src/schemas/Person.ts:11 |
moderator.comment_count | number | undefined | - | - | src/schemas/Person.ts:12 |
moderator.deleted | boolean | undefined | - | - | src/schemas/Person.ts:13 |
moderator.display_name? | string | undefined | - | - | src/schemas/Person.ts:14 |
moderator.id | number | undefined | - | - | src/schemas/Person.ts:15 |
moderator.local | boolean | undefined | - | - | src/schemas/Person.ts:16 |
moderator.name | string | undefined | - | - | src/schemas/Person.ts:17 |
moderator.post_count | number | undefined | - | - | src/schemas/Person.ts:18 |
moderator.published_at | string | undefined | - | - | src/schemas/Person.ts:19 |
modlog | object | Modlog | - | z.infer.modlog | src/schemas/GetModlogResponse.ts:41 |
modlog.expires_at? | string | undefined | - | - | src/schemas/GetModlogResponse.ts:31 |
modlog.id | number | undefined | - | - | src/schemas/GetModlogResponse.ts:32 |
modlog.is_revert | boolean | undefined | - | - | src/schemas/GetModlogResponse.ts:33 |
modlog.kind | | "admin_add" | "admin_ban" | "admin_feature_post_site" | "admin_purge_comment" | "admin_purge_community" | "admin_purge_person" | "admin_purge_post" | "admin_remove_community" | "mod_add_to_community" | "mod_ban_from_community" | "mod_change_community_visibility" | "mod_feature_post_community" | "mod_lock_comment" | "mod_lock_post" | "mod_remove_comment" | "mod_remove_post" | "mod_transfer_community" | "mod_warn_comment" | "mod_warn_post" | ModlogKind | - | - | src/schemas/GetModlogResponse.ts:34 |
modlog.published_at | string | undefined | - | - | src/schemas/GetModlogResponse.ts:35 |
modlog.reason? | string | undefined | - | - | src/schemas/GetModlogResponse.ts:36 |
target_comment? | object | undefined | - | z.infer.target_comment | src/schemas/GetModlogResponse.ts:42 |
target_comment.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Comment.ts:7 |
target_comment.child_count | number | undefined | The total number of children in this comment branch. | - | src/schemas/Comment.ts:11 |
target_comment.content | string | undefined | - | - | src/schemas/Comment.ts:12 |
target_comment.creator_id | number | undefined | - | - | src/schemas/Comment.ts:13 |
target_comment.deleted | boolean | undefined | Whether the comment has been deleted by its creator. | - | src/schemas/Comment.ts:17 |
target_comment.distinguished | boolean | undefined | Whether the comment has been distinguished (speaking officially) by a mod. | - | src/schemas/Comment.ts:21 |
target_comment.downvotes | number | undefined | - | - | src/schemas/Comment.ts:22 |
target_comment.id | number | undefined | - | - | src/schemas/Comment.ts:23 |
target_comment.language_id | number | undefined | - | - | src/schemas/Comment.ts:24 |
target_comment.local | boolean | undefined | Whether the comment is local. | - | src/schemas/Comment.ts:28 |
target_comment.path | string | undefined | The path / tree location of a comment, separated by dots, ending with the comment's id. Ex: 0.24.27 | - | src/schemas/Comment.ts:33 |
target_comment.post_id | number | undefined | - | - | src/schemas/Comment.ts:34 |
target_comment.published_at | string | undefined | - | - | src/schemas/Comment.ts:35 |
target_comment.removed | boolean | undefined | Whether the comment has been removed. | - | src/schemas/Comment.ts:39 |
target_comment.score | number | undefined | - | - | src/schemas/Comment.ts:40 |
target_comment.updated_at? | string | undefined | - | - | src/schemas/Comment.ts:41 |
target_comment.upvotes | number | undefined | - | - | src/schemas/Comment.ts:42 |
target_community? | object | undefined | - | z.infer.target_community | src/schemas/GetModlogResponse.ts:43 |
target_community.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Community.ts:9 |
target_community.banner? | string | undefined | - | - | src/schemas/Community.ts:10 |
target_community.comments | number | undefined | - | - | src/schemas/Community.ts:11 |
target_community.deleted | boolean | undefined | - | - | src/schemas/Community.ts:12 |
target_community.icon? | string | undefined | - | - | src/schemas/Community.ts:13 |
target_community.id | number | undefined | - | - | src/schemas/Community.ts:14 |
target_community.local | boolean | undefined | - | - | src/schemas/Community.ts:15 |
target_community.name | string | undefined | - | - | src/schemas/Community.ts:16 |
target_community.nsfw | boolean | undefined | - | - | src/schemas/Community.ts:17 |
target_community.posting_restricted_to_mods | boolean | undefined | - | - | src/schemas/Community.ts:18 |
target_community.posts | number | undefined | - | - | src/schemas/Community.ts:19 |
target_community.published_at | string | undefined | - | - | src/schemas/Community.ts:20 |
target_community.removed | boolean | undefined | - | - | src/schemas/Community.ts:21 |
target_community.sidebar? | string | undefined | Long-form sidebar markdown (replaced v0's description). | - | src/schemas/Community.ts:25 |
target_community.subscribers | number | undefined | - | - | src/schemas/Community.ts:26 |
target_community.subscribers_local | number | undefined | - | - | src/schemas/Community.ts:27 |
target_community.summary? | string | undefined | Short one-line summary. | - | src/schemas/Community.ts:31 |
target_community.title | string | undefined | - | - | src/schemas/Community.ts:32 |
target_community.updated_at? | string | undefined | - | - | src/schemas/Community.ts:33 |
target_community.users_active_day | number | undefined | - | - | src/schemas/Community.ts:34 |
target_community.users_active_half_year | number | undefined | - | - | src/schemas/Community.ts:35 |
target_community.users_active_month | number | undefined | - | - | src/schemas/Community.ts:36 |
target_community.users_active_week | number | undefined | - | - | src/schemas/Community.ts:37 |
target_community.visibility | | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private" | CommunityVisibility | - | - | src/schemas/Community.ts:38 |
target_person? | object | undefined | - | z.infer.target_person | src/schemas/GetModlogResponse.ts:44 |
target_person.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Person.ts:7 |
target_person.avatar? | string | undefined | - | - | src/schemas/Person.ts:8 |
target_person.banner? | string | undefined | - | - | src/schemas/Person.ts:9 |
target_person.bio? | string | undefined | - | - | src/schemas/Person.ts:10 |
target_person.bot_account | boolean | undefined | - | - | src/schemas/Person.ts:11 |
target_person.comment_count | number | undefined | - | - | src/schemas/Person.ts:12 |
target_person.deleted | boolean | undefined | - | - | src/schemas/Person.ts:13 |
target_person.display_name? | string | undefined | - | - | src/schemas/Person.ts:14 |
target_person.id | number | undefined | - | - | src/schemas/Person.ts:15 |
target_person.local | boolean | undefined | - | - | src/schemas/Person.ts:16 |
target_person.name | string | undefined | - | - | src/schemas/Person.ts:17 |
target_person.post_count | number | undefined | - | - | src/schemas/Person.ts:18 |
target_person.published_at | string | undefined | - | - | src/schemas/Person.ts:19 |
target_post? | object | undefined | - | z.infer.target_post | src/schemas/GetModlogResponse.ts:45 |
target_post.alt_text? | string | undefined | An optional alt_text, usable for image posts. | - | src/schemas/Post.ts:7 |
target_post.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Post.ts:11 |
target_post.body? | string | undefined | An optional post body, in markdown. | - | src/schemas/Post.ts:15 |
target_post.comments | number | undefined | - | - | src/schemas/Post.ts:16 |
target_post.community_id | number | undefined | - | - | src/schemas/Post.ts:17 |
target_post.creator_id | number | undefined | - | - | src/schemas/Post.ts:18 |
target_post.deleted | boolean | undefined | Whether the post is deleted. | - | src/schemas/Post.ts:22 |
target_post.downvotes | number | undefined | - | - | src/schemas/Post.ts:23 |
target_post.embed_description? | string | undefined | A description for the link. | - | src/schemas/Post.ts:27 |
target_post.embed_title? | string | undefined | A title for the link. | - | src/schemas/Post.ts:31 |
target_post.featured_community | boolean | undefined | Whether the post is featured to its community. | - | src/schemas/Post.ts:35 |
target_post.featured_local | boolean | undefined | Whether the post is featured to its site. | - | src/schemas/Post.ts:39 |
target_post.id | number | undefined | - | - | src/schemas/Post.ts:40 |
target_post.language_id | number | undefined | - | - | src/schemas/Post.ts:41 |
target_post.local | boolean | undefined | Whether the post is local. | - | src/schemas/Post.ts:45 |
target_post.locked | boolean | undefined | Whether the post is locked. | - | src/schemas/Post.ts:49 |
target_post.name | string | undefined | - | - | src/schemas/Post.ts:50 |
target_post.newest_comment_time_at? | string | undefined | The time of the newest comment in the post. | - | src/schemas/Post.ts:54 |
target_post.nsfw | boolean | undefined | Whether the post is NSFW. | - | src/schemas/Post.ts:58 |
target_post.published_at | string | undefined | - | - | src/schemas/Post.ts:59 |
target_post.removed | boolean | undefined | Whether the post is removed. | - | src/schemas/Post.ts:63 |
target_post.score | number | undefined | - | - | src/schemas/Post.ts:64 |
target_post.thumbnail_url? | string | undefined | A thumbnail picture url. | - | src/schemas/Post.ts:68 |
target_post.updated_at? | string | undefined | - | - | src/schemas/Post.ts:69 |
target_post.upvotes | number | undefined | - | - | src/schemas/Post.ts:70 |
target_post.url? | string | undefined | An optional link / url for the post. | - | src/schemas/Post.ts:74 |
target_post.url_content_type? | string | undefined | - | - | src/schemas/Post.ts:75 |
