mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-12-28 22:01:28 +00:00
Merge pull request #16 from LemmyNet/show_score_setting
Adding show scores to LocalUserSettings and SaveUserSettings
This commit is contained in:
commit
904591182b
2 changed files with 9 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ export interface LocalUserSettings {
|
|||
lang: string;
|
||||
show_avatars: boolean;
|
||||
send_notifications_to_email: boolean;
|
||||
show_scores: boolean;
|
||||
}
|
||||
|
||||
export interface PersonSafe {
|
||||
|
|
Loading…
Reference in a new issue