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