1 export enum UserNotificationType {
2 NEW_VIDEO_FROM_SUBSCRIPTION = 1,
3 NEW_COMMENT_ON_MY_VIDEO = 2,
4 NEW_VIDEO_ABUSE_FOR_MODERATORS = 3,
6 BLACKLIST_ON_MY_VIDEO = 4,
7 UNBLACKLIST_ON_MY_VIDEO = 5,
9 MY_VIDEO_PUBLISHED = 6,
11 MY_VIDEO_IMPORT_SUCCESS = 7,
12 MY_VIDEO_IMPORT_ERROR = 8,
14 NEW_USER_REGISTRATION = 9,
19 export interface VideoInfo {
25 export interface UserNotification {
27 type: UserNotificationType
78 type: 'account' | 'channel'