14 lines
332 B
TypeScript
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
|
|
}
|