2018-01-11 03:35:50 -05:00
|
|
|
import { Actor } from './actor.model'
|
2017-11-20 05:19:23 -05:00
|
|
|
|
2022-07-26 08:46:15 -04:00
|
|
|
export type FollowState = 'pending' | 'accepted' | 'rejected'
|
2017-11-15 05:00:25 -05:00
|
|
|
|
2018-09-11 10:27:07 -04:00
|
|
|
export interface ActorFollow {
|
2017-11-15 05:00:25 -05:00
|
|
|
id: number
|
2018-09-11 10:27:07 -04:00
|
|
|
follower: Actor & { hostRedundancyAllowed: boolean }
|
|
|
|
following: Actor & { hostRedundancyAllowed: boolean }
|
2018-01-11 03:35:50 -05:00
|
|
|
score: number
|
2017-11-20 05:19:23 -05:00
|
|
|
state: FollowState
|
|
|
|
createdAt: Date
|
|
|
|
updatedAt: Date
|
2017-11-15 05:00:25 -05:00
|
|
|
}
|