diff options
Diffstat (limited to 'server/typings/models/actor-follow.ts')
-rw-r--r-- | server/typings/models/actor-follow.ts | 8 |
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 @@ | |||
1 | import { ActorFollowModel } from '../../models/activitypub/actor-follow' | ||
2 | import { ActorModelOnly } from './actor' | ||
3 | |||
4 | export type ActorFollowModelOnly = Omit<ActorFollowModel, 'ActorFollower' | 'ActorFollowing'> | ||
5 | export type ActorFollowModelLight = ActorFollowModelOnly & { | ||
6 | ActorFollower: ActorModelOnly | ||
7 | ActorFollowing: ActorModelOnly | ||
8 | } | ||