Add user notification base code
[oweals/peertube.git] / shared / models / users / user.model.ts
index 2aabff49488f8f057f30f7ac3874a30ebead81c2..af783d38907e085cce43989e11caf7ac06065ae9 100644 (file)
@@ -2,6 +2,7 @@ import { Account } from '../actors'
 import { VideoChannel } from '../videos/channel/video-channel.model'
 import { UserRole } from './user-role'
 import { NSFWPolicyType } from '../videos/nsfw-policy.type'
+import { UserNotificationSetting } from './user-notification-setting.model'
 
 export interface User {
   id: number
@@ -19,6 +20,7 @@ export interface User {
   videoQuotaDaily: number
   createdAt: Date
   account: Account
+  notificationSettings?: UserNotificationSetting
   videoChannels?: VideoChannel[]
 
   blocked: boolean