aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/accounts/follow.model.ts
blob: cdc3da5602ffc81eeee963ab03aa6ccf0c971e03 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                                         
                                                


                                




                    
 
import { Account } from './account.model'

export type FollowState = 'pending' | 'accepted'

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