diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-10 14:34:45 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:51 +0100 |
commit | 0d0e8dd0904b380b70e19ebcb4763d65601c4632 (patch) | |
tree | acb625d7c88fbe863fa14bf6783fafe4a8e35137 /shared/models/activitypub/objects | |
parent | e4f97babf701481b55cc10fb3448feab5f97c867 (diff) | |
download | PeerTube-0d0e8dd0904b380b70e19ebcb4763d65601c4632.tar.gz PeerTube-0d0e8dd0904b380b70e19ebcb4763d65601c4632.tar.zst PeerTube-0d0e8dd0904b380b70e19ebcb4763d65601c4632.zip |
Continue activitypub
Diffstat (limited to 'shared/models/activitypub/objects')
-rw-r--r-- | shared/models/activitypub/objects/video-channel-object.ts | 5 | ||||
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/shared/models/activitypub/objects/video-channel-object.ts b/shared/models/activitypub/objects/video-channel-object.ts index d64b4aed8..72efe42b3 100644 --- a/shared/models/activitypub/objects/video-channel-object.ts +++ b/shared/models/activitypub/objects/video-channel-object.ts | |||
@@ -2,7 +2,10 @@ import { ActivityIdentifierObject } from './common-objects' | |||
2 | 2 | ||
3 | export interface VideoChannelObject { | 3 | export interface VideoChannelObject { |
4 | type: 'VideoChannel' | 4 | type: 'VideoChannel' |
5 | id: string | ||
5 | name: string | 6 | name: string |
6 | content: string | 7 | content: string |
7 | uuid: ActivityIdentifierObject | 8 | uuid: string |
9 | published: Date | ||
10 | updated: Date | ||
8 | } | 11 | } |
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 00cc0a649..5685a43e0 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -7,6 +7,7 @@ import { | |||
7 | 7 | ||
8 | export interface VideoTorrentObject { | 8 | export interface VideoTorrentObject { |
9 | type: 'Video' | 9 | type: 'Video' |
10 | id: string | ||
10 | name: string | 11 | name: string |
11 | duration: string | 12 | duration: string |
12 | uuid: string | 13 | uuid: string |