mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-25 22:01:12 +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 {
|
export interface SaveUserSettings {
|
||||||
show_nsfw: boolean;
|
show_nsfw?: boolean;
|
||||||
theme: string; // Default 'browser'
|
theme?: string; // Default 'browser'
|
||||||
default_sort_type: number; // The Sort types from above, zero indexed as a number
|
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`
|
default_listing_type?: number; // Post listing types are `All, Subscribed, Community`
|
||||||
lang: string;
|
lang?: string;
|
||||||
avatar?: string;
|
avatar?: string;
|
||||||
banner?: string;
|
banner?: string;
|
||||||
display_name?: string;
|
display_name?: string;
|
||||||
email?: string;
|
email?: string;
|
||||||
bio?: string;
|
bio?: string;
|
||||||
matrix_user_id?: string;
|
matrix_user_id?: string;
|
||||||
show_avatars: boolean;
|
show_avatars?: boolean;
|
||||||
send_notifications_to_email: boolean;
|
show_scores?: boolean;
|
||||||
|
send_notifications_to_email?: boolean;
|
||||||
auth: string;
|
auth: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ export interface LocalUserSettings {
|
||||||
lang: string;
|
lang: string;
|
||||||
show_avatars: boolean;
|
show_avatars: boolean;
|
||||||
send_notifications_to_email: boolean;
|
send_notifications_to_email: boolean;
|
||||||
|
show_scores: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PersonSafe {
|
export interface PersonSafe {
|
||||||
|
|
Loading…
Reference in a new issue