diff options
author | Chocobozzz <me@florianbigard.com> | 2019-01-08 11:26:41 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-01-09 11:15:15 +0100 |
commit | 2f1548fda32c3ba9e53913270394eedfacd55986 (patch) | |
tree | afee28df36a9e00f921603d9091e5d08d5818159 /shared/models/users/user-notification.model.ts | |
parent | f7cc67b455a12ccae9b0ea16876d166720364357 (diff) | |
download | PeerTube-2f1548fda32c3ba9e53913270394eedfacd55986.tar.gz PeerTube-2f1548fda32c3ba9e53913270394eedfacd55986.tar.zst PeerTube-2f1548fda32c3ba9e53913270394eedfacd55986.zip |
Add notifications in the client
Diffstat (limited to 'shared/models/users/user-notification.model.ts')
-rw-r--r-- | shared/models/users/user-notification.model.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/users/user-notification.model.ts b/shared/models/users/user-notification.model.ts index 9dd4f099f..f41b6f534 100644 --- a/shared/models/users/user-notification.model.ts +++ b/shared/models/users/user-notification.model.ts | |||
@@ -2,11 +2,15 @@ export enum UserNotificationType { | |||
2 | NEW_VIDEO_FROM_SUBSCRIPTION = 1, | 2 | NEW_VIDEO_FROM_SUBSCRIPTION = 1, |
3 | NEW_COMMENT_ON_MY_VIDEO = 2, | 3 | NEW_COMMENT_ON_MY_VIDEO = 2, |
4 | NEW_VIDEO_ABUSE_FOR_MODERATORS = 3, | 4 | NEW_VIDEO_ABUSE_FOR_MODERATORS = 3, |
5 | |||
5 | BLACKLIST_ON_MY_VIDEO = 4, | 6 | BLACKLIST_ON_MY_VIDEO = 4, |
6 | UNBLACKLIST_ON_MY_VIDEO = 5, | 7 | UNBLACKLIST_ON_MY_VIDEO = 5, |
8 | |||
7 | MY_VIDEO_PUBLISHED = 6, | 9 | MY_VIDEO_PUBLISHED = 6, |
10 | |||
8 | MY_VIDEO_IMPORT_SUCCESS = 7, | 11 | MY_VIDEO_IMPORT_SUCCESS = 7, |
9 | MY_VIDEO_IMPORT_ERROR = 8, | 12 | MY_VIDEO_IMPORT_ERROR = 8, |
13 | |||
10 | NEW_USER_REGISTRATION = 9, | 14 | NEW_USER_REGISTRATION = 9, |
11 | NEW_FOLLOW = 10, | 15 | NEW_FOLLOW = 10, |
12 | COMMENT_MENTION = 11 | 16 | COMMENT_MENTION = 11 |