diff --git a/src/interfaces/api/person.ts b/src/interfaces/api/person.ts index 1e79cec..7efbe93 100644 --- a/src/interfaces/api/person.ts +++ b/src/interfaces/api/person.ts @@ -39,19 +39,20 @@ export interface CaptchaResponse { } export interface SaveUserSettings { - show_nsfw: boolean; - theme: string; // Default 'browser' - default_sort_type: number; // The Sort types from above, zero indexed as a number - default_listing_type: number; // Post listing types are `All, Subscribed, Community` - lang: string; + show_nsfw?: boolean; + theme?: string; // Default 'browser' + default_sort_type?: number; // The Sort types from above, zero indexed as a number + default_listing_type?: number; // Post listing types are `All, Subscribed, Community` + lang?: string; avatar?: string; banner?: string; display_name?: string; email?: string; bio?: string; matrix_user_id?: string; - show_avatars: boolean; - send_notifications_to_email: boolean; + show_avatars?: boolean; + show_scores?: boolean; + send_notifications_to_email?: boolean; auth: string; } diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index 8be30ca..3addb2c 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -9,6 +9,7 @@ export interface LocalUserSettings { lang: string; show_avatars: boolean; send_notifications_to_email: boolean; + show_scores: boolean; } export interface PersonSafe {