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

View file

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

View file

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