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