import type { DbUrl } from "./DbUrl"; import type { PersonId } from "./PersonId"; import type { PostId } from "./PostId"; import type { PostReportId } from "./PostReportId"; /** * A post report. */ export type PostReport = { id: PostReportId; creator_id: PersonId; post_id: PostId; /** * The original post title. */ original_post_name: string; /** * The original post url. */ original_post_url?: DbUrl; /** * The original post body. */ original_post_body?: string; reason: string; resolved: boolean; resolver_id?: PersonId; published_at: string; updated_at?: string; violates_instance_rules: boolean; };