]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/actors/follow.model.ts
Basic video redundancy implementation
[github/Chocobozzz/PeerTube.git] / shared / models / actors / follow.model.ts
1 import { Actor } from './actor.model'
2
3 export type FollowState = 'pending' | 'accepted'
4
5 export interface ActorFollow {
6 id: number
7 follower: Actor & { hostRedundancyAllowed: boolean }
8 following: Actor & { hostRedundancyAllowed: boolean }
9 score: number
10 state: FollowState
11 createdAt: Date
12 updatedAt: Date
13 }