From 7e9334c34db23e5ad1e118151b24c720dd985984 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 20 Nov 2017 11:19:23 +0100 Subject: Add ability to unfollow a server --- shared/models/accounts/follow.model.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'shared') diff --git a/shared/models/accounts/follow.model.ts b/shared/models/accounts/follow.model.ts index 8094634c1..cdc3da560 100644 --- a/shared/models/accounts/follow.model.ts +++ b/shared/models/accounts/follow.model.ts @@ -1,8 +1,12 @@ +import { Account } from './account.model' + export type FollowState = 'pending' | 'accepted' export interface AccountFollow { id: number - name: string - score?: number // Used for followers - host: string + follower: Account + following: Account + state: FollowState + createdAt: Date + updatedAt: Date } -- cgit v1.2.3