diff --git a/src/interfaces/api/person.ts b/src/interfaces/api/person.ts index ffc4e55..b36027c 100644 --- a/src/interfaces/api/person.ts +++ b/src/interfaces/api/person.ts @@ -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; } diff --git a/src/interfaces/api/post.ts b/src/interfaces/api/post.ts index 2012dd1..5a26567 100644 --- a/src/interfaces/api/post.ts +++ b/src/interfaces/api/post.ts @@ -12,6 +12,7 @@ export interface CreatePost { url?: string; body?: string; nsfw?: boolean; + language?: string; community_id: number; auth: string; honeypot?: string; diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index 8d01aa2..4c0037e 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -109,6 +109,7 @@ export interface Post { thumbnail_url?: string; ap_id: string; local: boolean; + language: string; } export interface PasswordResetRequest {