aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/activitypub-processor.model.ts
blob: 37b2859dec301addd0f1cf1a22f5c6fa937625f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { Activity } from '../../shared/models/activitypub'
import { ActorModel } from '../models/activitypub/actor'
import { SignatureActorModel } from './models'

export type APProcessorOptions<T extends Activity> = {
  activity: T
  byActor: SignatureActorModel
  inboxActor?: ActorModel
  fromFetch?: boolean
}