X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Faccounts%2Ffollow.model.ts;h=cdc3da5602ffc81eeee963ab03aa6ccf0c971e03;hb=fadf619ad61a016c1c7fc53de5a8f398a4f77519;hp=80cfe07e4816fe696b008777b8d85990c5faee62;hpb=7a7724e66e4533523083e7336cd0d0c747c4a33b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/accounts/follow.model.ts b/shared/models/accounts/follow.model.ts index 80cfe07e4..cdc3da560 100644 --- a/shared/models/accounts/follow.model.ts +++ b/shared/models/accounts/follow.model.ts @@ -1 +1,12 @@ +import { Account } from './account.model' + export type FollowState = 'pending' | 'accepted' + +export interface AccountFollow { + id: number + follower: Account + following: Account + state: FollowState + createdAt: Date + updatedAt: Date +}