diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-02 15:43:44 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | af4ae64f6faf38f8179f2e07d3cd4ad60006be92 (patch) | |
tree | a2d39ddc138d49619f03f11e003c2302f824286c /shared/models | |
parent | 77e9f859c6ad75ba179dec74e5410cc651eaa49b (diff) | |
download | PeerTube-af4ae64f6faf38f8179f2e07d3cd4ad60006be92.tar.gz PeerTube-af4ae64f6faf38f8179f2e07d3cd4ad60006be92.tar.zst PeerTube-af4ae64f6faf38f8179f2e07d3cd4ad60006be92.zip |
Begin live tests
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 2 | ||||
-rw-r--r-- | shared/models/users/user-right.enum.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video-create.model.ts | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 5b035a371..d99d273c3 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -21,7 +21,9 @@ export interface VideoObject { | |||
21 | views: number | 21 | views: number |
22 | 22 | ||
23 | sensitive: boolean | 23 | sensitive: boolean |
24 | |||
24 | isLiveBroadcast: boolean | 25 | isLiveBroadcast: boolean |
26 | liveSaveReplay: boolean | ||
25 | 27 | ||
26 | commentsEnabled: boolean | 28 | commentsEnabled: boolean |
27 | downloadEnabled: boolean | 29 | downloadEnabled: boolean |
diff --git a/shared/models/users/user-right.enum.ts b/shared/models/users/user-right.enum.ts index 4c3d9e7c8..e815fa893 100644 --- a/shared/models/users/user-right.enum.ts +++ b/shared/models/users/user-right.enum.ts | |||
@@ -30,6 +30,7 @@ export const enum UserRight { | |||
30 | UPDATE_ANY_VIDEO, | 30 | UPDATE_ANY_VIDEO, |
31 | UPDATE_ANY_VIDEO_PLAYLIST, | 31 | UPDATE_ANY_VIDEO_PLAYLIST, |
32 | 32 | ||
33 | GET_ANY_LIVE, | ||
33 | SEE_ALL_VIDEOS, | 34 | SEE_ALL_VIDEOS, |
34 | CHANGE_VIDEO_OWNERSHIP, | 35 | CHANGE_VIDEO_OWNERSHIP, |
35 | 36 | ||
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts index 175327afa..9e980529d 100644 --- a/shared/models/videos/video-create.model.ts +++ b/shared/models/videos/video-create.model.ts | |||
@@ -18,6 +18,6 @@ export interface VideoCreate { | |||
18 | scheduleUpdate?: VideoScheduleUpdate | 18 | scheduleUpdate?: VideoScheduleUpdate |
19 | originallyPublishedAt?: Date | string | 19 | originallyPublishedAt?: Date | string |
20 | 20 | ||
21 | thumbnailfile?: Blob | 21 | thumbnailfile?: Blob | string |
22 | previewfile?: Blob | 22 | previewfile?: Blob | string |
23 | } | 23 | } |