]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/actors/follow.model.ts
Merge branch 'release/v1.0.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / actors / follow.model.ts
CommitLineData
60650c77 1import { Actor } from './actor.model'
7e9334c3 2
7a7724e6 3export type FollowState = 'pending' | 'accepted'
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}