]>
Commit | Line | Data |
---|---|---|
1 | export enum UserNotificationSettingValue { | |
2 | NONE = 0, | |
3 | WEB = 1 << 0, | |
4 | EMAIL = 1 << 1 | |
5 | } | |
6 | ||
7 | export interface UserNotificationSetting { | |
8 | newVideoFromSubscription: UserNotificationSettingValue | |
9 | newCommentOnMyVideo: UserNotificationSettingValue | |
10 | videoAbuseAsModerator: UserNotificationSettingValue | |
11 | videoAutoBlacklistAsModerator: UserNotificationSettingValue | |
12 | blacklistOnMyVideo: UserNotificationSettingValue | |
13 | myVideoPublished: UserNotificationSettingValue | |
14 | myVideoImportFinished: UserNotificationSettingValue | |
15 | newUserRegistration: UserNotificationSettingValue | |
16 | newFollow: UserNotificationSettingValue | |
17 | commentMention: UserNotificationSettingValue | |
18 | newInstanceFollower: UserNotificationSettingValue | |
19 | } |