user-notification-setting.model.ts 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. export const enum UserNotificationSettingValue {
  2. NONE = 0,
  3. WEB = 1 << 0,
  4. EMAIL = 1 << 1
  5. }
  6. export interface UserNotificationSetting {
  7. abuseAsModerator: UserNotificationSettingValue
  8. videoAutoBlacklistAsModerator: UserNotificationSettingValue
  9. newUserRegistration: UserNotificationSettingValue
  10. newVideoFromSubscription: UserNotificationSettingValue
  11. blacklistOnMyVideo: UserNotificationSettingValue
  12. myVideoPublished: UserNotificationSettingValue
  13. myVideoImportFinished: UserNotificationSettingValue
  14. commentMention: UserNotificationSettingValue
  15. newCommentOnMyVideo: UserNotificationSettingValue
  16. newFollow: UserNotificationSettingValue
  17. newInstanceFollower: UserNotificationSettingValue
  18. autoInstanceFollowing: UserNotificationSettingValue
  19. abuseStateChange: UserNotificationSettingValue
  20. abuseNewMessage: UserNotificationSettingValue
  21. newPeerTubeVersion: UserNotificationSettingValue
  22. newPluginVersion: UserNotificationSettingValue
  23. myVideoStudioEditionFinished: UserNotificationSettingValue
  24. }