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

11 lines
223 B
TypeScript
Raw Normal View History

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