aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/actors/follow.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/models/src/actors/follow.model.ts')
-rw-r--r--packages/models/src/actors/follow.model.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/models/src/actors/follow.model.ts b/packages/models/src/actors/follow.model.ts
new file mode 100644
index 000000000..7f3f52ac5
--- /dev/null
+++ b/packages/models/src/actors/follow.model.ts
@@ -0,0 +1,13 @@
1import { Actor } from './actor.model.js'
2
3export type FollowState = 'pending' | 'accepted' | 'rejected'
4
5export interface ActorFollow {
6 id: number
7 follower: Actor & { hostRedundancyAllowed: boolean }
8 following: Actor & { hostRedundancyAllowed: boolean }
9 score: number
10 state: FollowState
11 createdAt: Date
12 updatedAt: Date
13}