diff options
author | Chocobozzz <me@florianbigard.com> | 2018-09-11 16:27:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-13 14:05:49 +0200 |
commit | c48e82b5e0478434de30626d14594a97f2402e7c (patch) | |
tree | a78e5272bd0fe4f5b41831e571e02d05f1515b82 /shared/models/actors | |
parent | a651038487faa838bda3ce04695b08bc65baff70 (diff) | |
download | PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.tar.gz PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.tar.zst PeerTube-c48e82b5e0478434de30626d14594a97f2402e7c.zip |
Basic video redundancy implementation
Diffstat (limited to 'shared/models/actors')
-rw-r--r-- | shared/models/actors/follow.model.ts | 6 |
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 | ||
3 | export type FollowState = 'pending' | 'accepted' | 3 | export type FollowState = 'pending' | 'accepted' |
4 | 4 | ||
5 | export interface AccountFollow { | 5 | export 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 |