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

10 lines
267 B
TypeScript
Raw Normal View History

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
}