aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-11 10:01:13 +0200
committerChocobozzz <me@florianbigard.com>2019-06-11 10:01:22 +0200
commit5dce26d202d0bb2a794b4ab4075da541034c0381 (patch)
tree799ab656495f1aab2edf55a7aedf695c3378ec6e /shared/models
parent9f167f12aafbcdda2e2cd2f436ff996ea41986ba (diff)
downloadPeerTube-5dce26d202d0bb2a794b4ab4075da541034c0381.tar.gz
PeerTube-5dce26d202d0bb2a794b4ab4075da541034c0381.tar.zst
PeerTube-5dce26d202d0bb2a794b4ab4075da541034c0381.zip
Improve video REST documentation
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/video.model.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts
index 963268674..0489147e4 100644
--- a/shared/models/videos/video.model.ts
+++ b/shared/models/videos/video.model.ts
@@ -1,6 +1,5 @@
1import { AccountSummary, VideoChannelSummary, VideoResolution, VideoState } from '../../index' 1import { AccountSummary, VideoChannelSummary, VideoResolution, VideoState } from '../../index'
2import { Account } from '../actors' 2import { Account } from '../actors'
3import { Avatar } from '../avatars/avatar.model'
4import { VideoChannel } from './channel/video-channel.model' 3import { VideoChannel } from './channel/video-channel.model'
5import { VideoPrivacy } from './video-privacy.enum' 4import { VideoPrivacy } from './video-privacy.enum'
6import { VideoScheduleUpdate } from './video-schedule-update.model' 5import { VideoScheduleUpdate } from './video-schedule-update.model'
@@ -68,9 +67,9 @@ export interface VideoDetails extends Video {
68 descriptionPath: string 67 descriptionPath: string
69 support: string 68 support: string
70 channel: VideoChannel 69 channel: VideoChannel
70 account: Account
71 tags: string[] 71 tags: string[]
72 files: VideoFile[] 72 files: VideoFile[]
73 account: Account
74 commentsEnabled: boolean 73 commentsEnabled: boolean
75 downloadEnabled: boolean 74 downloadEnabled: boolean
76 75