]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/actors/follow.model.ts
Translated using Weblate (Czech)
[github/Chocobozzz/PeerTube.git] / shared / models / actors / follow.model.ts
... / ...
CommitLineData
1import { Actor } from './actor.model'
2
3export type FollowState = 'pending' | 'accepted' | 'rejected'
4
5export 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}