2019-08-02 03:53:36 -05:00
|
|
|
import { Activity } from '../../shared/models/activitypub'
|
2019-08-15 04:53:26 -05:00
|
|
|
import { MActorDefault, MActorSignature } from './models'
|
2019-08-02 03:53:36 -05:00
|
|
|
|
|
|
|
export type APProcessorOptions<T extends Activity> = {
|
|
|
|
activity: T
|
2019-08-15 04:53:26 -05:00
|
|
|
byActor: MActorSignature
|
|
|
|
inboxActor?: MActorDefault
|
2019-08-02 03:53:36 -05:00
|
|
|
fromFetch?: boolean
|
|
|
|
}
|