mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Federate video views
This commit is contained in:
parent
c46edbc2f6
commit
40ff57078e
19 changed files with 188 additions and 44 deletions
|
@ -1,6 +1,7 @@
|
|||
import { VideoChannelObject, VideoTorrentObject } from './objects'
|
||||
import { ActivityPubSignature } from './activitypub-signature'
|
||||
import { VideoChannelObject, VideoTorrentObject } from './objects'
|
||||
import { VideoAbuseObject } from './objects/video-abuse-object'
|
||||
import { ViewObject } from './objects/view-object'
|
||||
|
||||
export type Activity = ActivityCreate | ActivityAdd | ActivityUpdate |
|
||||
ActivityDelete | ActivityFollow | ActivityAccept | ActivityAnnounce |
|
||||
|
@ -20,7 +21,7 @@ export interface BaseActivity {
|
|||
|
||||
export interface ActivityCreate extends BaseActivity {
|
||||
type: 'Create'
|
||||
object: VideoChannelObject | VideoAbuseObject
|
||||
object: VideoChannelObject | VideoAbuseObject | ViewObject
|
||||
}
|
||||
|
||||
export interface ActivityAdd extends BaseActivity {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue