Interface: PostReportView
Defined in: src/types/index.ts:111
Extends
output<typeofschemas.PostReportView>
Properties
| Property | Type | Default value | Description | Inherited from | Defined in |
|---|---|---|---|---|---|
community | object | Community | - | z.infer.community | src/schemas/PostReportView.ts:16 |
community.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Community.ts:9 |
community.banner? | string | undefined | - | - | src/schemas/Community.ts:10 |
community.comments | number | undefined | - | - | src/schemas/Community.ts:11 |
community.deleted | boolean | undefined | - | - | src/schemas/Community.ts:12 |
community.icon? | string | undefined | - | - | src/schemas/Community.ts:13 |
community.id | number | undefined | - | - | src/schemas/Community.ts:14 |
community.local | boolean | undefined | - | - | src/schemas/Community.ts:15 |
community.name | string | undefined | - | - | src/schemas/Community.ts:16 |
community.nsfw | boolean | undefined | - | - | src/schemas/Community.ts:17 |
community.posting_restricted_to_mods | boolean | undefined | - | - | src/schemas/Community.ts:18 |
community.posts | number | undefined | - | - | src/schemas/Community.ts:19 |
community.published_at | string | undefined | - | - | src/schemas/Community.ts:20 |
community.removed | boolean | undefined | - | - | src/schemas/Community.ts:21 |
community.sidebar? | string | undefined | Long-form sidebar markdown (replaced v0's description). | - | src/schemas/Community.ts:25 |
community.subscribers | number | undefined | - | - | src/schemas/Community.ts:26 |
community.subscribers_local | number | undefined | - | - | src/schemas/Community.ts:27 |
community.summary? | string | undefined | Short one-line summary. | - | src/schemas/Community.ts:31 |
community.title | string | undefined | - | - | src/schemas/Community.ts:32 |
community.updated_at? | string | undefined | - | - | src/schemas/Community.ts:33 |
community.users_active_day | number | undefined | - | - | src/schemas/Community.ts:34 |
community.users_active_half_year | number | undefined | - | - | src/schemas/Community.ts:35 |
community.users_active_month | number | undefined | - | - | src/schemas/Community.ts:36 |
community.users_active_week | number | undefined | - | - | src/schemas/Community.ts:37 |
community.visibility | | "public" | "unlisted" | "local_only_public" | "local_only_private" | "private" | CommunityVisibility | - | - | src/schemas/Community.ts:38 |
creator | object | Person | - | z.infer.creator | src/schemas/PostReportView.ts:17 |
creator.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Person.ts:7 |
creator.avatar? | string | undefined | - | - | src/schemas/Person.ts:8 |
creator.banner? | string | undefined | - | - | src/schemas/Person.ts:9 |
creator.bio? | string | undefined | - | - | src/schemas/Person.ts:10 |
creator.bot_account | boolean | undefined | - | - | src/schemas/Person.ts:11 |
creator.comment_count | number | undefined | - | - | src/schemas/Person.ts:12 |
creator.deleted | boolean | undefined | - | - | src/schemas/Person.ts:13 |
creator.display_name? | string | undefined | - | - | src/schemas/Person.ts:14 |
creator.id | number | undefined | - | - | src/schemas/Person.ts:15 |
creator.local | boolean | undefined | - | - | src/schemas/Person.ts:16 |
creator.name | string | undefined | - | - | src/schemas/Person.ts:17 |
creator.post_count | number | undefined | - | - | src/schemas/Person.ts:18 |
creator.published_at | string | undefined | - | - | src/schemas/Person.ts:19 |
creator_banned_from_community | boolean | undefined | - | z.infer.creator_banned_from_community | src/schemas/PostReportView.ts:18 |
creator_blocked | boolean | undefined | - | z.infer.creator_blocked | src/schemas/PostReportView.ts:19 |
creator_is_admin | boolean | undefined | - | z.infer.creator_is_admin | src/schemas/PostReportView.ts:20 |
creator_is_moderator | boolean | undefined | - | z.infer.creator_is_moderator | src/schemas/PostReportView.ts:21 |
hidden | boolean | undefined | - | z.infer.hidden | src/schemas/PostReportView.ts:22 |
my_vote? | number | undefined | - | z.infer.my_vote | src/schemas/PostReportView.ts:23 |
notifications | "replies_and_mentions" | "mute" | "all_comments" | PostNotificationsMode | - | z.infer.notifications | src/schemas/PostReportView.ts:24 |
post | object | Post | - | z.infer.post | src/schemas/PostReportView.ts:25 |
post.alt_text? | string | undefined | An optional alt_text, usable for image posts. | - | src/schemas/Post.ts:7 |
post.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Post.ts:11 |
post.body? | string | undefined | An optional post body, in markdown. | - | src/schemas/Post.ts:15 |
post.comments | number | undefined | - | - | src/schemas/Post.ts:16 |
post.community_id | number | undefined | - | - | src/schemas/Post.ts:17 |
post.creator_id | number | undefined | - | - | src/schemas/Post.ts:18 |
post.deleted | boolean | undefined | Whether the post is deleted. | - | src/schemas/Post.ts:22 |
post.downvotes | number | undefined | - | - | src/schemas/Post.ts:23 |
post.embed_description? | string | undefined | A description for the link. | - | src/schemas/Post.ts:27 |
post.embed_title? | string | undefined | A title for the link. | - | src/schemas/Post.ts:31 |
post.featured_community | boolean | undefined | Whether the post is featured to its community. | - | src/schemas/Post.ts:35 |
post.featured_local | boolean | undefined | Whether the post is featured to its site. | - | src/schemas/Post.ts:39 |
post.id | number | undefined | - | - | src/schemas/Post.ts:40 |
post.language_id | number | undefined | - | - | src/schemas/Post.ts:41 |
post.local | boolean | undefined | Whether the post is local. | - | src/schemas/Post.ts:45 |
post.locked | boolean | undefined | Whether the post is locked. | - | src/schemas/Post.ts:49 |
post.name | string | undefined | - | - | src/schemas/Post.ts:50 |
post.newest_comment_time_at? | string | undefined | The time of the newest comment in the post. | - | src/schemas/Post.ts:54 |
post.nsfw | boolean | undefined | Whether the post is NSFW. | - | src/schemas/Post.ts:58 |
post.published_at | string | undefined | - | - | src/schemas/Post.ts:59 |
post.removed | boolean | undefined | Whether the post is removed. | - | src/schemas/Post.ts:63 |
post.score | number | undefined | - | - | src/schemas/Post.ts:64 |
post.thumbnail_url? | string | undefined | A thumbnail picture url. | - | src/schemas/Post.ts:68 |
post.updated_at? | string | undefined | - | - | src/schemas/Post.ts:69 |
post.upvotes | number | undefined | - | - | src/schemas/Post.ts:70 |
post.url? | string | undefined | An optional link / url for the post. | - | src/schemas/Post.ts:74 |
post.url_content_type? | string | undefined | - | - | src/schemas/Post.ts:75 |
post_creator | object | Person | - | z.infer.post_creator | src/schemas/PostReportView.ts:26 |
post_creator.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Person.ts:7 |
post_creator.avatar? | string | undefined | - | - | src/schemas/Person.ts:8 |
post_creator.banner? | string | undefined | - | - | src/schemas/Person.ts:9 |
post_creator.bio? | string | undefined | - | - | src/schemas/Person.ts:10 |
post_creator.bot_account | boolean | undefined | - | - | src/schemas/Person.ts:11 |
post_creator.comment_count | number | undefined | - | - | src/schemas/Person.ts:12 |
post_creator.deleted | boolean | undefined | - | - | src/schemas/Person.ts:13 |
post_creator.display_name? | string | undefined | - | - | src/schemas/Person.ts:14 |
post_creator.id | number | undefined | - | - | src/schemas/Person.ts:15 |
post_creator.local | boolean | undefined | - | - | src/schemas/Person.ts:16 |
post_creator.name | string | undefined | - | - | src/schemas/Person.ts:17 |
post_creator.post_count | number | undefined | - | - | src/schemas/Person.ts:18 |
post_creator.published_at | string | undefined | - | - | src/schemas/Person.ts:19 |
post_report | object | PostReport | - | z.infer.post_report | src/schemas/PostReportView.ts:27 |
post_report.creator_id | number | undefined | - | - | src/schemas/PostReport.ts:7 |
post_report.id | number | undefined | - | - | src/schemas/PostReport.ts:8 |
post_report.original_post_body? | string | undefined | The original post body. | - | src/schemas/PostReport.ts:12 |
post_report.original_post_name | string | undefined | The original post title. | - | src/schemas/PostReport.ts:16 |
post_report.original_post_url? | string | undefined | The original post url. | - | src/schemas/PostReport.ts:20 |
post_report.post_id | number | undefined | - | - | src/schemas/PostReport.ts:21 |
post_report.published_at | string | undefined | - | - | src/schemas/PostReport.ts:22 |
post_report.reason | string | undefined | - | - | src/schemas/PostReport.ts:23 |
post_report.resolved | boolean | undefined | - | - | src/schemas/PostReport.ts:24 |
post_report.resolver_id? | number | undefined | - | - | src/schemas/PostReport.ts:25 |
post_report.updated_at? | string | undefined | - | - | src/schemas/PostReport.ts:26 |
read | boolean | undefined | - | z.infer.read | src/schemas/PostReportView.ts:28 |
resolver? | object | undefined | - | z.infer.resolver | src/schemas/PostReportView.ts:29 |
resolver.ap_id | string | undefined | The federated activity id / ap_id. | - | src/schemas/Person.ts:7 |
resolver.avatar? | string | undefined | - | - | src/schemas/Person.ts:8 |
resolver.banner? | string | undefined | - | - | src/schemas/Person.ts:9 |
resolver.bio? | string | undefined | - | - | src/schemas/Person.ts:10 |
resolver.bot_account | boolean | undefined | - | - | src/schemas/Person.ts:11 |
resolver.comment_count | number | undefined | - | - | src/schemas/Person.ts:12 |
resolver.deleted | boolean | undefined | - | - | src/schemas/Person.ts:13 |
resolver.display_name? | string | undefined | - | - | src/schemas/Person.ts:14 |
resolver.id | number | undefined | - | - | src/schemas/Person.ts:15 |
resolver.local | boolean | undefined | - | - | src/schemas/Person.ts:16 |
resolver.name | string | undefined | - | - | src/schemas/Person.ts:17 |
resolver.post_count | number | undefined | - | - | src/schemas/Person.ts:18 |
resolver.published_at | string | undefined | - | - | src/schemas/Person.ts:19 |
saved | boolean | undefined | - | z.infer.saved | src/schemas/PostReportView.ts:30 |
subscribed | "Subscribed" | "NotSubscribed" | "Pending" | "ApprovalRequired" | SubscribedType | - | z.infer.subscribed | src/schemas/PostReportView.ts:31 |
tags | object[] | undefined | - | z.infer.tags | src/schemas/PostReportView.ts:32 |
unread_comments | number | undefined | - | z.infer.unread_comments | src/schemas/PostReportView.ts:33 |
