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

10 lines
228 B
TypeScript
Raw Normal View History

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