diff options
Diffstat (limited to 'shared/models/activitypub/activitypub-ordered-collection.ts')
-rw-r--r-- | shared/models/activitypub/activitypub-ordered-collection.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/models/activitypub/activitypub-ordered-collection.ts b/shared/models/activitypub/activitypub-ordered-collection.ts index 4080fd740..487d8cee0 100644 --- a/shared/models/activitypub/activitypub-ordered-collection.ts +++ b/shared/models/activitypub/activitypub-ordered-collection.ts | |||
@@ -1,9 +1,9 @@ | |||
1 | import { Activity } from './activity' | 1 | import { Activity } from './activity' |
2 | 2 | ||
3 | export interface ActivityPubOrderedCollection { | 3 | export interface ActivityPubOrderedCollection<T> { |
4 | '@context': string[] | 4 | '@context': string[] |
5 | type: 'OrderedCollection' | 'OrderedCollectionPage' | 5 | type: 'OrderedCollection' | 'OrderedCollectionPage' |
6 | totalItems: number | 6 | totalItems: number |
7 | partOf?: string | 7 | partOf?: string |
8 | orderedItems: Activity[] | 8 | orderedItems: T[] |
9 | } | 9 | } |