]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/users/user-notification-setting.model.ts
Add language filters in user preferences
[github/Chocobozzz/PeerTube.git] / shared / models / users / user-notification-setting.model.ts
CommitLineData
cef534ed 1export enum UserNotificationSettingValue {
2f1548fd
C
2 NONE = 0,
3 WEB = 1 << 0,
4 EMAIL = 1 << 1
cef534ed
C
5}
6
7export interface UserNotificationSetting {
8 newVideoFromSubscription: UserNotificationSettingValue
9 newCommentOnMyVideo: UserNotificationSettingValue
10 videoAbuseAsModerator: UserNotificationSettingValue
7ccddd7b 11 videoAutoBlacklistAsModerator: UserNotificationSettingValue
cef534ed 12 blacklistOnMyVideo: UserNotificationSettingValue
dc133480
C
13 myVideoPublished: UserNotificationSettingValue
14 myVideoImportFinished: UserNotificationSettingValue
f7cc67b4
C
15 newUserRegistration: UserNotificationSettingValue
16 newFollow: UserNotificationSettingValue
17 commentMention: UserNotificationSettingValue
883993c8 18 newInstanceFollower: UserNotificationSettingValue
cef534ed 19}