]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - actors/follow.model.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / 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 }