PeerTube/shared/models/activitypub/activitypub-ordered-collect...

11 lines
223 B
TypeScript

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