]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/actors/follow.model.ts
Basic video redundancy implementation
[github/Chocobozzz/PeerTube.git] / shared / models / actors / follow.model.ts
index 70562bfc7d3278ae9e06f88e245f23bae27afd64..7de638cbac462213286f672dc8ad6adc81badc44 100644 (file)
@@ -2,10 +2,10 @@ import { Actor } from './actor.model'
 
 export type FollowState = 'pending' | 'accepted'
 
-export interface AccountFollow {
+export interface ActorFollow {
   id: number
-  follower: Actor
-  following: Actor
+  follower: Actor & { hostRedundancyAllowed: boolean }
+  following: Actor & { hostRedundancyAllowed: boolean }
   score: number
   state: FollowState
   createdAt: Date