aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/actors/follow.model.ts
blob: 7de638cbac462213286f672dc8ad6adc81badc44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
}