import type { CommunityTagId } from "./CommunityTagId"; import type { LanguageId } from "./LanguageId"; import type { PostId } from "./PostId"; /** * Edit a post. */ export type EditPost = { post_id: PostId; name?: string; url?: string; /** * An optional body for the post in markdown. */ body?: string; /** * An optional alt_text, usable for image posts. */ alt_text?: string; nsfw?: boolean; language_id?: LanguageId; /** * Instead of fetching a thumbnail, use a custom one. */ custom_thumbnail?: string; /** * Time when this post should be scheduled. Null means publish immediately. */ scheduled_publish_time_at?: number; tags?: Array; };