mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Add user notification base code
This commit is contained in:
parent
1de1d05f4c
commit
cef534ed53
52 changed files with 2479 additions and 141 deletions
13
shared/models/users/user-notification-setting.model.ts
Normal file
13
shared/models/users/user-notification-setting.model.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue