mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-29 15:51:12 +00:00
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`
|
* 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue