PeerTube/server/typings/activitypub-processor.model.ts

11 lines
314 B
TypeScript
Raw Normal View History

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