Adding post alt text.

This commit is contained in:
Dessalines 2024-02-28 23:24:05 -05:00
parent 902ddf6ac8
commit aa4d150bcd
4 changed files with 4 additions and 0 deletions

View file

@ -7,6 +7,7 @@ export interface CreatePost {
community_id: CommunityId;
url?: string;
body?: string;
alt_text?: string;
honeypot?: string;
nsfw?: boolean;
language_id?: LanguageId;

View file

@ -7,6 +7,7 @@ export interface EditPost {
name?: string;
url?: string;
body?: string;
alt_text?: string;
nsfw?: boolean;
language_id?: LanguageId;
custom_thumbnail?: string;

View file

@ -91,6 +91,7 @@ export type LemmyErrorType =
| { error: "invalid_post_title" }
| { error: "invalid_body_field" }
| { error: "bio_length_overflow" }
| { error: "alt_text_length_overflow" }
| { error: "missing_totp_token" }
| { error: "missing_totp_secret" }
| { error: "incorrect_totp_token" }

View file

@ -27,4 +27,5 @@ export interface Post {
featured_community: boolean;
featured_local: boolean;
url_content_type?: string;
alt_text?: string;
}