mirror of https://github.com/Chocobozzz/PeerTube
21 lines
757 B
TypeScript
21 lines
757 B
TypeScript
export enum UserNotificationSettingValue {
|
|
NONE = 0,
|
|
WEB = 1 << 0,
|
|
EMAIL = 1 << 1
|
|
}
|
|
|
|
export interface UserNotificationSetting {
|
|
newVideoFromSubscription: UserNotificationSettingValue
|
|
newCommentOnMyVideo: UserNotificationSettingValue
|
|
abuseAsModerator: UserNotificationSettingValue
|
|
videoAutoBlacklistAsModerator: UserNotificationSettingValue
|
|
blacklistOnMyVideo: UserNotificationSettingValue
|
|
myVideoPublished: UserNotificationSettingValue
|
|
myVideoImportFinished: UserNotificationSettingValue
|
|
newUserRegistration: UserNotificationSettingValue
|
|
newFollow: UserNotificationSettingValue
|
|
commentMention: UserNotificationSettingValue
|
|
newInstanceFollower: UserNotificationSettingValue
|
|
autoInstanceFollowing: UserNotificationSettingValue
|
|
}
|