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