aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/activitypub/activitypub-ordered-collection.ts
blob: 487d8cee07f10cc4b7f18ef1cbae2becaf00a832 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                     
                                                  



                                                     
                   
 
import { Activity } from './activity'

export interface ActivityPubOrderedCollection<T> {
  '@context': string[]
  type: 'OrderedCollection' | 'OrderedCollectionPage'
  totalItems: number
  partOf?: string
  orderedItems: T[]
}