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