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

6 lines
285 B
TypeScript

import { Activity } from './activity'
import { ActivityPubCollection } from './activitypub-collection'
import { ActivityPubOrderedCollection } from './activitypub-ordered-collection'
export type RootActivity = Activity | ActivityPubCollection | ActivityPubOrderedCollection<Activity>