aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-create.model.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-31 11:52:52 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-31 11:53:13 +0100
commitfd45e8f43c2638478599ca75632518054461da85 (patch)
tree01e1fb5ddad53bde8fb2c48f348fb8add51cfdb3 /shared/models/videos/video-create.model.ts
parentb7a485121d71c95fcf5e432e4cc745cf91af4f93 (diff)
downloadPeerTube-fd45e8f43c2638478599ca75632518054461da85.tar.gz
PeerTube-fd45e8f43c2638478599ca75632518054461da85.tar.zst
PeerTube-fd45e8f43c2638478599ca75632518054461da85.zip
Add video privacy setting
Diffstat (limited to 'shared/models/videos/video-create.model.ts')
-rw-r--r--shared/models/videos/video-create.model.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts
index 4d0e83520..e537c38a8 100644
--- a/shared/models/videos/video-create.model.ts
+++ b/shared/models/videos/video-create.model.ts
@@ -1,3 +1,5 @@
1import { VideoPrivacy } from './video-privacy.enum'
2
1export interface VideoCreate { 3export interface VideoCreate {
2 category: number 4 category: number
3 licence: number 5 licence: number
@@ -7,4 +9,5 @@ export interface VideoCreate {
7 nsfw: boolean 9 nsfw: boolean
8 name: string 10 name: string
9 tags: string[] 11 tags: string[]
12 privacy: VideoPrivacy
10} 13}