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

8 lines
189 B
TypeScript

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