diff options
Diffstat (limited to 'shared/models/accounts')
-rw-r--r-- | shared/models/accounts/follow.model.ts | 10 |
1 files changed, 7 insertions, 3 deletions
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 @@ | |||
1 | import { Account } from './account.model' | ||
2 | |||
1 | export type FollowState = 'pending' | 'accepted' | 3 | export type FollowState = 'pending' | 'accepted' |
2 | 4 | ||
3 | export interface AccountFollow { | 5 | export interface AccountFollow { |
4 | id: number | 6 | id: number |
5 | name: string | 7 | follower: Account |
6 | score?: number // Used for followers | 8 | following: Account |
7 | host: string | 9 | state: FollowState |
10 | createdAt: Date | ||
11 | updatedAt: Date | ||
8 | } | 12 | } |