aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/users/user-notification-setting.model.ts
blob: 7cecd70a27739389373a9d81d8e2cc5aa8631904 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}