Add fields for post language tagging
This commit is contained in:
parent
dd615bf484
commit
0747053008
3 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ export interface CreatePost {
|
|||
url?: string;
|
||||
body?: string;
|
||||
nsfw?: boolean;
|
||||
language?: string;
|
||||
community_id: number;
|
||||
auth: string;
|
||||
honeypot?: string;
|
||||
|
|
|
@ -109,6 +109,7 @@ export interface Post {
|
|||
thumbnail_url?: string;
|
||||
ap_id: string;
|
||||
local: boolean;
|
||||
language: string;
|
||||
}
|
||||
|
||||
export interface PasswordResetRequest {
|
||||
|
|
Loading…
Reference in a new issue