PeerTube/shared/models/users/user-notification-setting.m...

21 lines
757 B
TypeScript
Raw Normal View History

2018-12-26 10:36:24 +01:00
export 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 {
newVideoFromSubscription: UserNotificationSettingValue
newCommentOnMyVideo: UserNotificationSettingValue
2020-07-07 14:34:16 +02:00
abuseAsModerator: UserNotificationSettingValue
videoAutoBlacklistAsModerator: UserNotificationSettingValue
2018-12-26 10:36:24 +01:00
blacklistOnMyVideo: UserNotificationSettingValue
myVideoPublished: UserNotificationSettingValue
myVideoImportFinished: UserNotificationSettingValue
newUserRegistration: UserNotificationSettingValue
newFollow: UserNotificationSettingValue
commentMention: UserNotificationSettingValue
newInstanceFollower: UserNotificationSettingValue
autoInstanceFollowing: UserNotificationSettingValue
2018-12-26 10:36:24 +01:00
}