diff options
Diffstat (limited to 'server/typings')
-rw-r--r-- | server/typings/activitypub-processor.model.ts | 9 |
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 @@ | |||
1 | import { Activity } from '../../shared/models/activitypub' | ||
2 | import { ActorModel } from '../models/activitypub/actor' | ||
3 | |||
4 | export type APProcessorOptions<T extends Activity> = { | ||
5 | activity: T | ||
6 | byActor: ActorModel | ||
7 | inboxActor?: ActorModel | ||
8 | fromFetch?: boolean | ||
9 | } | ||