mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Adding post alt text.
This commit is contained in:
parent
902ddf6ac8
commit
aa4d150bcd
4 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,7 @@ export interface CreatePost {
|
||||||
community_id: CommunityId;
|
community_id: CommunityId;
|
||||||
url?: string;
|
url?: string;
|
||||||
body?: string;
|
body?: string;
|
||||||
|
alt_text?: string;
|
||||||
honeypot?: string;
|
honeypot?: string;
|
||||||
nsfw?: boolean;
|
nsfw?: boolean;
|
||||||
language_id?: LanguageId;
|
language_id?: LanguageId;
|
||||||
|
|
|
@ -7,6 +7,7 @@ export interface EditPost {
|
||||||
name?: string;
|
name?: string;
|
||||||
url?: string;
|
url?: string;
|
||||||
body?: string;
|
body?: string;
|
||||||
|
alt_text?: string;
|
||||||
nsfw?: boolean;
|
nsfw?: boolean;
|
||||||
language_id?: LanguageId;
|
language_id?: LanguageId;
|
||||||
custom_thumbnail?: string;
|
custom_thumbnail?: string;
|
||||||
|
|
|
@ -91,6 +91,7 @@ export type LemmyErrorType =
|
||||||
| { error: "invalid_post_title" }
|
| { error: "invalid_post_title" }
|
||||||
| { error: "invalid_body_field" }
|
| { error: "invalid_body_field" }
|
||||||
| { error: "bio_length_overflow" }
|
| { error: "bio_length_overflow" }
|
||||||
|
| { error: "alt_text_length_overflow" }
|
||||||
| { error: "missing_totp_token" }
|
| { error: "missing_totp_token" }
|
||||||
| { error: "missing_totp_secret" }
|
| { error: "missing_totp_secret" }
|
||||||
| { error: "incorrect_totp_token" }
|
| { error: "incorrect_totp_token" }
|
||||||
|
|
|
@ -27,4 +27,5 @@ export interface Post {
|
||||||
featured_community: boolean;
|
featured_community: boolean;
|
||||||
featured_local: boolean;
|
featured_local: boolean;
|
||||||
url_content_type?: string;
|
url_content_type?: string;
|
||||||
|
alt_text?: string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue