diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-03 10:12:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-03 10:38:19 +0100 |
commit | 47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04 (patch) | |
tree | 25e2836baf3dfce6f422192d98332db1bfe65890 /shared/models/videos | |
parent | c5911fd347c76e8bdc05ea9f3ee9efed4a58c236 (diff) | |
download | PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.tar.gz PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.tar.zst PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.zip |
Add ability to disable video comments
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video-create.model.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video-update.model.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video.model.ts | 1 |
3 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 8bc6a6639..139c2579e 100644 --- a/shared/models/videos/video-create.model.ts +++ b/shared/models/videos/video-create.model.ts | |||
@@ -9,5 +9,6 @@ export interface VideoCreate { | |||
9 | nsfw: boolean | 9 | nsfw: boolean |
10 | name: string | 10 | name: string |
11 | tags?: string[] | 11 | tags?: string[] |
12 | commentsEnabled?: boolean | ||
12 | privacy: VideoPrivacy | 13 | privacy: VideoPrivacy |
13 | } | 14 | } |
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts index 0cf38fe6e..fc772f77b 100644 --- a/shared/models/videos/video-update.model.ts +++ b/shared/models/videos/video-update.model.ts | |||
@@ -8,5 +8,6 @@ export interface VideoUpdate { | |||
8 | description?: string | 8 | description?: string |
9 | privacy?: VideoPrivacy | 9 | privacy?: VideoPrivacy |
10 | tags?: string[] | 10 | tags?: string[] |
11 | commentsEnabled?: boolean | ||
11 | nsfw?: boolean | 12 | nsfw?: boolean |
12 | } | 13 | } |
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 13b9c49b3..39d1edc06 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -45,4 +45,5 @@ export interface VideoDetails extends Video { | |||
45 | tags: string[] | 45 | tags: string[] |
46 | files: VideoFile[] | 46 | files: VideoFile[] |
47 | account: Account | 47 | account: Account |
48 | commentsEnabled: boolean | ||
48 | } | 49 | } |