import type { Community } from "./Community"; import type { CommunityActions } from "./CommunityActions"; import type { CommunityTagsView } from "./CommunityTagsView"; import type { Person } from "./Person"; import type { PersonActions } from "./PersonActions"; import type { Post } from "./Post"; import type { PostActions } from "./PostActions"; import type { PostReport } from "./PostReport"; /** * A post report view. */ export type PostReportView = { post_report: PostReport; post: Post; community: Community; creator: Person; post_creator: Person; community_actions?: CommunityActions; post_actions?: PostActions; person_actions?: PersonActions; resolver?: Person; creator_is_admin: boolean; creator_is_moderator: boolean; creator_banned: boolean; creator_ban_expires_at?: string; creator_banned_from_community: boolean; creator_community_ban_expires_at?: string; tags: CommunityTagsView; };