1
0
Fork 0
peertube/shared/models/users/user-notification-setting.model.ts
2019-01-09 11:15:15 +01:00

13 lines
387 B
TypeScript

export enum UserNotificationSettingValue {
NONE = 1,
WEB_NOTIFICATION = 2,
EMAIL = 3,
WEB_NOTIFICATION_AND_EMAIL = 4
}
export interface UserNotificationSetting {
newVideoFromSubscription: UserNotificationSettingValue
newCommentOnMyVideo: UserNotificationSettingValue
videoAbuseAsModerator: UserNotificationSettingValue
blacklistOnMyVideo: UserNotificationSettingValue
}