1
0
Fork 0
peertube/shared/models/users/user-notification-setting.model.ts

31 lines
966 B
TypeScript
Raw Normal View History

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
videoAutoBlacklistAsModerator: UserNotificationSettingValue
newUserRegistration: UserNotificationSettingValue
newVideoFromSubscription: UserNotificationSettingValue
2018-12-26 04:36:24 -05:00
blacklistOnMyVideo: UserNotificationSettingValue
myVideoPublished: UserNotificationSettingValue
myVideoImportFinished: UserNotificationSettingValue
commentMention: UserNotificationSettingValue
newCommentOnMyVideo: UserNotificationSettingValue
newFollow: UserNotificationSettingValue
newInstanceFollower: UserNotificationSettingValue
autoInstanceFollowing: UserNotificationSettingValue
abuseStateChange: UserNotificationSettingValue
abuseNewMessage: UserNotificationSettingValue
2021-03-11 10:54:52 -05:00
newPeerTubeVersion: UserNotificationSettingValue
newPluginVersion: UserNotificationSettingValue
2018-12-26 04:36:24 -05:00
}