X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factors%2Ffollow.model.ts;h=7de638cbac462213286f672dc8ad6adc81badc44;hb=1c5e49e75284100b7b1fc8b4e73c8ba53fe22e89;hp=cdc3da5602ffc81eeee963ab03aa6ccf0c971e03;hpb=50d6de9c286abcb34ff4234d56d9cbb803db7665;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/actors/follow.model.ts b/shared/models/actors/follow.model.ts index cdc3da560..7de638cba 100644 --- a/shared/models/actors/follow.model.ts +++ b/shared/models/actors/follow.model.ts @@ -1,11 +1,12 @@ -import { Account } from './account.model' +import { Actor } from './actor.model' export type FollowState = 'pending' | 'accepted' -export interface AccountFollow { +export interface ActorFollow { id: number - follower: Account - following: Account + follower: Actor & { hostRedundancyAllowed: boolean } + following: Actor & { hostRedundancyAllowed: boolean } + score: number state: FollowState createdAt: Date updatedAt: Date