]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/users/user-notification-setting.model.ts
More specific message when signup is not allowed
[github/Chocobozzz/PeerTube.git] / shared / models / users / user-notification-setting.model.ts
index 531e12bba3a3756160f51c39007dae6ac0e32884..278a05e7a5839e54d71ff85b461279d450680696 100644 (file)
@@ -1,17 +1,32 @@
-export enum UserNotificationSettingValue {
+export const enum UserNotificationSettingValue {
   NONE = 0,
   WEB = 1 << 0,
   EMAIL = 1 << 1
 }
 
 export interface UserNotificationSetting {
+  abuseAsModerator: UserNotificationSettingValue
+  videoAutoBlacklistAsModerator: UserNotificationSettingValue
+  newUserRegistration: UserNotificationSettingValue
+
   newVideoFromSubscription: UserNotificationSettingValue
-  newCommentOnMyVideo: UserNotificationSettingValue
-  videoAbuseAsModerator: UserNotificationSettingValue
+
   blacklistOnMyVideo: UserNotificationSettingValue
   myVideoPublished: UserNotificationSettingValue
   myVideoImportFinished: UserNotificationSettingValue
-  newUserRegistration: UserNotificationSettingValue
-  newFollow: UserNotificationSettingValue
+
   commentMention: UserNotificationSettingValue
+  newCommentOnMyVideo: UserNotificationSettingValue
+
+  newFollow: UserNotificationSettingValue
+  newInstanceFollower: UserNotificationSettingValue
+  autoInstanceFollowing: UserNotificationSettingValue
+
+  abuseStateChange: UserNotificationSettingValue
+  abuseNewMessage: UserNotificationSettingValue
+
+  newPeerTubeVersion: UserNotificationSettingValue
+  newPluginVersion: UserNotificationSettingValue
+
+  myVideoStudioEditionFinished: UserNotificationSettingValue
 }