aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings
diff options
context:
space:
mode:
Diffstat (limited to 'server/typings')
-rw-r--r--server/typings/activitypub-processor.model.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/server/typings/activitypub-processor.model.ts b/server/typings/activitypub-processor.model.ts
new file mode 100644
index 000000000..7c70251ca
--- /dev/null
+++ b/server/typings/activitypub-processor.model.ts
@@ -0,0 +1,9 @@
1import { Activity } from '../../shared/models/activitypub'
2import { ActorModel } from '../models/activitypub/actor'
3
4export type APProcessorOptions<T extends Activity> = {
5 activity: T
6 byActor: ActorModel
7 inboxActor?: ActorModel
8 fromFetch?: boolean
9}