diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 11:52:52 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 11:53:13 +0100 |
commit | fd45e8f43c2638478599ca75632518054461da85 (patch) | |
tree | 01e1fb5ddad53bde8fb2c48f348fb8add51cfdb3 /shared/models/videos/video.model.ts | |
parent | b7a485121d71c95fcf5e432e4cc745cf91af4f93 (diff) | |
download | PeerTube-fd45e8f43c2638478599ca75632518054461da85.tar.gz PeerTube-fd45e8f43c2638478599ca75632518054461da85.tar.zst PeerTube-fd45e8f43c2638478599ca75632518054461da85.zip |
Add video privacy setting
Diffstat (limited to 'shared/models/videos/video.model.ts')
-rw-r--r-- | shared/models/videos/video.model.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 1490d345c..2f4ee2462 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { VideoChannel } from './video-channel.model' | 1 | import { VideoChannel } from './video-channel.model' |
2 | import { VideoPrivacy } from './video-privacy.enum' | ||
2 | 3 | ||
3 | export interface VideoFile { | 4 | export interface VideoFile { |
4 | magnetUri: string | 5 | magnetUri: string |
@@ -37,7 +38,9 @@ export interface Video { | |||
37 | } | 38 | } |
38 | 39 | ||
39 | export interface VideoDetails extends Video { | 40 | export interface VideoDetails extends Video { |
40 | descriptionPath: string, | 41 | privacy: VideoPrivacy |
42 | privacyLabel: string | ||
43 | descriptionPath: string | ||
41 | channel: VideoChannel | 44 | channel: VideoChannel |
42 | files: VideoFile[] | 45 | files: VideoFile[] |
43 | } | 46 | } |