X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Factivitypub%2Factivitypub-ordered-collection.ts;h=3de0890bb48f22bbe1e629a46bc2780ae7f18b69;hb=0fecf427d349a416dad149ee5d0b5210b6a43005;hp=4080fd740e10b6620ebefd0ecf25536f4ac8a8b6;hpb=e4f97babf701481b55cc10fb3448feab5f97c867;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/activitypub/activitypub-ordered-collection.ts b/shared/models/activitypub/activitypub-ordered-collection.ts index 4080fd740..3de0890bb 100644 --- a/shared/models/activitypub/activitypub-ordered-collection.ts +++ b/shared/models/activitypub/activitypub-ordered-collection.ts @@ -1,9 +1,10 @@ -import { Activity } from './activity' - -export interface ActivityPubOrderedCollection { +export interface ActivityPubOrderedCollection { '@context': string[] type: 'OrderedCollection' | 'OrderedCollectionPage' totalItems: number + orderedItems: T[] + partOf?: string - orderedItems: Activity[] + next?: string + first?: string }