summaryrefslogtreecommitdiffstats
path: root/ui/src/interfaces.ts
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-01-02 16:55:54 -0500
committerDessalines <tyhou13@gmx.com>2020-01-02 16:55:54 -0500
commit5b42dc3393431184293ded2f9d30a11fe5548d52 (patch)
treee906ad2afdd3d7e9f8e0f6116d6023a42ba92d03 /ui/src/interfaces.ts
parent576980bf64fcde5ec66e0260c81ef3225dd264bd (diff)
Adding show_avatar user setting, and option to send notifications to inbox.
- Fixes #254 - Fixes #394
Diffstat (limited to 'ui/src/interfaces.ts')
-rw-r--r--ui/src/interfaces.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/interfaces.ts b/ui/src/interfaces.ts
index 1762bd60..7fc7a252 100644
--- a/ui/src/interfaces.ts
+++ b/ui/src/interfaces.ts
@@ -81,6 +81,7 @@ export interface User {
default_listing_type: ListingType;
lang: string;
avatar?: string;
+ show_avatars: boolean;
}
export interface UserView {
@@ -95,6 +96,8 @@ export interface UserView {
number_of_comments: number;
comment_score: number;
banned: boolean;
+ show_avatars: boolean;
+ send_notifications_to_email: boolean;
}
export interface CommunityUser {
@@ -486,6 +489,8 @@ export interface UserSettingsForm {
new_password?: string;
new_password_verify?: string;
old_password?: string;
+ show_avatars: boolean;
+ send_notifications_to_email: boolean;
auth: string;
}