follow.model.ts 319 B

12345678910111213
  1. import { Actor } from './actor.model'
  2. export type FollowState = 'pending' | 'accepted'
  3. export interface ActorFollow {
  4. id: number
  5. follower: Actor & { hostRedundancyAllowed: boolean }
  6. following: Actor & { hostRedundancyAllowed: boolean }
  7. score: number
  8. state: FollowState
  9. createdAt: Date
  10. updatedAt: Date
  11. }