diff options
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 | } |