aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/activitypub/objects/activitypub-object.ts
blob: faeac26183ad029bef16c86a0a2ea366520ea0a8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                           
import { AbuseObject } from './abuse-object'
import { CacheFileObject } from './cache-file-object'
import { PlaylistObject } from './playlist-object'
import { VideoCommentObject } from './video-comment-object'
import { VideoObject } from './video-object'
import { WatchActionObject } from './watch-action-object'

export type ActivityObject =
  VideoObject |
  AbuseObject |
  VideoCommentObject |
  CacheFileObject |
  PlaylistObject |
  WatchActionObject |
  string

export type APObjectId = string | { id: string }