aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/actors/follow.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-11 16:27:07 +0200
committerChocobozzz <me@florianbigard.com>2018-09-13 14:05:49 +0200
commitc48e82b5e0478434de30626d14594a97f2402e7c (patch)
treea78e5272bd0fe4f5b41831e571e02d05f1515b82 /shared/models/actors/follow.model.ts
parenta651038487faa838bda3ce04695b08bc65baff70 (diff)
downloadPeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.tar.gz
PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.tar.zst
PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.zip
Basic video redundancy implementation
Diffstat (limited to 'shared/models/actors/follow.model.ts')
-rw-r--r--shared/models/actors/follow.model.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/models/actors/follow.model.ts b/shared/models/actors/follow.model.ts
index 70562bfc7..7de638cba 100644
--- a/shared/models/actors/follow.model.ts
+++ b/shared/models/actors/follow.model.ts
@@ -2,10 +2,10 @@ import { Actor } from './actor.model'
2 2
3export type FollowState = 'pending' | 'accepted' 3export type FollowState = 'pending' | 'accepted'
4 4
5export interface AccountFollow { 5export interface ActorFollow {
6 id: number 6 id: number
7 follower: Actor 7 follower: Actor & { hostRedundancyAllowed: boolean }
8 following: Actor 8 following: Actor & { hostRedundancyAllowed: boolean }
9 score: number 9 score: number
10 state: FollowState 10 state: FollowState
11 createdAt: Date 11 createdAt: Date