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


                                                     
                   



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

  partOf?: string
  next?: string
  first?: string
}