2018-01-11 08:35:50 +00:00
|
|
|
import { Actor } from './actor.model'
|
2017-11-20 10:19:23 +00:00
|
|
|
|
2017-11-13 16:39:41 +00:00
|
|
|
export type FollowState = 'pending' | 'accepted'
|
2017-11-15 10:00:25 +00:00
|
|
|
|
2018-09-11 14:27:07 +00:00
|
|
|
export interface ActorFollow {
|
2017-11-15 10:00:25 +00:00
|
|
|
id: number
|
2018-09-11 14:27:07 +00:00
|
|
|
follower: Actor & { hostRedundancyAllowed: boolean }
|
|
|
|
following: Actor & { hostRedundancyAllowed: boolean }
|
2018-01-11 08:35:50 +00:00
|
|
|
score: number
|
2017-11-20 10:19:23 +00:00
|
|
|
state: FollowState
|
|
|
|
createdAt: Date
|
|
|
|
updatedAt: Date
|
2017-11-15 10:00:25 +00:00
|
|
|
}
|