]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - follow.model.ts
7de638cbac462213286f672dc8ad6adc81badc44
[github/Chocobozzz/PeerTube.git] / 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 }