diff options
Diffstat (limited to 'server/models/video/video-interface.ts')
-rw-r--r-- | server/models/video/video-interface.ts | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/server/models/video/video-interface.ts b/server/models/video/video-interface.ts index a0ac43e1e..7243756d2 100644 --- a/server/models/video/video-interface.ts +++ b/server/models/video/video-interface.ts | |||
@@ -1,19 +1,12 @@ | |||
1 | import * as Sequelize from 'sequelize' | ||
2 | import * as Bluebird from 'bluebird' | 1 | import * as Bluebird from 'bluebird' |
2 | import * as Sequelize from 'sequelize' | ||
3 | import { VideoTorrentObject } from '../../../shared/models/activitypub/objects/video-torrent-object' | ||
4 | import { ResultList } from '../../../shared/models/result-list.model' | ||
5 | import { Video as FormattedVideo, VideoDetails as FormattedDetailsVideo } from '../../../shared/models/videos/video.model' | ||
3 | 6 | ||
4 | import { TagAttributes, TagInstance } from './tag-interface' | 7 | import { TagAttributes, TagInstance } from './tag-interface' |
5 | import { VideoFileAttributes, VideoFileInstance } from './video-file-interface' | ||
6 | |||
7 | // Don't use barrel, import just what we need | ||
8 | import { | ||
9 | Video as FormattedVideo, | ||
10 | VideoDetails as FormattedDetailsVideo | ||
11 | } from '../../../shared/models/videos/video.model' | ||
12 | import { RemoteVideoUpdateData } from '../../../shared/models/pods/remote-video/remote-video-update-request.model' | ||
13 | import { RemoteVideoCreateData } from '../../../shared/models/pods/remote-video/remote-video-create-request.model' | ||
14 | import { ResultList } from '../../../shared/models/result-list.model' | ||
15 | import { VideoChannelInstance } from './video-channel-interface' | 8 | import { VideoChannelInstance } from './video-channel-interface' |
16 | import { VideoTorrentObject } from '../../../shared/models/activitypub/objects/video-torrent-object' | 9 | import { VideoFileAttributes, VideoFileInstance } from './video-file-interface' |
17 | 10 | ||
18 | export namespace VideoMethods { | 11 | export namespace VideoMethods { |
19 | export type GetThumbnailName = (this: VideoInstance) => string | 12 | export type GetThumbnailName = (this: VideoInstance) => string |