diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-16 11:08:25 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | efc32059d980c51793e8e9ac0fb6a885a8026f94 (patch) | |
tree | c272e63fd57a9625b53dc26ceb1b46aee35d21d3 /shared/models/activitypub | |
parent | d846501818c2d29e66e6fd141789cb04fd55a437 (diff) | |
download | PeerTube-efc32059d980c51793e8e9ac0fb6a885a8026f94.tar.gz PeerTube-efc32059d980c51793e8e9ac0fb6a885a8026f94.tar.zst PeerTube-efc32059d980c51793e8e9ac0fb6a885a8026f94.zip |
Send server announce when users upload a video
Diffstat (limited to 'shared/models/activitypub')
-rw-r--r-- | shared/models/activitypub/objects/video-channel-object.ts | 4 | ||||
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shared/models/activitypub/objects/video-channel-object.ts b/shared/models/activitypub/objects/video-channel-object.ts index 468e1535e..c9325b5df 100644 --- a/shared/models/activitypub/objects/video-channel-object.ts +++ b/shared/models/activitypub/objects/video-channel-object.ts | |||
@@ -4,7 +4,7 @@ export interface VideoChannelObject { | |||
4 | name: string | 4 | name: string |
5 | content: string | 5 | content: string |
6 | uuid: string | 6 | uuid: string |
7 | published: Date | 7 | published: string |
8 | updated: Date | 8 | updated: string |
9 | actor?: string | 9 | actor?: string |
10 | } | 10 | } |
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 99e7157b8..ae8f807c8 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -17,8 +17,8 @@ export interface VideoTorrentObject { | |||
17 | language: ActivityIdentifierObject | 17 | language: ActivityIdentifierObject |
18 | views: number | 18 | views: number |
19 | nsfw: boolean | 19 | nsfw: boolean |
20 | published: Date | 20 | published: string |
21 | updated: Date | 21 | updated: string |
22 | mediaType: 'text/markdown' | 22 | mediaType: 'text/markdown' |
23 | content: string | 23 | content: string |
24 | icon: ActivityIconObject | 24 | icon: ActivityIconObject |