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


                






                                                        

                                                     


                                                   
 
export enum UserNotificationSettingValue {
  NONE = 0,
  WEB = 1 << 0,
  EMAIL = 1 << 1
}

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