2020-08-06 08:58:01 -04:00
|
|
|
export const 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 {
|
2020-07-07 08:34:16 -04:00
|
|
|
abuseAsModerator: UserNotificationSettingValue
|
2019-04-02 05:26:47 -04:00
|
|
|
videoAutoBlacklistAsModerator: UserNotificationSettingValue
|
2020-07-27 10:26:25 -04:00
|
|
|
newUserRegistration: UserNotificationSettingValue
|
|
|
|
|
|
|
|
newVideoFromSubscription: UserNotificationSettingValue
|
|
|
|
|
2018-12-26 04:36:24 -05:00
|
|
|
blacklistOnMyVideo: UserNotificationSettingValue
|
2019-01-02 10:37:43 -05:00
|
|
|
myVideoPublished: UserNotificationSettingValue
|
|
|
|
myVideoImportFinished: UserNotificationSettingValue
|
2020-07-27 10:26:25 -04:00
|
|
|
|
2019-01-04 02:56:20 -05:00
|
|
|
commentMention: UserNotificationSettingValue
|
2020-07-27 10:26:25 -04:00
|
|
|
newCommentOnMyVideo: UserNotificationSettingValue
|
|
|
|
|
|
|
|
newFollow: UserNotificationSettingValue
|
2019-04-08 11:26:01 -04:00
|
|
|
newInstanceFollower: UserNotificationSettingValue
|
2019-08-30 10:50:12 -04:00
|
|
|
autoInstanceFollowing: UserNotificationSettingValue
|
2020-07-27 10:26:25 -04:00
|
|
|
|
|
|
|
abuseStateChange: UserNotificationSettingValue
|
|
|
|
abuseNewMessage: UserNotificationSettingValue
|
2021-03-11 10:54:52 -05:00
|
|
|
|
|
|
|
newPeerTubeVersion: UserNotificationSettingValue
|
|
|
|
newPluginVersion: UserNotificationSettingValue
|
2018-12-26 04:36:24 -05:00
|
|
|
}
|