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

10 lines
267 B
TypeScript
Raw Normal View History

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