]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/users/user-notification-setting.model.ts
Add import finished and video published notifs
[github/Chocobozzz/PeerTube.git] / shared / models / users / user-notification-setting.model.ts
CommitLineData
cef534ed
C
1export enum UserNotificationSettingValue {
2 NONE = 1,
3 WEB_NOTIFICATION = 2,
4 EMAIL = 3,
5 WEB_NOTIFICATION_AND_EMAIL = 4
6}
7
8export interface UserNotificationSetting {
9 newVideoFromSubscription: UserNotificationSettingValue
10 newCommentOnMyVideo: UserNotificationSettingValue
11 videoAbuseAsModerator: UserNotificationSettingValue
12 blacklistOnMyVideo: UserNotificationSettingValue
dc133480
C
13 myVideoPublished: UserNotificationSettingValue
14 myVideoImportFinished: UserNotificationSettingValue
cef534ed 15}