PeerTube/shared/models/activitypub/activitypub-root.ts

6 lines
285 B
TypeScript
Raw Normal View History

2017-11-09 17:51:58 +01:00
import { Activity } from './activity'
import { ActivityPubCollection } from './activitypub-collection'
import { ActivityPubOrderedCollection } from './activitypub-ordered-collection'
2017-11-23 16:55:13 +01:00
export type RootActivity = Activity | ActivityPubCollection | ActivityPubOrderedCollection<Activity>