aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/typings/activitypub-processor.model.ts
blob: 7ed3a65b153cbf37cff0642a76d0e5c28d6faddb (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                          
                                                         


                                                      

                            

                     
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
}