From 5b42dc3393431184293ded2f9d30a11fe5548d52 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 2 Jan 2020 16:55:54 -0500 Subject: Adding show_avatar user setting, and option to send notifications to inbox. - Fixes #254 - Fixes #394 --- ui/src/interfaces.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui/src/interfaces.ts') 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; } -- cgit v1.2.3