2020-08-06 14:58:01 +02:00
|
|
|
export const enum UserNotificationSettingValue {
|
2019-01-08 11:26:41 +01:00
|
|
|
NONE = 0,
|
|
|
|
WEB = 1 << 0,
|
|
|
|
EMAIL = 1 << 1
|
2018-12-26 10:36:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface UserNotificationSetting {
|
2020-07-07 14:34:16 +02:00
|
|
|
abuseAsModerator: UserNotificationSettingValue
|
2019-04-02 11:26:47 +02:00
|
|
|
videoAutoBlacklistAsModerator: UserNotificationSettingValue
|
2020-07-27 16:26:25 +02:00
|
|
|
newUserRegistration: UserNotificationSettingValue
|
|
|
|
|
|
|
|
newVideoFromSubscription: UserNotificationSettingValue
|
|
|
|
|
2018-12-26 10:36:24 +01:00
|
|
|
blacklistOnMyVideo: UserNotificationSettingValue
|
2019-01-02 16:37:43 +01:00
|
|
|
myVideoPublished: UserNotificationSettingValue
|
|
|
|
myVideoImportFinished: UserNotificationSettingValue
|
2020-07-27 16:26:25 +02:00
|
|
|
|
2019-01-04 08:56:20 +01:00
|
|
|
commentMention: UserNotificationSettingValue
|
2020-07-27 16:26:25 +02:00
|
|
|
newCommentOnMyVideo: UserNotificationSettingValue
|
|
|
|
|
|
|
|
newFollow: UserNotificationSettingValue
|
2019-04-08 17:26:01 +02:00
|
|
|
newInstanceFollower: UserNotificationSettingValue
|
2019-08-30 16:50:12 +02:00
|
|
|
autoInstanceFollowing: UserNotificationSettingValue
|
2020-07-27 16:26:25 +02:00
|
|
|
|
|
|
|
abuseStateChange: UserNotificationSettingValue
|
|
|
|
abuseNewMessage: UserNotificationSettingValue
|
2021-03-11 16:54:52 +01:00
|
|
|
|
|
|
|
newPeerTubeVersion: UserNotificationSettingValue
|
|
|
|
newPluginVersion: UserNotificationSettingValue
|
2018-12-26 10:36:24 +01:00
|
|
|
}
|