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