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


                                


                  


                    
 
import { Actor } from './actor.model'

export type FollowState = 'pending' | 'accepted'

export interface AccountFollow {
  id: number
  follower: Actor
  following: Actor
  score: number
  state: FollowState
  createdAt: Date
  updatedAt: Date
}