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

11 lines
223 B
TypeScript
Raw Normal View History

2017-11-23 16:55:13 +01:00
export interface ActivityPubOrderedCollection<T> {
2017-11-09 17:51:58 +01:00
'@context': string[]
type: 'OrderedCollection' | 'OrderedCollectionPage'
totalItems: number
2017-11-23 16:55:13 +01:00
orderedItems: T[]
partOf?: string
next?: string
first?: string
2017-11-09 17:51:58 +01:00
}