]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/actors/follow.model.ts
Add scores to follows and remove bad ones
[github/Chocobozzz/PeerTube.git] / shared / models / actors / follow.model.ts
index cdc3da5602ffc81eeee963ab03aa6ccf0c971e03..70562bfc7d3278ae9e06f88e245f23bae27afd64 100644 (file)
@@ -1,11 +1,12 @@
-import { Account } from './account.model'
+import { Actor } from './actor.model'
 
 export type FollowState = 'pending' | 'accepted'
 
 export interface AccountFollow {
   id: number
-  follower: Account
-  following: Account
+  follower: Actor
+  following: Actor
+  score: number
   state: FollowState
   createdAt: Date
   updatedAt: Date