1
0
Fork 0
peertube/shared/models/actors/follow.model.ts
2018-09-13 14:05:49 +02:00

13 lines
319 B
TypeScript

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