]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/actors/follow.model.ts
Translated using Weblate (Czech)
[github/Chocobozzz/PeerTube.git] / shared / models / actors / follow.model.ts
index cdc3da5602ffc81eeee963ab03aa6ccf0c971e03..244d6d97ea1183443696a3fa0b71afeb87ea1d48 100644 (file)
@@ -1,11 +1,12 @@
-import { Account } from './account.model'
+import { Actor } from './actor.model'
 
-export type FollowState = 'pending' | 'accepted'
+export type FollowState = 'pending' | 'accepted' | 'rejected'
 
-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