Skip to content

Interface: ModlogItem

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

Extends

  • output<typeof schemas.ModlogItem>

Properties

PropertyTypeDefault valueDescriptionInherited fromDefined in
moderator?objectundefined-z.infer.moderatorsrc/schemas/GetModlogResponse.ts:40
moderator.ap_idstringundefinedThe federated activity id / ap_id.-src/schemas/Person.ts:7
moderator.avatar?stringundefined--src/schemas/Person.ts:8
moderator.banner?stringundefined--src/schemas/Person.ts:9
moderator.bio?stringundefined--src/schemas/Person.ts:10
moderator.bot_accountbooleanundefined--src/schemas/Person.ts:11
moderator.comment_countnumberundefined--src/schemas/Person.ts:12
moderator.deletedbooleanundefined--src/schemas/Person.ts:13
moderator.display_name?stringundefined--src/schemas/Person.ts:14
moderator.idnumberundefined--src/schemas/Person.ts:15
moderator.localbooleanundefined--src/schemas/Person.ts:16
moderator.namestringundefined--src/schemas/Person.ts:17
moderator.post_countnumberundefined--src/schemas/Person.ts:18
moderator.published_atstringundefined--src/schemas/Person.ts:19
modlogobjectModlog-z.infer.modlogsrc/schemas/GetModlogResponse.ts:41
modlog.expires_at?stringundefined--src/schemas/GetModlogResponse.ts:31
modlog.idnumberundefined--src/schemas/GetModlogResponse.ts:32
modlog.is_revertbooleanundefined--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_atstringundefined--src/schemas/GetModlogResponse.ts:35
modlog.reason?stringundefined--src/schemas/GetModlogResponse.ts:36
target_comment?objectundefined-z.infer.target_commentsrc/schemas/GetModlogResponse.ts:42
target_comment.ap_idstringundefinedThe federated activity id / ap_id.-src/schemas/Comment.ts:7
target_comment.child_countnumberundefinedThe total number of children in this comment branch.-src/schemas/Comment.ts:11
target_comment.contentstringundefined--src/schemas/Comment.ts:12
target_comment.creator_idnumberundefined--src/schemas/Comment.ts:13
target_comment.deletedbooleanundefinedWhether the comment has been deleted by its creator.-src/schemas/Comment.ts:17
target_comment.distinguishedbooleanundefinedWhether the comment has been distinguished (speaking officially) by a mod.-src/schemas/Comment.ts:21
target_comment.downvotesnumberundefined--src/schemas/Comment.ts:22
target_comment.idnumberundefined--src/schemas/Comment.ts:23
target_comment.language_idnumberundefined--src/schemas/Comment.ts:24
target_comment.localbooleanundefinedWhether the comment is local.-src/schemas/Comment.ts:28
target_comment.pathstringundefinedThe 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_idnumberundefined--src/schemas/Comment.ts:34
target_comment.published_atstringundefined--src/schemas/Comment.ts:35
target_comment.removedbooleanundefinedWhether the comment has been removed.-src/schemas/Comment.ts:39
target_comment.scorenumberundefined--src/schemas/Comment.ts:40
target_comment.updated_at?stringundefined--src/schemas/Comment.ts:41
target_comment.upvotesnumberundefined--src/schemas/Comment.ts:42
target_community?objectundefined-z.infer.target_communitysrc/schemas/GetModlogResponse.ts:43
target_community.ap_idstringundefinedThe federated activity id / ap_id.-src/schemas/Community.ts:9
target_community.banner?stringundefined--src/schemas/Community.ts:10
target_community.commentsnumberundefined--src/schemas/Community.ts:11
target_community.deletedbooleanundefined--src/schemas/Community.ts:12
target_community.icon?stringundefined--src/schemas/Community.ts:13
target_community.idnumberundefined--src/schemas/Community.ts:14
target_community.localbooleanundefined--src/schemas/Community.ts:15
target_community.namestringundefined--src/schemas/Community.ts:16
target_community.nsfwbooleanundefined--src/schemas/Community.ts:17
target_community.posting_restricted_to_modsbooleanundefined--src/schemas/Community.ts:18
target_community.postsnumberundefined--src/schemas/Community.ts:19
target_community.published_atstringundefined--src/schemas/Community.ts:20
target_community.removedbooleanundefined--src/schemas/Community.ts:21
target_community.sidebar?stringundefinedLong-form sidebar markdown (replaced v0's description).-src/schemas/Community.ts:25
target_community.subscribersnumberundefined--src/schemas/Community.ts:26
target_community.subscribers_localnumberundefined--src/schemas/Community.ts:27
target_community.summary?stringundefinedShort one-line summary.-src/schemas/Community.ts:31
target_community.titlestringundefined--src/schemas/Community.ts:32
target_community.updated_at?stringundefined--src/schemas/Community.ts:33
target_community.users_active_daynumberundefined--src/schemas/Community.ts:34
target_community.users_active_half_yearnumberundefined--src/schemas/Community.ts:35
target_community.users_active_monthnumberundefined--src/schemas/Community.ts:36
target_community.users_active_weeknumberundefined--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?objectundefined-z.infer.target_personsrc/schemas/GetModlogResponse.ts:44
target_person.ap_idstringundefinedThe federated activity id / ap_id.-src/schemas/Person.ts:7
target_person.avatar?stringundefined--src/schemas/Person.ts:8
target_person.banner?stringundefined--src/schemas/Person.ts:9
target_person.bio?stringundefined--src/schemas/Person.ts:10
target_person.bot_accountbooleanundefined--src/schemas/Person.ts:11
target_person.comment_countnumberundefined--src/schemas/Person.ts:12
target_person.deletedbooleanundefined--src/schemas/Person.ts:13
target_person.display_name?stringundefined--src/schemas/Person.ts:14
target_person.idnumberundefined--src/schemas/Person.ts:15
target_person.localbooleanundefined--src/schemas/Person.ts:16
target_person.namestringundefined--src/schemas/Person.ts:17
target_person.post_countnumberundefined--src/schemas/Person.ts:18
target_person.published_atstringundefined--src/schemas/Person.ts:19
target_post?objectundefined-z.infer.target_postsrc/schemas/GetModlogResponse.ts:45
target_post.alt_text?stringundefinedAn optional alt_text, usable for image posts.-src/schemas/Post.ts:7
target_post.ap_idstringundefinedThe federated activity id / ap_id.-src/schemas/Post.ts:11
target_post.body?stringundefinedAn optional post body, in markdown.-src/schemas/Post.ts:15
target_post.commentsnumberundefined--src/schemas/Post.ts:16
target_post.community_idnumberundefined--src/schemas/Post.ts:17
target_post.creator_idnumberundefined--src/schemas/Post.ts:18
target_post.deletedbooleanundefinedWhether the post is deleted.-src/schemas/Post.ts:22
target_post.downvotesnumberundefined--src/schemas/Post.ts:23
target_post.embed_description?stringundefinedA description for the link.-src/schemas/Post.ts:27
target_post.embed_title?stringundefinedA title for the link.-src/schemas/Post.ts:31
target_post.featured_communitybooleanundefinedWhether the post is featured to its community.-src/schemas/Post.ts:35
target_post.featured_localbooleanundefinedWhether the post is featured to its site.-src/schemas/Post.ts:39
target_post.idnumberundefined--src/schemas/Post.ts:40
target_post.language_idnumberundefined--src/schemas/Post.ts:41
target_post.localbooleanundefinedWhether the post is local.-src/schemas/Post.ts:45
target_post.lockedbooleanundefinedWhether the post is locked.-src/schemas/Post.ts:49
target_post.namestringundefined--src/schemas/Post.ts:50
target_post.newest_comment_time_at?stringundefinedThe time of the newest comment in the post.-src/schemas/Post.ts:54
target_post.nsfwbooleanundefinedWhether the post is NSFW.-src/schemas/Post.ts:58
target_post.published_atstringundefined--src/schemas/Post.ts:59
target_post.removedbooleanundefinedWhether the post is removed.-src/schemas/Post.ts:63
target_post.scorenumberundefined--src/schemas/Post.ts:64
target_post.thumbnail_url?stringundefinedA thumbnail picture url.-src/schemas/Post.ts:68
target_post.updated_at?stringundefined--src/schemas/Post.ts:69
target_post.upvotesnumberundefined--src/schemas/Post.ts:70
target_post.url?stringundefinedAn optional link / url for the post.-src/schemas/Post.ts:74
target_post.url_content_type?stringundefined--src/schemas/Post.ts:75