2018-01-11 02:35:50 -06:00
|
|
|
import { Actor } from './actor.model'
|
2017-11-20 04:19:23 -06:00
|
|
|
|
2017-11-13 10:39:41 -06:00
|
|
|
export type FollowState = 'pending' | 'accepted'
|
2017-11-15 04:00:25 -06:00
|
|
|
|
|
|
|
export interface AccountFollow {
|
|
|
|
id: number
|
2018-01-11 02:35:50 -06:00
|
|
|
follower: Actor
|
|
|
|
following: Actor
|
|
|
|
score: number
|
2017-11-20 04:19:23 -06:00
|
|
|
state: FollowState
|
|
|
|
createdAt: Date
|
|
|
|
updatedAt: Date
|
2017-11-15 04:00:25 -06:00
|
|
|
}
|