]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/actors/follow.model.ts
Merge branch 'master' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / actors / follow.model.ts
index cdc3da5602ffc81eeee963ab03aa6ccf0c971e03..7de638cbac462213286f672dc8ad6adc81badc44 100644 (file)
@@ -1,11 +1,12 @@
-import { Account } from './account.model'
+import { Actor } from './actor.model'
 
 export type FollowState = 'pending' | 'accepted'
 
-export interface AccountFollow {
+export interface ActorFollow {
   id: number
-  follower: Account
-  following: Account
+  follower: Actor & { hostRedundancyAllowed: boolean }
+  following: Actor & { hostRedundancyAllowed: boolean }
+  score: number
   state: FollowState
   createdAt: Date
   updatedAt: Date