activitypub-collection.ts 204 B

123456789
  1. import { Activity } from './activity'
  2. export interface ActivityPubCollection {
  3. '@context': string[]
  4. type: 'Collection' | 'CollectionPage'
  5. totalItems: number
  6. partOf?: string
  7. items: Activity[]
  8. }