blob: fbd94994e50d18f82c5b77d75a158b19682b2d5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
export const UserNotificationSettingValue = {
NONE: 0,
WEB: 1 << 0,
EMAIL: 1 << 1
} as const
export type UserNotificationSettingValueType = typeof UserNotificationSettingValue[keyof typeof UserNotificationSettingValue]
export interface UserNotificationSetting {
abuseAsModerator: UserNotificationSettingValueType
videoAutoBlacklistAsModerator: UserNotificationSettingValueType
newUserRegistration: UserNotificationSettingValueType
newVideoFromSubscription: UserNotificationSettingValueType
blacklistOnMyVideo: UserNotificationSettingValueType
myVideoPublished: UserNotificationSettingValueType
myVideoImportFinished: UserNotificationSettingValueType
commentMention: UserNotificationSettingValueType
newCommentOnMyVideo: UserNotificationSettingValueType
newFollow: UserNotificationSettingValueType
newInstanceFollower: UserNotificationSettingValueType
autoInstanceFollowing: UserNotificationSettingValueType
abuseStateChange: UserNotificationSettingValueType
abuseNewMessage: UserNotificationSettingValueType
newPeerTubeVersion: UserNotificationSettingValueType
newPluginVersion: UserNotificationSettingValueType
myVideoStudioEditionFinished: UserNotificationSettingValueType
}
|