PeerTube/server/typings/activitypub-processor.model.ts
2019-08-19 17:26:35 +02:00

10 lines
267 B
TypeScript

import { Activity } from '../../shared/models/activitypub'
import { MActorDefault, MActorSignature } from './models'
export type APProcessorOptions<T extends Activity> = {
activity: T
byActor: MActorSignature
inboxActor?: MActorDefault
fromFetch?: boolean
}