aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/actors/follow.model.ts
blob: 244d6d97ea1183443696a3fa0b71afeb87ea1d48 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                     
 
                                                             
 
                              
            

                                                       
               


                    
 
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
}