]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/typings/activitypub-processor.model.ts
Stronger model typings
[github/Chocobozzz/PeerTube.git] / server / typings / activitypub-processor.model.ts
CommitLineData
1198edf4 1import { Activity } from '../../shared/models/activitypub'
453e83ea 2import { MActorDefault, MActorSignature } from './models'
1198edf4
C
3
4export type APProcessorOptions<T extends Activity> = {
5 activity: T
453e83ea
C
6 byActor: MActorSignature
7 inboxActor?: MActorDefault
1198edf4
C
8 fromFetch?: boolean
9}