diff options
Diffstat (limited to 'server/models/video/video-interface.ts')
-rw-r--r-- | server/models/video/video-interface.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/models/video/video-interface.ts b/server/models/video/video-interface.ts index b97f163ab..89e528acf 100644 --- a/server/models/video/video-interface.ts +++ b/server/models/video/video-interface.ts | |||
@@ -8,6 +8,8 @@ import { TagAttributes, TagInstance } from './tag-interface' | |||
8 | import { VideoChannelInstance } from './video-channel-interface' | 8 | import { VideoChannelInstance } from './video-channel-interface' |
9 | import { VideoFileAttributes, VideoFileInstance } from './video-file-interface' | 9 | import { VideoFileAttributes, VideoFileInstance } from './video-file-interface' |
10 | import { VideoShareInstance } from './video-share-interface' | 10 | import { VideoShareInstance } from './video-share-interface' |
11 | import { UserVideoRate } from '../../../shared/models/videos/user-video-rate.model' | ||
12 | import { AccountVideoRateInstance } from '../account/account-video-rate-interface' | ||
11 | 13 | ||
12 | export namespace VideoMethods { | 14 | export namespace VideoMethods { |
13 | export type GetThumbnailName = (this: VideoInstance) => string | 15 | export type GetThumbnailName = (this: VideoInstance) => string |
@@ -123,6 +125,7 @@ export interface VideoAttributes { | |||
123 | Tags?: TagInstance[] | 125 | Tags?: TagInstance[] |
124 | VideoFiles?: VideoFileInstance[] | 126 | VideoFiles?: VideoFileInstance[] |
125 | VideoShares?: VideoShareInstance[] | 127 | VideoShares?: VideoShareInstance[] |
128 | AccountVideoRates?: AccountVideoRateInstance[] | ||
126 | } | 129 | } |
127 | 130 | ||
128 | export interface VideoInstance extends VideoClass, VideoAttributes, Sequelize.Instance<VideoAttributes> { | 131 | export interface VideoInstance extends VideoClass, VideoAttributes, Sequelize.Instance<VideoAttributes> { |