user-notification-setting.model.ts 708 B

12345678910111213141516171819
  1. export enum UserNotificationSettingValue {
  2. NONE = 0,
  3. WEB = 1 << 0,
  4. EMAIL = 1 << 1
  5. }
  6. export interface UserNotificationSetting {
  7. newVideoFromSubscription: UserNotificationSettingValue
  8. newCommentOnMyVideo: UserNotificationSettingValue
  9. videoAbuseAsModerator: UserNotificationSettingValue
  10. videoAutoBlacklistAsModerator: UserNotificationSettingValue
  11. blacklistOnMyVideo: UserNotificationSettingValue
  12. myVideoPublished: UserNotificationSettingValue
  13. myVideoImportFinished: UserNotificationSettingValue
  14. newUserRegistration: UserNotificationSettingValue
  15. newFollow: UserNotificationSettingValue
  16. commentMention: UserNotificationSettingValue
  17. newInstanceFollower: UserNotificationSettingValue
  18. }