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-update.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-update.model.ts')
-rw-r--r-- | shared/models/videos/video-update.model.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts index 29a82621b..0cf38fe6e 100644 --- a/shared/models/videos/video-update.model.ts +++ b/shared/models/videos/video-update.model.ts | |||
@@ -1,9 +1,12 @@ | |||
1 | import { VideoPrivacy } from './video-privacy.enum' | ||
2 | |||
1 | export interface VideoUpdate { | 3 | export interface VideoUpdate { |
2 | name?: string | 4 | name?: string |
3 | category?: number | 5 | category?: number |
4 | licence?: number | 6 | licence?: number |
5 | language?: number | 7 | language?: number |
6 | description?: string | 8 | description?: string |
9 | privacy?: VideoPrivacy | ||
7 | tags?: string[] | 10 | tags?: string[] |
8 | nsfw?: boolean | 11 | nsfw?: boolean |
9 | } | 12 | } |