2019-08-02 03:53:36 -05:00
|
|
|
import { Activity } from '../../shared/models/activitypub'
|
|
|
|
import { ActorModel } from '../models/activitypub/actor'
|
2019-08-09 01:17:16 -05:00
|
|
|
import { SignatureActorModel } from './models'
|
2019-08-02 03:53:36 -05:00
|
|
|
|
|
|
|
export type APProcessorOptions<T extends Activity> = {
|
|
|
|
activity: T
|
2019-08-09 01:17:16 -05:00
|
|
|
byActor: SignatureActorModel
|
2019-08-02 03:53:36 -05:00
|
|
|
inboxActor?: ActorModel
|
|
|
|
fromFetch?: boolean
|
|
|
|
}
|