aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/models/actor-follow.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/typings/models/actor-follow.ts')
-rw-r--r--server/typings/models/actor-follow.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/typings/models/actor-follow.ts b/server/typings/models/actor-follow.ts
new file mode 100644
index 000000000..952ef877b
--- /dev/null
+++ b/server/typings/models/actor-follow.ts
@@ -0,0 +1,8 @@
1import { ActorFollowModel } from '../../models/activitypub/actor-follow'
2import { ActorModelOnly } from './actor'
3
4export type ActorFollowModelOnly = Omit<ActorFollowModel, 'ActorFollower' | 'ActorFollowing'>
5export type ActorFollowModelLight = ActorFollowModelOnly & {
6 ActorFollower: ActorModelOnly
7 ActorFollowing: ActorModelOnly
8}