diff options
Diffstat (limited to 'shared/models/users/user.model.ts')
-rw-r--r-- | shared/models/users/user.model.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts index 82af17516..af783d389 100644 --- a/shared/models/users/user.model.ts +++ b/shared/models/users/user.model.ts | |||
@@ -2,6 +2,7 @@ import { Account } from '../actors' | |||
2 | import { VideoChannel } from '../videos/channel/video-channel.model' | 2 | import { VideoChannel } from '../videos/channel/video-channel.model' |
3 | import { UserRole } from './user-role' | 3 | import { UserRole } from './user-role' |
4 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' | 4 | import { NSFWPolicyType } from '../videos/nsfw-policy.type' |
5 | import { UserNotificationSetting } from './user-notification-setting.model' | ||
5 | 6 | ||
6 | export interface User { | 7 | export interface User { |
7 | id: number | 8 | id: number |
@@ -9,12 +10,17 @@ export interface User { | |||
9 | email: string | 10 | email: string |
10 | emailVerified: boolean | 11 | emailVerified: boolean |
11 | nsfwPolicy: NSFWPolicyType | 12 | nsfwPolicy: NSFWPolicyType |
13 | |||
12 | autoPlayVideo: boolean | 14 | autoPlayVideo: boolean |
15 | webTorrentEnabled: boolean | ||
16 | videosHistoryEnabled: boolean | ||
17 | |||
13 | role: UserRole | 18 | role: UserRole |
14 | videoQuota: number | 19 | videoQuota: number |
15 | videoQuotaDaily: number | 20 | videoQuotaDaily: number |
16 | createdAt: Date | 21 | createdAt: Date |
17 | account: Account | 22 | account: Account |
23 | notificationSettings?: UserNotificationSetting | ||
18 | videoChannels?: VideoChannel[] | 24 | videoChannels?: VideoChannel[] |
19 | 25 | ||
20 | blocked: boolean | 26 | blocked: boolean |