aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/accounts/follow.model.ts10
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 @@
1import { Account } from './account.model'
2
1export type FollowState = 'pending' | 'accepted' 3export type FollowState = 'pending' | 'accepted'
2 4
3export interface AccountFollow { 5export 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}