diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-11 10:01:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-11 10:01:22 +0200 |
commit | 5dce26d202d0bb2a794b4ab4075da541034c0381 (patch) | |
tree | 799ab656495f1aab2edf55a7aedf695c3378ec6e /shared/models | |
parent | 9f167f12aafbcdda2e2cd2f436ff996ea41986ba (diff) | |
download | PeerTube-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.ts | 3 |
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 @@ | |||
1 | import { AccountSummary, VideoChannelSummary, VideoResolution, VideoState } from '../../index' | 1 | import { AccountSummary, VideoChannelSummary, VideoResolution, VideoState } from '../../index' |
2 | import { Account } from '../actors' | 2 | import { Account } from '../actors' |
3 | import { Avatar } from '../avatars/avatar.model' | ||
4 | import { VideoChannel } from './channel/video-channel.model' | 3 | import { VideoChannel } from './channel/video-channel.model' |
5 | import { VideoPrivacy } from './video-privacy.enum' | 4 | import { VideoPrivacy } from './video-privacy.enum' |
6 | import { VideoScheduleUpdate } from './video-schedule-update.model' | 5 | import { 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 | ||