+import { FollowState } from '../actors'
+
export enum UserNotificationType {
NEW_VIDEO_FROM_SUBSCRIPTION = 1,
NEW_COMMENT_ON_MY_VIDEO = 2,
NEW_FOLLOW = 10,
COMMENT_MENTION = 11,
- VIDEO_AUTO_BLACKLIST_FOR_MODERATORS = 12
+ VIDEO_AUTO_BLACKLIST_FOR_MODERATORS = 12,
+
+ NEW_INSTANCE_FOLLOWER = 13,
+
+ AUTO_INSTANCE_FOLLOWING = 14
}
export interface VideoInfo {
actorFollow?: {
id: number
follower: ActorInfo
+ state: FollowState
+
following: {
- type: 'account' | 'channel'
+ type: 'account' | 'channel' | 'instance'
name: string
displayName: string
+ host: string
}
}