]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/activitypub-ordered-collection.ts
Translated using Weblate (Czech)
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / activitypub-ordered-collection.ts
index 4080fd740e10b6620ebefd0ecf25536f4ac8a8b6..3de0890bb48f22bbe1e629a46bc2780ae7f18b69 100644 (file)
@@ -1,9 +1,10 @@
-import { Activity } from './activity'
-
-export interface ActivityPubOrderedCollection {
+export interface ActivityPubOrderedCollection<T> {
   '@context': string[]
   type: 'OrderedCollection' | 'OrderedCollectionPage'
   totalItems: number
+  orderedItems: T[]
+
   partOf?: string
-  orderedItems: Activity[]
+  next?: string
+  first?: string
 }