aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/activitypub/activitypub-ordered-collection.ts
blob: dfec0bb76fd22a5b8d9050df7c7b6a9d0bd756aa (plain) (blame)
1
2
3
4
5
6
7
export interface ActivityPubOrderedCollection<T> {
  '@context': string[]
  type: 'OrderedCollection' | 'OrderedCollectionPage'
  totalItems: number
  partOf?: string
  orderedItems: T[]
}