diff options
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/activitypub/objects/video-torrent-object.ts | 1 | ||||
-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 |
4 files changed, 4 insertions, 0 deletions
diff --git a/shared/models/activitypub/objects/video-torrent-object.ts b/shared/models/activitypub/objects/video-torrent-object.ts index 5ccc80bcb..cf0e0ba54 100644 --- a/shared/models/activitypub/objects/video-torrent-object.ts +++ b/shared/models/activitypub/objects/video-torrent-object.ts | |||
@@ -18,6 +18,7 @@ export interface VideoTorrentObject { | |||
18 | language: ActivityIdentifierObject | 18 | language: ActivityIdentifierObject |
19 | views: number | 19 | views: number |
20 | nsfw: boolean | 20 | nsfw: boolean |
21 | commentsEnabled: boolean | ||
21 | published: string | 22 | published: string |
22 | updated: string | 23 | updated: string |
23 | mediaType: 'text/markdown' | 24 | mediaType: 'text/markdown' |
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 | } |