PeerTube/server/core/types/activitypub-processor.model.ts

10 lines
270 B
TypeScript

import { Activity } from '@peertube/peertube-models'
import { MActorDefault, MActorSignature } from './models/index.js'
export type APProcessorOptions<T extends Activity> = {
activity: T
byActor: MActorSignature
inboxActor?: MActorDefault
fromFetch?: boolean
}