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

10 lines
228 B
TypeScript
Raw Normal View History

2017-11-09 17:51:58 +01:00
import { Activity } from './activity'
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
partOf?: string
2017-11-23 16:55:13 +01:00
orderedItems: T[]
2017-11-09 17:51:58 +01:00
}