aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/users/user-notification-setting.model.ts
blob: f580e827eefa9c66afd2245d763dfdd2c41a59b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                        

                                                     


                                                   
 
export enum UserNotificationSettingValue {
  NONE = 1,
  WEB_NOTIFICATION = 2,
  EMAIL = 3,
  WEB_NOTIFICATION_AND_EMAIL = 4
}

export interface UserNotificationSetting {
  newVideoFromSubscription: UserNotificationSettingValue
  newCommentOnMyVideo: UserNotificationSettingValue
  videoAbuseAsModerator: UserNotificationSettingValue
  blacklistOnMyVideo: UserNotificationSettingValue
  myVideoPublished: UserNotificationSettingValue
  myVideoImportFinished: UserNotificationSettingValue
  newUserRegistration: UserNotificationSettingValue
  newFollow: UserNotificationSettingValue
  commentMention: UserNotificationSettingValue
}