1
0
Fork 0
peertube/server/typings/activitypub-processor.model.ts

10 lines
267 B
TypeScript
Raw Normal View History

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