diff options
author | Dessalines <tyhou13@gmx.com> | 2019-10-20 21:21:54 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-10-20 21:21:54 -0700 |
commit | 90ce1f1a3fca5c8d8a13e91f991b23ecb77f1faf (patch) | |
tree | cd851bbdb333f3b16cfd0f5aaeed97e6f46af143 /ui/src/interfaces.ts | |
parent | a7dedaf273b6fd2ebd9c9b8b9d6a7d227f376797 (diff) |
Adding default sort / filter into user settings.
- Fixes #295
Diffstat (limited to 'ui/src/interfaces.ts')
-rw-r--r-- | ui/src/interfaces.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/src/interfaces.ts b/ui/src/interfaces.ts index 4056e05d..2f75efd9 100644 --- a/ui/src/interfaces.ts +++ b/ui/src/interfaces.ts @@ -75,6 +75,8 @@ export interface User { username: string; show_nsfw: boolean; theme: string; + default_sort_type: SortType; + default_listing_type: ListingType; } export interface UserView { @@ -463,6 +465,8 @@ export interface LoginResponse { export interface UserSettingsForm { show_nsfw: boolean; theme: string; + default_sort_type: SortType; + default_listing_type: ListingType; auth: string; } |