PeerTube/shared/models/actors/follow.model.ts

14 lines
332 B
TypeScript

import { Actor } from './actor.model'
export type FollowState = 'pending' | 'accepted' | 'rejected'
export interface ActorFollow {
id: number
follower: Actor & { hostRedundancyAllowed: boolean }
following: Actor & { hostRedundancyAllowed: boolean }
score: number
state: FollowState
createdAt: Date
updatedAt: Date
}