aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/actors/follow.model.ts
blob: 7f3f52ac5bf954f0ba8906803c5d40317b3be3f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import { Actor } from './actor.model.js'

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
}