]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/activitypub/activitypub-ordered-collection.ts
Add reject processing for activitypub
[github/Chocobozzz/PeerTube.git] / shared / models / activitypub / activitypub-ordered-collection.ts
index 4080fd740e10b6620ebefd0ecf25536f4ac8a8b6..487d8cee07f10cc4b7f18ef1cbae2becaf00a832 100644 (file)
@@ -1,9 +1,9 @@
 import { Activity } from './activity'
 
-export interface ActivityPubOrderedCollection {
+export interface ActivityPubOrderedCollection<T> {
   '@context': string[]
   type: 'OrderedCollection' | 'OrderedCollectionPage'
   totalItems: number
   partOf?: string
-  orderedItems: Activity[]
+  orderedItems: T[]
 }