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

10 lines
204 B
TypeScript

import { Activity } from './activity'
export interface ActivityPubCollection {
'@context': string[]
type: 'Collection' | 'CollectionPage'
totalItems: number
partOf?: string
items: Activity[]
}