aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-08-02 10:53:36 +0200
committerChocobozzz <me@florianbigard.com>2019-08-02 10:53:36 +0200
commit1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41 (patch)
tree0378e6f2ec9912a80838f373ec2d09c3b805b7b6 /server/typings
parent44b88f180bc9ec692885e7db08757a43b3e2df79 (diff)
downloadPeerTube-1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41.tar.gz
PeerTube-1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41.tar.zst
PeerTube-1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41.zip
Fix user notifications on new follow
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}