]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/actors/follow.model.ts
Translated using Weblate (Czech)
[github/Chocobozzz/PeerTube.git] / shared / models / actors / follow.model.ts
CommitLineData
60650c77 1import { Actor } from './actor.model'
7e9334c3 2
927fa4b1 3export type FollowState = 'pending' | 'accepted' | 'rejected'
60862425 4
c48e82b5 5export interface ActorFollow {
60862425 6 id: number
c48e82b5
C
7 follower: Actor & { hostRedundancyAllowed: boolean }
8 following: Actor & { hostRedundancyAllowed: boolean }
60650c77 9 score: number
7e9334c3
C
10 state: FollowState
11 createdAt: Date
12 updatedAt: Date
60862425 13}