2018-12-26 04:36:24 -05:00
|
|
|
export enum UserNotificationSettingValue {
|
2019-01-08 05:26:41 -05:00
|
|
|
NONE = 0,
|
|
|
|
WEB = 1 << 0,
|
|
|
|
EMAIL = 1 << 1
|
2018-12-26 04:36:24 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface UserNotificationSetting {
|
|
|
|
newVideoFromSubscription: UserNotificationSettingValue
|
|
|
|
newCommentOnMyVideo: UserNotificationSettingValue
|
|
|
|
videoAbuseAsModerator: UserNotificationSettingValue
|
2019-04-02 05:26:47 -04:00
|
|
|
videoAutoBlacklistAsModerator: UserNotificationSettingValue
|
2018-12-26 04:36:24 -05:00
|
|
|
blacklistOnMyVideo: UserNotificationSettingValue
|
2019-01-02 10:37:43 -05:00
|
|
|
myVideoPublished: UserNotificationSettingValue
|
|
|
|
myVideoImportFinished: UserNotificationSettingValue
|
2019-01-04 02:56:20 -05:00
|
|
|
newUserRegistration: UserNotificationSettingValue
|
|
|
|
newFollow: UserNotificationSettingValue
|
|
|
|
commentMention: UserNotificationSettingValue
|
2019-04-08 11:26:01 -04:00
|
|
|
newInstanceFollower: UserNotificationSettingValue
|
2018-12-26 04:36:24 -05:00
|
|
|
}
|