diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-02 10:53:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-02 10:53:36 +0200 |
commit | 1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41 (patch) | |
tree | 0378e6f2ec9912a80838f373ec2d09c3b805b7b6 /server/typings | |
parent | 44b88f180bc9ec692885e7db08757a43b3e2df79 (diff) | |
download | PeerTube-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.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 | } | ||