Add fields for post language tagging

This commit is contained in:
Felix Ableitner 2022-05-18 16:43:50 +02:00
parent dd615bf484
commit 0747053008
3 changed files with 4 additions and 1 deletions

View file

@ -86,7 +86,7 @@ export interface SaveUserSettings {
* Post listing types are `All, Subscribed, Community`
*/
default_listing_type?: number;
lang?: string;
interface_language?: string;
avatar?: string;
banner?: string;
display_name?: string;
@ -100,6 +100,7 @@ export interface SaveUserSettings {
show_bot_accounts?: boolean;
show_read_posts?: boolean;
show_new_post_notifs?: boolean;
discussion_languages: string[];
auth: string;
}

View file

@ -12,6 +12,7 @@ export interface CreatePost {
url?: string;
body?: string;
nsfw?: boolean;
language?: string;
community_id: number;
auth: string;
honeypot?: string;

View file

@ -109,6 +109,7 @@ export interface Post {
thumbnail_url?: string;
ap_id: string;
local: boolean;
language: string;
}
export interface PasswordResetRequest {